tst-fanotify: fix style
[glibc.git] / ChangeLog
blobab04bbf363b40c0a892a8e5065bda042a7c8807f
1 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5 2013-09-28  P. J. McDermott  <pj@pehjota.net>
7         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8         ${Bash-specific parameter/pattern/string} parameter expansion.
9         * sysdeps/unix/make-syscalls.sh: Likewise.
11 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13         * sysdeps/sh/stackguard-macros.h: New file.
15 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27         Fix thread ID register.
29 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32         [POSIX || UNIX98]: Require rather than permitting all symbols from
33         <time.h>.
34         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35         element of struct sched_param.
36         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40         constant.
42 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45         argument calculation.
47 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50         Expect macro.
51         [POSIX] (pthread_attr_t): Do not require type.
52         [POSIX] (pthread_cond_t): Likewise.
53         [POSIX] (pthread_condattr_t): Likewise.
54         [POSIX] (pthread_key_t): Likewise.
55         [POSIX] (pthread_mutex_t): Likewise.
56         [POSIX] (pthread_mutexattr_t): Likewise.
57         [POSIX] (pthread_once_t): Likewise.
58         [POSIX] (pthread_t): Likewise.
59         [POSIX-based standards] (pthread_atfork): Expect function.
61 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62             Richard Sandiford  <richard@codesourcery.com>
64         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
65         (swap_endianness_p): New extern variable.
66         (set_big_endian): New inline function.
67         (maybe_swap_uint32): Likewise.
68         (maybe_swap_uint32_array): Likewise.
69         (maybe_swap_uint32_obstack): Likewise.
70         * locale/programs/locfile.c: Include <stdbool.h>.
71         (swap_endianness_p): New variable.
72         (add_locale_uint32): Call maybe_swap_uint32.
73         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
74         (write_locale_data): Call maybe_swap_uint32_array.
75         * locale/programs/ld-collate.c (obstack_int32_grow): Call
76         maybe_swap_uint32.
77         (obstack_int32_grow_fast): Likewise.
78         (output_weightwc): Call maybe_swap_uint32_obstack.
79         (collate_output): Likewise.
80         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
81         (OPT_LITTLE_ENDIAN): Likewise.
82         (options): Add --little-endian and --big-endian options.
83         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
84         * locale/programs/locarchive.c: Include "locfile.h".
85         (GET): New macro.
86         (SET): Likewise.
87         (INC): Likewise.
88         (create_archive): Use the new macros to access fields of
89         structures directly mapped from or written to locale archives.
90         (oldlocrecentcmp): Likewise.
91         (enlarge_archive): Likewise.
92         (insert_name): Likewise.
93         (add_alias): Likewise.
94         (add_locale): Likewise.
95         (delete_locales_from_archive): Likewise.
96         (show_archive_content): Likewise.
97         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
98         locale data.
100 2013-09-24  Roland McGrath  <roland@hack.frob.com>
102         * manual/freemanuals.texi: Updated from (newly) canonical copy at
103         http://www.gnu.org/doc/freemanuals.texi.
104         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
106 2013-09-24  Will Newton  <will.newton@linaro.org>
108         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
109         macro.
111 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
113         * locale/hashval.h (compute_hashval): Interpret bytes of key as
114         unsigned char.
116 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
118         * manual/threads.texi (POSIX Threads): Fix a typo.
120 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
122         [BZ #14547]
123         * string/tst-strcoll-overflow.c: New test case.
124         * string/Makefile (xtests): Add tst-strcoll-overflow.
125         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
126         cache if string sizes may cause integer overflow.
128         [BZ #14547]
129         * string/strcoll_l.c (coll_seq): New members rule, idx,
130         save_idx and back_us.
131         (get_next_seq_nocache): New function.
132         (do_compare_nocache): New function.
133         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
134         when malloc fails.
136 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
138         [BZ #15754]
139         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
140         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
141         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
143         [BZ #15754]
144         * elf/Makefile (tests): Add tst-ptrguard1.
145         (tests-static): Add tst-ptrguard1-static.
146         (tst-ptrguard1-ARGS): Define.
147         (tst-ptrguard1-static-ARGS): Define.
148         * elf/tst-ptrguard1.c: New file.
149         * elf/tst-ptrguard1-static.c: New file.
150         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
151         * sysdeps/i386/stackguard-macros.h: Likewise.
152         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
153         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
154         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
155         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
156         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
157         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
159 2013-09-23  Hector Marco  <hecmargi@upv.es>
160             Ismael Ripoll  <iripoll@disca.upv.es>
161             Carlos O'Donell  <carlos@redhat.com>
163         [BZ #15754]
164         * sysdeps/generic/stackguard-macros.h: Define
165         __pointer_chk_guard_local and POINTER_CHK_GUARD.
166         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
167         Define __pointer_chk_guard_local.
168         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
169         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
171 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
173         [BZ #15859]
174         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
176 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
178         * include/string.h (__ffs): Declare as hidden.
179         * string/ffs.c (__ffs): Define as hidden.
180         * sysdeps/i386/ffs.c (__ffs): Likewise.
181         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
182         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
183         * sysdeps/s390/ffs.c (__ffs): Likewise.
184         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
186 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
188         * NEWS: Mention malloc probes.
190         * malloc/arena.c (new_heap): New memory_heap_new probe.
191         (grow_heap): New memory_heap_more probe.
192         (shrink_heap): New memory_heap_less probe.
193         (heap_trim): New memory_heap_free probe.
194         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
195         (systrim): New memory_sbrk_less probe.
196         * manual/probes.texi: Document them.
198         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
199         * manual/probes.texi: Document it.
201         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
202         (__libc_realloc): Add memory_realloc_retry probe.
203         (__libc_memalign): Add memory_memalign_retry probe.
204         (__libc_valloc): Add memory_valloc_retry probe.
205         (__libc_pvalloc): Add memory_pvalloc_retry probe.
206         (__libc_calloc): Add memory_calloc_retry probe.
207         * manual/probes.texi: Document them.
209         * malloc/arena.c (get_free_list): Add probe
210         memory_arena_reuse_free_list.
211         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
212         and memory_arena_reuse.
213         (arena_get2) [!PER_THREAD]: Likewise.
214         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
215         memory_arena_reuse_realloc.
216         * manual/probes.texi: Document them.
218         * malloc/malloc.c (__libc_free): Add
219         memory_mallopt_free_dyn_thresholds probe.
220         (__libc_mallopt): Add multiple memory_mallopt probes.
221         * manual/probes.texi: Document them.
223         * malloc/malloc.c: Include stap-probe.h.
224         (__libc_mallopt): Add memory_mallopt probe.
225         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
226         * manual/probes.texi: New.
227         * manual/Makefile (chapters): Add probes.
228         * manual/threads.texi: Set next node.
230 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
232         [BZ #15963, #13985]
233         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
234         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
235         Add `Chinese' to `nan' entry name.
237 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
239         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
240         (POLYNOMIAL): Likewise.
241         (TAYLOR_SINCOS): Likewise.
242         (TAYLOR_SLOW): Likewise.
243         (__sin): Use TAYLOR_SINCOS.
244         (__cos): Likewise.
245         (slow): Use TAYLOR_SLOW.
246         (sloww): Likewise.
247         (bsloww): Likewise.
248         (csloww): Likewise.
250 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
252         * stdlib/strtod_l.c: Fix buffer overrun.
254 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
256         * benchtests/Makefile (bench): Add sincos.
257         * benchtests/bench-sincos.c: New file.
259         * math/libm-test.inc (cos_test_data): New test inputs.
260         (sin_test_data): Likewise.
262         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
263         macro.
264         (__sin): Use it.
265         (__cos): Likewise.
266         (slow1): Likewise.
267         (slow2): Likewise.
268         (sloww1): Likewise.
269         (sloww2): Likewise.
270         (bsloww1): Likewise.
271         (bsloww2): Likewise.
272         (cslow2): Likewise.
273         (csloww1): Likewise.
274         (csloww2): Likewise.
276         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
277         function.
278         (__sin): Use it.
279         (__cos): Likewise.
281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
282         gotos.
283         (__cos): Likewise.
285 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
287         * config.h.in (HAVE_MIPS_NAN2008): New macro.
288         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
289         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
290         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
291         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
292         * elf/cache.c (print_entry): Handle the new cache flags.
294 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
295             Aldy Hernandez  <aldyh@redhat.com>
297         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
298         Change condition to [_SOFT_FLOAT].
299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
311         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
314         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
315         declaration.
317 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
319         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
320         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
321         (__longjmp): Use LOAD_GP to load saved GPRs.
322         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
323         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
324         (__sigsetjmp): Use SAVE_GP to save GPRs.
326         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
327         Do not append -msoft-float.
328         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
330 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
332         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
334 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
336         [BZ #15966]
337         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
338         (_FPU_GETCW): Use initial "__" on variable and field names but not
339         on macro parameter name.
340         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
341         parentheses around reference to macro parameter.
343 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
345         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
346         prototype.
347         (ctype_startup): Use uint32_t in cast and sizeof for
348         ctype->charnames.
350 2013-09-11  Jia Liu  <proljc@gmail.com>
352         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
353         __daddr_t_defined.
354         [__FreeBSD__]: Likewise.
356 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
359         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
360         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
361         (strchr): Remove __strchr_sse42 ifunc selection.
362         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
363         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
365 2013-09-11  Will Newton  <will.newton@linaro.org>
367         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
368         parameter to RES. Remove hardcoded 1000 value.
369         * benchtests/bench-skeleton.c (main): Pass RES parameter
370         to TIMING_INIT and multiply result by 1000.
372 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
376 2013-09-11  Andreas Schwab  <schwab@suse.de>
378         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
379         if not defined.
380         (O_TMPFILE) [__USE_GNU]: Define.
381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
382         Define.
384 2013-09-11  Will Newton  <will.newton@linaro.org>
386         [BZ #15857]
387         * malloc/malloc.c (__libc_memalign): Check the value of bytes
388         does not overflow.
390 2013-09-11  Will Newton  <will.newton@linaro.org>
392         [BZ #15856]
393         * malloc/malloc.c (__libc_valloc): Check the value of bytes
394         does not overflow.
396 2013-09-11  Will Newton  <will.newton@linaro.org>
398         [BZ #15855]
399         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
400         does not overflow.
402 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
404         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
405         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
406         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
407         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
408         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
410 2013-09-10  Allan McRae  <allan@archlinux.org>
412         [BZ #15748]
413         * manual/arith.texi (Parsing of Floats): Clarify
414         cross-reference.
416         [BZ #15849]
417         * manual/install.texi (Running make install): Mention
418         --enable-pt-chown.
419         * INSTALL: Regenerated.
421 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
423         * csu/init-first.c (_init): Remove the !SHARED condition around
424         FPU control word initialization.
425         * elf/dl-support.c (_dl_fpu_control): New variable.
426         (_dl_aux_init) <AT_FPUCW>: Initialize it.
427         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
428         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
429         * math/test-fpucw-static.c: New file.
430         * math/test-fpucw-ieee.c: New file.
431         * math/test-fpucw-ieee-static.c: New file.
432         * math/Makefile (tests): Add `test-fpucw-ieee' and
433         `$(tests-static)'.
434         (tests-static): New variable.
435         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
436         dependency to...
437         [($(build-shared),yes)]
438         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
439         ... this.
440         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
441         New dependency.
443 2013-09-09  Allan McRae  <allan@archlinux.org>
445         [BZ #15939]
446         * manual/string.texi (Collation Functions): Fix typo in
447         strcoll example.
448         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
450         [BZ #15893]
451         * stdlib/isomac.c (get_null_defines): Fix memory leak.
453         [BZ #15892]
454         * libio/memstream.c (open_memstream): Fix memory leak.
455         * libio/wmemstream.c (open_wmemstream): Likewise.
457         [BZ #15895]
458         * nscd/netgroupcache.c: Fix nesting of ifdefs.
460 2013-09-09  Will Newton  <will.newton@linaro.org>
462         * malloc/Makefile: Add tst-realloc to tests.
463         * malloc/tst-realloc.c: New file.
465 2013-09-09  Allan McRae  <allan@archlinux.org>
467         [BZ #15844]
468         * COPYING: Update from GNU website to fix FSF address.
469         * COPYING.LIB: Likewise.
471 2013-09-06  David S. Miller  <davem@davemloft.net>
473         * po/zh_TW.po: Update Chinese (traditional) translation from
474         translation project.
476 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
477             Joseph Myers  <joseph@codesourcery.com>
479         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
480         "localeinfo.h".
481         (obstack_chunk_alloc): New macro.
482         (obstack_chunk_free): Likewise.
483         (record_offset): New function.
484         (init_locale_data): Likewise.
485         (align_locale_data): Likewise.
486         (add_locale_empty): Likewise.
487         (add_locale_raw_data): Likewise.
488         (add_locale_raw_obstack): Likewise.
489         (add_locale_string): Likewise.
490         (add_locale_wstring): Likewise.
491         (add_locale_uint32): Likewise.
492         (add_locale_uint32_array): Likewise.
493         (add_locale_char): Likewise.
494         (start_locale_structure): Likewise.
495         (end_locale_structure): Likewise.
496         (start_locale_prelude): Likewise.
497         (end_locale_prelude): Likewise.
498         (write_locale_data): Take locale_file structure rather than an
499         iovec.
500         * locale/programs/locfile.h: Include "obstack.h".
501         (struct locale_file): Change to store locale file contents instead
502         of header.
503         (init_locale_data): New prototype.
504         (align_locale_data): Likewise.
505         (add_locale_empty): Likewise.
506         (add_locale_raw_data): Likewise.
507         (add_locale_raw_obstack): Likewise.
508         (add_locale_string): Likewise.
509         (add_locale_wstring): Likewise.
510         (add_locale_uint32): Likewise.
511         (add_locale_uint32_array): Likewise.
512         (add_locale_char): Likewise.
513         (start_locale_structure): Likewise.
514         (end_locale_structure): Likewise.
515         (start_locale_prelude): Likewise.
516         (end_locale_prelude): Likewise.
517         (write_locale_data): Update prototype.
518         * locale/programs/3level.h (struct TABLE): Remove result field.
519         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
520         Use new locale_file interface.
521         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
522         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
523         * locale/programs/ld-address.c (address_output): Use new
524         locale_file interface.
525         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
526         NO_ADD_LOCALE.
527         (collate_finish): Don't call collseq_table_finalize.
528         (collate_output): Use new locale_file interface.
529         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
530         in file.
531         (NO_FINALIZE): Change to NO_ADD_LOCALE.
532         (TABLE): Move defines earlier in file.
533         (ELEMENT): Likewise.
534         (DEFAULT): Likewise.
535         (wctrans_table_add): Move macro and inline function earlier in
536         file.
537         (struct wctype_table): Move type earlier in file.
538         (add_locale_wctype_table): New static prototype.
539         (struct locale_ctype_t): Use logical types instead of struct iovec
540         pointers for members.
541         (ctype_output): Use new locale_file interface.
542         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
543         new locale_file interface.
544         (allocate_arrays): Update for use of new locale_file interface.
545         * locale/programs/ld-identification.c (identification_output): Use
546         new locale_file interface.
547         * locale/programs/ld-measurement.c (measurement_output): Likewise.
548         * locale/programs/ld-messages.c (messages_output): Likewise.
549         * locale/programs/ld-monetary.c (monetary_output): Likewise.
550         * locale/programs/ld-name.c (name_output): Likewise.
551         * locale/programs/ld-numeric.c (numeric_output): Likewise.
552         * locale/programs/ld-paper.c (paper_output): Likewise.
553         * locale/programs/ld-telephone.c (telephone_output): Likewise.
554         * locale/programs/ld-time.c (time_output): Likewise.
556 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
558         * benchtests/Makefile: Add memrchr benchmark.
559         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
560         benchmark as memrchr.
561         * benchtests/bench-memrchr-ifunc.c: New file.
562         * benchtests/bench-memrchr.c: New file.
564 2013-09-06   Will Newton  <will.newton@linaro.org>
566         * benchtests/Makefile (string-bench): Add memcpy.
568 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
569             Cong Wang  <amwang@redhat.com>
571         * sysdeps/unix/sysv/linux/bits/in.h
572         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
573         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
574         before __USE_KERNEL_IPV6_DEFS uses.
575         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
576         IPPROTO_BEETPH.
577         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
578         sockaddr_in6, or ipv6_mreq.
580 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
582         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
583         memory access for final bytes in some large inputs.
584         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
586 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
588         * string/test-memrchr.c: New file.
589         * string/test-memrchr-ifunc.c: New file.
590         * string/Makefile: Add new memrchr testcase.
592 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
594         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
595         fanotify_init returns EPERM.
597 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
599         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
600         errors.
601         (top level): Treat second token from macro or constant entries for
602         allowed headers as allowed.
603         * include/complex.h: Condition internal declarations on
604         [!_ISOMAC].
605         * include/fenv.h: Condition include of <stdbool.h> and internal
606         declarations on [!_ISOMAC].
608 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
610         [BZ #15923]
611         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
613 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
615         * configure.in (--enable-versioning): Remove configure option.
616         (libc_cv_asm_symver_directive): Remove configure test.
617         (libc_cv_ld_version_script_option): Likewise.
618         (VERSIONING): Remove variable and AC_SUBST.
619         (DO_VERSIONING): Remove AC_DEFINE.
620         * configure: Regenerated.
621         * config.h.in (DO_VERSIONING): Remove macro.
622         * Makerules [$(versioning) = yes]: Change conditionals to
623         [$(build-shared) = yes].
624         * config.make.in (versioning): Remove variable.
625         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
626         [$(build-shared) = yes].
627         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
628         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
629         * elf/Makefile [$(versioning) = yes]: Change conditionals to
630         [$(build-shared) = yes].
631         * extra-lib.mk [$(versioning) = yes]: Likewise.
632         * hurd/Makefile [$(versioning) = yes]: Likewise.
633         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
634         [SHARED].
635         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
636         [SHARED].
637         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
638         [SHARED && !NO_HIDDEN].
639         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
640         [SHARED].
641         [SHARED && DO_VERSIONING]: Likewise..
642         * libio/Makefile [$(versioning) = yes]: Change conditionals to
643         [$(build-shared) = yes].
644         * manual/install.texi (--disable-versioning): Remove
645         documentation.
646         * INSTALL: Regenerated.
647         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
648         to [SHARED].
649         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
650         [$(build-shared) = yes].
651         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
652         * sysdeps/i386/i686/multiarch/strstr-c.c
653         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
654         [SHARED && !NO_HIDDEN].
655         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
656         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
657         * sysdeps/powerpc/powerpc32/dl-machine.c
658         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
659         * sysdeps/powerpc/powerpc32/sysdep.h
660         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
661         to [SHARED && PIC && !NO_HIDDEN].
662         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
663         conditional to [SHARED].
665 2013-09-04   Will Newton  <will.newton@linaro.org>
667         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
668         * benchtests/bench-string.h: Include bench-timing.h instead
669         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
670         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
671         call to HP_TIMING_DIFF_INIT.
672         * benchtests/bench-memccpy.c: Use bench-timing.h macros
673         instead of hp-timing.h macros.
674         * benchtests/bench-memchr.c: Likewise.
675         * benchtests/bench-memcmp.c: Likewise.
676         * benchtests/bench-memcpy.c: Likewise.
677         * benchtests/bench-memmem.c: Likewise.
678         * benchtests/bench-memmove.c: Likewise.
679         * benchtests/bench-memset.c: Likewise.
680         * benchtests/bench-rawmemchr.c: Likewise.
681         * benchtests/bench-strcasecmp.c: Likewise.
682         * benchtests/bench-strcasestr.c: Likewise.
683         * benchtests/bench-strcat.c: Likewise.
684         * benchtests/bench-strchr.c: Likewise.
685         * benchtests/bench-strcmp.c: Likewise.
686         * benchtests/bench-strcpy.c: Likewise.
687         * benchtests/bench-strcpy_chk.c: Likewise.
688         * benchtests/bench-strlen.c: Likewise.
689         * benchtests/bench-strncasecmp.c: Likewise.
690         * benchtests/bench-strncat.c: Likewise.
691         * benchtests/bench-strncmp.c: Likewise.
692         * benchtests/bench-strncpy.c: Likewise.
693         * benchtests/bench-strnlen.c: Likewise.
694         * benchtests/bench-strpbrk.c: Likewise.
695         * benchtests/bench-strrchr.c: Likewise.
696         * benchtests/bench-strspn.c: Likewise.
697         * benchtests/bench-strstr.c: Likewise.
699 2013-09-04  Will Newton  <will.newton@linaro.org>
701         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
703 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
705         [BZ #15427]
706         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
707         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
708         * math/libm-test.inc (lgamma_test_data): Add more tests.
709         * sysdeps/i386/fpu/libm-test-ulps: Update.
710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
712 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
714         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
716         Add ifunc.
717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
718         Add strcmp-sse2-unaligned
719         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
721 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
723         * Versions.def (libc): Add GLIBC_2.19.
725 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
727         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
728         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
730 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
732         [BZ #14155]
733         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
734         intermediate calculations in recurrence.
735         (__ieee754_ynf): Likewise.
736         * math/libm-test.inc (jn_test_data): Do not allow spurious
737         underflow exception.  Add more tests.
738         (yn_test_data): Add more tests.
739         * sysdeps/i386/fpu/libm-test-ulps: Update.
740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
742 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
746 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
748         * csu/init-first.c: Fix then/than typos.
749         * locale/programs/ld-collate.c: Likewise.
750         * locale/programs/linereader.h: Likewise.
751         * manual/charset.texi: Likewise.
752         * manual/filesys.texi: Likewise.
753         * manual/stdio.texi: Likewise.
754         * manual/string.texi: Likewise.
755         * stdlib/fmtmsg.c: Likewise.
756         * sysdeps/i386/stpncpy.S: Likewise.
757         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
758         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
759         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
760         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
762 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
764         * elf/dl-open.c: Fix typos.
765         * iconvdata/gbbig5.c: Likewise.
766         * iconvdata/iso-2022-jp.c: Likewise.
767         * iconv/gconv_int.h: Likewise.
768         * iconv/loop.c: Likewise.
769         * nis/rpcsvc/nis.h: Likewise.
770         * resolv/ns_name.c: Likewise.
771         * stdio-common/vfscanf.c: Likewise.
772         * streams/stropts.h: Likewise.
773         * sunrpc/rpc_thread.c: Likewise.
774         * sysdeps/i386/strpbrk.S: Likewise.
775         * sysdeps/ieee754/k_standard.c: Likewise.
776         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
777         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
778         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
779         * sysdeps/mach/hurd/profil.c: Likewise.
780         * sysdeps/s390/dl-procinfo.h: Likewise.
781         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
782         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
783         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
784         * sysdeps/x86_64/dl-trampoline.S: Likewise.
785         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
787 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
789         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
792 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
794         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
795         aix specific files.
796         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
797         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
798         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
800         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
802         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
803         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
805 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
806             Roland McGrath  <roland@hack.frob.com>
808         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
809         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
811 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
813         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
814         __executable_start symbol instead of _start.
816 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
818         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
819         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
820         Move macros to...
821         * sysdeps/gnu/ldsodefs.h: ... this new file.
823         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
824         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
825         instead of ELFOSABI_LINUX.
827         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
828         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
829         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
830         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
831         Likewise.
832         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
833         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
834         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
835         Likewise.
836         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
837         (ibm_extended_long_double): Add ieee_nan member.
838         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
839         (do_test): New function.
841         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
842         TEST_TRUNC.
843         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
844         functions, renamed from truncdfsf_test, trunctfsf_test,
845         trunctfdf_test.
846         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
847         functions.
848         (do_test): Run all these.
850 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
852         * argp/argp-help.c: Fix typos.
853         * argp/argp-parse.c: Likewise.
854         * debug/backtracesyms.c: Likewise.
855         * elf/elf.h: Likewise.
856         * malloc/malloc.c: Likewise.
857         * nis/nis_print.c: Likewise.
858         * resolv/res_comp.c: Likewise.
859         * stdlib/stdlib.h: Likewise.
860         * sunrpc/clnt_tcp.c: Likewise.
861         * sunrpc/clnt_udp.c: Likewise.
862         * sunrpc/clnt_unix.c: Likewise.
863         * sysdeps/unix/bsd/ptsname.c: Likewise.
864         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
865         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
867         Likewise.
868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
869         Likewise.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
871         Likewise.
872         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
874 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
876         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
879 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
881         [BZ #15897]
882         * dlfcn/Makefile (tests): Add bug-dl-leaf.
883         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
884         ($(objpfx)bug-dl-leaf): New rule.
885         ($(objpfx)bug-dl-leaf.so): Likewise.
886         ($(objpfx)bug-dl-leaf.out): Likewise.
887         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
888         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
889         * dlfcn/bug-dl-leaf.c: New test.
890         * dlfcn/bug-dl-leaf-lib.c: Likewise.
891         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
892         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
893         (dlclose): Likewise.
894         (dlmopen): Likewise.
896 2013-08-27  Roland McGrath  <roland@hack.frob.com>
898         * include/netdb.h [!_ISOMAC]:
899         Don't include <tls.h>.
900         (h_errno, __libc_h_errno): Move declaration and macros out of
901         [_LIBC_REENTRANT].
903         * include/resolv.h [_RESOLV_H_]:
904         Don't include <tls.h>.
905         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
906         * resolv/res_libc.c: Don't include <tls.h>.
907         (_res): Use __attribute__ ((nocommon)) in place of
908         __attribute__ ((section (".bss"))).
910         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
911         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
913         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
915         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
916         only under [SIOCGIFCONF && SIOCGIFNETMASK].
918         * resolv/res_mkquery.c: Include <sys/time.h>.
920         * inet/ifreq.c: Moved to ...
921         * sysdeps/unix/ifreq.c: ... here.
922         * inet/ifreq.c: New file, true stub version.
924         * socket/sa_len.c: New file.
925         * socket/Makefile (aux): Add it.
926         * sysdeps/unix/sysv/linux/Makefile
927         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
928         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
929         and #include <socket/sa_len.c>.
930         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
931         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
933         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
934         * bits/socket.h: ... here.
936         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
937         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
938         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
940 2013-08-27  Andreas Schwab  <schwab@suse.de>
942         [BZ #15736]
943         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
944         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
945         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
946         * string/test-strcasecmp.c (test_main): Run tests in several
947         locales.
948         * string/test-strncasecmp.c (test_main): Likewise.
950         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
951         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
952         to __strcasecmp_nonascii and __strncasecmp_nonascii.
953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
954         (__strncasecmp_ssse3) [PIC]: Likewise.
956 2013-08-26  Roland McGrath  <roland@hack.frob.com>
958         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
960         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
961         instead of explicitly declaring xdecrypt.
962         * nis/nss_nis/nis-publickey.c: Likewise.
964 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
966         [BZ #15890]
967         * nscd/aicache.c: Include res_hconf.h.
968         (addhstaiX): Initialize res_hconf.
970 2013-08-26  Andreas Schwab  <schwab@suse.de>
972         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
973         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
975 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
977         * nscd/aicache.c (addhstaiX): Fix indentation.
979 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
981         * configure.ac: Quote $build_pt_chown test.
982         * configure: Regenerated.
984 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
986         [BZ #15532]
987         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
988         * math/s_cexpf.c (__cexpf): Likewise.
989         * math/s_cexpl.c (__cexpl): Likewise.
990         * math/libm-test.inc (cexp_test_data): Correct expected return
991         value for NaN + i0.  Add another test.
993 2013-08-22  David S. Miller  <davem@davemloft.net>
995         * po/ca.po: Update Catalan translation from translation project.
996         * po/uk.po: Add Ukrainian translations from translation project.
998 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1000         [BZ #15797]
1001         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1002         is infinite, not alongside NaN test.
1003         * math/s_fdimf.c (__fdimf): Likewise.
1004         * math/s_fdiml.c (__fdiml): Likewise.
1005         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1006         errno is unchanged.
1008 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1010         * argp/argp-help.c: Fix typos.
1011         * crypt/speeds.c: Likewise.
1012         * csu/check_fds.c: Likewise.
1013         * elf/dl-load.c: Likewise.
1014         * elf/dl-open.c: Likewise.
1015         * elf/reldep3.c: Likewise.
1016         * elf/reldep.c: Likewise.
1017         * elf/sprof.c: Likewise.
1018         * iconv/iconv_charmap.c: Likewise.
1019         * iconv/skeleton.c: Likewise.
1020         * iconv/strtab.c: Likewise.
1021         * io/lockf64.c: Likewise.
1022         * libio/libioP.h: Likewise.
1023         * resolv/gai_notify.c: Likewise.
1024         * resolv/ns_name.c: Likewise.
1025         * resolv/ns_samedomain.c: Likewise.
1026         * resolv/res_send.c: Likewise.
1027         * stdlib/random.c: Likewise.
1028         * sunrpc/rpc/xdr.h: Likewise.
1029         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1030         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1031         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1032         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1033         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1034         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1035         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1036         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1037         * sysdeps/mach/hurd/check_fds.c: Likewise.
1038         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1039         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1041         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1042         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1043         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1044         * sysdeps/pthread/aio_notify.c: Likewise.
1045         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1046         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1047         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1048         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1049         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1051 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1053         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1054         version if bit_Slow_SSE4_2 is set.
1055         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1056         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1058 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1060         [BZ #15867]
1061         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1062         trampoline stack frame information.
1063         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1065         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1066         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1067         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1068         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1069         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1070         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1071         sa_flags value.
1072         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1073         interrupting a syscall and set with option SA_SIGINFO.
1075 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1077         [BZ #15531]
1078         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1079         argument is infinite.
1080         * math/s_cprojf.c (__cprojf): Likewise.
1081         * math/s_cprojl.c (__cprojl): Likewise.
1082         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1083         * math/libm-test.inc (cproj_test_data): Add more tests.
1085         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1087         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1088         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1089         size.  Use __ffs to determine corresponding shift.
1091 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1092             Roland McGrath  <roland@hack.frob.com>
1094         * Makefile (INSTALL): Remove trailing blank lines from output of
1095         makeinfo.
1097 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1099         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1100         Align 32 bit compat elf_greg to 8 bytes.
1102 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1104         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1106 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1108         * string/strcoll_l.c (coll_seq): New structure.
1109         (get_next_seq_cached): New function.
1110         (get_next_seq): New function.
1111         (do_compare): New function.
1112         (STRCOLL): Use GNU style definition.  Simplify implementation
1113         by using get_next_seq, get_next_seq_cached and do_compare.
1115 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1117         [BZ #14699]
1118         CVE-2013-4237
1119         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1120         member.
1121         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1122         member.
1123         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1124         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1125         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1126         conditional.
1127         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1128         GETDENTS_64BIT_ALIGNED.
1129         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1130         * manual/filesys.texi (Reading/Closing Directory): Document
1131         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1132         strongly.
1133         * manual/conf.texi (Limits for Files): Add portability note to
1134         NAME_MAX, PATH_MAX.
1135         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1137 2013-08-13  Andreas Schwab  <schwab@suse.de>
1139         [BZ #15749]
1140         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1141         of fabs.
1142         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1143         LDBL_MAX_EXP >= 16384]: Add tests for it.
1145 2013-08-12  David S. Miller  <davem@davemloft.net>
1147         * version.h (RELEASE): Set to "development".
1148         (VERSION): Set to "2.18.90".
1149         * NEWS: Add 2.19 section.
1151 2013-08-03  David S. Miller  <davem@davemloft.net>
1153         * po/ko.po: Update Korean translation from translation project.
1155 2013-08-01  David S. Miller  <davem@davemloft.net>
1157         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
1158         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1159         Bilka.
1161 2013-07-30  David S. Miller  <davem@davemloft.net>
1163         * po/fr.po: Update French translation from translation project.
1165 2013-07-28  David S. Miller  <davem@davemloft.net>
1167         * po/cs.po: Update Czech translation from translation project.
1169         * po/sv.po: Update Swedish translation from translation project.
1171 2013-07-27  David S. Miller  <davem@davemloft.net>
1173         * po/eo.po: Update Esperanto translation from translation project.
1175         * po/vi.po: Update Vietnamese translation from translation project.
1177         * po/de.po: Update German translation from translation project.
1179 2013-07-26  David S. Miller  <davem@davemloft.net>
1181         * po/bg.po: Update Bulgarian translation from translation project.
1183         * po/nl.po: Update Dutch translation from translation project.
1184         * po/pl.po: Update Polish translation from translation project.
1185         * po/ru.po: Update Russian translation from translation project.
1187 2013-07-24  David S. Miller  <davem@davemloft.net>
1189         * po/libc.pot: Update.
1191 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1193         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1194         variable page size.
1195         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1196         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1197         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1199 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1201         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1203 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1204             Andreas Schwab  <schwab@suse.de>
1205             Roland McGrath  <roland@hack.frob.com>
1206             Joseph Myers  <joseph@codesourcery.com>
1207             Carlos O'Donell  <carlos@redhat.com>
1209         [BZ #15755]
1210         * config.h.in: Define HAVE_PT_CHOWN.
1211         * config.make.in (build-pt-chown): New variable.
1212         * configure.in (--enable-pt_chown): New configure option.
1213         * configure: Regenerate.
1214         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1215         build-pt-chown is enabled.
1216         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1217         pt_chown to fix pty ownership.
1218         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1219         CLOSE_ALL_FDS.
1220         * manual/install.texi (Configuring and compiling): Mention
1221         --enable-pt_chown. Add @findex for grantpt.
1222         * INSTALL: Regenerate.
1224 2013-07-20  David S. Miller  <davem@davemloft.net>
1226         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1227         difference between 32-bit and 64-bit.
1229 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1231         [BZ #15711]
1232         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1233         Avoid system header dependency with -ffreestanding.
1234         ($(objpfx)bits/syscall%d): Likewise.
1236 2013-07-13  David S. Miller  <davem@davemloft.net>
1238         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1239         underflows from atanl/atan2l due to bug 15319.
1240         (casinh_test_data): Likewise.
1242 2013-07-07  David S. Miller  <davem@davemloft.net>
1244         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1246 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
1248         * sysdeps/i386/fpu/libm-test-ulps: Update.
1249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1251 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1253         * configure.in (--enable-lock-elision): Fix message text.
1254         * INSTALL: Regenerate.
1255         * configure: Regenerate.
1257 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1261 2013-07-03  Andreas Jaeger  <aj@suse.de>
1263         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1264         define.
1265         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1266         (ptrace_peeksiginfo_args): Add.
1267         (__ptrace_peeksiginfo_flags): Add.
1268         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1270         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1272 2013-07-03  Allan McRae  <allan@archlinux.org>
1274         * sysdeps/i386/fpu/libm-test-ulps: Update.
1276 2013-07-02  David S. Miller  <davem@davemloft.net>
1278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1280 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
1282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1284 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1286         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1289 2013-07-02  Andi Kleen <ak@linux.intel.com>
1291         * config.h.in (ENABLE_LOCK_ELISION): Add.
1292         * configure.in (--enable-lock-elision): Add option.
1293         * manual/install.texi: Document --enable lock elision.
1294         * configure: Regenerate
1295         * INSTALL: Regenerate.
1297 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1299         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1300         SSE4.2 strcasecmp for libc.a.
1301         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1303 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1305         [BZ #13304]
1306         * soft-fp/op-common.h (_FP_FMA): New macro.
1307         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1308         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
1309         (_FP_MUL_MEAT_1_imm): ... here.
1310         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
1311         (_FP_MUL_MEAT_1_wide): ... here.
1312         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
1313         (_FP_MUL_MEAT_1_hard): ... here.
1314         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1315         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
1316         (_FP_MUL_MEAT_2_wide): ... here.
1317         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
1318         (_FP_MUL_MEAT_2_wide_3mul): ... here.
1319         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
1320         (_FP_MUL_MEAT_2_gmp): ... here.
1321         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1322         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
1323         (_FP_MUL_MEAT_4_wide): ... here.
1324         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
1325         (_FP_MUL_MEAT_4_gmp): ... here.
1326         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1327         (_FP_WFRACBITS_DW_S): Likewise.
1328         (_FP_WFRACXBITS_DW_S): Likewise.
1329         (_FP_HIGHBIT_DW_S): Likewise.
1330         (FP_FMA_S): Likewise.
1331         (_FP_FRAC_HIGH_DW_S): Likewise.
1332         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1333         (_FP_WFRACBITS_DW_D): Likewise.
1334         (_FP_WFRACXBITS_DW_D): Likewise.
1335         (_FP_HIGHBIT_DW_D): Likewise.
1336         (FP_FMA_D): Likewise.
1337         (_FP_FRAC_HIGH_DW_D): Likewise.
1338         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1339         (_FP_WFRACBITS_DW_E): Likewise.
1340         (_FP_WFRACXBITS_DW_E): Likewise.
1341         (_FP_HIGHBIT_DW_E): Likewise.
1342         (FP_FMA_E): Likewise.
1343         (_FP_FRAC_HIGH_DW_E): Likewise.
1344         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1345         (_FP_WFRACBITS_DW_Q): Likewise.
1346         (_FP_WFRACXBITS_DW_Q): Likewise.
1347         (_FP_HIGHBIT_DW_Q): Likewise.
1348         (FP_FMA_Q): Likewise.
1349         (_FP_FRAC_HIGH_DW_Q): Likewise.
1350         * soft-fp/fmasf4.c: New file.
1351         * soft-fp/fmadf4.c: Likewise.
1352         * soft-fp/fmatf4.c: Likewise.
1354 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1357         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1358         Silvermont.
1359         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1360         macro.
1361         (index_Slow_SSE4_2): Likewise.
1362         (index_Prefer_PMINUB_for_stringop): Likewise.
1363         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1364         bit_Slow_SSE4_2 is set.
1365         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1366         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1368 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1370         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1371         rtld_global._dl_hwcap2.
1372         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1373         POWER8.
1374         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1375         POWER8 feature descriptions defined in _dl_hwcap2.
1376         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1377         string handling for POWER8 feature bits.
1378         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1379         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1380         _dl_powerpc_cap_flags.
1381         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1382         * sysdeps/powerpc/rtld-global-offsets.sym
1383         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1384         _dl_hwcap2 in the rtld_global_ro structure.
1386 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1388         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1389         hardware capabilities in support of AT_HWCAP2.
1390         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1391         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1392         GLRO(dl_hwcap2).
1393         (_dl_show_auxv): Add support for calling _dl_procinfo to display
1394         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
1395         explicitly the unknown a_type display mechanism is used.
1396         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1397         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1398         struct member.
1399         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1400         to macro prototype for AT_HWCAP2 support.
1401         * sysdeps/i386/dl-procinfo.h: Likewise.
1402         * sysdeps/s390/dl-procinfo.h: Likewise.
1403         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1404         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
1405         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
1406         return -1 for unknown a_type display fallback.
1407         * sysdeps/sparc/dl-procinfo.h: Likewise.
1408         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1409         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1411 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
1413         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1414         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1416 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
1418         [BZ #12492]
1419         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1420         mprotect making __stack_prot writable.
1422 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
1423             Joseph Myers  <joseph@codesourcery.com>
1425         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1426         as being properly aligned.
1428 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
1430         * dlfcn/modstatic5.c: New file.
1431         * dlfcn/tststatic5.c: New file.
1432         * dlfcn/Makefile (tests): Add tststatic5.
1433         (tests-static): Likewise.
1434         (modules-names): Add modstatic5.
1435         (tststatic5-ENV): New variable.
1436         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1438         [BZ #15022]
1439         * elf/dl-support.c (_dl_main_map): New variable.
1440         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1441         (_dl_nns, _dl_load_adds): Set to 1.
1442         (_dl_initial_searchlist): Refer to _dl_main_map.
1443         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1444         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1445         call to _dl_get_origin.
1446         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1447         around call_map.
1448         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1449         * dlfcn/modstatic3.c: New file.
1450         * dlfcn/tststatic3.c: New file.
1451         * dlfcn/tststatic4.c: New file.
1452         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1453         (tests-static): Likewise.
1454         (modules-names): Add modstatic3.
1455         (tststatic3-ENV, tststatic4-ENV): New variables.
1456         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1457         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1459 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
1461         * configure.in (CC): Require GCC version 4.4 or later.
1462         * configure: Regenerated.
1463         * manual/install.texi (Tools for Compilation): Update GCC version
1464         requirement.
1465         * INSTALL: Regenerated.
1467 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1469         [BZ #15674]
1470         * string/test-memcmp.c (check2): New.
1471         (main): Call check2.
1473         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1475 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
1477         [BZ #15022]
1478         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1479         over to...
1480         (dl_open_worker) [!SHARED]: ... here.
1482 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1484         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1486 2013-06-25  Richard Henderson  <rth@redhat.com>
1488         * locale/programs/locarchive.c: Include <libc-internal.h>
1490 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
1492         * manual/texinfo.tex: Update to version 2013-06-21.17, with
1493         trailing whitespace removed.
1495 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1497         [BZ #10283]
1498         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1499         * locale/programs/locarchive.c: Include libc-mmap.h.
1500         (prepare_address_space): Take two new outputs (the mmap base and len).
1501         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
1502         values.
1503         (create_archive): Declare new mmap base and len values for
1504         prepare_address_space, and store the result in ah.
1505         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1506         (enlarge_archive): If ah->mmap_base is not NULL, use that and
1507         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1508         Declare new mmap base and len values for
1509         prepare_address_space, and store the result in new_ah.
1510         (open_archive): Declare new mmap base and len values for
1511         prepare_address_space, and store the result in ah.
1512         (close_archive): If ah->mmap_base is not NULL, use that and
1513         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1514         * sysdeps/generic/libc-mmap.h: New file.
1516 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1518         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1519         (ALIGN_UP): Likewise.
1520         (PTR_ALIGN_DOWN): Likewise.
1521         (PTR_ALIGN_UP): Likewise.
1523 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1525         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1526         entry mapped to PPC_PLATFORM_POWER8.
1527         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1528         POWER8.
1529         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1530         (_dl_string_platform): Add case for exporting platform position for
1531         POWER8.
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1533         search path to sysdeps/powerpc/powerpc32/power8 directory.
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1535         search path to sysdeps/powerpc/powerpc64/power8 directory.
1536         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1537         power7 directories.
1538         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1539         power7 directories.
1541 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1543         * INSTALL: Regenerate.
1545         * nscd/connections.c (nscd_init): Fix comment.
1547 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
1549         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1551         [BZ #15667]
1552         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1553         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1555 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1557         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1558         DL_DST_REQ_STATIC.
1559         (DL_DST_REQ_STATIC): Remove macro.
1561 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1563         [BZ #7006]
1564         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1565         with a shift of 0 bits.
1567 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1569         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1570         $(tststatic-ENV).
1572 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1574         [BZ #15655]
1575         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1577 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1579         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1580         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1581         accepts -fno-tree-loop-distribute-patterns.
1582         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1583         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1584         recursive call.
1585         * string/memset.c (memset): Likewise.
1586         * string/test-memmove.c (simple_memmove): Disable loop transformation
1587         to library calls.
1588         * string/test-memset.c (simple_memset): Likewise.
1589         * benchtests/bench-memmove.c (simple_memmove): Likewise.
1590         * benchtests/bench-memset.c (simple_memset): Likewise.
1591         * configure: Regenerated.
1593 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
1595         * math/test-misc.c (main): Ignore fesetround failure when failures
1596         of subsequent rounding tests would be ignored.
1598         [BZ #15654]
1599         * math/fedisblxcpt.c (fedisableexcept): Return 0.
1600         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1601         * math/fegetenv.c (__fegetenv): Return 0.
1602         * math/fegetexcept.c (fegetexcept): Return 0.
1603         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1604         FE_TONEAREST.
1605         * math/feholdexcpt.c (feholdexcept): Return 0.
1606         * math/fesetenv.c (__fesetenv): Return 0.
1607         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1608         argument FE_TONEAREST.
1609         * math/feupdateenv.c (__feupdateenv): Return 0.
1610         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1612 2013-06-18  Roland McGrath  <roland@hack.frob.com>
1614         * elf/rtld-Rules (rtld-compile-command.S): New variable.
1615         (rtld-compile-command.s, rtld-compile-command.c): New variables.
1616         ($(objpfx)rtld-%.os rules): Use them.
1618 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1620         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1621         fields.
1623 2013-06-17  Roland McGrath  <roland@hack.frob.com>
1625         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1626         length of target pattern, then descending length of dependency pattern.
1627         * configure.in (AWK): Require gawk 3.1.2 or newer.
1628         * manual/install.texi (Tools for Compilation): Say that we do.
1629         * configure: Regenerated.
1631         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1632         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1633         * scripts/sysd-rules.awk: ... this new script.
1634         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1635         than a glob-style pattern.
1637 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
1639         * math/test-misc.c (main): Do not treat incorrectly rounded
1640         conversions as failure unless ROUNDING_TESTS passes.
1642 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
1644         [BZ #15631]
1645         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1646         restore exception state around main square root computation, then
1647         check for inexactness explicitly.
1649         * math/libm-test.inc (fma_test_data): Add another test.
1651 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1653         * manual/threads.texi (Non-POSIX Extensions): New document
1654         node.  Document pthread_getattr_default_np and
1655         pthread_setattr_default_np.
1657         * Versions.def (libpthread): Add GLIBC_2.18.
1658         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1660         Likewise.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1662         Likewise.
1663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1664         Likewise.
1665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1666         Likewise.
1667         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1668         Likewise.
1669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1670         Likewise.
1671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1672         Likewise.
1673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1674         Likewise.
1675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1676         Likewise.
1678 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1681         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1683 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1684             H.J. Lu  <hjl.tools@gmail.com>
1686         [BZ #15627]
1687         * sysdeps/x86_64/rtld-memset.c: Remove file.
1688         * sysdeps/x86_64/rtld-memset.S: New file.
1690 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
1692         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1693         (test_in_one_mode): Take arguments for whether the rounding mode
1694         is supported for each floating-point type.
1695         (do_test): Pass new arguments to test_in_one_mode using
1696         ROUNDING_TESTS.
1698 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1700         * posix/tst-waitid.c (do_test): Distinguish different instances of
1701         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
1702         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1703         before entering the kernel for waitpid.
1705 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1707         * NEWS: Fix note on clock function precision.  Text by Roland
1708         McGrath.
1710 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1712         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1713         it into place only when and if the sanity check passes.
1715 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
1717         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1718         output for whether conversion result is exact.  Take argument
1719         indicating whether type is IBM long double.
1720         (round_for_all): Change need_exact field to ibm_ld.
1721         * stdlib/tst-strtod-round.c (struct exactness): New type.
1722         (struct test): Change bool ld_ok field to struct exactness exact.
1723         (TEST): Update all definitions for change to field.
1724         (tests): Regenerate array contents.
1725         (test_in_one_mode): Take pointer to new field instead of old ld_ok
1726         field value.  Check for IBM long double here.
1727         (do_test): Update calls to test_in_one_mode.
1729 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1731         [BZ #12515]
1732         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1733         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1735 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1737         [BZ #15605]
1738         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1739         generated by the compiler on loop optimizations.
1740         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1741         general definitions.
1743 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
1745         * math/bug-nextafter.c: Include <math-tests.h>.
1746         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1747         the relevant type.
1748         * math/bug-nexttoward.c: Include <math-tests.h>.
1749         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1750         the relevant type.
1751         * math/test-misc.c: Include <math-tests.h>.
1752         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1753         the relevant type.
1755 2013-06-12  Andreas Jaeger  <aj@suse.de>
1757         * po/ia.po: Update Interlingua translation from translation
1758         project.
1760 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1762         * include/fenv.h: Include stdbool.h.
1763         (struct rm_ctx): New structure.
1764         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1765         Define macro.
1766         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1767         (SET_RESTORE_ROUNDF): Likewise.
1768         (SET_RESTORE_ROUNDL): Likewise.
1769         (SET_RESTORE_ROUND_NOEX): Likewise.
1770         (SET_RESTORE_ROUND_NOEXF): Likewise.
1771         (SET_RESTORE_ROUND_NOEXL): Likewise.
1772         (SET_RESTORE_ROUND_53BIT): Likewise.
1773         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1774         (libc_feresetround_noexf_ctx): Likewise.
1775         (libc_feresetround_noexl_ctx): Likewise.
1776         (libc_feholdsetround_53bit_ctx): Likewise.
1777         (libc_feresetround_53bit_ctx): Likewise.
1778         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1779         (libc_feholdexcept_setround_sse_ctx): New function.
1780         (libc_fesetenv_sse_ctx): Likewise.
1781         (libc_feupdateenv_sse_ctx): Likewise.
1782         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1783         (libc_feholdexcept_setround_387_ctx): Likewise.
1784         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1785         (libc_feholdsetround_387_prec_ctx): Likewise.
1786         (libc_feholdsetround_387_ctx): Likewise.
1787         (libc_feholdsetround_387_53bit_ctx): Likewise.
1788         (libc_feholdsetround_sse_ctx): Likewise.
1789         (libc_feresetround_sse_ctx): Likewise.
1790         (libc_feresetround_387_ctx): Likewise.
1791         (libc_feupdateenv_387_ctx): Likewise.
1792         (libc_feholdexcept_setroundf_ctx): Define macro.
1793         (libc_fesetenvf_ctx): Likewise.
1794         (libc_feupdateenvf_ctx): Likewise.
1795         (libc_feholdsetroundf_ctx): Likewise.
1796         (libc_feresetroundf_ctx): Likewise.
1797         (libc_feholdexcept_setround_ctx): Likewise.
1798         (libc_fesetenv_ctx): Likewise.
1799         (libc_feupdateenv_ctx): Likewise.
1800         (libc_feholdsetround_ctx): Likewise.
1801         (libc_feresetround_ctx): Likewise.
1802         (libc_feholdexcept_setroundl_ctx): Likewise.
1803         (libc_feupdateenvl_ctx): Likewise.
1804         (libc_feholdsetroundl_ctx): Likewise.
1805         (libc_feresetroundl_ctx): Likewise.
1806         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1807         (libc_feresetround_53bit_ctx): Likewise.
1809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1811         * locale/iso-639.def: Convert to UTF-8.
1813 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
1815         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1816         (EXCEPTION_TESTS_double): Likewise.
1817         (EXCEPTION_TESTS_long_double): Likewise.
1818         (EXCEPTION_TESTS): Likewise.
1819         * math/libm-test.inc (test_exceptions): Only test exceptions if
1820         EXCEPTION_TESTS (FLOAT).
1822 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1824         * benchtests/Makefile (string-bench): Add strcpy_chk and
1825         stpcpy_chk.
1826         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1827         * benchtests/bench-stpcpy_chk.c: New file.
1828         * benchtests/bench-strcpy_chk-ifunc.c: New file.
1829         * benchtests/bench-strcpy_chk.c: New file.
1830         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1831         code.
1832         (do_test): Likewise.
1834 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1836         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1837         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1838         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1839         with tabs where appropriate.
1840         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1841         dl-procinfo.h.
1842         [PPC_PLATFORM_PPC440]: Likewise.
1843         [PPC_PLATFORM_PPC464]: Likewise.
1844         [PPC_PLATFORM_PPC476]: Likewise.
1845         (_dl_string_platform): Add support for detecting ppc405, ppc440,
1846         ppc464, and ppc476 platform strings merging from ports/
1847         dl-procinfo.h.
1849 2013-06-11  Andreas Schwab  <schwab@suse.de>
1851         [BZ #14991]
1852         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1853         (from_ucs4_idx): Regenerate.
1854         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1855         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1856         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1857         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1858         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1859         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1860         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1861         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1862         from FROM_LOOP and TO_LOOP specific macros.
1863         (BODY): Handle combining characters.
1864         * iconvdata/BIG5HKSCS.irreversible: Update.
1865         * iconvdata/BIG5HKSCS.precomposed: New file.
1866         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1867         characters.
1868         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1870 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1872         * include/sys/time.h: Fix indentation and add copyright header.
1874         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1875         (do_test): Likewise.
1876         * string/test-memchr.c (do_one_test): Likewise.
1877         (do_test): Likewise.
1878         * string/test-memcmp.c (do_one_test): Likewise.
1879         (do_test): Likewise.
1880         * string/test-memcpy.c (do_one_test): Likewise.
1881         (do_test): Likewise.
1882         * string/test-memmem.c (do_one_test): Likewise.
1883         (do_test): Likewise.
1884         (do_random_tests): Likewise.
1885         * string/test-memmove.c (do_one_test): Likewise.
1886         (do_test): Likewise.
1887         * string/test-memset.c (do_one_test): Likewise.
1888         (do_test): Likewise.
1889         * string/test-rawmemchr.c (do_one_test): Likewise.
1890         (do_test): Likewise.
1891         * string/test-strcasecmp.c (do_one_test): Likewise.
1892         (do_test): Likewise.
1893         * string/test-strcasestr.c (do_one_test): Likewise.
1894         (do_test): Likewise.
1895         * string/test-strcat.c (do_one_test): Likewise.
1896         (do_test): Likewise.
1897         * string/test-strchr.c (do_one_test): Likewise.
1898         (do_test): Likewise.
1899         * string/test-strcmp.c (do_one_test): Likewise.
1900         (do_test): Likewise.
1901         * string/test-strcpy.c (do_one_test): Likewise.
1902         (do_test): Likewise.
1903         * string/test-string.h: Likewise.
1904         (test_init): Likewise.
1905         * string/test-strlen.c (do_one_test): Likewise.
1906         (do_test): Likewise.
1907         * string/test-strncasecmp.c (do_one_test): Likewise.
1908         (do_test): Likewise.
1909         * string/test-strncat.c (do_one_test): Likewise.
1910         (do_test): Likewise.
1911         * string/test-strncmp.c (do_one_test): Likewise.
1912         (do_test_limit): Likewise.
1913         (do_test): Likewise.
1914         * string/test-strncpy.c (do_one_test): Likewise.
1915         (do_test): Likewise.
1916         * string/test-strnlen.c (do_one_test): Likewise.
1917         (do_test): Likewise.
1918         * string/test-strpbrk.c (do_one_test): Likewise.
1919         (do_test): Likewise.
1920         * string/test-strrchr.c (do_one_test): Likewise.
1921         (do_test): Likewise.
1922         * string/test-strspn.c (do_one_test): Likewise.
1923         (do_test): Likewise.
1924         * string/test-strstr.c (do_one_test): Likewise.
1925         (do_test): Likewise.
1927         * benchtests/Makefile (string-bench): Add string benchmarks.
1928         * benchtests/bench-bcopy-ifunc.c: New file.
1929         * benchtests/bench-bcopy.c: New file.
1930         * benchtests/bench-bzero-ifunc.c: New file.
1931         * benchtests/bench-bzero.c: New file.
1932         * benchtests/bench-memccpy-ifunc.c: New file.
1933         * benchtests/bench-memccpy.c: New file.
1934         * benchtests/bench-memchr-ifunc.c: New file.
1935         * benchtests/bench-memchr.c: New file.
1936         * benchtests/bench-memcmp-ifunc.c: New file.
1937         * benchtests/bench-memcmp.c: New file.
1938         * benchtests/bench-memmem-ifunc.c: New file.
1939         * benchtests/bench-memmem.c: New file.
1940         * benchtests/bench-memmove-ifunc.c: New file.
1941         * benchtests/bench-memmove.c: New file.
1942         * benchtests/bench-mempcpy-ifunc.c: New file.
1943         * benchtests/bench-mempcpy.c: New file.
1944         * benchtests/bench-memset-ifunc.c: New file.
1945         * benchtests/bench-memset.c: New file.
1946         * benchtests/bench-rawmemchr-ifunc.c: New file.
1947         * benchtests/bench-rawmemchr.c: New file.
1948         * benchtests/bench-stpcpy-ifunc.c: New file.
1949         * benchtests/bench-stpcpy.c: New file.
1950         * benchtests/bench-stpncpy-ifunc.c: New file.
1951         * benchtests/bench-stpncpy.c: New file.
1952         * benchtests/bench-strcasecmp-ifunc.c: New file.
1953         * benchtests/bench-strcasecmp.c: New file.
1954         * benchtests/bench-strcasestr-ifunc.c: New file.
1955         * benchtests/bench-strcasestr.c: New file.
1956         * benchtests/bench-strcat-ifunc.c: New file.
1957         * benchtests/bench-strcat.c: New file.
1958         * benchtests/bench-strchr-ifunc.c: New file.
1959         * benchtests/bench-strchr.c: New file.
1960         * benchtests/bench-strchrnul-ifunc.c: New file.
1961         * benchtests/bench-strchrnul.c: New file.
1962         * benchtests/bench-strcmp-ifunc.c: New file.
1963         * benchtests/bench-strcmp.c: New file.
1964         * benchtests/bench-strcpy-ifunc.c: New file.
1965         * benchtests/bench-strcpy.c: New file.
1966         * benchtests/bench-strcspn-ifunc.c: New file.
1967         * benchtests/bench-strcspn.c: New file.
1968         * benchtests/bench-strlen-ifunc.c: New file.
1969         * benchtests/bench-strlen.c: New file.
1970         * benchtests/bench-strncasecmp-ifunc.c: New file.
1971         * benchtests/bench-strncasecmp.c: New file.
1972         * benchtests/bench-strncat-ifunc.c: New file.
1973         * benchtests/bench-strncat.c: New file.
1974         * benchtests/bench-strncmp-ifunc.c: New file.
1975         * benchtests/bench-strncmp.c: New file.
1976         * benchtests/bench-strncpy-ifunc.c: New file.
1977         * benchtests/bench-strncpy.c: New file.
1978         * benchtests/bench-strnlen-ifunc.c: New file.
1979         * benchtests/bench-strnlen.c: New file.
1980         * benchtests/bench-strpbrk-ifunc.c: New file.
1981         * benchtests/bench-strpbrk.c: New file.
1982         * benchtests/bench-strrchr-ifunc.c: New file.
1983         * benchtests/bench-strrchr.c: New file.
1984         * benchtests/bench-strspn-ifunc.c: New file.
1985         * benchtests/bench-strspn.c: New file.
1986         * benchtests/bench-strstr-ifunc.c: New file.
1987         * benchtests/bench-strstr.c: New file.
1989         * benchtests/Makefile: Disable parallel execution of targets.
1990         (string-bench): Add memcpy.
1991         (benchset): New variable to store a list of benchmark sets.
1992         (bench-func): Renamed from bench.
1993         (bench-set): New target.
1994         (bench): Depend on bench-func and bench-set.
1995         * benchtests/README: Add section on benchmark sets.
1996         * benchtests/bench-memcpy-ifunc.c: New file.
1997         * benchtests/bench-memcpy.c: New file.
1998         * benchtests/bench-string.h: New file.
2000 2013-06-11  Andreas Schwab  <schwab@suse.de>
2002         [BZ #15577]
2003         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2004         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2005         values in the triple.
2006         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2007         terminator in the group key.
2009 2013-06-11  Andreas Jaeger  <aj@suse.de>
2011         * po/zh_TW.po: Update Chinese (traditional) translation from
2012         translation project.
2014 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2016         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2017         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2018         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2020         (clock_getcpuclockid): Likewise.
2021         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2022         Add weak_alias and libc_hidden_def.
2023         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2024         * rt/clock_gettime.c (clock_gettime): Rename to
2025         __clock_gettime.  Add weak_alias and libc_hidden_def.
2026         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2027         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2028         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2029         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2030         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2031         Likewise.
2032         * rt/clock_settime.c (clock_settime): Rename to
2033         __clock_settime.  Add weak_alias and libc_hidden_def.
2034         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2036 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2038         * mach/err_boot.sub: Remove trailing whitespace.
2039         * mach/err_ipc.sub: Likewise.
2040         * mach/err_mach.sub: Likewise.
2042         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2043         (ROUNDING_TESTS_double): Likewise.
2044         (ROUNDING_TESTS_long_double): Likewise.
2045         (ROUNDING_TESTS): Likewise.
2046         * math/libm-test.inc: Include <math-tests.h>.
2047         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2048         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2049         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2050         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2052 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2054         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2055         of assigning.
2057 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2059         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2060         otherwise empty TRANS lines.
2061         * sysdeps/gnu/errlist.c: Regenerated.
2063         * catgets/gencat.c (error_print): Use (void) in function
2064         definition.
2065         * crypt/crypt_util.c (__init_des): Likewise.
2066         * crypt/speeds.c (Stop): Likewise.
2067         (main): Likewise.
2068         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2069         * inet/ruserpass.c (token): Likewise.
2070         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2071         * intl/localealias.c (extend_alias_table): Likewise.
2072         * intl/plural-exp.c (init_germanic_plural): Likewise.
2073         * libio/fcloseall.c (__fcloseall): Likewise.
2074         * libio/genops.c (_IO_flush_all): Likewise.
2075         (_IO_flush_all_linebuffered): Likewise.
2076         (_IO_cleanup): Likewise.
2077         (_IO_iter_begin): Likewise.
2078         (_IO_iter_end): Likewise.
2079         (_IO_list_lock): Likewise.
2080         (_IO_list_unlock): Likewise.
2081         (_IO_list_resetlock): Likewise.
2082         * libio/getchar.c (getchar): Likewise.
2083         * libio/getchar_u.c (getchar_unlocked): Likewise.
2084         * libio/getwchar.c (getwchar): Likewise.
2085         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2086         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2087         * login/getpt.c (__getpt): Likewise.
2088         * login/tst-utmp.c (main): Likewise.
2089         * malloc/hooks.c (__malloc_check_init): Likewise.
2090         * malloc/malloc.c (__malloc_stats): Likewise.
2091         * malloc/mtrace.c (tr_break): Likewise.
2092         (mtrace): Likewise.
2093         (muntrace): Likewise.
2094         * misc/fstab.c (endfsent): Likewise.
2095         * misc/getclktck.c (__getclktck): Likewise.
2096         * misc/getdtsz.c (__getdtablesize): Likewise.
2097         * misc/gethostid.c (gethostid): Likewise.
2098         * misc/getpagesize.c (__getpagesize): Likewise.
2099         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2100         (__get_nprocs): Likewise.
2101         (__get_phys_pages): Likewise.
2102         (__get_avphys_pages): Likewise.
2103         * misc/getttyent.c (getttyent): Likewise.
2104         (setttyent): Likewise.
2105         (endttyent): Likewise.
2106         * misc/getusershell.c (getusershell): Likewise.
2107         (endusershell): Likewise.
2108         (setusershell): Likewise.
2109         (initshells): Likewise.
2110         * misc/hsearch.c (__hdestroy): Likewise.
2111         * misc/sync.c (sync): Likewise.
2112         * misc/syslog.c (closelog_internal): Likewise.
2113         (closelog): Likewise.
2114         * misc/ttyslot.c (ttyslot): Likewise.
2115         * misc/vhangup.c (vhangup): Likewise.
2116         * posix/fork.c (__fork): Likewise.
2117         * posix/getegid.c (__getegid): Likewise.
2118         * posix/geteuid.c (__geteuid): Likewise.
2119         * posix/getgid.c (__getgid): Likewise.
2120         * posix/getpid.c (__getpid): Likewise.
2121         * posix/getppid.c (__getppid): Likewise.
2122         * posix/getuid.c (__getuid): Likewise.
2123         * posix/pause.c (pause): Likewise.
2124         * posix/setpgrp.c (setpgrp): Likewise.
2125         * posix/setsid.c (__setsid): Likewise.
2126         * posix/test-vfork.c (noop): Likewise.
2127         * resolv/gethnamaddr.c (_endhtent): Likewise.
2128         (_gethtent): Likewise.
2129         (ht_endhostent): Likewise.
2130         (gethostent): Likewise.
2131         (dns_service): Likewise.
2132         * stdlib/drand48.c (drand48): Likewise.
2133         * stdlib/lrand48.c (lrand48): Likewise.
2134         * stdlib/mrand48.c (mrand48): Likewise.
2135         * stdlib/rand.c (rand): Likewise.
2136         * stdlib/random.c (__random): Likewise.
2137         * stdlib/setenv.c (clearenv): Likewise.
2138         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2139         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2140         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2141         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2142         (__get_nprocs): Likewise.
2143         (__get_phys_pages): Likewise.
2144         (__get_avphys_pages): Likewise.
2145         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2146         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2147         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2148         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2149         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2150         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2151         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2152         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2153         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2154         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2155         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2156         * sysdeps/mach/hurd/sync.c (sync): Likewise.
2157         * sysdeps/posix/clock.c (clock): Likewise.
2158         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2159         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2160         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2161         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2162         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2164         (__get_nprocs_conf): Likewise.
2165         (__get_phys_pages): Likewise.
2166         (__get_avphys_pages): Likewise.
2167         * time/clock.c (clock): Likewise.
2168         * time/tzset.c (__tzname_max): Likewise.
2170 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
2172         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2173         (__bswap_32): Do not use "register".
2174         * crypt/crypt.c (_ufc_doit_r): Likewise.
2175         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2176         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2177         * gmon/gmon.c (__monstartup): Likewise.
2178         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2179         * hurd/hurdmalloc.c (more_memory): Likewise.
2180         (malloc): Likewise.
2181         (free): Likewise.
2182         (realloc): Likewise.
2183         (malloc_fork_prepare): Likewise.
2184         (malloc_fork_parent): Likewise.
2185         (malloc_fork_child): Likewise.
2186         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2187         (_svcauth_des): Likewise.
2188         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2189         * inet/inet_net.c (inet_network): Likewise.
2190         * inet/inet_netof.c (inet_netof): Likewise.
2191         * inet/rcmd.c (__validuser2_sa): Likewise.
2192         * io/fts.c (fts_open): Likewise.
2193         (fts_load): Likewise.
2194         (fts_close): Likewise.
2195         (fts_read): Likewise.
2196         (fts_children): Likewise.
2197         (fts_build): Likewise.
2198         (fts_stat): Likewise.
2199         (fts_sort): Likewise.
2200         (fts_alloc): Likewise.
2201         (fts_lfree): Likewise.
2202         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2203         (_IO_file_xsgetn): Likewise.
2204         (_IO_file_xsgetn_mmap): Likewise.
2205         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2206         (_IO_cookie_write): Likewise.
2207         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2208         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2209         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2210         * malloc/obstack.c (_obstack_begin): Likewise.
2211         (_obstack_begin_1): Likewise.
2212         (_obstack_newchunk): Likewise.
2213         (_obstack_allocated_p): Likewise.
2214         (obstack_free): Likewise.
2215         (_obstack_memory_used): Likewise.
2216         * misc/getttyent.c (getttynam): Likewise.
2217         (getttyent): Likewise.
2218         (skip): Likewise.
2219         (value): Likewise.
2220         * misc/getusershell.c (initshells): Likewise.
2221         * misc/syslog.c (__vsyslog_chk): Likewise.
2222         * misc/ttyslot.c (ttyslot): Likewise.
2223         * nis/nis_hash.c (__nis_hash): Likewise.
2224         * posix/fnmatch_loop.c (FCT): Likewise.
2225         * posix/getconf.c (print_all): Likewise.
2226         (main): Likewise.
2227         * posix/getopt.c (exchange): Likewise.
2228         * posix/glob.c (globfree): Likewise.
2229         (prefix_array): Likewise.
2230         (__glob_pattern_type): Likewise.
2231         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2232         (NS_GET32): Likewise.
2233         (NS_PUT16): Likewise.
2234         (NS_PUT32): Likewise.
2235         * resolv/gethnamaddr.c (getanswer): Likewise.
2236         (gethostbyname2): Likewise.
2237         (gethostbyaddr): Likewise.
2238         (_gethtent): Likewise.
2239         (_gethtbyname2): Likewise.
2240         (_gethtbyaddr): Likewise.
2241         * resolv/ns_print.c (dst_s_get_int16): Likewise.
2242         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2243         * resolv/res_init.c (__res_vinit): Likewise.
2244         (net_mask): Likewise.
2245         * resolv/res_mkquery.c (outchar): Likewise.
2246         (PRINT): Likewise.
2247         * stdio-common/printf_fp.c (outchar): Likewise.
2248         (PRINT): Likewise.
2249         * stdio-common/printf_fphex.c (outchar): Likewise.
2250         (PRINT): Likewise.
2251         * stdio-common/printf_size.c (outchar): Likewise.
2252         (PRINT): Likewise.
2253         * stdio-common/test_rdwr.c (main): Likewise.
2254         * stdio-common/tfformat.c (matches): Likewise.
2255         * stdio-common/vfprintf.c (outchar): Likewise.
2256         (printf_unknown): Likewise.
2257         (buffered_vfprintf): Likewise.
2258         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2259         * stdio-common/xbug.c (AppendToBuffer): Likewise.
2260         (ReadFile): Likewise.
2261         * stdlib/qsort.c (SWAP): Likewise.
2262         (_quicksort): Likewise.
2263         * stdlib/setenv.c (__add_to_environ): Likewise.
2264         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2265         * stdlib/strtol_l.c (__strtol_l): Likewise.
2266         * stdlib/tst-strtod.c (main): Likewise.
2267         * stdlib/tst-strtol.c (main): Likewise.
2268         * stdlib/tst-strtoll.c (main): Likewise.
2269         * string/bits/string2.h (__strcmp_cc): Likewise.
2270         (__strcmp_cg): Likewise.
2271         (__strcspn_c1): Likewise.
2272         (__strcspn_c2): Likewise.
2273         (__strcspn_c3): Likewise.
2274         (__strspn_c1): Likewise.
2275         (__strspn_c2): Likewise.
2276         (__strspn_c3): Likewise.
2277         (__strsep_1c): Likewise.
2278         (__strsep_2c): Likewise.
2279         (__strsep_3c): Likewise.
2280         * string/memccpy.c (__memccpy): Likewise.
2281         * string/stpcpy.c (__stpcpy): Likewise.
2282         * string/strcmp.c (strcmp): Likewise.
2283         * string/strrchr.c (strrchr): Likewise.
2284         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2285         Likewise.
2286         * sysdeps/mach/hurd/getcwd.c
2287         (_hurd_canonicalize_directory_name_internal): Likewise.
2288         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2289         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2290         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2291         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2292         Likewise, in both definitions.
2293         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2294         definitions.
2295         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2296         64] (__bswap_64): Likewise.
2297         * time/test_time.c (main): Likewise.
2298         * time/tzfile.c (__tzfile_read): Likewise.
2299         (__tzfile_compute): Likewise.
2300         * time/tzset.c (__tzset_parse_tz): Likewise.
2301         (tzset_internal): Likewise.
2302         (compute_change): Likewise.
2303         * wcsmbs/wcscat.c (__wcscat): Likewise.
2304         * wcsmbs/wcschr.c (wcschr): Likewise.
2305         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2306         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2307         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2308         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2309         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2310         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2311         * wcsmbs/wmemchr.c (wmemchr): Likewise.
2312         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2313         * wcsmbs/wmemset.c (wmemset): Likewise.
2315 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
2317         * scripts/config.guess: Update to version 2013-05-16.
2318         * scripts/config.sub: Update to version 2013-04-24.
2319         * scripts/install-sh: Update to version 2011-11-20.07.
2320         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2321         * scripts/move-if-change: Update to version 2012-01-06 07:23.
2323 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
2325         * debug/fgetws_u_chk.c: Fix leading whitespaces.
2326         * elf/sln.c: Likewise.
2327         * hurd/hurd/ioctl.h: Likewise.
2328         * hurd/hurdmalloc.c: Likewise.
2329         * hurd/xattr.c: Likewise.
2330         * include/shlib-compat.h: Likewise.
2331         * inet/ruserpass.c: Likewise.
2332         * libio/iofgets_u.c: Likewise.
2333         * libio/iofgetws_u.c: Likewise.
2334         * locale/programs/ld-identification.c: Likewise.
2335         * locale/programs/ld-time.c: Likewise.
2336         * mach/msg-destroy.c: Likewise.
2337         * nss/nss_files/files-netgrp.c: Likewise.
2338         * resolv/res_data.c: Likewise.
2339         * soft-fp/op-1.h: Likewise.
2340         * soft-fp/op-2.h: Likewise.
2341         * soft-fp/op-4.h: Likewise.
2342         * soft-fp/op-common.h: Likewise.
2343         * stdio-common/printf_fphex.c: Likewise.
2344         * stdlib/strtod_l.c: Likewise.
2345         * sunrpc/rpc/clnt.h: Likewise.
2346         * sysdeps/generic/framestate.c: Likewise.
2347         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2348         * sysdeps/i386/bsd-setjmp.S: Likewise.
2349         * sysdeps/i386/__longjmp.S: Likewise.
2350         * sysdeps/i386/setjmp.S: Likewise.
2351         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2352         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2353         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2369         * sysdeps/ieee754/support.c: Likewise.
2370         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2371         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2372         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2373         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2374         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2375         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2376         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2377         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2378         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2379         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2380         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2381         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2382         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2383         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2384         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2385         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2386         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2389 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
2391         * posix/transbug.c: Remove executable mode.
2393 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
2395         * crypt/speeds.c: Remove trailing whitespace.
2396         * dlfcn/default.c: Likewise.
2397         * elf/ifuncdep2.c: Likewise.
2398         * elf/ifuncmain1.c: Likewise.
2399         * elf/ifuncmain1vis.c: Likewise.
2400         * elf/testobj.h: Likewise.
2401         * elf/tst-stackguard1.c: Likewise.
2402         * gmon/sys/gmon.h: Likewise.
2403         * hurd/hurdmsg.c: Likewise.
2404         * hurd/new-fd.c: Likewise.
2405         * hurd/ports-get.c: Likewise.
2406         * iconvdata/ibm1008_420.c: Likewise.
2407         * inet/tst-getni1.c: Likewise.
2408         * inet/tst-getni2.c: Likewise.
2409         * libio/ioungetc.c: Likewise.
2410         * libio/wfiledoalloc.c: Likewise.
2411         * manual/libm-err-tab.pl: Likewise.
2412         * math/w_dremf.c: Likewise.
2413         * misc/ftruncate.c: Likewise.
2414         * posix/bug-glob2.c: Likewise.
2415         * posix/tst-pcre.c: Likewise.
2416         * posix/wait4.c: Likewise.
2417         * resolv/README: Likewise.
2418         * resolv/res_debug.h: Likewise.
2419         * resolv/tst-inet_ntop.c: Likewise.
2420         * setjmp/bug269-setjmp.c: Likewise.
2421         * soft-fp/extended.h: Likewise.
2422         * soft-fp/op-1.h: Likewise.
2423         * soft-fp/op-2.h: Likewise.
2424         * soft-fp/op-4.h: Likewise.
2425         * soft-fp/op-8.h: Likewise.
2426         * soft-fp/testit.c: Likewise.
2427         * stdio-common/bug16.c: Likewise.
2428         * stdlib/random.c: Likewise.
2429         * sunrpc/rpcsvc/rquota.x: Likewise.
2430         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2431         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2433         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2434         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2435         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2436         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2437         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2438         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2439         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2440         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2441         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2442         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2443         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2445         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2446         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2448         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2449         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2451         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2453         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2457         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2459         * sysdeps/ieee754/s_lib_version.c: Likewise.
2460         * sysdeps/mach/hurd/check_fds.c: Likewise.
2461         * sysdeps/mach/hurd/getsockname.c: Likewise.
2462         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2463         * sysdeps/mach/hurd/recvfrom.c: Likewise.
2464         * sysdeps/powerpc/bits/link.h: Likewise.
2465         * sysdeps/powerpc/dl-procinfo.c: Likewise.
2466         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2467         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2468         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2469         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2470         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2471         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2472         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2473         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2474         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2475         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2476         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2477         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2478         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2479         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2480         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2481         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2482         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2483         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2484         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2486         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2488         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2489         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2490         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2492         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2494         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2497         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2498         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2499         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2500         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2501         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2502         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2503         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2504         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2505         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2506         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2507         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2508         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2509         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2510         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2511         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2512         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2513         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2514         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2515         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2517         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2518         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2519         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2520         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2521         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2522         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2523         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2524         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2525         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2526         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2527         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2529         * sysdeps/powerpc/sysdep.h: Likewise.
2530         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2531         * sysdeps/s390/s390-64/sub_n.S: Likewise.
2532         * sysdeps/sh/dl-trampoline.S: Likewise.
2533         * sysdeps/sh/memset.S: Likewise.
2534         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2535         * sysdeps/sh/strlen.S: Likewise.
2536         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2537         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2538         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2539         * sysdeps/sparc/sparc32/rem.S: Likewise.
2540         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2541         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2542         * sysdeps/sparc/sparc32/strchr.S: Likewise.
2543         * sysdeps/sparc/sparc32/udiv.S: Likewise.
2544         * sysdeps/sparc/sparc32/urem.S: Likewise.
2545         * sysdeps/sparc/sparc64/add_n.S: Likewise.
2546         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2547         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2548         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2549         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2550         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2551         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2552         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2553         * sysdeps/unix/bsd/times.c: Likewise.
2554         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2555         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2559         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2560         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2561         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2563         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2564         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2565         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2566         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2567         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2568         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2569         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2570         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2571         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2572         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2573         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2574         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2575         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2576         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2577         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2578         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2579         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2580         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2581         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2582         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2583         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2584         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2585         * sysdeps/x86_64/strcspn.S: Likewise.
2587 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2589         * locale/C-translit.h: Revert #include <stdint.h> because this is a
2590         generated file.  Regenerate properly from gen-translit.pl.
2591         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
2592         locale/C-translit.h.
2594 2013-06-05  Andreas Schwab  <schwab@suse.de>
2596         [BZ #15100]
2597         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2598         week as 6 instead of -1.
2599         * time/tst-strptime.c (day_tests): Add test case.
2601 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2603         * sysdeps/generic/math_private.h
2604         (libc_feholdexcept_setround_53bit): Replace with
2605         libc_feholdsetround_53bit.
2606         (libc_feupdateenv_53bit): Replace with
2607         libc_feresetround_53bit.
2608         (SET_RESTORE_ROUND_53BIT): Adjust.
2610 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2612         * string/test-strchrnul.c: Add copyright header.
2614         * posix/tst-getaddrinfo4.c: Increase test timeout.
2616 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
2618         [BZ #15536]
2619         * math/libm-test.inc (MAX_EXP): Remove
2620         (MIN_EXP): Define.
2621         (ulp): Use MIN_EXP - MANT_DIG.
2622         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2624 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
2626         * po/be.po: Revert last change.
2627         * po/zh_CN.po: Likewise.
2628         * po/header.pot: Likewise.
2630 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
2632         * Makefile ($(common-objpfx)linkobj/libc.so): Define
2633         link-libc-deps to empty as target-specific variable.
2634         * Makerules (link-libc-args): New variable.
2635         (libc-for-link): Likewise.
2636         (link-libc-deps): Likewise.
2637         (lib%.so): Depend on $(link-libc-deps).  Link with
2638         $(link-libc-args).
2639         (build-module): Link with $(link-libc-args).
2640         (build-module-asneeded): Likewise.
2641         (build-module-helper-objlist): Filter out $(link-libc-deps) from
2642         list of objects.
2643         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2644         target-specific variable.
2645         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2646         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2647         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2648         libc.
2649         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2650         libc and ld.so.
2651         ($(objpfx)libpcprofile.so): Likewise.
2652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2653         libc_nonshared.a.
2654         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2655         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2656         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2657         $(link-libc-deps).
2658         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2659         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2660         * login/Makefile ($(objpfx)libutil.so): Likewise.
2661         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2662         * math/Makefile ($(objpfx)libm.so): Likewise.
2663         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2664         $(objpfx)libnsl.so): Define libc-for-link as target-specific
2665         variable instead of depending directly on libc.
2666         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2667         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2668         $(link-libc-deps).
2669         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2670         libc.
2671         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2672         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2673         ($(objpfx)libanl.so): Likewise.
2674         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2675         ld.so.
2676         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2677         $(link-libc-deps).
2678         * sysdeps/i386/fpu/Makefile: Remove file.
2679         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2680         ($(objpfx)libm.so): Remove dependency on ld.so.
2682 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
2684         [BZ # 15553]
2685         * nis/yp_xdr.c (XDRMAXNAME): Define.
2686         (XDRMAXRECORD): Define.
2687         (xdr_domainname): Use XDRMAXNAME.
2688         (xdr_mapname): Likewise.
2689         (xdr_peername): Likewise.
2690         (xdr_keydat): Use XDRMAXRECORD.
2691         (xdr_valdat): Likewise.
2693 2013-05-30  Jeff Law  <law@redhat.com>
2695         [BZ #14256]
2696         * manual/errno.texi (ESTALE): Update to account for more than
2697         just NFS file systems.
2698         * sysdeps/gnu/errlist.c: Regenerated.
2700 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2702         [BZ #15465]
2703         * elf/Makefile (tests): Add tst-null-argv.
2704         (modules-names):  Add tst-null-argv-lib.
2705         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2706         (tst-null-argv-ENV): Set environment for tst-null-argv.
2707         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2708         (RTLD_PROGNAME): New macro.
2709         * elf/tst-null-argv.c: New test case.
2710         * elf/tst-null-argv-lib.c: Library for test case.
2711         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2712         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2713         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2714         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2715         * elf/dl-init.c (call_init): Likewise.
2716         (_dl_init): Likewise.
2717         * elf/dl-load.c (print_search_path): Likewise.
2718         (_dl_map_object): Likewise.
2719         * elf/dl-lookup.c (do_lookup_x): Likewise.
2720         (add_dependency): Likewise.
2721         (_dl_lookup_symbol_x): Likewise.
2722         (_dl_debug_bindings): Likewise.
2723         * elf/dl-open.c (_dl_show_scope): Likewise.
2724         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2725         * elf/dl-version.c (match_symbol): Likewise.
2726         (_dl_check_map_versions): Likewise.
2727         * elf/rtld.c (dl_main): Likewise.
2728         (print_unresolved): Use RTLD_PROGNAME.
2729         (print_missing_version): Likewise.
2730         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2731         (elf_machine_rela): Likewise.
2732         * sysdeps/powerpc/powerpc32/dl-machine.c
2733         (__process_machine_rela): Likewise.
2734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2735         Likewise.
2736         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2737         Likewise.
2738         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2739         Likewise.
2740         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2741         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2742         Likewise.
2743         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2744         Likewise.
2745         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2747 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
2749         * po/be.po: Add descriptive title.
2750         * po/zh_CN.po: Likewise.
2751         * po/header.pot: Likewise.
2753 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
2755         * locale/programs/locarchive.c (create_archive): Inlucde fname in
2756         error message.
2757         (enlarge_archive): Likewise.
2759 2013-05-28  Ben North  <ben@redfrontdoor.org>
2761         * manual/arith.texi (frexp): It is the magnitude of the return
2762         value which lies in [0.5, 1), not the return value itself.
2764 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2768 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
2770         * stdio-common/bug26.c (main): Correct fscanf template.
2772         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2773         declare _dl_skip_args.
2775         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2776         Don't declare.
2778         * manual/platform.texi: Add missing @end deftypefun.
2780 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2782         [BZ #15529]
2783         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2784         bit of mantissa of 2^16382.
2785         * math/libm-test.inc (hypot_test_data): Add more tests.
2787         * math/libm-test.inc: Add drem and pow10 to list of tested
2788         functions.
2789         (pow10_test): New function.
2790         (drem_test): Likewise.
2791         (drem_test_tonearest): Likewise.
2792         (drem_test_towardzero): Likewise.
2793         (drem_test_downward): Likewise.
2794         (drem_test_upward): Likewise.
2795         (main): Call the new functions.
2797         * math/libm-test.inc (finite_test_data): Remove.
2798         (finite_test): Run tests from isfinite_test_data.
2799         (gamma_test_data): Remove.
2800         (gamma_test): Run tests from lgamma_test_data.
2801         * sysdeps/i386/fpu/libm-test-ulps: Update.
2802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2806         * manual/platform.texi: Add PowerPC PPR function set documentation.
2807         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2808         implementation.
2810 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
2812         * math/libm-test.inc (MAX_EXP): Define.
2813         (ULPDIFF): Define.
2814         (ulp): New function.
2815         (check_float_internal): Use ULPDIFF.
2816         (cpow_test): Disable failing test.
2817         (check_ulp): Test ulp() implemetnation.
2818         (main): Call check_ulp before starting tests.
2820 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2822         * math/gen-libm-test.pl (generate_testfile): Do not handle
2823         START_DATA and END_DATA.
2824         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2825         END_DATA.
2826         (acos_tonearest_test_data): Likewise.
2827         (acos_towardzero_test_data): Likewise.
2828         (acos_downward_test_data): Likewise.
2829         (acos_upward_test_data): Likewise.
2830         (acosh_test_data): Likewise.
2831         (asin_test_data): Likewise.
2832         (asin_tonearest_test_data): Likewise.
2833         (asin_towardzero_test_data): Likewise.
2834         (asin_downward_test_data): Likewise.
2835         (asin_upward_test_data): Likewise.
2836         (asinh_test_data): Likewise.
2837         (atan_test_data): Likewise.
2838         (atanh_test_data): Likewise.
2839         (atan2_test_data): Likewise.
2840         (cabs_test_data): Likewise.
2841         (cacos_test_data): Likewise.
2842         (cacosh_test_data): Likewise.
2843         (carg_test_data): Likewise.
2844         (casin_test_data): Likewise.
2845         (casinh_test_data): Likewise.
2846         (catan_test_data): Likewise.
2847         (catanh_test_data): Likewise.
2848         (cbrt_test_data): Likewise.
2849         (ccos_test_data): Likewise.
2850         (ccosh_test_data): Likewise.
2851         (ceil_test_data): Likewise.
2852         (cexp_test_data): Likewise.
2853         (cimag_test_data): Likewise.
2854         (clog_test_data): Likewise.
2855         (clog10_test_data): Likewise.
2856         (conj_test_data): Likewise.
2857         (copysign_test_data): Likewise.
2858         (cos_test_data): Likewise.
2859         (cos_tonearest_test_data): Likewise.
2860         (cos_towardzero_test_data): Likewise.
2861         (cos_downward_test_data): Likewise.
2862         (cos_upward_test_data): Likewise.
2863         (cosh_test_data): Likewise.
2864         (cosh_tonearest_test_data): Likewise.
2865         (cosh_towardzero_test_data): Likewise.
2866         (cosh_downward_test_data): Likewise.
2867         (cosh_upward_test_data): Likewise.
2868         (cpow_test_data): Likewise.
2869         (cproj_test_data): Likewise.
2870         (creal_test_data): Likewise.
2871         (csin_test_data): Likewise.
2872         (csinh_test_data): Likewise.
2873         (csqrt_test_data): Likewise.
2874         (ctan_test_data): Likewise.
2875         (ctan_tonearest_test_data): Likewise.
2876         (ctan_towardzero_test_data): Likewise.
2877         (ctan_downward_test_data): Likewise.
2878         (ctan_upward_test_data): Likewise.
2879         (ctanh_test_data): Likewise.
2880         (ctanh_tonearest_test_data): Likewise.
2881         (ctanh_towardzero_test_data): Likewise.
2882         (ctanh_downward_test_data): Likewise.
2883         (ctanh_upward_test_data): Likewise.
2884         (erf_test_data): Likewise.
2885         (erfc_test_data): Likewise.
2886         (exp_test_data): Likewise.
2887         (exp_tonearest_test_data): Likewise.
2888         (exp_towardzero_test_data): Likewise.
2889         (exp_downward_test_data): Likewise.
2890         (exp_upward_test_data): Likewise.
2891         (exp10_test_data): Likewise.
2892         (exp2_test_data): Likewise.
2893         (expm1_test_data): Likewise.
2894         (fabs_test_data): Likewise.
2895         (fdim_test_data): Likewise.
2896         (finite_test_data): Likewise.
2897         (floor_test_data): Likewise.
2898         (fma_test_data): Likewise.
2899         (fma_towardzero_test_data): Likewise.
2900         (fma_downward_test_data): Likewise.
2901         (fma_upward_test_data): Likewise.
2902         (fmax_test_data): Likewise.
2903         (fmin_test_data): Likewise.
2904         (fmod_test_data): Likewise.
2905         (fpclassify_test_data): Likewise.
2906         (frexp_test_data): Likewise.
2907         (gamma_test_data): Likewise.
2908         (hypot_test_data): Likewise.
2909         (ilogb_test_data): Likewise.
2910         (isfinite_test_data): Likewise.
2911         (isgreater_test_data): Likewise.
2912         (isgreaterequal_test_data): Likewise.
2913         (isinf_test_data): Likewise.
2914         (isless_test_data): Likewise.
2915         (islessequal_test_data): Likewise.
2916         (islessgreater_test_data): Likewise.
2917         (isnan_test_data): Likewise.
2918         (isnormal_test_data): Likewise.
2919         (issignaling_test_data): Likewise.
2920         (isunordered_test_data): Likewise.
2921         (j0_test_data): Likewise.
2922         (j1_test_data): Likewise.
2923         (jn_test_data): Likewise.
2924         (ldexp_test_data): Likewise.
2925         (lgamma_test_data): Likewise.
2926         (lrint_test_data): Likewise.
2927         (lrint_tonearest_test_data): Likewise.
2928         (lrint_towardzero_test_data): Likewise.
2929         (lrint_downward_test_data): Likewise.
2930         (lrint_upward_test_data): Likewise.
2931         (llrint_test_data): Likewise.
2932         (llrint_tonearest_test_data): Likewise.
2933         (llrint_towardzero_test_data): Likewise.
2934         (llrint_downward_test_data): Likewise.
2935         (llrint_upward_test_data): Likewise.
2936         (log_test_data): Likewise.
2937         (log10_test_data): Likewise.
2938         (log1p_test_data): Likewise.
2939         (log2_test_data): Likewise.
2940         (logb_test_data): Likewise.
2941         (logb_downward_test_data): Likewise.
2942         (lround_test_data): Likewise.
2943         (llround_test_data): Likewise.
2944         (modf_test_data): Likewise.
2945         (nearbyint_test_data): Likewise.
2946         (nextafter_test_data): Likewise.
2947         (nexttoward_test_data): Likewise.
2948         (pow_test_data): Likewise.
2949         (pow_tonearest_test_data): Likewise.
2950         (pow_towardzero_test_data): Likewise.
2951         (pow_downward_test_data): Likewise.
2952         (pow_upward_test_data): Likewise.
2953         (remainder_test_data): Likewise.
2954         (remainder_tonearest_test_data): Likewise.
2955         (remainder_towardzero_test_data): Likewise.
2956         (remainder_downward_test_data): Likewise.
2957         (remainder_upward_test_data): Likewise.
2958         (remquo_test_data): Likewise.
2959         (rint_test_data): Likewise.
2960         (rint_tonearest_test_data): Likewise.
2961         (rint_towardzero_test_data): Likewise.
2962         (rint_downward_test_data): Likewise.
2963         (rint_upward_test_data): Likewise.
2964         (round_test_data): Likewise.
2965         (scalb_test_data): Likewise.
2966         (scalbn_test_data): Likewise.
2967         (scalbln_test_data): Likewise.
2968         (signbit_test_data): Likewise.
2969         (sin_test_data): Likewise.
2970         (sin_tonearest_test_data): Likewise.
2971         (sin_towardzero_test_data): Likewise.
2972         (sin_downward_test_data): Likewise.
2973         (sin_upward_test_data): Likewise.
2974         (sincos_test_data): Likewise.
2975         (sinh_test_data): Likewise.
2976         (sinh_tonearest_test_data): Likewise.
2977         (sinh_towardzero_test_data): Likewise.
2978         (sinh_downward_test_data): Likewise.
2979         (sinh_upward_test_data): Likewise.
2980         (sqrt_test_data): Likewise.
2981         (tan_test_data): Likewise.
2982         (tan_tonearest_test_data): Likewise.
2983         (tan_towardzero_test_data): Likewise.
2984         (tan_downward_test_data): Likewise.
2985         (tan_upward_test_data): Likewise.
2986         (tanh_test_data): Likewise.
2987         (tgamma_test_data): Likewise.
2988         (trunc_test_data): Likewise.
2989         (y0_test_data): Likewise.
2990         (y1_test_data): Likewise.
2991         (yn_test_data): Likewise.
2992         (significand_test_data): Likewise.
2994         * math/gen-libm-test.pl (@functions): Remove variable.
2995         (generate_testfile): Don't handle START and END lines.
2996         * math/libm-test.inc (START): New macro.
2997         (END): Likewise.
2998         (END_COMPLEX): Likewise.
2999         (acos_test): Use END macro without arguments.
3000         (acos_test_tonearest): Likewise.
3001         (acos_test_towardzero): Likewise.
3002         (acos_test_downward): Likewise.
3003         (acos_test_upward): Likewise.
3004         (acosh_test): Likewise.
3005         (asin_test): Likewise.
3006         (asin_test_tonearest): Likewise.
3007         (asin_test_towardzero): Likewise.
3008         (asin_test_downward): Likewise.
3009         (asin_test_upward): Likewise.
3010         (asinh_test): Likewise.
3011         (atan_test): Likewise.
3012         (atanh_test): Likewise.
3013         (atan2_test): Likewise.
3014         (cabs_test): Likewise.
3015         (cacos_test): Use END_COMPLEX macro without arguments.
3016         (cacosh_test): Likewise.
3017         (carg_test): Use END macro without arguments.
3018         (casin_test): Use END_COMPLEX macro without arguments.
3019         (casinh_test): Likewise.
3020         (catan_test): Likewise.
3021         (catanh_test): Likewise.
3022         (cbrt_test): Use END macro without arguments.
3023         (ccos_test): Use END_COMPLEX macro without arguments.
3024         (ccosh_test): Likewise.
3025         (ceil_test): Use END macro without arguments.
3026         (cexp_test): Use END_COMPLEX macro without arguments.
3027         (cimag_test): Use END macro without arguments.
3028         (clog_test): Use END_COMPLEX macro without arguments.
3029         (clog10_test): Likewise.
3030         (conj_test): Likewise.
3031         (copysign_test): Use END macro without arguments.
3032         (cos_test): Likewise.
3033         (cos_test_tonearest): Likewise.
3034         (cos_test_towardzero): Likewise.
3035         (cos_test_downward): Likewise.
3036         (cos_test_upward): Likewise.
3037         (cosh_test): Likewise.
3038         (cosh_test_tonearest): Likewise.
3039         (cosh_test_towardzero): Likewise.
3040         (cosh_test_downward): Likewise.
3041         (cosh_test_upward): Likewise.
3042         (cpow_test): Use END_COMPLEX macro without arguments.
3043         (cproj_test): Likewise.
3044         (creal_test): Use END macro without arguments.
3045         (csin_test): Use END_COMPLEX macro without arguments.
3046         (csinh_test): Likewise.
3047         (csqrt_test): Likewise.
3048         (ctan_test): Likewise.
3049         (ctan_test_tonearest): Likewise.
3050         (ctan_test_towardzero): Likewise.
3051         (ctan_test_downward): Likewise.
3052         (ctan_test_upward): Likewise.
3053         (ctanh_test): Likewise.
3054         (ctanh_test_tonearest): Likewise.
3055         (ctanh_test_towardzero): Likewise.
3056         (ctanh_test_downward): Likewise.
3057         (ctanh_test_upward): Likewise.
3058         (erf_test): Use END macro without arguments.
3059         (erfc_test): Likewise.
3060         (exp_test): Likewise.
3061         (exp_test_tonearest): Likewise.
3062         (exp_test_towardzero): Likewise.
3063         (exp_test_downward): Likewise.
3064         (exp_test_upward): Likewise.
3065         (exp10_test): Likewise.
3066         (exp2_test): Likewise.
3067         (expm1_test): Likewise.
3068         (fabs_test): Likewise.
3069         (fdim_test): Likewise.
3070         (finite_test): Likewise.
3071         (floor_test): Likewise.
3072         (fma_test): Likewise.
3073         (fma_test_towardzero): Likewise.
3074         (fma_test_downward): Likewise.
3075         (fma_test_upward): Likewise.
3076         (fmax_test): Likewise.
3077         (fmin_test): Likewise.
3078         (fmod_test): Likewise.
3079         (fpclassify_test): Likewise.
3080         (frexp_test): Likewise.
3081         (gamma_test): Likewise.
3082         (hypot_test): Likewise.
3083         (ilogb_test): Likewise.
3084         (isfinite_test): Likewise.
3085         (isgreater_test): Likewise.
3086         (isgreaterequal_test): Likewise.
3087         (isinf_test): Likewise.
3088         (isless_test): Likewise.
3089         (islessequal_test): Likewise.
3090         (islessgreater_test): Likewise.
3091         (isnan_test): Likewise.
3092         (isnormal_test): Likewise.
3093         (issignaling_test): Likewise.
3094         (isunordered_test): Likewise.
3095         (j0_test): Likewise.
3096         (j1_test): Likewise.
3097         (jn_test): Likewise.
3098         (ldexp_test): Likewise.
3099         (lgamma_test): Likewise.
3100         (lrint_test): Likewise.
3101         (lrint_test_tonearest): Likewise.
3102         (lrint_test_towardzero): Likewise.
3103         (lrint_test_downward): Likewise.
3104         (lrint_test_upward): Likewise.
3105         (llrint_test): Likewise.
3106         (llrint_test_tonearest): Likewise.
3107         (llrint_test_towardzero): Likewise.
3108         (llrint_test_downward): Likewise.
3109         (llrint_test_upward): Likewise.
3110         (log_test): Likewise.
3111         (log10_test): Likewise.
3112         (log1p_test): Likewise.
3113         (log2_test): Likewise.
3114         (logb_test): Likewise.
3115         (logb_test_downward): Likewise.
3116         (lround_test): Likewise.
3117         (llround_test): Likewise.
3118         (modf_test): Likewise.
3119         (nearbyint_test): Likewise.
3120         (nextafter_test): Likewise.
3121         (nexttoward_test): Likewise.
3122         (pow_test): Likewise.
3123         (pow_test_tonearest): Likewise.
3124         (pow_test_towardzero): Likewise.
3125         (pow_test_downward): Likewise.
3126         (pow_test_upward): Likewise.
3127         (remainder_test): Likewise.
3128         (remainder_test_tonearest): Likewise.
3129         (remainder_test_towardzero): Likewise.
3130         (remainder_test_downward): Likewise.
3131         (remainder_test_upward): Likewise.
3132         (remquo_test): Likewise.
3133         (rint_test): Likewise.
3134         (rint_test_tonearest): Likewise.
3135         (rint_test_towardzero): Likewise.
3136         (rint_test_downward): Likewise.
3137         (rint_test_upward): Likewise.
3138         (round_test): Likewise.
3139         (scalb_test): Likewise.
3140         (scalbn_test): Likewise.
3141         (scalbln_test): Likewise.
3142         (signbit_test): Likewise.
3143         (sin_test): Likewise.
3144         (sin_test_tonearest): Likewise.
3145         (sin_test_towardzero): Likewise.
3146         (sin_test_downward): Likewise.
3147         (sin_test_upward): Likewise.
3148         (sincos_test): Likewise.
3149         (sinh_test): Likewise.
3150         (sinh_test_tonearest): Likewise.
3151         (sinh_test_towardzero): Likewise.
3152         (sinh_test_downward): Likewise.
3153         (sinh_test_upward): Likewise.
3154         (sqrt_test): Likewise.
3155         (tan_test): Likewise.
3156         (tan_test_tonearest): Likewise.
3157         (tan_test_towardzero): Likewise.
3158         (tan_test_downward): Likewise.
3159         (tan_test_upward): Likewise.
3160         (tanh_test): Likewise.
3161         (tgamma_test): Likewise.
3162         (trunc_test): Likewise.
3163         (y0_test): Likewise.
3164         (y1_test): Likewise.
3165         (yn_test): Likewise.
3166         (significand_test): Likewise.
3168 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
3170         [BZ #15381]
3171         * libio/genops.c (_IO_no_init): Initialize wide struct info.
3173 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3175         [BZ #14894]
3176         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3177         __ppc_mdoio and __ppc_mdoom.
3178         * manual/platform.texi: Document new functions __ppc_yield,
3179         __ppc_mdoio and __ppc_mdoom.
3181 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
3183         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3184         (main): Mention "tls" pseudo-hwcap is legacy.
3185         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3187 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3189         * math/gen-libm-test.pl (parse_args): Output only string of
3190         arguments as text for test name, not full call or descriptions of
3191         tests for extra outputs.
3192         (generate_testfile): Do not pass function name to parse_args.
3193         Generate this_func variable from START.
3194         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3195         field to arg_str.
3196         (struct test_ff_f_data): Likewise.
3197         (test_ff_f_data_nexttoward): Likewise.
3198         (struct test_fi_f_data): Likewise.
3199         (struct test_fl_f_data): Likewise.
3200         (struct test_if_f_data): Likewise.
3201         (struct test_fff_f_data): Likewise.
3202         (struct test_c_f_data): Likewise.
3203         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3204         (struct test_fF_f1_data): Likewise.
3205         (struct test_ffI_f1_data): Likewise.
3206         (struct test_c_c_data): Rename test_name field to arg_str.
3207         (struct test_cc_c_data): Likewise.
3208         (struct test_f_i_data): Likewise.
3209         (struct test_ff_i_data): Likewise.
3210         (struct test_f_l_data): Likewise.
3211         (struct test_f_L_data): Likewise.
3212         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3213         and extra2_name.
3214         (COMMON_TEST_SETUP): New macro.
3215         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3216         (COMMON_TEST_CLEANUP): Likewise.
3217         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3218         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3219         macros.
3220         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3221         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3222         macros.
3223         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3224         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3225         cleanup macros.
3226         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3227         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3228         macros.
3229         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3230         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3231         macros.
3232         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3233         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3234         cleanup macros.
3235         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3236         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3237         cleanup macros.
3238         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3239         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
3240         cleanup macros.
3241         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3242         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
3243         macros.
3244         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3245         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
3246         macros.
3247         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3248         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
3249         macros.
3250         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3251         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
3252         cleanup macros.
3253         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3254         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
3255         cleanup macros.
3256         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3257         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
3258         macros.
3259         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3260         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
3261         cleanup macros.
3262         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3263         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
3264         macros.
3265         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3266         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
3267         macros.
3268         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3269         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
3270         cleanup macros.
3271         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3273 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3275         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3276         to _sifields.sigfault.
3277         (si_addr_lsb): Define new macro.
3278         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3279         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3280         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3282 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
3284         [BZ #15441]
3285         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3286         returns -1.
3287         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3288         null return -1.
3289         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3290         loading the domain.
3292 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3294         * math/gen-libm-test.pl (parse_args): Do not include expected
3295         result in test name.
3296         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3298         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3299         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3300         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3303 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3305         * benchtests/Makefile: Sort function entries.
3307         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3308         tanh, asinh, acosh, atanh.
3309         * benchtests/acos-inputs: New file.
3310         * benchtests/acosh-inputs: New file.
3311         * benchtests/asin-inputs: New file.
3312         * benchtests/asinh-inputs: New file.
3313         * benchtests/atanh-inputs: New file.
3314         * benchtests/cosh-inputs: New file.
3315         * benchtests/log-inputs: New file.
3316         * benchtests/sinh-inputs: New file.
3317         * benchtests/tanh-inputs: New file.
3319 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
3321         [BZ #15339]
3322         * posix/tst-getaddrinfo4.c: New test.
3323         * posix/Makefile (tests): Add it.
3325 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3327         [BZ #15339]
3328         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3329         when no services were used.
3330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3331         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3333 2013-05-21  Andreas Schwab  <schwab@suse.de>
3335         [BZ #15014]
3336         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3337         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3338         successful.
3339         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3340         redundant variable declarations and reallocation of buffer when
3341         parsing as IPv6 address.  Always set NSS status when called from
3342         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
3343         buffer too small.  Correct computation of needed size.
3344         * nss/Makefile (tests): Add test-digits-dots.
3345         * nss/test-digits-dots.c: New test.
3347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3349         * benchtests/Makefile: Remove instructions for adding
3350         benchmark tests.
3351         * benchtests/README: New file to explain how to execute and
3352         enhance the benchmark tests.
3354 2013-05-21  Andreas Schwab  <schwab@suse.de>
3356         [BZ #15493]
3357         * setjmp/Makefile (tests): Add tst-sigsetjmp.
3358         * setjmp/tst-sigsetjmp.c: New test.
3360 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3362         * sysdeps/x86_64/memset.S (memset): New implementation.
3363         (__bzero): Likewise.
3364         (__memset_tail): New function.
3366 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3368         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3369         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3370         __memcpy_sse2_unaligned ifunc selection.
3371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3372         Add memcpy-sse2-unaligned.S.
3373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3374         Add: __memcpy_sse2_unaligned.
3376 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
3378         [BZ #15490]
3379         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3380         math_force_eval before restoring floating-point envrionment.
3381         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3383         Likewise.
3384         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3385         <math_private.h>.
3386         (__nearbyintl): Use math_force_eval before restoring
3387         floating-point environment.
3388         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3390         * math/gen-libm-test.pl (special_functions): Remove.
3391         (parse_args): Don't handle TEST_extra.  Handle functions with no
3392         return value.
3393         * math/libm-test.inc (struct test_sincos_data): Replace with
3394         struct test_fFF_11_data.
3395         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3396         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3397         (sincos_test_data): Change element type to struct
3398         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
3399         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3400         RUN_TEST_LOOP_sincos.
3401         * math/README.libm-test: Don't mention special handling of
3402         individual functions.
3403         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3404         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3405         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3406         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3407         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3410         * math/gen-libm-test.pl (get_variable): Remove function.
3411         (parse_args): Don't show pointer parameters to call in test
3412         names.  Use "extra output N" in test names for extra outputs
3413         rather than naming variables.
3415 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
3417         [BZ #15488]
3418         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3419         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3420         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3421         double tests.
3422         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3423         disable.
3424         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3425         check_long_double.
3427         * math/gen-libm-test.pl (@tests): Remove variable.
3428         ($count): Likewise.
3429         (new_test): Remove function.
3430         (show_exceptions): New function.
3431         (special_functions): Use show_exceptions instead of new_test.
3432         (parse_args): Likewise.
3433         (generate_testfile): Pass only function name in generated call to
3434         print_max_error or print_complex_max_error.
3435         (get_ulps): Do not handle complex tests specially.
3436         (output_test): Rename to ...
3437         (get_all_ulps_for_test): ... this.  Return a string rather than
3438         printing to a file.  Require ulps to be present.
3439         (output_ulps): Generate arrays rather than #defines.
3440         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3441         (struct ulp_data): New type.
3442         (BUILD_COMPLEX_ULP): Remove macro.
3443         (compare_ulp_data): New function.
3444         (find_ulps): Likewise.
3445         (find_test_ulps): Likewise.
3446         (find_function_ulps): Likewise.
3447         (find_complex_function_ulps): Likewise.
3448         (print_max_error): Determine allowed ulps using
3449         find_function_ulps.
3450         (print_complex_max_error): Determine allowed ulps using
3451         find_complex_function_ulps.
3452         (check_float_internal): Determine max ulps using find_test_ulps.
3453         (check_float): Do not take max_ulp parameter.  Update call to
3454         check_float_internal.
3455         (check_complex): Likewise.
3456         (check_int): Do not take max_ulp parameter.
3457         (check_long): Likewise.
3458         (check_bool): Likewise.
3459         (check_longlong): Likewise.
3460         (struct test_f_f_data): Remove max_ulp field.
3461         (struct test_ff_f_data): Likewise.
3462         (struct test_ff_f_data_nexttoward): Likewise.
3463         (struct test_fi_f_data): Likewise.
3464         (struct test_fl_f_data): Likewise.
3465         (struct test_if_f_data): Likewise.
3466         (struct test_fff_f_data): Likewise.
3467         (struct test_c_f_data): Likewise.
3468         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3469         (struct test_fF_f1_data): Likewise.
3470         (struct test_ffI_f1_data): Likewise.
3471         (struct test_c_c_data): Remove max_ulp field.
3472         (struct test_cc_c_data): Likewise.
3473         (struct test_f_i_data): Likewise.
3474         (struct test_ff_i_data): Likewise.
3475         (struct test_f_l_data): Likewise.
3476         (struct test_f_L_data): Likewise.
3477         (struct test_sincos_data): Likewise.
3478         (RUN_TEST_f_f): Do not handle ulps.
3479         (RUN_TEST_LOOP_f_f): Likewise.
3480         (RUN_TEST_2_f): Likewise.
3481         (RUN_TEST_LOOP_2_f): Likewise.
3482         (RUN_TEST_fff_f): Likewise.
3483         (RUN_TEST_LOOP_fff_f): Likewise.
3484         (RUN_TEST_c_f): Likewise.
3485         (RUN_TEST_LOOP_c_f): Likewise.
3486         (RUN_TEST_f_f1): Likewise.
3487         (RUN_TEST_LOOP_f_f1): Likewise.
3488         (RUN_TEST_fF_f1): Likewise.
3489         (RUN_TEST_LOOP_fF_f1): Likewise.
3490         (RUN_TEST_fI_f1): Likewise.
3491         (RUN_TEST_LOOP_fI_f1): Likewise.
3492         (RUN_TEST_ffI_f1): Likewise.
3493         (RUN_TEST_LOOP_ffI_f1): Likewise.
3494         (RUN_TEST_c_c): Likewise.
3495         (RUN_TEST_LOOP_c_c): Likewise.
3496         (RUN_TEST_cc_c): Likewise.
3497         (RUN_TEST_LOOP_cc_c): Likewise.
3498         (RUN_TEST_f_i): Likewise.
3499         (RUN_TEST_LOOP_f_i): Likewise.
3500         (RUN_TEST_f_i_tg): Likewise.
3501         (RUN_TEST_LOOP_f_i_tg): Likewise.
3502         (RUN_TEST_ff_i_tg): Likewise.
3503         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3504         (RUN_TEST_f_b): Likewise.
3505         (RUN_TEST_LOOP_f_b): Likewise.
3506         (RUN_TEST_f_b_tg): Likewise.
3507         (RUN_TEST_LOOP_f_b_tg): Likewise.
3508         (RUN_TEST_f_l): Likewise.
3509         (RUN_TEST_LOOP_f_l): Likewise.
3510         (RUN_TEST_f_L): Likewise.
3511         (RUN_TEST_LOOP_f_L): Likewise.
3512         (RUN_TEST_sincos): Likewise.
3513         (RUN_TEST_LOOP_sincos): Likewise.
3515 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
3517         [BZ #15480]
3518         [BZ #15485]
3519         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3520         main case of finite arguments, set rounding mode to FE_TONEAREST
3521         and discard exceptions.
3522         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3523         exceptions.
3524         (remainder_tonearest_test_data): New variable.
3525         (remainder_test_tonearest): New function.
3526         (remainder_towardzero_test_data): New variable.
3527         (remainder_test_towardzero): New function.
3528         (remainder_downward_test_data): New variable.
3529         (remainder_test_downward): New function.
3530         (remainder_upward_test_data): New variable.
3531         (remainder_test_upward): New function.
3532         (main): Call the new test functions.
3534         * math/libm-test.inc (struct test_f_f1_data): Remove field
3535         extra_init.
3536         (struct test_fF_f1_data): Likewise.
3537         (struct test_ffI_f1_data): Likewise.
3538         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
3539         based on value of EXTRA_EXPECTED.
3540         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3541         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
3542         EXTRA_VAR based on value of EXTRA_EXPECTED.
3543         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3544         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
3545         EXTRA_VAR based on value of EXTRA_EXPECTED.
3546         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3547         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
3548         EXTRA_VAR based on value of EXTRA_EXPECTED.
3549         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3550         * math/gen-libm-test.pl (parse_args): Don't output initializers
3551         for extra output values.
3553         * math/libm-test.inc (check_int): Expect result to be exactly
3554         equal to expected value and do not handle ulps.
3555         (check_long): Likewise.
3556         (check_longlong): Likewise.
3558         * math/libm-test.inc (ceil_test_data): Test for "inexact"
3559         exceptions.
3560         (cimag_test_data): Likewise.
3561         (conj_test_data): Likewise.
3562         (copysign_test_data): Likewise.
3563         (cproj_test_data): Likewise.
3564         (creal_test_data): Likewise.
3565         (fabs_test_data): Likewise.
3566         (fdim_test_data): Likewise.
3567         (finite_test_data): Likewise.
3568         (floor_test_data): Likewise.
3569         (fmax_test_data): Likewise.
3570         (fmin_test_data): Likewise.
3571         (fmod_test_data): Likewise.
3572         (fpclassify_test_data): Likewise.
3573         (frexp_test_data): Likewise.
3574         (ilogb_test_data): Likewise.
3575         (isfinite_test_data): Likewise.
3576         (isgreater_test_data): Likewise.
3577         (isgreaterequal_test_data): Likewise.
3578         (isinf_test_data): Likewise.
3579         (isless_test_data): Likewise.
3580         (islessequal_test_data): Likewise.
3581         (islessgreater_test_data): Likewise.
3582         (isnan_test_data): Likewise.
3583         (isnormal_test_data): Likewise.
3584         (issignaling_test_data): Likewise.
3585         (isunordered_test_data): Likewise.
3586         (ldexp_test_data): Likewise.
3587         (lrint_test_data): Likewise.
3588         (lrint_test_data) [TEST_FLOAT]: Disable one test.
3589         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3590         (lrint_tonearest_test_data): Test for "inexact" exceptions.
3591         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3592         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3593         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3594         test input.
3595         (lrint_towardzero_test_data): Test for "inexact" exceptions.
3596         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3597         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3598         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3599         that test input.
3600         (lrint_downward_test_data): Test for "inexact" exceptions.
3601         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3602         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3603         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3604         test input.
3605         (lrint_upward_test_data): Test for "inexact" exceptions.
3606         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3607         test input.
3608         (llrint_test_data): Test for "inexact" exceptions.
3609         (llrint_test_data) [TEST_FLOAT]: Disable one test.
3610         (llrint_tonearest_test_data): Test for "inexact" exceptions.
3611         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3612         (llrint_towardzero_test_data): Test for "inexact" exceptions.
3613         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3614         (llrint_downward_test_data): Test for "inexact" exceptions.
3615         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3616         (llrint_upward_test_data): Test for "inexact" exceptions.
3617         (logb_test_data): Likewise.
3618         (logb_downward_test_data): Likewise.
3619         (nextafter_test_data): Likewise.
3620         (nexttoward_test_data): Likewise.
3621         (remainder_test_data): Likewise.
3622         (remquo_test_data): Likewise.
3623         (scalbn_test_data): Likewise.
3624         (scalbln_test_data): Likewise.
3625         (signbit_test_data): Likewise.
3626         (sqrt_test_data): Likewise.
3627         (significand_test_data): Likewise.
3629 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3631         [BZ #15424]
3632         * benchtests/bench-modf.c (struct args): Mark arg0 as
3633         volatile.
3634         * scripts/bench.pl: Mark members of struct args as volatile.
3636 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3638         [BZ # 15497]
3639         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3640         negative infinity on POWER6 or lower.
3641         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3643 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3645         [BZ #15442]
3646         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3647         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3648         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3649         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3650         (_FP_SETQNAN): New macro.
3651         (_FP_SETQNAN_SEMIRAW): Likewise.
3652         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3653         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3654         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3655         (FP_EXTEND): Use _FP_FRAC_SNANP.
3656         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3657         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3658         into account.
3659         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3660         New macro.
3661         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3662         Likewise.
3664 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3666         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3667         with DIVIDE_BY_ZERO_EXCEPTION.
3668         (gamma_test_data): Likewise.
3669         (lgamma_test_data): Likewise.
3670         (log_test_data): Likewise.
3671         (log10_test_data): Likewise.
3672         (log2_test_data): Likewise.
3673         (tgamma_test_data): Likewise.
3675         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3676         (acos_test_tonearest): Likewise.
3677         (acos_test_towardzero): Likewise.
3678         (acos_test_downward): Likewise.
3679         (acos_test_upward): Likewise.
3680         (acosh_test): Likewise.
3681         (asin_test): Likewise.
3682         (asin_test_tonearest): Likewise.
3683         (asin_test_towardzero): Likewise.
3684         (asin_test_downward): Likewise.
3685         (asin_test_upward): Likewise.
3686         (asinh_test): Likewise.
3687         (atan_test): Likewise.
3688         (atanh_test): Likewise.
3689         (atan2_test): Likewise.
3690         (cabs_test): Likewise.
3691         (cacos_test): Likewise.
3692         (cacosh_test): Likewise.
3693         (casin_test): Likewise.
3694         (casinh_test): Likewise.
3695         (catan_test): Likewise.
3696         (catanh_test): Likewise.
3697         (cbrt_test): Likewise.
3698         (ccos_test): Likewise.
3699         (ccosh_test): Likewise.
3700         (cexp_test): Likewise.
3701         (clog_test): Likewise.
3702         (clog10_test): Likewise.
3703         (cos_test): Likewise.
3704         (cos_test_tonearest): Likewise.
3705         (cos_test_towardzero): Likewise.
3706         (cos_test_downward): Likewise.
3707         (cos_test_upward): Likewise.
3708         (cosh_test): Likewise.
3709         (cosh_test_tonearest): Likewise.
3710         (cosh_test_towardzero): Likewise.
3711         (cosh_test_downward): Likewise.
3712         (cosh_test_upward): Likewise.
3713         (cpow_test): Likewise.
3714         (csin_test): Likewise.
3715         (csinh_test): Likewise.
3716         (csqrt_test): Likewise.
3717         (ctan_test): Likewise.
3718         (ctan_test_tonearest): Likewise.
3719         (ctan_test_towardzero): Likewise.
3720         (ctan_test_downward): Likewise.
3721         (ctan_test_upward): Likewise.
3722         (ctanh_test): Likewise.
3723         (ctanh_test_tonearest): Likewise.
3724         (ctanh_test_towardzero): Likewise.
3725         (ctanh_test_downward): Likewise.
3726         (ctanh_test_upward): Likewise.
3727         (erf_test): Likewise.
3728         (erfc_test): Likewise.
3729         (exp_test): Likewise.
3730         (exp_test_tonearest): Likewise.
3731         (exp_test_towardzero): Likewise.
3732         (exp_test_downward): Likewise.
3733         (exp_test_upward): Likewise.
3734         (exp10_test): Likewise.
3735         (exp2_test): Likewise.
3736         (expm1_test): Likewise.
3737         (fmod_test): Likewise.
3738         (gamma_test): Likewise.
3739         (hypot_test): Likewise.
3740         (j0_test): Likewise.
3741         (j1_test): Likewise.
3742         (jn_test): Likewise.
3743         (lgamma_test): Likewise.
3744         (log_test): Likewise.
3745         (log10_test): Likewise.
3746         (log1p_test): Likewise.
3747         (log2_test): Likewise.
3748         (logb_test_downward): Likewise.
3749         (pow_test): Likewise.
3750         (pow_test_tonearest): Likewise.
3751         (pow_test_towardzero): Likewise.
3752         (pow_test_downward): Likewise.
3753         (pow_test_upward): Likewise.
3754         (remainder_test): Likewise.
3755         (remquo_test): Likewise.
3756         (sin_test): Likewise.
3757         (sin_test_tonearest): Likewise.
3758         (sin_test_towardzero): Likewise.
3759         (sin_test_downward): Likewise.
3760         (sin_test_upward): Likewise.
3761         (sincos_test): Likewise.
3762         (sinh_test): Likewise.
3763         (sinh_test_tonearest): Likewise.
3764         (sinh_test_towardzero): Likewise.
3765         (sinh_test_downward): Likewise.
3766         (sinh_test_upward): Likewise.
3767         (sqrt_test): Likewise.
3768         (tan_test): Likewise.
3769         (tan_test_tonearest): Likewise.
3770         (tan_test_towardzero): Likewise.
3771         (tan_test_downward): Likewise.
3772         (tan_test_upward): Likewise.
3773         (tanh_test): Likewise.
3774         (tgamma_test): Likewise.
3775         (y0_test): Likewise.
3776         (y1_test): Likewise.
3777         (yn_test): Likewise.
3779         * math/gen-libm-test.pl (adjust_arg): Remove function.
3780         (special_function): Remove argument $in_func.  Only handle
3781         generating output for tables of tests, not inside functions.
3782         (parse_args): Likewise.
3783         (generate_testfile): Remove variable $in_func.  Update call to
3784         parse_args.
3785         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3786         (MINUS_ZERO_INIT): Rename macro to minus_zero.
3787         (PLUS_INFTY_INIT): Rename macro to plus_infty.
3788         (MINUS_INFTY_INIT): Rename macro to minus_infty.
3789         (QNAN_VALUE_INIT): Rename macro to qnan_value.
3790         (MAX_VALUE_INIT): Rename macro to max_value.
3791         (MIN_VALUE_INIT): Rename macro to min_value.
3792         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3793         (plus_zero): Remove variable.
3794         (minus_zero): Likewise.
3795         (plus_infty): Likewise.
3796         (minus_infty): Likewise.
3797         (qnan_value): Likewise.
3798         (max_value): Likewise.
3799         (min_value): Likewise.
3800         (min_subnorm_value): Likewise.
3802 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3804         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3805         uint64_t or uint32_t usage.
3806         * crypt/sha256-block.c: Likewise.
3807         * crypt/sha256-crypt.c: Likewise.
3808         * crypt/sha256.c: Likewise.
3809         * crypt/sha512-block.c: Likewise.
3810         * crypt/sha512-crypt.c: Likewise.
3811         * crypt/sha512.c: Likewise.
3812         * debug/backtrace-tst.c: Likewise.
3813         * debug/pcprofiledump.c: Likewise.
3814         * elf/cache.c: Likewise.
3815         * elf/dl-cache.c: Likewise.
3816         * elf/dl-misc.c: Likewise.
3817         * elf/dl-profile.c: Likewise.
3818         * elf/dl-support.c: Likewise.
3819         * elf/ldconfig.c: Likewise.
3820         * elf/sprof.c: Likewise.
3821         * iconv/dummy-repertoire.c: Likewise.
3822         * iconv/iconv_charmap.c: Likewise.
3823         * iconv/skeleton.c: Likewise.
3824         * iconvdata/8bit-generic.c: Likewise.
3825         * iconvdata/cp737.h: Likewise.
3826         * iconvdata/cp775.h: Likewise.
3827         * iconvdata/ibm1008.h: Likewise.
3828         * iconvdata/ibm1025.h: Likewise.
3829         * iconvdata/ibm1046.h: Likewise.
3830         * iconvdata/ibm1097.h: Likewise.
3831         * iconvdata/ibm1112.h: Likewise.
3832         * iconvdata/ibm1122.h: Likewise.
3833         * iconvdata/ibm1123.h: Likewise.
3834         * iconvdata/ibm1124.h: Likewise.
3835         * iconvdata/ibm1129.h: Likewise.
3836         * iconvdata/ibm1130.h: Likewise.
3837         * iconvdata/ibm1132.h: Likewise.
3838         * iconvdata/ibm1133.h: Likewise.
3839         * iconvdata/ibm1137.h: Likewise.
3840         * iconvdata/ibm1140.h: Likewise.
3841         * iconvdata/ibm1141.h: Likewise.
3842         * iconvdata/ibm1142.h: Likewise.
3843         * iconvdata/ibm1143.h: Likewise.
3844         * iconvdata/ibm1144.h: Likewise.
3845         * iconvdata/ibm1145.h: Likewise.
3846         * iconvdata/ibm1146.h: Likewise.
3847         * iconvdata/ibm1147.h: Likewise.
3848         * iconvdata/ibm1148.h: Likewise.
3849         * iconvdata/ibm1149.h: Likewise.
3850         * iconvdata/ibm1153.h: Likewise.
3851         * iconvdata/ibm1154.h: Likewise.
3852         * iconvdata/ibm1155.h: Likewise.
3853         * iconvdata/ibm1156.h: Likewise.
3854         * iconvdata/ibm1157.h: Likewise.
3855         * iconvdata/ibm1158.h: Likewise.
3856         * iconvdata/ibm1160.h: Likewise.
3857         * iconvdata/ibm1161.h: Likewise.
3858         * iconvdata/ibm1162.h: Likewise.
3859         * iconvdata/ibm1163.h: Likewise.
3860         * iconvdata/ibm1164.h: Likewise.
3861         * iconvdata/ibm1166.h: Likewise.
3862         * iconvdata/ibm1167.h: Likewise.
3863         * iconvdata/ibm12712.h: Likewise.
3864         * iconvdata/ibm1390.h: Likewise.
3865         * iconvdata/ibm1399.h: Likewise.
3866         * iconvdata/ibm16804.h: Likewise.
3867         * iconvdata/ibm4517.h: Likewise.
3868         * iconvdata/ibm4899.h: Likewise.
3869         * iconvdata/ibm4909.h: Likewise.
3870         * iconvdata/ibm4971.h: Likewise.
3871         * iconvdata/ibm5347.h: Likewise.
3872         * iconvdata/ibm803.h: Likewise.
3873         * iconvdata/ibm856.h: Likewise.
3874         * iconvdata/ibm901.h: Likewise.
3875         * iconvdata/ibm902.h: Likewise.
3876         * iconvdata/ibm9030.h: Likewise.
3877         * iconvdata/ibm9066.h: Likewise.
3878         * iconvdata/ibm921.h: Likewise.
3879         * iconvdata/ibm922.h: Likewise.
3880         * iconvdata/ibm9448.h: Likewise.
3881         * iconvdata/isiri-3342.h: Likewise.
3882         * iconvdata/jis0201.h: Likewise.
3883         * include/link.h: Likewise.
3884         * include/netdb.h: Likewise.
3885         * inet/check_native.c: Likewise.
3886         * inet/check_pf.c: Likewise.
3887         * inet/getipv4sourcefilter.c: Likewise.
3888         * inet/getnameinfo.c: Likewise.
3889         * inet/getsourcefilter.c: Likewise.
3890         * inet/htonl.c: Likewise.
3891         * inet/setipv4sourcefilter.c: Likewise.
3892         * inet/setsourcefilter.c: Likewise.
3893         * inet/test-inet6_opt.c: Likewise.
3894         * inet/tst-network.c: Likewise.
3895         * locale/C-collate.c: Likewise.
3896         * locale/C-ctype.c: Likewise.
3897         * locale/C-time.c: Likewise.
3898         * locale/C-translit.h: Likewise.
3899         * locale/loadarchive.c: Likewise.
3900         * locale/programs/3level.h: Likewise.
3901         * locale/programs/charmap.c: Likewise.
3902         * locale/programs/charmap.h: Likewise.
3903         * locale/programs/ld-address.c: Likewise.
3904         * locale/programs/ld-collate.c: Likewise.
3905         * locale/programs/ld-ctype.c: Likewise.
3906         * locale/programs/ld-identification.c: Likewise.
3907         * locale/programs/ld-measurement.c: Likewise.
3908         * locale/programs/ld-messages.c: Likewise.
3909         * locale/programs/ld-monetary.c: Likewise.
3910         * locale/programs/ld-name.c: Likewise.
3911         * locale/programs/ld-numeric.c: Likewise.
3912         * locale/programs/ld-paper.c: Likewise.
3913         * locale/programs/ld-telephone.c: Likewise.
3914         * locale/programs/ld-time.c: Likewise.
3915         * locale/programs/linereader.c: Likewise.
3916         * locale/programs/locale.c: Likewise.
3917         * locale/programs/locarchive.c: Likewise.
3918         * locale/programs/locfile.h: Likewise.
3919         * locale/programs/repertoire.c: Likewise.
3920         * locale/programs/simple-hash.c: Likewise.
3921         * locale/programs/simple-hash.h: Likewise.
3922         * malloc/memusage.c: Likewise.
3923         * malloc/memusagestat.c: Likewise.
3924         * nis/nis_defaults.c: Likewise.
3925         * nis/nis_hash.c: Likewise.
3926         * nis/nis_print.c: Likewise.
3927         * nis/nis_xdr.c: Likewise.
3928         * nscd/connections.c: Likewise.
3929         * nscd/hstcache.c: Likewise.
3930         * nscd/nscd_gethst_r.c: Likewise.
3931         * nscd/nscd_getserv_r.c: Likewise.
3932         * nscd/nscd_helper.c: Likewise.
3933         * nscd/servicescache.c: Likewise.
3934         * nss/makedb.c: Likewise.
3935         * nss/nss_db/db-XXX.c: Likewise.
3936         * nss/nss_db/db-initgroups.c: Likewise.
3937         * nss/nss_db/db-netgrp.c: Likewise.
3938         * nss/nss_files/files-network.c: Likewise.
3939         * nss/nss_files/files-parse.c: Likewise.
3940         * posix/bug-regex5.c: Likewise.
3941         * posix/fnmatch_loop.c: Likewise.
3942         * posix/regcomp.c: Likewise.
3943         * posix/regexec.c: Likewise.
3944         * posix/tst-rfc3484-2.c: Likewise.
3945         * posix/tst-rfc3484-3.c: Likewise.
3946         * posix/tst-rfc3484.c: Likewise.
3947         * resolv/nss_dns/dns-canon.c: Likewise.
3948         * resolv/nss_dns/dns-network.c: Likewise.
3949         * resolv/res_init.c: Likewise.
3950         * resolv/res_mkquery.c: Likewise.
3951         * resolv/tst-aton.c: Likewise.
3952         * stdlib/cxa_atexit.c: Likewise.
3953         * stdlib/cxa_finalize.c: Likewise.
3954         * stdlib/gen-fpioconst.c: Likewise.
3955         * stdlib/strtol_l.c: Likewise.
3956         * string/tst-endian.c: Likewise.
3957         * sunrpc/auth_des.c: Likewise.
3958         * sunrpc/clnt_udp.c: Likewise.
3959         * sunrpc/rtime.c: Likewise.
3960         * sunrpc/svcauth_des.c: Likewise.
3961         * sunrpc/xdr.c: Likewise.
3962         * sunrpc/xdr_intXX_t.c: Likewise.
3963         * sunrpc/xdr_rec.c: Likewise.
3964         * sysdeps/generic/ldconfig.h: Likewise.
3965         * sysdeps/generic/ldsodefs.h: Likewise.
3966         * sysdeps/generic/memusage.h: Likewise.
3967         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3968         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3969         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3970         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3971         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3972         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3973         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3974         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3975         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3977         * sysdeps/posix/getaddrinfo.c: Likewise.
3978         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3979         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3980         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3981         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3982         * sysdeps/powerpc/test-gettimebase.c: Likewise.
3983         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3984         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3985         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3986         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3987         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3988         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3989         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3990         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3991         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3992         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3993         * sysdeps/x86_64/dl-tls.h: Likewise.
3994         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3995         * time/alt_digit.c: Likewise.
3996         * time/era.c: Likewise.
3997         * wcsmbs/tst-c16c32-1.c: Likewise.
3999 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4001         * math/libm-test.inc (struct test_sincos_data): New type.
4002         (RUN_TEST_LOOP_sincos): New macro.
4003         (sincos_test_data): New variable.
4004         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4006 2013-05-16  Richard Henderson  <rth@redhat.com>
4008         * math/atest-exp2.c (LIMB64): New macro.
4009         (CONSTSZ): New macro.
4010         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4011         (hexdig): Move ...
4012         (print_mpn_fp): ... to function scope.
4013         (read_mpn_hex): Remove.
4014         (get_log2): Remove.
4015         (exp2_mpn): Use mp_log2.
4016         (main): Use mp_exp1.
4018 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4020         * math/libm-test.inc: Remove comment about not testing "inexact"
4021         exceptions.
4022         (INEXACT_EXCEPTION): New macro.
4023         (NO_INEXACT_EXCEPTION): Likewise.
4024         (INVALID_EXCEPTION_OK): Update value.
4025         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4026         (OVERFLOW_EXCEPTION_OK): Likewise.
4027         (UNDERFLOW_EXCEPTION_OK): Likewise.
4028         (IGNORE_ZERO_INF_SIGN): Likewise.
4029         (ERRNO_UNCHANGED): Likewise.
4030         (ERRNO_EDOM): Likewise.
4031         (ERRNO_ERANGE): Likewise.
4032         (test_exceptions): Handle testing "inexact" exceptions.
4033         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4034         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4035         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4036         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4037         INEXACT_EXCEPTION.
4038         (rint_towardzero_test_data): Likewise.
4039         (rint_downward_test_data): Likewise.
4040         (rint_upward_test_data): Likewise.
4042         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4043         with OVERFLOW_EXCEPTION.
4044         (exp10_test_data): Likewise.
4045         (exp2_test_data): Likewise.
4046         (expm1_test_data): Likewise.
4047         (lgamma_test_data): Likewise.
4048         (pow_test_data): Likewise.
4049         (tgamma_test_data): Likewise.
4050         (yn_test_data): Remove duplicate test of overflow.
4052         * math/libm-test.inc (struct test_cc_c_data): New type.
4053         (RUN_TEST_LOOP_cc_c): New macro.
4054         (cpow_test_data): New variable.
4055         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4057         * math/libm-test.inc (struct test_f_L_data): New type.
4058         (RUN_TEST_LOOP_f_L): New macro.
4059         (llrint_test_data): New variable.
4060         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4061         (llrint_tonearest_test_data): New variable.
4062         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4063         (llrint_towardzero_test_data): New variable.
4064         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4065         (llrint_downward_test_data): New variable.
4066         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4067         (llrint_upward_test_data): New variable.
4068         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4069         (llround_test_data): New variable.
4070         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4072 2013-05-13  Peter Collingbourne  <pcc@google.com>
4074         * math/atest-exp2.c (get_log2): Remove const attribute.
4076 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4078         * math/libm-test.inc (struct test_f_l_data): New type.
4079         (RUN_TEST_LOOP_f_l): New macro.
4080         (lrint_test_data): New variable.
4081         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4082         (lrint_tonearest_test_data): New variable.
4083         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4084         (lrint_towardzero_test_data): New variable.
4085         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4086         (lrint_downward_test_data): New variable.
4087         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4088         (lrint_upward_test_data): New variable.
4089         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4090         (lround_test_data): New variable.
4091         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4093 2013-05-15  Peter Collingbourne  <pcc@google.com>
4095         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4096         (EXTRACT_WORDS64) Use where appropriate.
4097         (INSERT_WORDS64) Likewise.
4099         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4100         constraints with x constraints.
4101         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4103         * malloc/obstack.c (_obstack_compat): Add initializer.
4105 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4107         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4108         si_trapno and add si_addr_lsb to _sifields.sigfault.
4109         (si_trapno): Remove macro.
4110         (si_addr_lsb): Define new macro.
4111         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4113 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4115         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4116         instead of TEST_f_l.
4117         (llrint_test_tonearest): Likewise.
4118         (llrint_test_towardzero): Likewise.
4119         (llrint_test_downward): Likewise.
4120         (llrint_test_upward): Likewise.
4121         (llround_test): Likewise.
4123         * math/libm-test.inc (struct test_f_i_data): Add comment.
4124         (RUN_TEST_LOOP_f_b): New macro.
4125         (RUN_TEST_LOOP_f_b_tg): Likewise.
4126         (finite_test_data): New variable.
4127         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4128         (isfinite_test_data): New variable.
4129         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4130         (isinf_test_data): New variable.
4131         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4132         (isnan_test_data): New variable.
4133         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4134         (isnormal_test_data): New variable.
4135         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4136         (issignaling_test_data): New variable.
4137         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4138         (signbit_test_data): New variable.
4139         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4141         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4142         with INVALID_EXCEPTION.
4143         (acosh_test_data): Likewise.
4144         (asin_test_data): Likewise.
4145         (atanh_test_data): Likewise.
4146         (fmod_test_data): Likewise.
4147         (log_test_data): Likewise.
4148         (log10_test_data): Likewise.
4149         (log2_test_data): Likewise.
4150         (pow_test_data): Likewise.
4151         (sqrt_test_data): Likewise.
4152         (y0_test_data): Likewise.
4153         (y1_test_data): Likewise.
4154         (yn_test_data): Likewise.
4156         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4157         function contents.
4159         * math/libm-test.inc (struct test_ff_i_data): New type.
4160         (RUN_TEST_LOOP_ff_i_tg): New macro.
4161         (isgreater_test_data): New variable.
4162         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4163         (isgreaterequal_test_data): New variable.
4164         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4165         (isless_test_data): New variable.
4166         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4167         (islessequal_test_data): New variable.
4168         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4169         (islessgreater_test_data): New variable.
4170         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4171         (isunordered_test_data): New variable.
4172         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4174 2013-05-14  David S. Miller  <davem@davemloft.net>
4176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4178 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
4180         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4182         * math/libm-test.inc (struct test_fF_f1_data): Change type of
4183         extra_test to int.
4184         (struct test_f_i_data): Change type of max_ulp to int.
4186         * math/libm-test.inc (test_ffI_f1_data): New type.
4187         (RUN_TEST_LOOP_ffI_f1): New macro.
4188         (remquo_test_data): New variable.
4189         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4191         * setjmp/tst-setjmp-fp.c: New file.
4192         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4193         (link-libm): New variable.
4194         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4196         * math/libm-test.inc (struct test_f_i_data): New type.
4197         (RUN_TEST_LOOP_f_i): New macro.
4198         (RUN_TEST_LOOP_f_i_tg): Likewise.
4199         (fpclassify_test_data): New variable.
4200         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4201         (ilogb_test_data): New variable.
4202         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4204         * math/libm-test.inc (scalbln_test): Correct function name in END
4205         call.
4207         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4208         (RUN_TEST_LOOP_fI_f1): New macro.
4209         (frexp_test_data): New variable.
4210         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4212         * math/libm-test.inc (struct test_fF_f1_data): New type.
4213         (RUN_TEST_LOOP_fF_f1): New macro.
4214         (modf_test_data): New variable.
4215         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4217         * math/libm-test.inc (struct test_f_f1_data): New type.
4218         (RUN_TEST_LOOP_f_f1): New macro.
4219         (gamma_test_data): New variable.
4220         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4221         (lgamma_test_data): New variable.
4222         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4224 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4226         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4227         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4228         (main): Comment "tls" pseudo-hwcap.
4230 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4232         * math/libm-test.inc (struct test_fl_f_data): New type.
4233         (RUN_TEST_LOOP_fl_f): New variable.
4234         (scalbln_test_data): New variable.
4235         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4237         * math/libm-test.inc (struct test_fi_f_data): New type.
4238         (RUN_TEST_LOOP_fi_f): New macro.
4239         (ldexp_test_data): New variable.
4240         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4241         (scalbn_test_data): New variable.
4242         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4244         * math/libm-test.inc (struct test_c_f_data): New type.
4245         (RUN_TEST_LOOP_c_f): New macro.
4246         (cabs_test_data): New variable.
4247         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4248         (carg_test_data): New variable.
4249         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4250         (cimag_test_data): New variable.
4251         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4252         (creal_test_data): New variable.
4253         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4255         * math/libm-test.inc (struct test_if_f_data): New type.
4256         (RUN_TEST_LOOP_if_f): New macro.
4257         (jn_test_data): New variable.
4258         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4259         (yn_test_data): New variable.
4260         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4262         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4264 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4266         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4267         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4269 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4271         * benchtests/Makefile (CPPFLAGS-nonlib): Add
4272         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4273         (bench-deps): Add bench-timing.h.
4274         * benchtests-bench-skeleton.c: Include bench-timing.h.
4275         (main): Use TIMING_* macros instead of clock_gettime.
4276         * benchtests/bench-timing.h: New file.
4278         [BZ #14582]
4279         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4280         Renamed from _LIB_VERSION.
4281         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4283 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
4285         * math/libm-test.inc (struct test_fff_f_data): New type.
4286         (RUN_TEST_LOOP_fff_f): New macro.
4287         (fma_test_data): New variable.
4288         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4289         (fma_towardzero_test_data): New variable.
4290         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4291         (fma_downward_test_data): New variable.
4292         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4293         (fma_upward_test_data): New variable.
4294         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4296         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4297         (struct test_c_c_data): New type.
4298         (RUN_TEST_LOOP_c_c): New macro.
4299         (cacos_test_data): New variable.
4300         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4301         (cacosh_test_data): New variable.
4302         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4303         (casin_test_data): New variable.
4304         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4305         (casinh_test_data): New variable.
4306         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4307         (catan_test_data): New variable.
4308         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4309         (catanh_test_data): New variable.
4310         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4311         (ccos_test_data): New variable.
4312         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4313         (ccosh_test_data): New variable.
4314         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4315         (cexp_test_data): New variable.
4316         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4317         (clog_test_data): New variable.
4318         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4319         (clog10_test_data): New variable.
4320         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4321         (conj_test_data): New variable.
4322         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4323         (cproj_test_data): New variable.
4324         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4325         (csin_test_data): New variable.
4326         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4327         (csinh_test_data): New variable.
4328         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4329         (csqrt_test_data): New variable.
4330         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4331         (ctan_test_data): New variable.
4332         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4333         (ctan_tonearest_test_data): New variable.
4334         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4335         (ctan_towardzero_test_data): New variable.
4336         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4337         (ctan_downward_test_data): New variable.
4338         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4339         (ctan_upward_test_data): New variable.
4340         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4341         (ctanh_test_data): New variable.
4342         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4343         (ctanh_tonearest_test_data): New variable.
4344         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4345         (ctanh_towardzero_test_data): New variable.
4346         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4347         (ctanh_downward_test_data): New variable.
4348         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4349         (ctanh_upward_test_data): New variable.
4350         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4351         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4352         of BUILD_COMPLEX.
4354         * math/libm-test.inc (struct test_ff_f_data): New type.
4355         (struct test_ff_f_data_nexttoward): Likewise.
4356         (RUN_TEST_LOOP_2_f): New macro.
4357         (RUN_TEST_LOOP_ff_f): Likewise.
4358         (atan2_test_data): New variable.
4359         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4360         (copysign_test_data): New variable.
4361         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4362         (fdim_test_data): New variable.
4363         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4364         (fmax_test_data): New variable.
4365         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4366         (fmin_test_data): New variable.
4367         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4368         (fmod_test_data): New variable.
4369         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4370         (hypot_test_data): New variable.
4371         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4372         (nextafter_test_data): New variable.
4373         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4374         (nexttoward_test_data): New variable.
4375         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4376         (pow_test_data): New variable.
4377         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4378         (pow_tonearest_test_data): New variable.
4379         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4380         (pow_towardzero_test_data): New variable.
4381         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4382         (pow_downward_test_data): New variable.
4383         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4384         (pow_upward_test_data): New variable.
4385         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4386         (remainder_test_data): New variable.
4387         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4388         (scalb_test_data): New variable.
4389         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4390         * sysdeps/i386/fpu/libm-test-ulps: Update.
4392 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
4394         * math/libm-test.inc (fma_test): Use max_value instead of local
4395         variable fltmax.
4396         (nextafter_test): Likewise.
4398         * math/libm-test.inc (acos_towardzero_test_data): New variable.
4399         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4400         (acos_downward_test_data): New variable.
4401         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4402         (acos_upward_test_data): New variable.
4403         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4404         (acosh_test_data): New variable.
4405         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4406         (asin_test_data): New variable.
4407         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4408         (asin_tonearest_test_data): New variable.
4409         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4410         (asin_towardzero_test_data): New variable.
4411         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4412         (asin_downward_test_data): New variable.
4413         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4414         (asin_upward_test_data): New variable.
4415         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4416         (asinh_test_data): New variable.
4417         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4418         (atan_test_data): New variable.
4419         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4420         (atanh_test_data): New variable.
4421         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4422         (cbrt_test_data): New variable.
4423         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4424         (ceil_test_data): New variable.
4425         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4426         (cos_test_data): New variable.
4427         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4428         (cos_tonearest_test_data): New variable.
4429         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4430         (cos_towardzero_test_data): New variable.
4431         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4432         (cos_downward_test_data): New variable.
4433         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4434         (cos_upward_test_data): New variable.
4435         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4436         (cosh_test_data): New variable.
4437         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4438         (cosh_tonearest_test_data): New variable.
4439         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4440         (cosh_towardzero_test_data): New variable.
4441         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4442         (cosh_downward_test_data): New variable.
4443         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4444         (cosh_upward_test_data): New variable.
4445         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4446         (erf_test_data): New variable.
4447         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4448         (erfc_test_data): New variable.
4449         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4450         (exp_test_data): New variable.
4451         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4452         (exp_tonearest_test_data): New variable.
4453         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4454         (exp_towardzero_test_data): New variable.
4455         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4456         (exp_downward_test_data): New variable.
4457         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4458         (exp_upward_test_data): New variable.
4459         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4460         (exp10_test_data): New variable.
4461         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4462         (exp2_test_data): New variable.
4463         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4464         (expm1_test_data): New variable.
4465         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4466         (fabs_test_data): New variable.
4467         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4468         (floor_test_data): New variable.
4469         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4470         (j0_test_data): New variable.
4471         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4472         (j1_test_data): New variable.
4473         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4474         (log_test_data): New variable.
4475         (log_test): Run tests with RUN_TEST_LOOP_f_f.
4476         (log10_test_data): New variable.
4477         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4478         (log1p_test_data): New variable.
4479         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4480         (log2_test_data): New variable.
4481         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4482         (logb_test_data): New variable.
4483         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4484         (logb_downward_test_data): New variable.
4485         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4486         (nearbyint_test_data): New variable.
4487         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4488         (rint_test_data): New variable.
4489         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4490         (rint_tonearest_test_data): New variable.
4491         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4492         (rint_towardzero_test_data): New variable.
4493         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4494         (rint_downward_test_data): New variable.
4495         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4496         (rint_upward_test_data): New variable.
4497         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4498         (round_test_data): New variable.
4499         (round_test): Run tests with RUN_TEST_LOOP_f_f.
4500         (sin_test_data): New variable.
4501         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4502         (sin_tonearest_test_data): New variable.
4503         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4504         (sin_towardzero_test_data): New variable.
4505         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4506         (sin_downward_test_data): New variable.
4507         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4508         (sin_upward_test_data): New variable.
4509         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4510         (sinh_test_data): New variable.
4511         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4512         (sinh_tonearest_test_data): New variable.
4513         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4514         (sinh_towardzero_test_data): New variable.
4515         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4516         (sinh_downward_test_data): New variable.
4517         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4518         (sinh_upward_test_data): New variable.
4519         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4520         (sqrt_test_data): New variable.
4521         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4522         (tan_test_data): New variable.
4523         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4524         (tan_tonearest_test_data): New variable.
4525         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4526         (tan_towardzero_test_data): New variable.
4527         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4528         (tan_downward_test_data): New variable.
4529         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4530         (tan_upward_test_data): New variable.
4531         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4532         (tanh_test_data): New variable.
4533         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4534         (tgamma_test_data): New variable.
4535         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4536         (trunc_test_data): New variable.
4537         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4538         (y0_test_data): New variable.
4539         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4540         (y1_test_data): New variable.
4541         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4542         (significand_test_data): New variable.
4543         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4545 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
4547         [BZ #12387]
4548         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4550 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4552         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4554 2013-05-10  Andreas Jaeger  <aj@suse.de>
4556         [BZ #15448]
4557         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4558         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4560 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4562         * math/gen-libm-test.pl (adjust_arg): New function.
4563         (special_functions): Handle generating output in both functions
4564         and arrays.
4565         (parse_args): Likewise.
4566         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
4567         $in_func argument to parse_args.
4568         * math/libm-test.inc (struct test_f_f_data): New type.
4569         (IF_ROUND_INIT_): New macro.
4570         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4571         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4572         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4573         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4574         (ROUND_RESTORE_): Likewise.
4575         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4576         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4577         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4578         (ROUND_RESTORE_FE_UPWARD): Likewise.
4579         (RUN_TEST_LOOP_f_f): New macro.
4580         (acos_test_data): New variable.
4581         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4582         (acos_tonearest_test_data): New variable.
4583         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4585 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4587         * benchtests/bench-skeleton.c (startup): Fix coding style.
4589 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4591         [BZ #6809]
4592         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4593         negative infinity argument.
4594         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4595         negative infinity argument.
4596         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4597         negative infinity argument.
4598         * math/libm-test.inc (tgamma_test): Expect errno to be set for
4599         domain errors.
4601 2013-05-10  Florian Weimer  <fweimer@redhat.com>
4603         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4604         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4605         * iconv/iconv_prog.c (main): Likewise.
4606         * locale/programs/charmap-dir.c (charmap_readdir)
4607         (fopen_uncompressed): Likewise.
4608         * locale/programs/locfile.c (siblings_uncached)
4609         (write_locale_data): Use lstat64 instead of lstat.
4610         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4611         stat.
4613 2013-05-10  Andreas Jaeger  <aj@suse.de>
4615         [BZ #15395]
4616         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4617         localization.
4618         Include <locale.h>.
4620 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
4622         * elf/dl-close.c (_dl_close_worker): Add comments.
4624 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
4626         [BZ #15359]
4627         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4628         high part of pi/2.
4629         (__ieee754_rem_pio2l): Update comments.
4631         [BZ #15429]
4632         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4633         high part of pi/2.
4634         (__ieee754_rem_pio2l): Update comments.
4636         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4637         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4639         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4640         M_PI_4l.
4642         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4643         (M_PI_34_LOG10El): Likewise.
4644         (M_PI2_LOG10El): Likewise.
4645         (M_PI4_LOG10El): Likewise.
4646         (M_PI_LOG10El): Likewise.
4648 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4652 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
4654         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4655         (MINUS_ZERO_INIT): Likewise.
4656         (PLUS_INFTY_INIT): Likewise.
4657         (MINUS_INFTY_INIT): Likewise.
4658         (QNAN_VALUE_INIT): Likewise.
4659         (MAX_VALUE_INIT): Likewise.
4660         (MIN_VALUE_INIT): Likewise.
4661         (MIN_SUBNORM_VALUE_INIT): Likewise.
4662         (plus_zero): Initialize with PLUS_ZERO_INIT.
4663         (minus_zero): Initialize with MINUS_ZERO_INIT.
4664         (plus_infty): Initialize with PLUS_INFTY_INIT.
4665         (minus_infty): Initialize with MINUS_INFTY_INIT.
4666         (qnan_value): Initialize with QNAN_VALUE_INIT.
4667         (max_value): Initialize with MAX_VALUE_INIT.
4668         (min_value): Initialize with MIN_VALUE_INIT.
4669         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4671         * math/libm-test.inc (RUN_TEST_if_f): New macro.
4672         (jn_test): Use TEST_if_f instead of TEST_ff_f.
4673         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4674         (yn_test): Use TEST_if_f instead of TEST_ff_f.
4676         * math/libm-test.inc (RUN_TEST_f_f): New macro.
4677         (RUN_TEST_2_f): Likewise.
4678         (RUN_TEST_ff_f): Likewise.
4679         (RUN_TEST_fi_f): Likewise.
4680         (RUN_TEST_fl_f): Likewise.
4681         (RUN_TEST_fff_f): Likewise.
4682         (RUN_TEST_c_f): Likewise.
4683         (RUN_TEST_f_f1): Likewise.
4684         (RUN_TEST_fF_f1): Likewise.
4685         (RUN_TEST_fI_f1): Likewise.
4686         (RUN_TEST_ffI_f1): Likewise.
4687         (RUN_TEST_c_c): Likewise.
4688         (RUN_TEST_cc_c): Likewise.
4689         (RUN_TEST_f_i): Likewise.
4690         (RUN_TEST_f_i_tg): Likewise.
4691         (RUN_TEST_ff_i_tg): Likewise.
4692         (RUN_TEST_f_b): Likewise.
4693         (RUN_TEST_f_b_tg): Likewise.
4694         (RUN_TEST_f_l): Likewise.
4695         (RUN_TEST_f_L): Likewise.
4696         (RUN_TEST_sincos): Likewise.
4697         * math/gen-libm-test.pl (new_test): Take new argument to indicate
4698         whether to show exceptions.  Do not include ");\n" in return
4699         value.
4700         (special_functions): Output call to RUN_TEST_sincos instead of
4701         check_float calls.  Update calls to new_test.
4702         (parse_args): Output call to single RUN_TEST_* macro instead of
4703         check_* calls and other assignments.  Update calls to new_test.
4705         [BZ #2546]
4706         [BZ #2560]
4707         [BZ #5159]
4708         [BZ #15426]
4709         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4710         input to result for tgamma overflow.
4711         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4712         (gamma_coeff): New variable.
4713         (NCOEFF): New macro.
4714         (gamma_positive): New function.
4715         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4716         underflow here.  Use gamma_positive instead of exp (lgamma) for
4717         other arguments.
4718         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4719         (gamma_coeff): New variable.
4720         (NCOEFF): New macro.
4721         (gammaf_positive): New function.
4722         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4723         underflow here.  Use gamma_positive instead of exp (lgamma) for
4724         other arguments.
4725         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4726         (gamma_coeff): New variable.
4727         (NCOEFF): New macro.
4728         (gammal_positive): New function.
4729         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4730         underflow here.  Use gamma_positive instead of exp (lgamma) for
4731         other arguments.
4732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4733         (gamma_coeff): New variable.
4734         (NCOEFF): New macro.
4735         (gammal_positive): New function.
4736         (__ieee754_gammal_r): Handle positive infinity, overflow and
4737         underflow here.  Handle NaN the same as positive infinity.  Remove
4738         check x < 0xffffffff for negative integers.  Use gamma_positive
4739         instead of exp (lgamma) for other arguments.
4740         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4741         (gamma_coeff): New variable.
4742         (NCOEFF): New macro.
4743         (gammal_positive): New function.
4744         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4745         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4746         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4747         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4748         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4749         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4750         * sysdeps/generic/math_private.h (__gamma_productf): New
4751         prototype.
4752         (__gamma_product): Likewise.
4753         (__gamma_productl): Likewise.
4754         * math/Makefile (libm-calls): Add gamma_product.
4755         * math/libm-test.inc (tgamma_test): Add more tests.
4756         * sysdeps/i386/fpu/libm-test-ulps: Update.
4757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4759 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
4761         * benchtests/bench-skeleton.c (main): Preheat CPU.
4763 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
4765         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4767 2013-05-07  Roland McGrath  <roland@hack.frob.com>
4769         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4770         and _dl_skip_args_internal.
4772 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
4774         * manual/message.texi (Message Translation): Talk about users.
4775         Message to key mapping impacts design.
4777 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4779         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4781         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4783         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4784         * sysdeps/wordsize-64/glob64.c: ... here.
4786         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4787         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4788         New macros.
4790         * debug/getlogin_r_chk.c: Moved to ...
4791         * login/getlogin_r_chk.c: ... here.
4792         * debug/Makefile (routines): Move getlogin_r_chk to ...
4793         * login/Makefile (routines): ... here.
4794         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4795         * login/Versions (libc: GLIBC_2.4): ... here.
4797         * io/poll.c (__poll): Renamed from poll.
4798         Add libc_hidden_def.
4799         (poll): Define as weak alias.
4801         * debug/ptsname_r_chk.c: Moved to ...
4802         * login/ptsname_r_chk.c: ... here.
4803         * debug/Makefile (routines): Move ptsname_r_chk to ...
4804         * login/Makefile (routines): ... here.
4805         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4806         * login/Versions (libc: GLIBC_2.4): ... here.
4808         * posix/getlogin.c: Moved to ...
4809         * login/getlogin.c: ... here.
4810         * posix/getlogin_r.c: Moved to ...
4811         * login/getlogin_r.c: ... here.
4812         * posix/getlogin_r.c: Moved to ...
4813         * login/getlogin_r.c: ... here.
4814         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4815         * login/Makefile (routines): ... here.
4816         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4817         * login/Versions (libc: GLIBC_2.0): ... here.
4819         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4820         (setrlimit): Define as weak alias.
4822         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4823         Call __ names for open, ftruncate, and close.
4824         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4825         (truncate): Define as weak alias.
4827 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
4829         * math/gen-libm-test.pl (parse_args): Initialize x before each
4830         test of frexp, modf and remquo.
4832         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4833         test signgam value.
4835 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4837         [BZ #15418]
4838         [BZ #15419]
4839         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4840         internal tests.
4841         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4843 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4845         * elf/dl-writev.h: New file.
4846         * elf/dl-misc.c: Include it.
4847         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4848         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4850 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
4852         * math/libm-test.inc (noXFails): Remove variable.
4853         (noXPasses): Likewise.
4854         (BUILD_COMPLEX_INT): Remove macro.
4855         (print_screen): Remove xfail argument.
4856         (print_screen_max_error): Likewise.
4857         (update_stats): Likewise.
4858         (print_max_error): Likewise.  Update calls to other affected
4859         functions.
4860         (print_complex_max_error): Likewise.
4861         (test_single_exception): Update calls to print_screen.
4862         (test_single_errno): Likewise.
4863         (check_float_internal): Remove xfail argument.  Update calls to
4864         other affected functions.
4865         (check_float): Likewise.
4866         (check_complex): Likewise.
4867         (check_int): Likewise.
4868         (check_long): Likewise.
4869         (check_bool): Likewise.
4870         (check_longlong): Likewise.
4871         (main): Don't print noXFails and noXPasses.
4872         * math/gen-libm-test.pl (top level): Don't mention expected
4873         failure handling in comment.
4874         (new_test): Don't handle expected failures.
4875         (parse_args): Don't mention expected failure handling in comment.
4876         (generate_testfile): Don't handle expected failures.
4877         (parse_ulps): Likewise.
4878         (print_ulps_file): Likewise.
4879         (get_failure): Remove function.
4880         (output_test): Don't handle expected failures.
4881         * make/README.libm-test: Don't mention expected failure handling.
4883         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
4884         (minus_zero): Likewise.
4885         (plus_infty): Likewise.
4886         (minus_infty): Likewise.
4887         (qnan_value): Likewise.
4888         (max_value): Likewise.
4889         (min_value): Likewise.
4890         (min_subnorm_value): Likewise.
4891         (initialize): Do not initialize those variables dynamically.
4893 2013-05-03  Roland McGrath  <roland@hack.frob.com>
4895         * io/open.c (__open_2): Moved to ...
4896         * io/open_2.c: ... this new file.
4897         * io/open64.c (__open64_2): Moved to ...
4898         * io/open64_2.c: ... this new file.
4899         * io/openat.c (__openat_2): Moved to ...
4900         * io/openat_2.c: ... this new file.
4901         * io/openat64.c (__openat64_2): Moved to ...
4902         * io/openat64_2.c: ... this new file.
4903         * io/Makefile (routines): Add them.
4904         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4905         * sysdeps/unix/sysv/linux/open_2.c: File removed.
4906         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4907         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4908         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4909         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4910         (__openat64): Add hidden_ver.
4911         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4912         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4914         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4915         Separately conditionalize setting of GLRO(dl_sysinfo) so
4916         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4917         as well, but the actual setting is only under [NEED_DL_SYSINFO].
4919 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4921         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4922         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4923         definition.
4924         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4925         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4926         (_libc_vdso_platform_setup): Add __vdso_time initialization.
4927         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4928         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4930 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
4932         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4933         test signgam value.
4935         * math/libm-test.inc (hypot_test): Do not use
4936         IGNORE_ZERO_INF_SIGN.
4938 2013-05-03  Andreas Jaeger  <aj@suse.de>
4940         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4941         Linux 3.9.
4942         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4943         (PF_MAX): Adjust for VSOCK change.
4945 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4949 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
4951         [BZ #15264]
4952         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4953         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4954         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4956 2013-05-02  David S. Miller  <davem@davemloft.net>
4958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4960 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
4962         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4964 2013-05-01  Roland McGrath  <roland@hack.frob.com>
4966         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4968 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
4970         [BZ #14952]
4971         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4972         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4973         Use __attribute__ ((__gnu_inline__)).
4974         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4975         Don't use __attribute__ ((__gnu_inline__)).
4977 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
4979         [BZ #15423]
4980         * math/s_catan.c (__catan): Handle small real or imaginary part of
4981         input specially to avoid spurious underflow.
4982         * math/s_catanf.c (__catanf): Likewise.
4983         * math/s_catanh.c (__catanh): Likewise.
4984         * math/s_catanhf.c (__catanhf): Likewise.
4985         * math/s_catanhl.c (__catanhl): Likewise.
4986         * math/s_catanl.c (__catanl): Likewise.
4987         * math/libm-test.inc (catan_test): Add more tests.
4988         (catanh_test): Likewise.
4989         * sysdeps/i386/fpu/libm-test-ulps: Update.
4990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4992 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4996 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
4998         [BZ #15416]
4999         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5000         accurately for denominator in atan2.
5001         * math/s_catanf.c (__catanf): Likewise.
5002         * math/s_catanh.c (__catanh): Likewise.
5003         * math/s_catanhf.c (__catanhf): Likewise.
5004         * math/s_catanhl.c (__catanhl): Likewise.
5005         * math/s_catanl.c (__catanl): Likewise.
5006         * math/libm-test.inc (catan_test): Add more tests.
5007         (catanh_test): Likewise.
5008         * sysdeps/i386/fpu/libm-test-ulps: Update.
5009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5011 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5013         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5015         * benchtests/Makefile (bench): Remove slow benchmarks.
5016         * benchtests/atan-inputs: Add slow benchmark inputs.
5017         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5018         (BENCH_FUNC): Accept variant offset.
5019         (VARIANT): Define.
5020         * benchtests/bench-skeleton.c (main): Run benchmark for each
5021         variant.
5022         * benchtests/cos-inputs: Add slow benchmark inputs.
5023         * benchtests/exp-inputs: Likewise.
5024         * benchtests/pow-inputs: Likewise.
5025         * benchtests/sin-inputs: Likewise.
5026         * benchtests/slowatan-inputs: Remove.
5027         * benchtests/slowatan.c: Remove.
5028         * benchtests/slowcos-inputs: Remove.
5029         * benchtests/slowcos.c: Remove.
5030         * benchtests/slowexp-inputs: Remove.
5031         * benchtests/slowexp.c: Remove.
5032         * benchtests/slowpow-inputs: Remove.
5033         * benchtests/slowpow.c: Remove.
5034         * benchtests/slowsin-inputs: Remove.
5035         * benchtests/slowsin.c: Remove.
5036         * benchtests/slowtan-inputs: Remove.
5037         * benchtests/slowtan.c: Remove.
5038         * benchtests/tan-inputs: Add slow benchmark inputs.
5039         * scripts/bench.pl: Parse comments and directives.
5041         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5042         in CPPFLAGS.
5043         ($(objpfx)bench-%.c): Remove *-ITER.
5044         * benchtests/bench-modf.c: Remove definition of ITER.
5045         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5046         (main): Loop for DURATION seconds instead of fixed number of
5047         iterations.
5048         * scripts/bench.pl: Don't expect iterations in parameters.
5050 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5052         * io/fchdir.c (__fchdir): Renamed from fchdir.
5053         (fchdir): Define as weak alias.
5055 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5057         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5058         (ERRNO_EDOM): Likewise.
5059         (ERRNO_ERANGE): Likewise.
5060         (noErrnoTests): New variable.
5061         (init_max_error): Set errno to 0.
5062         (test_single_errno): New function.
5063         (test_errno): Likewise.
5064         (check_float_internal): Call test_errno.  Set errno to 0.
5065         (check_complex): Refer to errno tests in comment.
5066         (check_int): Call test_errno.  Set errno to 0.
5067         (check_long): Likewise.
5068         (check_bool): Likewise.
5069         (check_longlong): Likewise.
5070         (cos_test): Use ERRNO_* flags for errno tests instead of
5071         check_int.
5072         (expm1_test): Likewise.
5073         (fmod_test): Likewise.
5074         (ilogb_test): Likewise.
5075         (lgamma_test): Likewise.
5076         (pow_test): Likewise.
5077         (remainder_test): Likewise.
5078         (sin_test): Likewise.
5079         (tan_test): Likewise.
5080         (yn_test): Likewise.
5081         (initialize): Set errno to 0.
5082         (main): Print number of errno tests.
5083         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5085 2013-04-29  Andreas Jaeger  <aj@suse.de>
5087         [BZ #15084]
5088         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5089         and RES_USEVC.
5091         [BZ #15085]
5092         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5093         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5094         unimplemented.
5096         [BZ #15380]
5097         * stdlib/random.c (__initstate): Return NULL if
5098         __initstate fails.
5100         [BZ #15086]
5101         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5102         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5103         RES_SNGLKUPREOP.
5105 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5109 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5111         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5112         of individual tests.
5113         (casin_test): Likewise.
5114         (casinh_test): Likewise.
5116 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5118         [BZ #15409]
5119         * math/s_catan.c (__catan): Handle arguments with large real or
5120         imaginary part separately without squaring.
5121         * math/s_catanf.c (__catanf): Likewise.
5122         * math/s_catanh.c (__catanh): Likewise.
5123         * math/s_catanhf.c (__catanhf): Likewise.
5124         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5125         and redefine.
5126         (__catanhl): Handle arguments with large real or imaginary part
5127         separately without squaring.
5128         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5129         and redefine.
5130         (__catanl): Handle arguments with large real or imaginary part
5131         separately without squaring.
5132         * math/libm-test.inc (catan_test): Add more tests.
5133         (catanh_test): Likewise.
5134         * sysdeps/i386/fpu/libm-test-ulps: Update.
5135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5137 2013-04-27  Andreas Jaeger  <aj@suse.de>
5139         [BZ #15007]
5140         * stdlib/stdlib.h: Update guards for qecvt.
5141         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5142         <stdlib.h>.
5144 2013-04-27  Allan McRae  <allan@archlinux.org>
5146         * sysdeps/i386/fpu/libm-test-ulps: Update.
5148 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
5150         [BZ #15406]
5151         * math/s_catan.c: Include <float.h>.
5152         (__catan): Ensure underflow exception occurs for underflowed
5153         result.
5154         * math/s_catanf.c: Include <float.h>.
5155         (__catanf): Ensure underflow exception occurs for underflowed
5156         result.
5157         * math/s_catanh.c: Include <float.h>.
5158         (__catanh): Ensure underflow exception occurs for underflowed
5159         result.
5160         * math/s_catanhf.c: Include <float.h>.
5161         (__catanhf): Ensure underflow exception occurs for underflowed
5162         result.
5163         * math/s_catanhl.c: Include <float.h>.
5164         (__catanhl): Ensure underflow exception occurs for underflowed
5165         result.
5166         * math/s_catanl.c: Include <float.h>.
5167         (__catanl): Ensure underflow exception occurs for underflowed
5168         result.
5169         * math/libm-test.inc (catan_test): Add more tests.
5170         (catanh_test): Likewise.
5172         [BZ #15405]
5173         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5174         underflowed result.
5175         * math/s_ccoshf.c (__ccoshf): Likewise.
5176         * math/s_ccoshl.c (__ccoshl): Likewise.
5177         * math/s_csin.c (__csin): Likewise.
5178         * math/s_csinf.c (__csinf): Likewise.
5179         * math/s_csinh.c (__csinh): Likewise.
5180         * math/s_csinhf.c (__csinhf): Likewise.
5181         * math/s_csinhl.c (__csinhl): Likewise.
5182         * math/s_csinl.c (__csinl): Likewise.
5183         * math/libm-test.inc (ccos_test): Add more tests.
5184         (ccosh_test): Likewise.
5185         (csin_test): Likewise.
5186         (csinh_test): Likewise.
5188 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5190         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5191         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5192         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5193         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5194         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5195         powerpc/power5+/fpu folders.
5196         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5199 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5203 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5205         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5206         additions to variable.
5207         [$(config-machine) = x86_64] (modules-names): Likewise.
5208         ($(objpfx)tst-audit3): Remove dependency.
5209         ($(objpfx)tst-audit3.out): Likewise.
5210         ($(objpfx)tst-audit4): Likewise.
5211         ($(objpfx)tst-audit4.out): Likewise.
5212         ($(objpfx)tst-audit5): Likewise.
5213         ($(objpfx)tst-audit5.out): Likewise.
5214         ($(objpfx)tst-audit6): Likewise.
5215         ($(objpfx)tst-audit6.out): Likewise.
5216         ($(objpfx)tst-audit7): Likewise.
5217         ($(objpfx)tst-audit7.out): Likewise.
5218         (tst-audit3-ENV): Remove variable.
5219         (tst-audit4-ENV): Likewise.
5220         (tst-audit5-ENV): Likewise.
5221         (tst-audit6-ENV): Likewise.
5222         (tst-audit7-ENV): Likewise.
5223         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5224         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5225         addition to variable.
5226         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5227         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5228         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5229         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5231         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5232         tst-audit3, tst-audit4 and tst-audit5.
5233         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5234         tst-audit6 and tst-audit7.
5235         [$(subdir) = elf] (modules-names): Add audit modules for those
5236         tests.
5237         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5238         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5239         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5240         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5241         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5242         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5243         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5244         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5245         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5246         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5247         [$(subdir) = elf] (tst-audit3-ENV): New variable.
5248         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5249         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5250         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5251         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5252         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5253         Likewise.
5254         [$(subdir) = elf && $(config-cflags-avx) = yes]
5255         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5256         [$(subdir) = elf && $(config-cflags-avx) = yes]
5257         (CFLAGS-tst-auditmod4a.c): Likewise.
5258         [$(subdir) = elf && $(config-cflags-avx) = yes]
5259         (CFLAGS-tst-auditmod4b.c): Likewise.
5260         [$(subdir) = elf && $(config-cflags-avx) = yes]
5261         (CFLAGS-tst-auditmod6b.c): Likewise.
5262         [$(subdir) = elf && $(config-cflags-avx) = yes]
5263         (CFLAGS-tst-auditmod6c.c): Likewise.
5264         [$(subdir) = elf && $(config-cflags-avx) = yes]
5265         (CFLAGS-tst-auditmod7b.c): Likewise.
5266         * elf/tst-audit3.c: Move to ...
5267         * sysdeps/x86_64/tst-audit3.c: ... here.
5268         * elf/tst-audit4.c: Move to ...
5269         * sysdeps/x86_64/tst-audit4.c: ... here.
5270         * elf/tst-audit5.c: Move to ...
5271         * sysdeps/x86_64/tst-audit5.c: ... here.
5272         * elf/tst-audit6.c: Move to ...
5273         * sysdeps/x86_64/tst-audit6.c: ... here.
5274         * elf/tst-audit7.c: Move to ...
5275         * sysdeps/x86_64/tst-audit7.c: ... here.
5276         * elf/tst-auditmod3a.c: Move to ...
5277         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5278         * elf/tst-auditmod3b.c: Move to ...
5279         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5280         * elf/tst-auditmod4a.c: Move to ...
5281         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5282         * elf/tst-auditmod4b.c: Move to ...
5283         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5284         * elf/tst-auditmod5a.c: Move to ...
5285         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5286         * elf/tst-auditmod5b.c: Move to ...
5287         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5288         * elf/tst-auditmod6a.c: Move to ...
5289         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5290         * elf/tst-auditmod6b.c: Move to ...
5291         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5292         * elf/tst-auditmod6c.c: Move to ...
5293         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5294         * elf/tst-auditmod7a.c: Move to ...
5295         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5296         * elf/tst-auditmod7b.c: Move to ...
5297         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5299 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
5301         [BZ #15366]
5302         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5303         define unconditionally.
5304         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5305         define unconditionally.
5306         (INT8_C, INT16_C, etc.): Likewise.
5308 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
5310         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5311         __ehdr_start with hidden visibility.
5313         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5315 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
5317         * math/libm-test.inc (cos_test): Use accurate hex constants.
5318         (sincost_test): Likewise.
5320 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
5322         * math/libm-test.inc (catan_test): Add more tests.
5323         (catanh_test): Likewise.
5325         * math/s_catanf.c (__catanf): Use suffixed floating-point
5326         constants.
5327         * math/s_catanhf.c (__catanhf): Likewise.
5328         * math/s_catanhl.c (__catanhl): Likewise.
5329         * math/s_catanl.c (__catanl): Likewise.
5331         [BZ #15394]
5332         * math/s_catan.c (__catan): Calculate imaginary part of result
5333         with log1p not log unless computing log of number close to 0.
5334         * math/s_catanf.c (__catanf): Likewise.
5335         * math/s_catanl.c (__catanl): Likewise.
5336         * math/s_catanh.c (__catanh): Calculate real part of result with
5337         log1p not log unless computing log of number close to 0.
5338         * math/s_catanhf.c (__catanhf): Likewise.
5339         * math/s_catanhl.c (__catanhl): Likewise.
5340         * math/libm-test.inc (catan_test): Add more tests.
5341         (catanh_test): Likewise.
5342         * sysdeps/i386/fpu/libm-test-ulps: Update.
5343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5345 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5347         * benchtests/Makefile: Mention files in which fast and slow
5348         paths of math functions are implemented.
5350 2013-04-23  Roland McGrath  <roland@hack.frob.com>
5352         * sysdeps/posix/timespec_get.c: New file.
5354 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5356         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5357         POWER.
5358         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5359         for POWER.
5360         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5361         powerpc/power5/fpu folders.
5362         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5363         * benchtests/Makefile: Add modf testcase.
5364         * benchtests/bench-modf.c: New file: Benchmark test for mo
5366 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5368         [BZ #14888]
5369         * time/Makefile (tests): Add tst-strptime-whitespace.
5370         * time/strptime_l.c (get_number): Use ISSPACE.
5371         (__strptime_internal): Likewise.
5372         * time/tst-strptime-whitespace.c: New test case.
5374 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
5376         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5377         member.
5378         (_nss_files_init): Set it here.
5380 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
5382         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5383         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5384         unsigned.
5386 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
5388         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5390 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5392         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5393         size just once.
5395 2013-04-21  David S. Miller  <davem@davemloft.net>
5397         * po/ru.po: Update Russion translation from translation project.
5399 2013-04-17  Adam Conrad  <adconrad@0c3.net>
5401         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5402         and setfsgid.
5404 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
5406         * configure.in: Remove i386 configure warning. Remove i386 case.
5407         * configure: Regenerate.
5408         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5409         Add example to error message.
5410         * sysdeps/i386/configure: Regenerate.
5412 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5414         * benchtests/Makefile (bench): Add cos, tan, slowcos and
5415         slowtan.
5416         * benchtests/cos-inputs: New file.
5417         * benchtests/slowcos-inputs: New file.
5418         * benchtests/slowcos.c: New file.
5419         * benchtests/slowtan-inputs: New file.
5420         * benchtests/slowtan.c: New file.
5421         * benchtests/tan-inputs: New file.
5423 2013-04-16  Roland McGrath  <roland@hack.frob.com>
5425         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5426         considered kosher.
5428 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5430         * benchtests/Makefile: Include cppflags-iterator.mk to add
5431         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5433         * Makefile.in (bench-clean): New target.
5434         * benchtests/Makefile (bench-clean): Likewise.
5436 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
5438         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5440 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
5442         * stdio-common/tstdiomisc.c: Fix coding-style violation.
5444 2013-04-15  Andreas Schwab  <schwab@suse.de>
5446         * nscd/grpcache.c (cache_addgr): Properly check for short write.
5447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5448         * nscd/pwdcache.c (cache_addpw): Likewise.
5449         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
5450         more than recsize.
5452 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5454         * benchtests/Makefile (bench): Write all output to
5455         bench-out.tmp together.
5457 2013-04-15  Andreas Schwab  <schwab@suse.de>
5459         * nscd/nscd.c (main): Don't fork again after closing files.
5461 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5463         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5465         * benchtests/Rules (bench-deps): Collect dependencies into a
5466         single variable.  Add Makefile to dependencies.
5467         ($(objpfx)bench-%.c): Depend on bench-deps.
5469 2013-04-12  Roland McGrath  <roland@hack.frob.com>
5470             Xavier Roche  <roche+kml2@exalead.com>
5472         [BZ #15361]
5473         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5474         just that it's a file descriptor.
5475         * manual/llio.texi (Synchronizing AIO Operations): Update description
5476         for EBADF error from aio_fsync.
5478 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480         * Rules (bench): Move target definition...
5481         * benchtests/Makefile: ... here.
5483 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
5485         * math/libm-test.inc (cos_test): Fix PI/2 test.
5486         (sincos_test): Likewise.
5487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5488         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5490 2013-04-11  Andreas Schwab  <schwab@suse.de>
5492         [BZ #13988]
5493         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5494         accept exponent character only when digits were seen.
5495         * stdio-common/Makefile (tests): Add bug26.
5496         * stdio-common/bug26.c: New file.
5498         [BZ #14293]
5499         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5500         non-freeable.
5502 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5504         * Makeconfig (rtld-prefix): Define built linker prefix.
5505         * Rules (run-bench): Use it.
5506         * math/Makefile (run-regen-ulps): Likewise.
5508         * Rules (bench): Remove eval.
5510 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5511             Roland McGrath  <roland@hack.frob.com>
5512             Ondrej Bilka  <neleai@seznam.cz>
5514         [BZ #15346]
5515         * time/getdate.c: Include ctype.h and alloca.h.
5516         (__getdate_r): Trim leading and trailing spaces of input.
5517         * time/tst-getdate.c (tests): Add tests with leading and
5518         trailing spaces.
5520 2013-04-08  Roland McGrath  <roland@hack.frob.com>
5522         [BZ #14280]
5523         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5524         when computing value.
5526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5528         * math/README.libm-test (How can I generate "libm-test-ulps"?):
5529         Use testrun.sh to run libm tests.
5531         [BZ #15309]
5532         * elf/dl-open.c (dl_open_worker): memset all of seen array.
5534 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
5536         [BZ #15264]
5537         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5539 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5541         * Makefile.in (regen-ulps): New target.
5542         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5543         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5544         [ifneq (no,$(PERL)] (regen-ulps): New target.
5545         [ifeq (no,$(PERL)] (regen-ulps): New target.
5546         * math/libm-test.inc (ulps_file_name): Define.
5547         (output_dir): New variable.
5548         (options): Add "output-dir" option.
5549         (parse_opt): Handle 'o' case.
5550         (main): If output_dir is non-NULL use it as a prefix
5551         otherwise use "".
5552         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5554 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5556         [BZ #10060, #10062]
5557         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5558         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5559         fail configure if __sync_val_compare_and_swap is not inlined.
5560         * sysdeps/i386/configure: Regenerate.
5561         * configure.in: Build for i686 when configured for i386.
5562         * configure: Regenerate.
5563         * README: Remove i386 reference.
5565 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5567         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5570 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5572         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5573         (lmsnanval): New variables.
5574         (F): Add conversion tests.
5575         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5576         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5578         * stdio-common/tstdiomisc.c (F): Properly collect individual
5579         tests' results.
5581         [BZ #14686, #15336]
5582         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5583         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5584         Instead, use input NaN values or generate a qNaN by arithmetic
5585         operation.  Also fix bugs to comply with the standard.
5586         * math/libm-test.inc (remainder_test): Add more tests.
5588         [BZ #15335, #15342]
5589         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5591         input NaN values or generate a qNaN by arithmetic operation.
5593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5594         unreachable code.
5596         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5597         definitions.
5599 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
5601         [BZ #14478]
5602         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5603         underflowed result.
5604         * math/s_cexpf.c (__cexpf): Likewise.
5605         * math/s_cexpl.c (__cexpl): Likewise.
5606         * math/libm-test.inc (cexp_test): Add more tests.
5608 2013-04-03  Andreas Schwab  <schwab@suse.de>
5610         [BZ #15330]
5611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5612         order arrays from heap if bigger than alloca cutoff.
5614 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
5616         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5617         (SNAN_TESTS_double): Refer to GCC PR56831.
5618         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5619         GCC PR56828.
5621 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5623         * Rules (bench): Move bench.out after the run is complete.
5625         * Rules (bench): Echo currently running benchmark.
5627         * benchtests/Makefile (bench): Add atan and slowatan.
5628         * benchtests/atan-inputs: New file.
5629         * benchtests/slowatan-inputs: New file.
5630         * benchtests/slowatan.c: New file.
5632         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5633         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5634         its value.
5636         [BZ #15305]
5637         * sysdeps/unix/sysv/linux/kernel-features.h
5638         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5639         __ASSUME_XFS_RESTRICTED_CHOWN.
5640         * sysdeps/unix/sysv/linux/pathconf.c
5641         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5642         Save and restore errno.
5644 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
5646         [BZ #15327]
5647         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5648         arguments using __kernel_casinh.
5649         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5650         arguments using __kernel_casinhf.
5651         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5652         arguments using __kernel_casinhl.
5653         * math/libm-test.inc (cacosh_test): Add more tests.
5654         * sysdeps/i386/fpu/libm-test-ulps: Update.
5655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5657 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5659         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5662         * bench/Makefile (bench): Add sin and slowsin.
5663         * benchtests/sin-inputs: New file.
5664         * benchtests/slowsin-inputs: New file.
5665         * benchtests/slowsin.c: New file.
5667         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5668         (bench): Add slowexp and slowpow.
5669         (exp-ITER): Increase iterations.
5670         (pow-ITER): Likewise.
5671         * benchtests/exp-inputs: Change input.
5672         * benchtests/pow-inputs: Likewise.
5673         * benchtests/slowexp-inputs: New file.
5674         * benchtests/slowexp.c: New file.
5675         * benchtests/slowpow-inputs: New file.
5676         * benchtests/slowpow.c: New file.
5678 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5680         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5681         instructions.
5682         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5683         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5684         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5685         * benchtests/Makefile: Add rint benchtest.
5686         * benchtests/rint-inputs: Input for rint benchtest.
5688 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5690         * Versions.def (libm): Add GLIBC_2.18.
5691         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5692         hidden libm prototypes.
5693         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5694         * math/Makefile (libm-calls): Add s_issignaling.
5695         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5696         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
5697         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5698         declaration.
5699         * math/math.h [__USE_GNU] (issignaling): New macro.
5700         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5701         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5702         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5703         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5704         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5705         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5706         * manual/arith.texi (issignaling): New section.
5707         * manual/libm-err-tab.pl (@all_functions): Update comment.
5708         * math/gen-libm-test.pl (parse_args): Apply special handling for
5709         issignaling.
5710         * math/libm-test.inc (print_float, issignaling_test): New
5711         functions.
5712         (check_float_internal): Add issignaling checks.
5713         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5714         default definition.
5715         * sysdeps/powerpc/math-tests.h: New file.
5716         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5717         tests.
5718         * math/test-snan.c (TEST_FUNC): Likewise.
5720 2013-03-30  David S. Miller  <davem@davemloft.net>
5722         * po/de.po: Update from translation team.
5724 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
5726         [BZ #10357]
5727         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5728         imaginary part less than 1.0 and real part less than 0.5
5729         specially.
5730         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5731         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5732         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5733         (cacos_test): Add more tests.
5734         (casin_test): Likewise.
5735         (casinh_test): Likewise.
5736         * sysdeps/i386/fpu/libm-test-ulps: Update.
5737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5739 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5741         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5742         ONE with its value.
5744         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5745         (__pow_mp): Replace ONE and MONE with their values.
5746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5747         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5748         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5749         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5750         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5751         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5753         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5755         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5756         (__pow_mp): Replace ZERO and MZERO with their values.
5757         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5759         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5761         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5762         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5763         (__sqr): Likewise.
5765         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5767         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5769 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5771         * include/stdlib.h [!SHARED] (__call_tls_dtors):
5772         Declare with __attribute__ ((weak)).
5773         * stdlib/exit.c (__libc_atexit) [!SHARED]:
5774         Call __call_tls_dtors only if it's not NULL.
5776 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5778         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5779         didn't do it already, then set _dl_phdr and _dl_phnum based on the
5780         magic __ehdr_start linker symbol if it's defined.
5781         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5782         them up here if it was already done.
5784         * elf/dl-support.c (_dl_phdr): Make pointer to const.
5785         (_dl_aux_init): Use const in cast when setting it.
5786         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5787         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5788         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5790         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5791         Declare them here.
5792         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5793         * csu/libc-tls.c: Nor here.
5794         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5796         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5797         (__libc_message): Never call vsyslog.
5799 2013-03-28  Alan Modra  <amodra@gmail.com>
5801         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5802         Define as empty.
5803         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5804         Likewise.
5806 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5808         [BZ #15214]
5809         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5810         underflow.
5811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5813 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5815         [BZ #15304]
5816         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5817         Don't add gid passed as argument.
5819         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5821 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
5823         [BZ #15307]
5824         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5825         imaginary part between 1.0 and 1.5 and real part less than 0.5
5826         specially.
5827         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5828         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5829         * math/libm-test.inc (cacos_test): Add more tests.
5830         (casin_test): Likewise.
5831         (casinh_test): Likewise.
5832         * sysdeps/i386/fpu/libm-test-ulps: Update.
5833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5835 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5837         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5838         constants.
5839         (norm): Likewise.
5840         (denorm): Likewise.
5841         (__dbl_mp): Likewise.
5842         (add_magnitudes): Likewise.
5843         (sub_magnitudes): Likewise.
5844         (__add): Likewise.
5845         (__sub): Likewise.
5846         (__mul): Likewise.
5847         (__sqr): Likewise.
5848         (__inv): Likewise.
5849         (__dvd): Likewise.
5851         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5852         commented code.
5853         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5854         (__dubcos): Likewise.
5855         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5856         (__ieee754_acos): Likewise.
5857         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5858         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5859         (__exp1): Likewise.
5860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5862         (log1): Likewise.
5863         (my_log2): Likewise.
5864         (checkint): Likewise.
5865         * sysdeps/ieee754/dbl-64/e_remainder.c
5866         (__ieee754_remainder): Likewise.
5867         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5869         (bsloww): Likewise.
5870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5872         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5873         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5874         MANTISSA_STORE_T to store computations on mantissa.  Use
5875         macros for rounding and division.
5876         (denorm): Likewise.
5877         (__dbl_mp): Likewise.
5878         (add_magnitudes): Likewise.
5879         (sub_magnitudes): Likewise.
5880         (__mul): Likewise.
5881         (__sqr): Likewise.
5882         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5883         powers of two in terms of TWOPOW macro.
5884         (mp_no): Make type of mantissa as MANTISSA_T.
5885         [!RADIXI]: Define RADIXI.
5886         [!TWO52]: Define TWO52.
5887         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5889 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5891         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5892         llroundl symbol when building for PPC32.
5894 2013-03-24  Mark H Weaver  <mhw@netris.org>
5896         * manual/arith.texi (Normalization Functions): Fix prototypes for
5897         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5899 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5901         [BZ #13889]
5902         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5903         high value to check if expl overflow.
5904         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5905         to check for underflow and overflow.
5906         * math/libm-test.inc: Add exp test.
5908 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
5910         [BZ #11120]
5911         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5912         with NOT_IN_libc.
5914 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5916         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5917         symbol.
5919 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
5921         * math/gen-libm-test.pl (parse_args, special_functions): Properly
5922         wrap blocks consisting of several statements.
5924         * sysdeps/generic/math-tests.h: New file.
5925         * sysdeps/i386/fpu/math-tests.h: Likewise.
5926         * math/test-snan.c: Include it.
5927         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5929 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
5931         [BZ #15285]
5932         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5933         (__ieee754_j0l): Do not improve calculations using cos of twice
5934         input for inputs above LDBL_MAX / 2.0L.
5935         (__ieee754_y0l): Likewise.
5936         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5937         (__ieee754_j1l): Do not improve calculations using cos of twice
5938         input for inputs above LDBL_MAX / 2.0L.
5939         (__ieee754_y1l): Likewise.
5940         * math/libm-test.inc (j0_test): Add another test.
5941         (j1_test): Likewise.
5942         (y0_test): Likewise.
5943         (y1_test): Likewise.
5944         * sysdeps/i386/fpu/libm-test-ulps: Update.
5946 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5948         * Rules ($(objpfx)bench-%.c): Include code from a C source
5949         file.
5951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
5953         [BZ #15287]
5954         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5955         imaginary part 1.0 and real part less than 0.5 specially.
5956         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5957         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5958         * math/libm-test.inc (cacos_test): Add more tests.
5959         (casin_test): Likewise.
5960         (casinh_test): Likewise.
5961         * sysdeps/i386/fpu/libm-test-ulps: Update.
5962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5964 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5966         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5967         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5969 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
5971         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5972         * config.make.in (config-cflags-sse4): Remove variable.
5973         (config-cflags-avx): Likewise.
5974         (config-cflags-sse2avx): Likewise.
5975         (config-cflags-novzeroupper): Likewise.
5976         (config-asflags-i686): Likewise.
5977         (have-mfma4): Likewise.
5978         (have-as-vis3): Likewise.
5979         (MIG): Likewise.
5980         * configure.in (MIG): Do not AC_SUBST.
5981         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5982         (libc_cv_cc_sse4): Do not AC_SUBST.
5983         (libc_cv_cc_avx): Likewise.
5984         (libc_cv_cc_sse2avx): Likewise.
5985         (libc_cv_cc_novzeroupper): Likewise.
5986         (libc_cv_cc_fma4): Likewise.
5987         (libc_cv_as_i686): Likewise.
5988         (libc_cv_sparc_as_vis3): Likewise.
5989         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5990         LIBC_CONFIG_VAR.
5991         (config-asflags-i686): Likewise.
5992         (config-cflags-avx): Likewise.
5993         (config-cflags-sse2avx): Likewise.
5994         (have-mfma4): Likewise.
5995         (config-cflags-novzeroupper): Likewise.
5996         * sysdeps/mach/configure.in (MIG): Likewise.
5997         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5998         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5999         LIBC_CONFIG_VAR.
6000         (config-cflags-avx): Likewise.
6001         (config-cflags-sse2avx): Likewise.
6002         (have-mfma4): Likewise.
6003         (config-cflags-novzeroupper): Likewise.
6004         * configure: Regenerated.
6005         * sysdeps/i386/configure: Likewise.
6006         * sysdeps/mach/configure: Likewise.
6007         * sysdeps/sparc/configure: Likewise.
6008         * sysdeps/x86_64/configure: Likewise.
6010 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6012         [BZ #14812]
6013         * locale/programs/localedef.c (options): Put N_ translation marker
6014         on argument names, not just descriptions.
6016 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6018         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6020 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6022         [BZ #14176]
6023         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6025 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6027         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6028         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6029         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6030         [!BEFORE_ABORT] (before_abort): New function.
6031         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6032         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6033         (writev_for_fatal): New function.
6034         (WRITEV_FOR_FATAL): New macro; call that.
6035         (backtrace_and_maps): New function.
6036         (BEFORE_ABORT): New macro; call that.
6037         (struct str_list): Type removed.
6038         (__libc_message, __libc_fatal): Functions removed.
6039         Include <sysdeps/posix/libc_fatal.c> instead.
6041 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6043         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6044         constants.
6045         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6046         double constants.
6048 2013-03-19  Andreas Schwab  <schwab@suse.de>
6050         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6051         * sysdeps/gnu/configure: Regenerate.
6053         * configure.in: Substitute libc_cv_rtlddir.
6054         * configure: Regenerate.
6055         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6056         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6057         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6058         * elf/Makefile (install-others, CFLAGS-interp.c)
6059         (ldso_install, common-ldd-rewrite): Likewise.
6060         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6061         $(inst_slibdir)/$(rtld-installed-name).
6062         * scripts/rellns-sh: Add -p option.
6063         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6064         for source.
6066 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6068         * manual/nptl.texi: Renamed to ...
6069         * manual/threads.texi: ... this.
6070         * manual/Makefile (chapters): Update.
6072 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6074         [BZ #14812]
6075         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6076         on argument names, not just descriptions.
6077         * malloc/memusagestat.c (options): Likewise.
6078         * nss/getent.c (options): Likewise.
6080 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6082         [BZ #14812]
6083         * iconv/iconv_prog.c (options): Put N_ translation marker
6084         on argument names, not just descriptions.
6085         * iconv/iconvconfig.c (options): Likewise.
6087 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6089         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6090         implementation which is faster on all x86_64 architectures.
6091         Tested on AMD, Intel Nehalem, SNB, IVB.
6092         * sysdeps/x86_64/strnlen.S: Likewise.
6094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6095         Remove all multiarch strlen and strnlen versions.
6096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6097         Remove strlen and strnlen related parts.
6099         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6100         Inline strlen part.
6101         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6103         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6104         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6105         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6106         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6107         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6108         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6110 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6112         * manual/memory.texi (Malloc Tunable Parameters):
6113         Sort parameters alphabetically. Add comments for missing entries.
6115 2013-03-17  David S. Miller  <davem@davemloft.net>
6117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6119 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #15283]
6122         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6123         for arguments at most half maximum finite value.
6124         * math/libm-test.inc (j0_test): Add more tests.
6125         (j1_test): Likewise.
6126         (y0_test): Likewise.
6127         (y1_test): Likewise.
6128         * sysdeps/i386/fpu/libm-test-ulps: Update.
6129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131         [BZ #14155]
6132         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6133         1 / x and functions P and Q for arguments above 0x1p256L.
6134         (__ieee754_y0l): Likewise.
6135         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6136         (__ieee754_y1l): Likewise.
6137         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6138         (j1_test): Likewise.
6139         (y0_test): Likewise.
6140         (y1_test): Likewise.
6142 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6144         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6145         variable.
6147 2013-03-15  Roland McGrath  <roland@hack.frob.com>
6149         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6150         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6151         zero since it's initialized to EXEC_PAGESIZE.
6153         * sysdeps/unix/sysv/linux/ldsodefs.h
6154         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6155         * sysdeps/generic/ldsodefs.h: ... here.
6157 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
6159         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6161         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6162         math/test-snan.c.
6163         * math/test-snan.c: Renamed from
6164         sysdeps/powerpc/fpu/test-powerpc-snan.c.
6165         * math/Makefile (tests): Add test-snan.
6166         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6167         test-powerpc-snan.
6169         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6170         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
6171         functions.
6172         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
6173         __builtin_nan family of functions.
6174         * math/libm-test.inc (initialize): Initialize qnan_value with
6175         __builtin_nan family of functions.
6176         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6177         Remove variables.
6178         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6179         Remove functions.
6180         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
6181         storage class.  Initialize qNaN_var and sNaN_var with
6182         __builtin_nan and __builtin_nans families of functions,
6183         respectively.
6185         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6186         (sqrt_test): Remove duplicate test with qNaN input.
6187         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6188         (round_test, signbit_test, significand_test): Note missing +/-Inf
6189         as well as qNaN tests.
6191         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6192         qNaN_var.  Fix a few strings, too.
6193         * math/libm-test.inc (nan_value): Rename to qnan_value.
6194         * math/gen-libm-test.pl (%beautify): Adjust to that.
6195         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6196         * math/test-misc.c (main): Likewise.
6197         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6198         to __qnan_bytes, and __qnan_union, respectively.
6199         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6200         Likewise.
6201         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6202         and lqnanval, respectively.
6203         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6204         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6205         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6206         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6208         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6209         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6210         doubles.
6212         * math/test-misc.c (main): Fix copy'n'pastos.
6213         * misc/tst-efgcvt.c (special): Likewise.
6215         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6216         Remove declarations.
6218 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6220         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6221         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6222         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6223         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6225 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6228         macro to return vdso values correctly in IFUNC implementations.
6229         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6230         Optimization by using IFUNC.
6232 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6233             Richard Henderson  <rth@redhat.com>
6234             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6236         * Makefile.in (bench): New target.
6237         * NEWS: Mention the benchmark framework.
6238         * Rules (bench): Likewise.
6239         (binaries-bench): Generate binaries for functions to
6240         benchmark.
6241         * benchtests/Makefile: New makefile for benchmark tests.
6242         * benchtests/bench-skeleton.c: New skeleton file for benchmark
6243         programs.
6244         * benchtests/exp-inputs: New input file for EXP function.
6245         * benchtests/pow-inputs: New input file for POW function.
6246         * scripts/bench.pl: New script to generate source files for
6247         benchmark programs.
6249 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6251         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6252         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6253         computations on mantissa.  Use macros for rounding and
6254         division.
6255         (denorm): Likewise.
6256         (__dbl_mp): Likewise.
6257         (add_magnitudes): Likewise.
6258         (sub_magnitudes): Likewise.
6259         (__mul): Likewise.
6260         (__sqr): Likewise.
6261         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6262         powers of two in terms of TWOPOW macro.
6263         (mp_no): Make type of mantissa as MANTISSA_T.
6264         [!RADIXI]: Define RADIXI.
6265         [!TWO52]: Define TWO52.
6266         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6268         * manual/nptl.texi (cindex): Modify threads to pthreads.
6270 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
6272         * sysdeps/x86_64/preconfigure: Regenerated.
6274 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
6276         [BZ #14155]
6277         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6278         0x1p28 and above.
6279         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6280         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6281         0x1p28 and above.
6282         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6283         * math/libm-test.inc (j0_test): Do not allow one spurious
6284         underflow exception.
6285         (y1_test): Likewise.
6287 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6289         * manual/Makefile (chapters): Add nptl.
6290         * manual/debug.texi (Debugging Support): Add link to Threads
6291         chapter.
6292         * manual/nptl.texi: New file.
6294         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6296 2013-03-14  Petr Baudis  <pasky@ucw.cz>
6298         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6299         for non-NULL pointer before the memory validity test. Pointed
6300         out by Holger Brunck <holger.brunck@keymile.com>.
6302 2013-03-13  Andreas Schwab  <schwab@suse.de>
6304         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6305         instead of .os.
6307 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
6309         * timezone/zic.c: Update from tzcode 2013b.
6311 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
6313         * manual/install.texi (Configuring and compiling):
6314         Mention i686 and i586.
6315         * INSTALL: Regenerate.
6317 2013-03-12  Roland McGrath  <roland@hack.frob.com>
6319         * sysdeps/init_array/elf-init.c: New file.
6320         * csu/elf-init.c
6321         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6322         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6324         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6325         __gmon_start__ as global, but as static with a .preinit_array pointer.
6326         * sysdeps/init_array/gmon-start.c: New file.  Use that.
6327         * sysdeps/init_array/crti.S: New file, empty except for comments.
6328         * sysdeps/init_array/crtn.S: Likewise.
6330 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
6332         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6333         definining bcopy.
6334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6335         Remove Prefer_SSE_for_memop.
6336         * sysdeps/x86_64/multiarch/init-arch.h: Remove
6337         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6338         HAS_PREFER_SSE_FOR_MEMOP.
6339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6340         memset-x86-64.
6341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6342         Remove bzero, memset ifunc support.
6343         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6344         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6345         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6348 2013-03-11  Andreas Schwab  <schwab@suse.de>
6350         [BZ #15234]
6351         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6352         by SHLIB_COMPAT.
6353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6354         (GLIBC_2.16): Remove pthread_atfork.
6356 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6358         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6359         (ptestcases.h): Likewise.
6361 2013-03-08  Roland McGrath  <roland@hack.frob.com>
6363         * Makeconfig ($(common-objpfx)config.status): Depend on
6364         sysdeps/*/preconfigure{,.in} too.
6366 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
6368         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6369         (__free_hook): Use void * instead of __malloc_ptr_t.
6370         (__malloc_hook): Likewise.
6371         (__realloc_hook): Likewise.
6372         (__memalign_hook): Likewise.
6373         (__after_morecore_hook): Likewise.
6374         * malloc/arena.c (save_malloc_hook): Likewise.
6375         (save_free_hook): Likewise.
6376         * malloc/hooks.c (malloc_hook_ini): Likewise.
6377         (realloc_hook_ini): Likewise.
6378         (memalign_hook_ini): Likewise.
6379         * malloc/malloc.c (malloc_hook_ini): Likewise.
6380         (realloc_hook_ini): Likewise.
6381         (memalign_hook_ini): Likewise.
6382         (__free_hook): Likewise.
6383         (__malloc_hook): Likewise.
6384         (__realloc_hook): Likewise.
6385         (__memalign_hook): Likewise.
6386         (__libc_malloc): Likewise.
6387         (__libc_free): Likewise.
6388         (__libc_realloc): Likewise.
6389         (__libc_memalign): Likewise.
6390         (__libc_valloc): Likewise.
6391         (__libc_pvalloc): Likewise.
6392         (__libc_calloc): Likewise.
6393         (__posix_memalign): Likewise.
6394         * malloc/morecore.c (__sbrk): Likewise.
6395         (__default_morecore): Likewise.
6397         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6399         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6400         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6401         __malloc_ptrdiff_t.
6403         * malloc/malloc.h (__malloc_size_t): Remove macro.
6404         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6405         __malloc_size_t.
6406         (old_memalign_hook): Likewise.
6407         (old_realloc_hook): Likewise.
6408         (struct hdr): Likewise.
6409         (flood): Likewise.
6410         (mallochook): Likewise.
6411         (memalignhook): Likewise.
6412         (reallochook): Likewise.
6413         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6414         (tr_old_realloc_hook): Likewise.
6415         (tr_old_memalign_hook): Likewise.
6416         (tr_mallochook): Likewise.
6417         (tr_reallochook): Likewise.
6418         (tr_memalignhook): Likewise.
6420 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6422         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6423         default_ldbl_pack and using as default implementation.
6424         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6425         implementation.
6426         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6427         redundant definition.
6428         (ldbl_insert_mantissa): Likewise.
6429         (ldbl_canonicalize): Likewise.
6430         (ldbl_nearbyint): Likewise.
6431         (ldbl_pack): Rename to ldbl_pack_ppc.
6432         (ldbl_unpack): Rename to ldbl_unpack_ppc.
6433         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6434         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6436 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6439         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6441         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6443         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6444         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6445         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6447 2013-03-07  Andreas Jaeger  <aj@suse.de>
6449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6450         bits/mman-linux.h.
6452 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6454         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6455         Include mpa.h and declare __MPEXP.
6456         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6457         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6458         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6459         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6460         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6461         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6462         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6464         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6465         (__slowpow): Use long double EXPL and LOGL functions to
6466         compute POW.
6467         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6468         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6469         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6470         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6471         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6472         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6475         intermediate variable to calculate exponent.
6476         (__sqr): Likewise.
6477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6478         Likewise.
6479         (__sqr): Likewise.
6481         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6482         [!NO__SQR]: Define __sqr.
6483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6484         and NO__SQR.  Remove all code except __mul and __sqr.  Include
6485         sysdeps/ieee754/dbl-64/mpa.c.
6486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6488         [BZ #12723]
6489         * posix/Makefile (tests): Add tst-pathconf.
6490         * posix/tst-pathconf.c: New test case.
6491         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6492         _PC_PIPE_BUF.
6493         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6495 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
6497         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6499 2013-03-06  Andreas Jaeger  <aj@suse.de>
6501         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6502         definition via __MAP_ANONYMOUS.
6504         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6505         it's not part of Linux headers.
6507         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6508         (MAP_HUGE_MASK): Define.
6510         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6511         Define.
6512         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6514         Define.
6515         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6516         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6517         Define.
6518         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6519         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6520         Define.
6521         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6523         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6524         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6525         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6526         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6527         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6528         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6530         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6531         Handle f2fs.
6533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6534         Handle f2fs and efivarfs.
6536         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6537         f2fs.
6539         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6540         (EFIVARFS_MAGIC): Add.
6541         (F2FS_LINK_MAX): Add.
6543 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6545         * stdio-common/vfprintf.c: Replace __builtin_expect with
6546         __glibc_unlikely.
6548 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
6550         [BZ #13550]
6551         * sysdeps/generic/bp-sym.h: Remove file.
6552         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6553         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6554         <bp-sym.h> and <bp-asm.h>.
6555         (__longjmp): Don't use BP_SYM.
6556         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6557         and <bp-asm.h>.
6558         (memcpy): Don't use BP_SYM.
6559         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6560         <bp-sym.h> and <bp-asm.h>.
6561         (memcpy): Don't use BP_SYM.
6562         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6563         <bp-asm.h>.
6564         (memcpy): Don't use BP_SYM.
6565         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6566         <bp-asm.h>.
6567         (memset): Don't use BP_SYM.
6568         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6569         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6570         (__bzero): Don't use BP_SYM.
6571         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6572         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6573         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6574         <bp-sym.h> and <bp-asm.h>.
6575         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6576         pointers.
6577         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6578         <bp-sym.h> and <bp-asm.h>.
6579         (memcpy): Don't use BP_SYM.
6580         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6581         <bp-sym.h> and <bp-asm.h>.
6582         (memset): Don't use BP_SYM.
6583         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6584         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6585         (__bzero): Don't use BP_SYM.
6586         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6587         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6588         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6589         <bp-sym.h> and <bp-asm.h>.
6590         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6591         pointers.
6592         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6593         <bp-sym.h> and <bp-asm.h>.
6594         (memcpy): Don't use BP_SYM.
6595         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6596         <bp-sym.h> and <bp-asm.h>.
6597         (memset): Don't use BP_SYM.
6598         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6599         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6600         (__bzero): Don't use BP_SYM.
6601         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6602         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6604         <bp-sym.h> and <bp-asm.h>.
6605         (__memchr): Don't use BP_SYM.
6606         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6607         <bp-sym.h> and <bp-asm.h>.
6608         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6609         pointers.
6610         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6611         <bp-sym.h> and <bp-asm.h>.
6612         (memcpy): Don't use BP_SYM.
6613         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6614         <bp-sym.h> and <bp-asm.h>.
6615         (__mempcpy): Don't use BP_SYM.
6616         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6617         <bp-sym.h> and <bp-asm.h>.
6618         (__memrchr): Don't use BP_SYM.
6619         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6620         <bp-sym.h> and <bp-asm.h>.
6621         (memset): Don't use BP_SYM.
6622         (__bzero): Likewise.
6623         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6624         <bp-sym.h> and <bp-asm.h>.
6625         (__rawmemchr): Don't use BP_SYM.
6626         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6627         <bp-sym.h> and <bp-asm.h>.
6628         (__STRCMP): Don't use BP_SYM.
6629         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6630         <bp-sym.h> and <bp-asm.h>.
6631         (strchr): Don't use BP_SYM.
6632         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6633         <bp-sym.h> and <bp-asm.h>.
6634         (__strchrnul): Don't use BP_SYM.
6635         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6636         <bp-sym.h> and <bp-asm.h>.
6637         (strlen): Don't use BP_SYM.
6638         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6639         <bp-sym.h> and <bp-asm.h>.
6640         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6641         pointers.
6642         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6643         <bp-sym.h> and <bp-asm.h>.
6644         (__strnlen): Don't use BP_SYM.
6645         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6646         <bp-sym.h> and <bp-asm.h>.
6647         (__GI__setjmp): Don't use BP_SYM.
6648         (_setjmp): Likewise.
6649         (__sigsetjmp): Likewise.
6650         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6651         (L(start_addresses)): Don't use BP_SYM.
6652         (_start): Likewise.
6653         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6654         <bp-asm.h>.
6655         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6656         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6657         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6658         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6659         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6660         <bp-asm.h>.
6661         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6662         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
6663         about bounded pointers.
6664         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6665         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6666         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6667         <bp-asm.h>.
6668         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6669         about bounded pointers.  Remove GKM FIXME comments.
6670         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6671         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6672         <bp-asm.h>.
6673         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6674         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
6675         Remove GKM FIXME comments.
6676         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6677         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6678         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6679         <bp-asm.h>.
6680         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6681         about bounded pointers.  Remove GKM FIXME comment.
6682         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6683         and <bp-asm.h>.
6684         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6685         pointers.
6686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6687         <bp-sym.h> and <bp-asm.h>.
6688         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6690         <bp-sym.h> and <bp-asm.h>.
6691         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6692         comment.
6694 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6696         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6697         call free(NULL).
6699 2013-03-05  David S. Miller  <davem@davemloft.net>
6701         * po/es.po: Update from translation team.
6703 2013-03-05  Andreas Jaeger  <aj@suse.de>
6705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6706         <bits/mman-linux.h>.
6707         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6708         is fine.
6709         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6710         <bits/mman-linux.h> to end of file.
6711         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6712         is fine.
6713         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6714         <bits/mman-linux.h> to end of file.
6715         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6716         is fine.
6717         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6718         <bits/mman-linux.h> to end of file.
6720         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6721         (MCL_CURRENT, MCL_FUTURE): Define here.
6723 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6725         [BZ #15232]
6726         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6727         attribute_hidden.
6728         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6730 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6732         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6733         fourth parameter needed for rt_sigprocmask syscall.
6734         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6735         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6736         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6737         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6738         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6739         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6741 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
6743         [BZ #13550]
6744         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6745         comment about bounded pointers.
6746         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6747         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6749 2013-03-04  Andreas Jaeger  <aj@suse.de>
6751         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6752         common definitions.
6754         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6755         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6756         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6757         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6758         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6759         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6761 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6763         [BZ #15055]
6764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6765         __ieee754_sqrl instead of __sqrl.
6767 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
6769         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6770         * sysdeps/powerpc/fpu_control.h: ... here.
6771         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6772         * sysdeps/powerpc/bits/fenvinline.h: ... here.
6773         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6774         * sysdeps/powerpc/bits/mathinline.h: ... here.
6776 2013-03-01  Roland McGrath  <roland@hack.frob.com>
6778         * elf/dl-hwcaps.c (_dl_important_hwcaps):
6779         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6780         to just [NEED_DL_SYSINFO_DSO].
6781         * elf/dl-support.c: Likewise.
6782         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6783         * elf/rtld.c (dl_main): Likewise.
6784         * elf/setup-vdso.h (setup_vdso): Likewise.
6785         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6786         * sysdeps/unix/sysv/linux/dl-sysdep.c
6787         (_dl_discover_osversion): Likewise.
6789 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
6791         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6792         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6794 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6796         * NEWS: Mention libm performance improvements and non-x86 PI
6797         futex support.
6799         * csu/libc-start.c (__pthread_initialize_minimal): Change
6800         function arguments.
6801         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6803 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
6805         [BZ #13550]
6806         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6807         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6808         <bp-sym.h> and <bp-asm.h>.
6809         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6810         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6811         and <bp-asm.h>.
6812         (memcpy): Don't use BP_SYM.
6813         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6814         <bp-asm.h>.
6815         (__mpn_add_n): Don't use BP_SYM.
6816         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6817         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6818         and <bp-asm.h>.
6819         (__mpn_addmul_1): Don't use BP_SYM.
6820         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6821         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6822         <bp-sym.h>.
6823         (_setjmp): Don't use BP_SYM.
6824         (__novmx_setjmp): Likewise.
6825         (__GI__setjmp): Likewise.
6826         (__vmx_setjmp): Likewise.
6827         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6828         <bp-sym.h>.
6829         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6830         (__bzero): Don't use BP_SYM.
6831         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6832         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6833         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6834         <bp-sym.h> and <bp-asm.h>.
6835         (memcpy): Don't use BP_SYM.
6836         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6837         <bp-sym.h> and <bp-asm.h>.
6838         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6840         <bp-sym.h> and <bp-asm.h>.
6841         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6842         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6843         <bp-asm.h>.
6844         (__mpn_lshift): Don't use BP_SYM.
6845         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6846         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6847         <bp-asm.h>.
6848         (memset): Don't use BP_SYM.
6849         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6850         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6851         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6852         <bp-asm.h>.
6853         (__mpn_mul_1): Don't use BP_SYM.
6854         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6855         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6856         <bp-sym.h> and <bp-asm.h>.
6857         (memcmp): Don't use BP_SYM.
6858         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6859         <bp-sym.h> and <bp-asm.h>.
6860         (memcpy): Don't use BP_SYM.
6861         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6862         <bp-sym.h> and <bp-asm.h>.
6863         (memset): Don't use BP_SYM.
6864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6865         <bp-sym.h> and <bp-asm.h>.
6866         (strncmp): Don't use BP_SYM.
6867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6868         <bp-sym.h> and <bp-asm.h>.
6869         (memcpy): Don't use BP_SYM.
6870         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6871         <bp-sym.h> and <bp-asm.h>.
6872         (memset): Don't use BP_SYM.
6873         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6874         <bp-sym.h> and <bp-asm.h>.
6875         (__memchr): Don't use BP_SYM.
6876         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6877         <bp-sym.h> and <bp-asm.h>.
6878         (memcmp): Don't use BP_SYM.
6879         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6880         <bp-sym.h> and <bp-asm.h>.
6881         (memcpy): Don't use BP_SYM.
6882         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6883         <bp-sym.h> and <bp-asm.h>.
6884         (__mempcpy): Don't use BP_SYM.
6885         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6886         <bp-sym.h> and <bp-asm.h>.
6887         (__memrchr): Don't use BP_SYM.
6888         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6889         <bp-sym.h> and <bp-asm.h>.
6890         (memset): Don't use BP_SYM.
6891         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6892         <bp-sym.h> and <bp-asm.h>.
6893         (__rawmemchr): Don't use BP_SYM.
6894         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6895         <bp-sym.h> and <bp-asm.h>.
6896         (__STRCMP): Don't use BP_SYM.
6897         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6898         <bp-sym.h> and <bp-asm.h>.
6899         (strchr): Don't use BP_SYM.
6900         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6901         <bp-sym.h> and <bp-asm.h>.
6902         (__strchrnul): Don't use BP_SYM.
6903         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6904         <bp-sym.h> and <bp-asm.h>.
6905         (strlen): Don't use BP_SYM.
6906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6907         <bp-sym.h> and <bp-asm.h>.
6908         (strncmp): Don't use BP_SYM.
6909         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6910         <bp-sym.h> and <bp-asm.h>.
6911         (__strnlen): Don't use BP_SYM.
6912         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6913         <bp-asm.h>.
6914         (__mpn_rshift): Don't use BP_SYM.
6915         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6916         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6917         <bp-sym.h> and <bp-asm.h>.
6918         (__sigsetjmp): Don't use BP_SYM.
6919         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6920         (L(start_addresses)): Don't use BP_SYM.
6921         (_start): Likewise.
6922         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6923         <bp-asm.h>.
6924         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6925         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6926         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6927         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6928         <bp-asm.h>.
6929         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6930         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6931         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6932         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6933         <bp-asm.h>.
6934         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
6935         comments.
6936         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6937         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6938         <bp-asm.h>.
6939         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
6940         FIXME comments.
6941         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6942         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6943         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6944         <bp-asm.h>.
6945         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
6946         comment.
6947         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6948         and <bp-asm.h>.
6949         (strncmp): Don't use BP_SYM,
6950         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6951         <bp-asm.h>.
6952         (__mpn_sub_n): Don't use BP_SYM.
6953         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6954         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6955         and <bp-asm.h>.
6956         (__mpn_submul_1): Don't use BP_SYM.
6957         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6959         <bp-sym.h> and <bp-asm.h>.
6960         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6962         <bp-sym.h> and <bp-asm.h>.
6963         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6964         comment.
6966 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6969         Use ZK to minimize writes to Z.
6970         (sub_magnitudes): Simplify code a bit.
6971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6972         Use ZK to minimize writes to Z.
6973         (sub_magnitudes): Simplify code a bit.
6975 2013-02-27  Roland McGrath  <roland@hack.frob.com>
6977         * csu/gmon-start.c: Add special exception to license text.
6979 2013-02-27  Richard Henderson  <rth@redhat.com>
6981         * scripts/config.guess: Update from config.git.
6982         * scripts/config.sub: Likewise.
6984 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6986         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6988         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6990         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6992         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6994         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6996 2013-02-26  Roland McGrath  <roland@hack.frob.com>
6998         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6999         [$(build-shared = yes].
7001 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7003         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7004         (__mul): Reduce iterations for calculating mantissa.
7006         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7007         MPTWO.
7008         (__mpranred): Likewise.
7010         [BZ #15160]
7011         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7012         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7014 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7016         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7017         Define __attribute__.
7019 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7021         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7022         unused.
7023         * posix/regex_internal.h (__attribute): Remove.
7024         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7025         (re_string_context_at): Likewise.
7026         (bitset_not): Use __attribute__ and mark function as possibly
7027         unused.
7028         (bitset_merge): Likewise.
7029         (bitset_mask): Likewise.
7030         (re_string_char_size_at): Likewise.
7031         (re_string_wchar_at): Likewise.
7032         (re_string_elem_size_at): Likewise.
7034 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7036         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7037         code.
7038         (cc32): Likewise.
7040         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7041         (__acr): Likewise.
7042         (__cpy): Likewise.
7043         (norm): Likewise.
7044         (denorm): Likewise.
7045         (__dbl_mp): Likewise.
7046         (add_magnitudes): Likewise.
7047         (sub_magnitudes): Likewise.
7048         (__mul): Likewise.
7049         (__inv): Likewise.
7051         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7052         style.
7054         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7055         style.
7057         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7058         code.
7060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7061         up changes with default code.
7062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7063         Likewise.
7065 2013-02-24  Allan McRae  <allan@archlinux.org>
7067         * manual/socket.texi (The Internet Namespace): Order menu items
7068         to match that in the file.
7070         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7071         node listing of the info page menu.
7073 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7075         [BZ #13550]
7076         * sysdeps/i386/bp-asm.h: Remove file.
7077         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7078         (PARMS): Do not use macros from bp-asm.h.
7079         (S1): Likewise.
7080         (S2): Likewise.
7081         (SIZE): Likewise.
7082         (__mpn_add_n): Do not use BP_SYM
7083         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7084         "bp-asm.h".
7085         (PARMS): Do not use macros from bp-asm.h.
7086         (S1): Likewise.
7087         (SIZE): Likewise.
7088         (__mpn_addmul_1): Do not use BP_SYM
7089         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7090         "bp-asm.h".
7091         (PARMS): Do not use macros from bp-asm.h.
7092         (SIGMSK): Likewise.
7093         (_setjmp): Likewise.  Do not use BP_SYM.
7094         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7095         "bp-asm.h".
7096         (PARMS): Do not use macros from bp-asm.h.
7097         (SIGMSK): Likewise.
7098         (setjmp): Likewise.  Do not use BP_SYM.
7099         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7100         "bp-asm.h".
7101         (PARMS): Do not use macros from bp-asm.h.
7102         (__frexp): Do not use BP_SYM.
7103         (frexp): Likewise.
7104         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7105         "bp-asm.h".
7106         (PARMS): Do not use macros from bp-asm.h.
7107         (__frexpf): Do not use BP_SYM.
7108         (frexpf): Likewise.
7109         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7110         "bp-asm.h".
7111         (PARMS): Do not use macros from bp-asm.h.
7112         (__frexpl): Do not use BP_SYM.
7113         (frexpl): Likewise.
7114         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7115         "bp-asm.h".
7116         (PARMS): Do not use macros from bp-asm.h.
7117         (__remquo): Do not use BP_SYM.
7118         (remquo): Likewise.
7119         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7120         "bp-asm.h".
7121         (PARMS): Do not use macros from bp-asm.h.
7122         (__remquof): Do not use BP_SYM.
7123         (remquof): Likewise.
7124         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7125         "bp-asm.h".
7126         (PARMS): Do not use macros from bp-asm.h.
7127         (__remquol): Do not use BP_SYM.
7128         (remquol): Likewise.
7129         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7130         "bp-asm.h".
7131         (PARMS): Do not use macros from bp-asm.h.
7132         (DEST): Likewise.
7133         (SRC): Likewise.
7134         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7135         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7136         "bp-asm.h".
7137         (PARMS): Do not use macros from bp-asm.h.
7138         (strlen): Do not use BP_SYM.
7139         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7140         "bp-asm.h".
7141         (PARMS): Do not use macros from bp-asm.h.
7142         (S1): Likewise.
7143         (S2): Likewise.
7144         (SIZE): Likewise.
7145         (__mpn_add_n): Do not use BP_SYM.
7146         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7147         "bp-asm.h".
7148         (PARMS): Do not use macros from bp-asm.h.
7149         (S1): Likewise.
7150         (SIZE): Likewise.
7151         (__mpn_addmul_1): Do not use BP_SYM.
7152         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7153         weak_alias.
7154         (bzero): Likewise.
7155         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7156         "bp-asm.h".
7157         (PARMS): Do not use macros from bp-asm.h.
7158         (S): Likewise.
7159         (SIZE): Likewise.
7160         (__mpn_lshift): Do not use BP_SYM.
7161         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7162         "bp-asm.h".
7163         (PARMS): Do not use macros from bp-asm.h.
7164         (DEST): Likewise.
7165         (SRC): Likewise.
7166         (LEN): Likewise.
7167         (memcpy): Likewise.  Do not use BP_SYM.
7168         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7169         libc_hidden_def and weak_alias.
7170         (mempcpy): Do not use BP_SYM in weak_alias.
7171         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7172         "bp-asm.h".
7173         (PARMS): Do not use macros from bp-asm.h.
7174         (DEST): Likewise.
7175         (LEN): Likewise.
7176         [!BZERO_P] (CHR): Likewise.
7177         (memset): Likewise.  Do not use BP_SYM.
7178         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7179         "bp-asm.h".
7180         (PARMS): Do not use macros from bp-asm.h.
7181         (S1): Likewise.
7182         (SIZE): Likewise.
7183         (__mpn_mul_1): Do not use BP_SYM.
7184         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7185         "bp-asm.h".
7186         (PARMS): Do not use macros from bp-asm.h.
7187         (S): Likewise.
7188         (SIZE): Likewise.
7189         (__mpn_rshift): Do not use BP_SYM.
7190         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7191         "bp-asm.h".
7192         (PARMS): Do not use macros from bp-asm.h.
7193         (STR): Likewise.
7194         (CHR): Likewise.
7195         (strchr): Likewise.  Do not use BP_SYM.
7196         (index): Do not use BP_SYM in weak_alias.
7197         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7198         "bp-asm.h".
7199         (PARMS): Do not use macros from bp-asm.h.
7200         (DEST): Likewise.
7201         (SRC): Likewise.
7202         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7203         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7204         "bp-asm.h".
7205         (PARMS): Do not use macros from bp-asm.h.
7206         (strlen): Do not use BP_SYM.
7207         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7208         "bp-asm.h".
7209         (PARMS): Do not use macros from bp-asm.h.
7210         (S1): Likewise.
7211         (S2): Likewise.
7212         (SIZE): Likewise.
7213         (__mpn_sub_n): Do not use BP_SYM.
7214         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7215         "bp-asm.h".
7216         (PARMS): Do not use macros from bp-asm.h.
7217         (S1): Likewise.
7218         (SIZE): Likewise.
7219         (__mpn_submul_1): Do not use BP_SYM.
7220         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7221         "bp-asm.h".
7222         (PARMS): Do not use macros from bp-asm.h.
7223         (S1): Likewise.
7224         (S2): Likewise.
7225         (SIZE): Likewise.
7226         (__mpn_add_n): Do not use BP_SYM.
7227         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7228         weak_alias.
7229         (bzero): Likewise.
7230         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7231         "bp-asm.h".
7232         (PARMS): Do not use macros from bp-asm.h.
7233         (BLK2): Likewise.
7234         (LEN): Likewise.
7235         (memcmp): Do not use BP_SYM.
7236         (bcmp): Do not use BP_SYM in weak_alias.
7237         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7238         "bp-asm.h".
7239         (PARMS): Do not use macros from bp-asm.h.
7240         (DEST): Likewise.
7241         (SRC): Likewise.
7242         (LEN): Likewise.
7243         (memcpy): Likewise.  Do not use BP_SYM.
7244         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7245         "bp-asm.h".
7246         (PARMS): Do not use macros from bp-asm.h.
7247         (DEST): Likewise.
7248         (SRC): Likewise.
7249         (LEN): Likewise.
7250         (memmove): Likewise.  Do not use BP_SYM.
7251         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7252         "bp-asm.h".
7253         (PARMS): Do not use macros from bp-asm.h.
7254         (DEST): Likewise.
7255         (SRC): Likewise.
7256         (LEN): Likewise.
7257         (__mempcpy): Likewise.  Do not use BP_SYM.
7258         (mempcpy): Do not use BP_SYM in weak_alias.
7259         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7260         "bp-asm.h".
7261         (PARMS): Do not use macros from bp-asm.h.
7262         (DEST): Likewise.
7263         (LEN): Likewise.
7264         [!BZERO_P] (CHR): Likewise.
7265         (memset): Likewise.  Do not use BP_SYM.
7266         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7267         "bp-asm.h".
7268         (PARMS): Do not use macros from bp-asm.h.
7269         (STR2): Likewise.
7270         (strcmp): Do not use BP_SYM.
7271         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7272         "bp-asm.h".
7273         (PARMS): Do not use macros from bp-asm.h.
7274         (STR): Likewise.
7275         (DELIM): Likewise.
7276         [USE_AS_STRTOK_R] (SAVE): Likewise.
7277         (FUNCTION): Likewise.  Do not use BP_SYM.
7278         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7279         aliases.
7280         (strtok_r): Likewise.
7281         (__GI___strtok_r): Likewise.
7282         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7283         (PARMS): Do not use macros from bp-asm.h.
7284         (S): Likewise.
7285         (SIZE): Likewise.
7286         (__mpn_lshift): Do not use BP_SYM.
7287         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7288         (PARMS): Do not use macros from bp-asm.h.
7289         (STR): Likewise.
7290         (CHR): Likewise.
7291         (__memchr): Do not use BP_SYM.
7292         (memchr): Do not use BP_SYM in weak_alias.
7293         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7294         (PARMS): Do not use macros from bp-asm.h.
7295         (BLK2): Likewise.
7296         (LEN): Likewise.
7297         (memcmp): Do not use BP_SYM.
7298         (bcmp): Do not use BP_SYM in weak_alias.
7299         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7300         (PARMS): Do not use macros from bp-asm.h.
7301         (S1): Likewise.
7302         (SIZE): Likewise.
7303         (__mpn_mul_1): Do not use BP_SYM.
7304         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7305         "bp-asm.h".
7306         (PARMS): Do not use macros from bp-asm.h.
7307         (STR): Likewise.
7308         (CHR): Likewise.
7309         (__rawmemchr): Do not use BP_SYM.
7310         (rawmemchr): Do not use BP_SYM in weak_alias.
7311         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7312         (PARMS): Do not use macros from bp-asm.h.
7313         (S): Likewise.
7314         (SIZE): Likewise.
7315         (__mpn_rshift): Do not use BP_SYM.
7316         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7317         (PARMS): Do not use macros from bp-asm.h.
7318         (SIGMSK): Likewise.
7319         (__sigsetjmp): Likewise.  Do not use BP_SYM.
7320         * sysdeps/i386/start.S: Do not include "bp-sym.h".
7321         (_start): Do not use BP_SYM.
7322         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7323         (PARMS): Do not use macros from bp-asm.h.
7324         (DEST): Likewise.
7325         (SRC): Likewise.
7326         (__stpcpy): Likewise.  Do not use BP_SYM.
7327         (stpcpy): Do not use BP_SYM in weak_alias.
7328         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7329         "bp-asm.h".
7330         (PARMS): Do not use macros from bp-asm.h.
7331         (DEST): Likewise.
7332         (SRC): Likewise.
7333         (LEN): Likewise.
7334         (__stpncpy): Likewise.  Do not use BP_SYM.
7335         (stpncpy): Do not use BP_SYM in weak_alias.
7336         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7337         (PARMS): Do not use macros from bp-asm.h.
7338         (STR): Likewise.
7339         (CHR): Likewise.
7340         (strchr): Likewise.  Do not use BP_SYM.
7341         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7342         "bp-asm.h".
7343         (PARMS): Do not use macros from bp-asm.h.
7344         (STR): Likewise.
7345         (CHR): Likewise.
7346         (__strchrnul): Likewise.  Do not use BP_SYM.
7347         (strchrnul): Do not use BP_SYM in weak_alias.
7348         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7349         "bp-asm.h".
7350         (PARMS): Do not use macros from bp-asm.h.
7351         (STOP): Likewise.
7352         (strcspn): Do not use BP_SYM.
7353         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7354         "bp-asm.h".
7355         (PARMS): Do not use macros from bp-asm.h.
7356         (STR): Likewise.
7357         (STOP): Likewise.
7358         (strpbrk): Likewise.  Do not use BP_SYM.
7359         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7360         "bp-asm.h".
7361         (PARMS): Do not use macros from bp-asm.h.
7362         (STR): Likewise.
7363         (CHR): Likewise.
7364         (strrchr): Likewise.  Do not use BP_SYM.
7365         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7366         (PARMS): Do not use macros from bp-asm.h.
7367         (SKIP): Likewise.
7368         (strspn): Do not use BP_SYM.
7369         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7370         (PARMS): Do not use macros from bp-asm.h.
7371         (STR): Likewise.
7372         (DELIM): Likewise.
7373         (SAVE): Likewise.
7374         (FUNCTION): Likewise.  Do not use BP_SYM.
7375         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7376         aliases.
7377         (strtok_r): Likewise.
7378         (__GI___strtok_r): Likewise.
7379         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7380         (PARMS): Do not use macros from bp-asm.h.
7381         (S1): Likewise.
7382         (S2): Likewise.
7383         (SIZE): Likewise.
7384         (__mpn_sub_n): Do not use BP_SYM.
7385         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7386         "bp-asm.h".
7387         (PARMS): Do not use macros from bp-asm.h.
7388         (S1): Likewise.
7389         (SIZE): Likewise.
7390         (__mpn_submul_1): Do not use BP_SYM.
7391         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7392         <bp-sym.h>.
7393         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7394         and <bp-asm.h>.
7395         (PARMS): Do not use macros from bp-asm.h.
7396         (FLAGS): Likewise.
7397         (PTID): Likewise.
7398         (TLS): Likewise.
7399         (CTID): Likewise.
7400         (__clone): Do not use BP_SYM.
7401         (clone): Do not use BP_SYM in weak_alias.
7402         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7403         and <bp-asm.h>.
7404         (PARMS): Do not use macros from bp-asm.h.
7405         (LEN): Likewise.
7406         (__mmap64): Do not use BP_SYM.
7407         (mmap64): Do not use BP_SYM in weak_alias.
7408         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7409         <bp-sym.h> and <bp-asm.h>.
7410         (PARMS): Do not use macros from bp-asm.h.
7411         (__posix_fadvise64_l64): Do not use BP_SYM.
7412         * sysdeps/unix/sysv/linux/i386/semtimedop.S
7413         (PARMS): Do not use macros from bp-asm.h.
7414         (NSOPS): Likewise.
7415         (semtimedop): Do not use BP_SYM.
7416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7417         and <bp-asm.h>.
7419 2013-02-21  Allan McRae  <allan@archlinux.org>
7421         * manual/message.texi (Charset conversion in gettext):
7422         Move @end statement to beginning of line.
7424 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7427         static.
7428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7429         Likewise.
7431         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7432         (denorm): Likewise.
7433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7436 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7438         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7439         tail-call to the resolved function if pltexit isn't needed.
7441 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7444         or Y being zero as being unlikely.
7445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7446         Likewise.
7448 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
7450         * manual/nss.texi (System Databases and Name Service Switch):
7451         Remove frobnicate @pxref.
7453 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7455         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7456         __attribute__ ((unused)) to __attribute__ ((__unused__)).
7458 2013-02-20  Petr Machata  <pmachata@redhat.com>
7460         * elf/elf.h (R_ARM_TARGET1): New macro.
7461         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7462         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7463         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7464         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7465         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7466         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7467         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7468         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7469         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7470         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7471         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7472         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7473         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7474         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7475         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7476         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7477         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7478         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7479         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7480         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7481         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7482         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7483         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7484         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7485         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7486         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7487         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7488         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7489         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7490         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7491         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7492         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7493         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7494         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7495         (R_ARM_THM_GOT_BREL12): Likewise.
7496         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7497         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7498         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7499         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7500         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7501         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7502         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7503         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7504         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7506 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7508         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7509         __attribute_used__ to __attribute__ ((unused)).
7511 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7513         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7514         powerpc mpa.c.
7515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7516         comment formatting.
7517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7519 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
7521         [BZ #13550]
7522         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7523         Remove macro.
7524         (ENTER): Remove both macro definitions.
7525         (LEAVE): Likewise.
7526         (CHECK_BOUNDS_LOW): Likewise.
7527         (CHECK_BOUNDS_HIGH): Likewise.
7528         (CHECK_BOUNDS_BOTH): Likewise.
7529         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7530         (RETURN_BOUNDED_POINTER): Likewise.
7531         (RETURN_NULL_BOUNDED_POINTER): Likewise.
7532         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7533         (POP_ERRNO_LOCATION_RETURN): Likewise.
7534         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7535         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7536         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7537         macros.
7538         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7539         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7540         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7541         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7542         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7543         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7544         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7545         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7546         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7547         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7548         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7549         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7550         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7551         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7552         removed macros.
7553         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7554         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7555         macros.
7556         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7557         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7558         * sysdeps/i386/i586/memset.S (memset): Likewise.
7559         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7560         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7561         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7562         macros.
7563         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7564         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7565         Change uses of L(2) to L(out).
7566         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7567         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7568         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7569         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7570         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7571         removed macros.
7572         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7573         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7574         macros.
7575         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7576         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7577         (RETURN): Do not use macro LEAVE.
7578         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7579         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7580         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7581         * sysdeps/i386/i686/memset.S (memset): Likewise.
7582         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7583         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7584         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7585         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7586         Likewise.
7587         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7588         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
7589         L(1_2) and L(1_3) into L(1).
7590         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7591         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7592         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7593         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7594         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7595         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7596         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7598         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7599         macros.
7600         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7601         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7602         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7603         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7604         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7605         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7606         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7607         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7608         * sysdeps/i386/strcspn.S (strcspn): Likewise.
7609         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7610         * sysdeps/i386/strrchr.S (strrchr): Likewise.
7611         * sysdeps/i386/strspn.S (strspn): Likewise.
7612         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7613         conditional code.
7614         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7615         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7616         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7617         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
7618         L(1_3) into L(1_1).
7619         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7620         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7621         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7622         macros.
7623         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7625 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
7627         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7628         macro.
7630 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7632         * math/atest-exp.c (exp_mpn): Remove ROUND.
7633         * math/atest-exp2.c (exp_mpn): Likewise.
7634         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7636         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7637         * stdlib/tst-tls-atexit-lib.c: Likewise.
7638         * stdlib/tst-tls-atexit.c: Likewise.
7640 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7642         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7643         and __attribute_alloc_size__.
7645 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7647         * include/programs/xmalloc.h: Change __attribute_alloc_size to
7648         __attribute_alloc_size__.
7649         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7650         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7652 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7654         * include/programs/xmalloc.h: New file.
7655         * catgets/gencat.c: Include it.
7656         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7657         * elf/pldd.c: Likewise.
7658         * iconv/iconv_charmap.c: Likewise.
7659         * iconv/iconvconfig.c: Likewise.
7660         * iconv/strtab.c: Likewise.
7661         * locale/programs/locale.c: Likewise.
7662         * locale/programs/localedef.h: Likewise.
7663         * locale/programs/simple-hash.c: Likewise.
7664         * nscd/nscd.h: Likewise.
7665         * nss/makedb.c: Likewise.
7666         * sysdeps/generic/ldconfig.h: Likewise.
7668 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7670         * Versions.def: Add GLIBC_2.18.
7671         * include/link.h (struct link_map): New member l_tls_dtor_count.
7672         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7673         (__call_tls_dtors): Likewise.
7674         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7675         __cxa_thread_atexit_impl.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7677         Likewise.
7678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7679         Likewise.
7680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7681         Likewise.
7682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7683         Likewise.
7684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7686         Likewise.
7687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7688         Likewise.
7689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7691         Likewise.
7692         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7693         (tests): Add test case tst-tls-atexit.
7694         (modules-names): Add shared library for tst-tls-atexit.
7695         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7696         (GLIBC_PRIVATE): Add __call_tls_dtors.
7697         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7698         for libstdc++.
7699         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7700         * stdlib/tst-tls-atexit.c: New test case.
7701         * stdlib/tst-tls-atexit-lib.c: New test case.
7703         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7705         * elf/Versions (ld): Add _dl_find_dso_for_object.
7706         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7707         * elf/dl-open.c (_dl_find_dso_for_object): New function.
7708         (dl_open_worker): Use _dl_find_dso_for_object.
7709         * elf/dl-sym.c (do_sym): Likewise.
7710         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7712 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7714         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7715         Syntactic changes only.
7716         (_dl_runtime_profile): Do a tail-call to the resolved function.
7718 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
7720         [BZ #13550]
7721         * sysdeps/x86_64/bp-asm.h: Remove file.
7722         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7723         <bp-sym.h> and <bp-asm.h>.
7724         (__clone): Do not use BP_SYM.
7725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7726         <bp-sym.h> and <bp-asm.h>.
7727         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7728         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7729         "bp-asm.h".
7730         (_setjmp): Do not use BP_SYM.
7731         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7732         "bp-asm.h".
7733         (setjmp): Do not use BP_SYM.
7734         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7735         libc_hidden_def.
7736         (mempcpy): Do not use BP_SYM in weak_alias.
7737         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7738         "bp-asm.h".
7739         (strchr): Do not use BP_SYM.
7740         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7741         "bp-asm.h".
7742         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7743         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7744         (_start): Do not use BP_SYM.
7745         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7746         "bp-asm.h".
7747         (strcat): Do not use BP_SYM.
7748         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7749         "bp-asm.h".
7750         (STRCMP): Do not use BP_SYM.
7751         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7752         "bp-asm.h".
7753         (STRCPY): Do not use BP_SYM.
7754         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7755         "bp-asm.h".
7756         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7757         "bp-asm.h".
7758         (FUNCTION): Do not use BP_SYM.
7759         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7760         weak_alias.
7761         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7763 2013-02-17  Andreas Jaeger  <aj@suse.de>
7765         * time/Versions: Sort entries.
7766         * string/Versions: Likewise.
7767         * resolv/Versions: Likewise.
7768         * posix/Versions: Likewise.
7769         * iconv/Versions: Likewise.
7770         * elf/Versions: Likewise.
7771         * wcsmbs/Versions: Likewise.
7773 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7775         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7776         loop termination condition.
7778         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7779         variable to calculate EZ.
7780         (__sqr): Likewise.
7782         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7783         the lower precision input.
7785 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
7787         [BZ #13550]
7788         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7789         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7790         (run-via-rtld-prefix): Do not handle %-bp tests.
7791         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7792         (all-object-suffixes): Remove .ob.
7793         (bppfx): Remove variable.
7794         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7795         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7796         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7797         [$(build-bounded) = yes] (libtype.ob): Likewise.
7798         * Makerules (elide-routines.ob): Remove variable.
7799         (do-tests-clean): Do not handle *-bp.out.
7800         (common-mostlyclean): Do not handle *-bp and *-bp.out.
7801         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7802         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7803         (tests): Do not include $(tests-bp.out).
7804         (xtests): Do not include $(xtests-bp.out).
7805         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7806         [$(build-bounded) = yes] ($(addprefix
7807         $(objpfx),$(binaries-bounded))): Remove rule.
7808         ($(objpfx)%-bp.out): Remove rule.
7809         * config.make.in (build-bounded): Remove variable.
7810         * crypt/Makefile [$(build-bounded) = yes]
7811         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7812         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7813         append to variable.
7814         [$(build-bounded) = yes] (install-lib): Likewise.
7815         [$(build-bounded) = yes] (generated): Likewise.
7816         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7817         Remove rule.
7818         * intl/Makefile [$(build-bounded) = yes]
7819         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7820         * math/Makefile [$(build-bounded) = yes]
7821         ($(tests:%=$(objpfx)%-bp): Likewise.
7822         * misc/Makefile [$(build-bounded) = yes]
7823         ($(objpfx)tst-tsearch-bp): Likewise.
7824         * nptl/Makeconfig (bounded-thread-library): Remove variable.
7825         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7826         Remove dependency.
7827         * string/Makefile (o-objects.ob): Remove variable.
7828         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7829         (CFLAGS-.ob): Remove variable.
7830         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7831         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7832         both definitions of variable.
7833         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7834         (ASFLAGS-.ob): Remove variable.
7836 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
7838         [BZ #13550]
7839         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7840         Remove __BOUNDED_POINTERS__ from condition.
7841         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7842         * string/bits/string2.h [!__NO_STRING_INLINES &&
7843         !__BOUNDED_POINTERS__]: Likewise.
7844         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7845         Likewise.
7846         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7847         Remove conditional code.
7848         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7849         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7850         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7851         condition.
7853         [BZ #13550]
7854         * csu/libc-start.c: Do not include <bp-sym.h>.
7855         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7856         * elf/dl-open.c: Do not include <bp-sym.h>.
7857         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7858         * math/fegetenv.c: Do not include <bp-sym.h>.
7859         (fegetenv): Do not use BP_SYM in versioned symbols.
7860         * nptl/sysdeps/pthread/bits/libc-lockP.h
7861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7862         <bp-sym.h>.
7863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7864         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7866         (__pthread_mutex_destroy): Likewise.
7867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7868         (__pthread_mutex_lock): Likewise.
7869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7870         (__pthread_mutex_trylock): Likewise.
7871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7872         (__pthread_mutex_unlock): Likewise.
7873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7874         (__pthread_mutexattr_init): Likewise.
7875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7876         (__pthread_mutexattr_destroy): Likewise.
7877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7878         (__pthread_mutexattr_settype): Likewise.
7879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7880         (__pthread_rwlock_init): Likewise.
7881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7882         (__pthread_rwlock_destroy): Likewise.
7883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7884         (__pthread_rwlock_rdlock): Likewise.
7885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7886         (__pthread_rwlock_tryrdlock): Likewise.
7887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7888         (__pthread_rwlock_wrlock): Likewise.
7889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7890         (__pthread_rwlock_trywrlock): Likewise.
7891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7892         (__pthread_rwlock_unlock): Likewise.
7893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7894         (__pthread_key_create): Likewise.
7895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7896         (__pthread_setspecific): Likewise.
7897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7898         (__pthread_getspecific): Likewise.
7899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7900         Likewise.
7901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7902         (_pthread_cleanup_push_defer): Likewise.
7903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7904         (_pthread_cleanup_pop_restore): Likewise.
7905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7906         (pthread_setcancelstate): Likewise.
7907         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7908         <bp-sym.h>.
7909         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7910         (memchr): Do not use BP_SYM in weak_alias.
7911         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7912         (fegetenv): Do not use BP_SYM in versioned symbols.
7913         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7914         (fesetenv): Do not use BP_SYM in versioned symbols.
7915         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7916         (feupdateenv): Do not use BP_SYM in versioned symbols.
7917         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7918         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7919         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7920         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7921         (open64): Do not use BP_SYM in weak_alias.
7922         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7923         (fegetenv): Do not use BP_SYM in versioned symbols.
7924         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7925         (fesetenv): Do not use BP_SYM in versioned symbols.
7926         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7927         (feupdateenv): Do not use BP_SYM in versioned symbols.
7928         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7929         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7930         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7931         (feraiseexcept): Do not use BP_SYM in versioned symbols.
7932         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7933         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7934         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7935         <bp-sym.h>.
7936         (__libc_start_main): Do not use BP_SYM.
7938 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7941         redundant return line.
7942         (norm): Likewise.
7943         (denorm): Likewise.
7944         (dbl_mp): Likewise.
7945         (sub_magnitudes): Likewise.
7946         (__add): Likewise.
7947         (__sub): Likewise.
7948         (__mul): Likewise.
7949         (__inv): Likewise.
7950         (__dvd): Likewise.
7951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7952         (norm): Likewise.
7953         (denorm): Likewise.
7954         (dbl_mp): Likewise.
7955         (sub_magnitudes): Likewise.
7956         (__add): Likewise.
7957         (__sub): Likewise.
7958         (__mul): Likewise.
7959         (__inv): Likewise.
7960         (__dvd): Likewise.
7962         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7963         instead of __mul.
7964         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7965         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7966         (cc32): Likewise.
7968         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7969         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7971         of __mul for squares.
7972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7973         function
7974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7975         Likewise.
7976         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7977         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7979 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
7981         [BZ #13550]
7982         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7983         code.
7984         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7985         prototype or function definition.  Rename ubp_* variables and
7986         parameters.  Remove argv definitions conditional on
7987         [__BOUNDED_POINTERS__].
7988         * debug/backtrace.c (__backtrace): Do not use __unbounded.
7989         * elf/dl-runtime.c (_dl_fixup): Likewise.
7990         * include/set-hooks.h (RUN_HOOK): Likewise.
7991         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7992         definition.
7993         * string/strcpy.c (strcpy): Do not use __unbounded.
7994         * sysdeps/generic/frame.h (struct layout): Likewise.
7995         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7996         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7997         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7998         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7999         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8000         (__backtrace): Likewise.
8001         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8002         use __ptrvalue.
8003         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8004         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8005         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8006         Likewise.
8007         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8008         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8009         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8010         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8011         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8012         Do not use __unbounded.
8013         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8014         Rename __unboundedrlimits parameter to rlimits in prototype.
8015         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8016         Do not use __unbounded.
8017         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8018         not use __ptrvalue.
8019         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8020         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8021         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8022         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8023         __ptrvalue or __unbounded.
8024         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8025         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8026         use __unbounded.
8027         (__new_msgctl): Do not use __ptrvalue.
8028         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8029         __unbounded.
8030         (__libc_msgrcv): Do not use __ptrvalue.
8031         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8032         startup_info): Do not use __unbounded.
8033         (__libc_start_main): Likewise.  Rename ubp_* variables and
8034         parameters.  Remove argv definitions conditional on
8035         [__BOUNDED_POINTERS__].
8036         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8037         __ptrvalue.
8038         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8039         use __unbounded.
8040         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8041         or __ptrvalue.
8042         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8043         use __unbounded.
8044         (__new_shmctl): Do not use __ptrvalue.
8045         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8046         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8047         Likewise.
8048         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8049         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8050         (__libc_sigaction): Likewise.
8051         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8052         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8053         Likewise.
8054         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8056 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8058         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8060         * string/mempcpy.c: Implement by calling memcpy.
8062 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8067         evaluation.
8069         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8070         values in the mantissa.
8072         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8073         minimize writes to Z.
8074         (sub_magnitudes): Simplify code a bit.
8076 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8078         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8079         from the message.  The linker prefixes all warnings with that already.
8081 2013-02-12  Andreas Schwab  <schwab@suse.de>
8083         [BZ #15078]
8084         * posix/regexec.c (extend_buffers): Add parameter min_len.
8085         (check_matching): Pass minimum needed length.
8086         (clean_state_log_if_needed): Likewise.
8087         (get_subexp): Likewise.
8088         * posix/Makefile (tests): Add bug-regex34.
8089         (bug-regex34-ENV): Define.
8090         * posix/bug-regex34.c: New file.
8092         [BZ #11561]
8093         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8094         elements compare against the byte sequence of it, not its name.
8095         * posix/Makefile (tests): Add bug-regex35.
8096         (bug-regex35-ENV): Define.
8097         * posix/bug-regex35.c: New file.
8099 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8101         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8102         comment.
8103         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8104         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8105         (CHECK_EOL): Add undef.
8107 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8109         * bits/stdlib-bsearch.h: New file.
8110         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8111         * stdlib/stdlib.h: Likewise.
8113 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8115         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8116         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8117         declaration.
8118         * manual/search.texi (Array Search Function): Add missing const in
8119         lfind prototype.
8120         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8121         declaration to use rlim_t.
8122         (Basic Scheduling Functions): Remove erroneous const from
8123         sched_getparam prototype.  Remove erroneous * from
8124         sched_get_priority_max and sched_get_priority_min prototypes.
8125         (Resource Usage): Fix summary @comment on vtimes to refer to
8126         sys/vtimes.h rather than vtimes.h.
8127         Add missing *s in vtimes prototype.
8128         (Limits on Resources): Fix ulimit prototype to return long int.
8129         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8130         prototypes to use long int rather than double.
8131         (BSD Random): Fix initstate and setstate to use char *, not void *.
8132         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8133         prototype to make second argument 'struct aiocb64 *const[]'.
8134         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8135         (Status of AIO Operations): Remove erroneous const in aio_return and
8136         aio_return64 prototypes.
8137         (Synchronizing I/O): Fix sync prototype to return void.
8138         * manual/startup.texi (Suboptions): Remove an erroneous const in
8139         getsubopt prototype.
8140         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8141         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8142         use size_t rather than int.
8143         (Scanning All Users): Likewise for getpwent_r.
8144         (Setting Groups): Add missing const to setgroups prototype.
8145         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8146         * manual/socket.texi (Host Names): Fix gethostbyaddr and
8147         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8148         'const void *' rather than 'const char *'.
8149         (Host Address Functions): Likewise for inet_ntop.
8150         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8151         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8152         ssize_t for return value.
8153         (Sending Data): Likewise for send, sendto, sendmsg.
8154         (Socket Option Functions): Add a missing const in setsockopt prototype.
8155         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8156         use wchar_t for the argument.
8157         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8158         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8159         take no arguments.
8160         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8161         double/float/long double for second argument.
8162         Fix return types of significand, significandf, significandl.
8163         * manual/filesys.texi (Setting Permissions): Use mode_t for second
8164         argument in fchmod prototype.
8165         (File Owner): Use uid_t and gid_t in fchown prototype.
8166         (File Times): Add const to utimes, futimes, and lutimes prototypes.
8167         (Making Special Files): Use mode_t and dev_t in mknod prototype.
8168         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8169         use 'const struct dirent **' as argument types to CMP function pointer
8170         argument.
8171         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8172         (File Times): Fix summary magic @comment for struct utimbuf and utime
8173         to refer to utime.h, not time.h.
8174         * manual/string.texi (Argz Functions): Add missing const in
8175         argz_extract and argz_next prototypes.
8176         (Finding Tokens in a String): Likewise for basename.
8177         (String/Array Comparison): Fix typo in wcscasecmp prototype.
8178         (Copying and Concatenation): Fix typo in wmemmove prototype.
8179         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8180         (Signal Stack): Remove erroneous const in sigstack prototype.
8181         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8182         prototype.
8183         (Simple Calendar Time): Likewise for stime.
8184         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8185         prototype.
8186         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8187         say sys/sysctl.h instead.
8188         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8189         and vsyslog prototypes.
8191 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8193         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8194         Remove.
8196 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8198         * misc/sys/mman.h: Fix typo in mremap comment.
8200 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8202         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8203         the '\0' terminator.
8205 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8207         [BZ #13550]
8208         * debug/segfault.c: Don't include <bp-checks.h>.
8209         * sysdeps/generic/bp-checks.h: Remove file.
8210         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8211         (__GETDENTS): Don't use CHECK_N.
8212         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8213         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8214         (__getgroups): Don't use CHECK_N.
8215         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8216         (setgroups): Don't use CHECK_N.
8217         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8218         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8219         (__libc_msgrcv): Don't use CHECK_N.
8220         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8221         (__libc_msgsnd): Don't use CHECK_N.
8222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8223         <bp-checks.h>.
8224         (__libc_pread): Don't use CHECK_N.
8225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8226         include <bp-checks.h>.
8227         (__libc_pread64): Don't use CHECK_N.
8228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8229         include <bp-checks.h>.
8230         (__libc_pwrite): Don't use CHECK_N.
8231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8232         include <bp-checks.h>.
8233         (__libc_pwrite64): Don't use CHECK_N.
8234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8235         <bp-checks.h>.
8236         (__libc_pread): Don't use CHECK_N.
8237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8238         include <bp-checks.h>.
8239         (__libc_pread64): Don't use CHECK_N.
8240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8241         include <bp-checks.h>.
8242         (__libc_pwrite): Don't use CHECK_N.
8243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8244         include <bp-checks.h>.
8245         (__libc_pwrite64): Don't use CHECK_N.
8246         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8247         (do_pread): Don't use CHECK_N.
8248         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8249         (do_pread64): Don't use CHECK_N.
8250         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8251         (do_pwrite): Don't use CHECK_N.
8252         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8253         (do_pwrite64): Don't use CHECK_N.
8254         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8255         (__libc_readv): Don't use CHECK_N.
8256         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8257         (semop): Don't use CHECK_N.
8258         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8259         <bp-checks.h>.
8260         (semtimedop): Don't use CHECK_N.
8261         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8262         (__libc_pread): Don't use CHECK_N.
8263         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8264         <bp-checks.h>.
8265         (__libc_pread64): Don't use CHECK_N.
8266         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8267         <bp-checks.h>.
8268         (__libc_pwrite): Don't use CHECK_N.
8269         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8270         <bp-checks.h>.
8271         (__libc_pwrite64): Don't use CHECK_N.
8272         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8273         <bp-checks.h>.
8274         (__libc_msgrcv): Don't use CHECK_N.
8275         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8276         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
8277         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8278         (__libc_writev): Don't use CHECK_N.
8280 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8282         * string/strcpy.c: Removed unused variable.
8284         * Makeconfig (+sysdep-includes): Define with := rather than =.
8285         Use an existing include/ subdir of each sysdeps dir before it.
8287 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8289         * nscd/connection.c (register_traced_file): Comment function.
8290         [HAVE_INOTIFY] (union __inev): Define.
8291         [HAVE_INOTIFY] (inotify_check_files): New function.
8292         [HAVE_INOTIFY] (clear_db_cache): Likewise.
8293         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8294         clear_db_cache.
8295         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8297 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8299         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8300         loaded if not already and that a failure is permanent.
8302 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8304         [BZ #15006]
8305         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8306         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8308 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8310         [BZ #13550]
8311         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8312         (CHECK_1_NULL_OK): Likewise.
8313         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8314         (__fxstat): Do not use CHECK_1.
8315         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8316         <bp-checks.h>.
8317         (___fxstat64): Do not use CHECK_1.
8318         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8319         <bp-checks.h>.
8320         (__fxstatat): Do not use CHECK_1.
8321         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8322         <bp-checks.h>.
8323         (__fxstatat64): Do not use CHECK_1.
8324         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8325         <bp-checks.h>.
8326         (__fxstat): Do not use CHECK_1.
8327         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8328         <bp-checks.h>.
8329         (__fxstatat): Do not use CHECK_1.
8330         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8331         <bp-checks.h>.
8332         (__getresgid): Do not use CHECK_1.
8333         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8334         <bp-checks.h>.
8335         (__getresuid): Do not use CHECK_1.
8336         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8337         <bp-checks.h>.
8338         (__lxstat): Do not use CHECK_1.
8339         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8340         <bp-checks.h>.
8341         (__old_msgctl): Do not use CHECK_1.
8342         (__new_msgctl): Likewise.
8343         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8344         <bp-checks.h>.
8345         (__new_setrlimit): Do not use CHECK_1.
8346         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8347         <bp-checks.h>.
8348         (__old_shmctl): Do not use CHECK_1.
8349         (__new_shmctl): Likewise.
8350         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8351         <bp-checks.h>.
8352         (__xstat): Do not use CHECK_1.
8353         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8354         (__lxstat): Do not use CHECK_1.
8355         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8356         <bp-checks.h>.
8357         (___lxstat64): Do not use CHECK_1.
8358         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8359         (__old_msgctl): Do not use CHECK_1.
8360         (__new_msgctl): Likewise.
8361         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8362         <bp-checks.h>.
8363         (__gettimeofday): Do not use CHECK_1.
8364         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8365         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8366         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8367         <bp-checks.h>.
8368         (__gettimeofday): Do not use CHECK_1.
8369         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8370         (__old_shmctl): Do not use CHECK_1_NULL_OK.
8371         (__new_shmctl): Do not use CHECK_1.
8372         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8373         <bp-checks.h>.
8374         (do_sigtimedwait): Do not use CHECK_1.
8375         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8376         <bp-checks.h>.
8377         (do_sigwaitinfo): Do not use CHECK_1.
8378         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8379         <bp-checks.h>.
8380         (msgctl): Do not use CHECK_1.
8381         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8382         <bp-checks.h>.
8383         (shmctl): Do not use CHECK_1.
8384         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8385         (ustat): Do not use CHECK_1.
8386         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8387         <bp-checks.h>.
8388         (__fxstat): Do not use CHECK_1.
8389         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8390         <bp-checks.h>.
8391         (__fxstatat): Do not use CHECK_1.
8392         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8393         <bp-checks.h>.
8394         (__lxstat): Do not use CHECK_1.
8395         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8396         <bp-checks.h>.
8397         (__xstat): Do not use CHECK_1.
8398         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8399         (__xstat): Do not use CHECK_1.
8400         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8401         (___xstat64): Do not use CHECK_1.
8403         [BZ #13550]
8404         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8405         definitions.
8406         (CHECK_BOUNDS_HIGH): Likewise.
8407         * string/strcpy.c: Do not include <bp-checks.h>.
8408         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8410 2013-02-07  Roland McGrath  <roland@hack.frob.com>
8412         * nscd/nscd-client.h (__nscd_drop_map_ref):
8413         Add __attribute__ ((unused)).
8414         * nis/nss-nisplus.h (niserr2nss): Likewise.
8416         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8417         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8419         * csu/libc-tls.c (init_static_tls, init_slotinfo):
8420         Remove inline keyword.
8421         * include/rounding-mode.h (round_away): Likewise.
8422         * libio/wfileops.c (adjust_wide_data): Likewise.
8423         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8424         (__m128i_strloadu_tolower): Likewise.
8425         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8426         (__m128i_strloadu_tolower): Likewise.
8427         * time/mktime.c (ydhms_diff): Likewise.
8428         * locale/elem-hash.h (elem_hash): Likewise.
8429         * locale/setlocale.c (setdata): Likewise.
8430         * posix/regex_internal.h (re_string_char_size_at): Likewise.
8431         (re_string_wchar_at): Likewise.
8432         (bitset_not, bitset_merge, bitset_mask): Likewise.
8433         [!(__GNUC__ > 3)] (inline): Remove macro.
8434         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8435         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8436         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8437         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8438         * string/memcmp.c (memcmp_bytes): Likewise.
8439         * locale/programs/locarchive.c (compute_hashval): Likewise.
8440         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8441         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8442         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8443         * nss/getent.c (print_rpc, print_protocols): Likewise.
8444         (print_passwd, print_group, print_aliases): Likewise.
8445         * nis/nss-nisplus.h (niserr2nss): Likewise.
8446         * nscd/connections.c (restart_p): Likewise.
8447         Change return type to bool.
8449 2013-02-05  Roland McGrath  <roland@hack.frob.com>
8451         * Makeconfig (all-Depend-files): Add existing
8452         $(sorted-subdirs:=/Depend) files.
8453         (all-subdirs): Remove nss.
8454         * sysdeps/unix/inet/Subdirs: Add it here instead.
8455         * hesiod/Depend: New file.
8457         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8458         instead of calling alloca.
8460         * io/lseek.c (__lseek): Rename to __libc_lseek.
8461         Define __lseek as an alias.
8463         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8465 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
8467         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8468         else clause and remove check for non-standard endianness.
8470 2013-02-04  David S. Miller  <davem@davemloft.net>
8472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8474 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
8476         [BZ #13550]
8477         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8478         (__ubp_memchr): Remove prototype.
8479         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8480         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8481         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8482         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8483         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8484         Remove alias.
8485         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8486         (__ubp_memchr): Likewise.
8487         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8488         (__ubp_memchr): Likewise.
8489         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8490         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8491         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8492         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8493         CHECK_STRING.
8494         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8495         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8496         (__getcwd): Do not use CHECK_STRING.
8497         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8498         <bp-checks.h>.
8499         (__real_chown): Do not use CHECK_STRING.
8500         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8501         <bp-checks.h>.
8502         (fchownat): Do not use CHECK_STRING.
8503         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8504         CHECK_STRING.
8505         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8506         <bp-checks.h>.
8507         (__lchown): Do not use CHECK_STRING.
8508         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8509         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8510         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8511         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8513         include <bp-checks.h>.
8514         (truncate64): Do not use CHECK_STRING.
8515         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8516         <bp-checks.h>.
8517         (__real_chown): Do not use CHECK_STRING.
8518         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8519         <bp-checks.h>.
8520         (__lchown): Do not use CHECK_STRING.
8521         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8522         <bp-checks.h>.
8523         (__chown): Do not use CHECK_STRING.
8524         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8525         <bp-checks.h>.
8526         (truncate64): Do not use CHECK_STRING.
8527         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8528         Likewise.
8529         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8530         (__xmknod): Do not use CHECK_STRING.
8531         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8532         <bp-checks.h>.
8533         (__xmknodat): Do not use CHECK_STRING.
8534         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8535         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8537 2013-02-04  Andreas Schwab  <schwab@suse.de>
8539         [BZ #14142]
8540         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8541         * include/netdb.h: Likewise for h_errno.
8542         * elf/tst-stackguard1.c: Include <tls.h>.
8544 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8546         * elf/link.h (struct link_map): Extend the l_addr comment.
8547         * include/link.h (struct link_map): Likewise.
8549 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
8551         [BZ #13550]
8552         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8553         (BOUNDED_1): Remove macro.
8554         * debug/backtrace.c: Don't include <bp-checks.h>.
8555         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8556         (__backtrace): Likewise.
8557         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8558         <bp-checks.h>.
8559         (__backtrace): Don't use BOUNDED_1.
8560         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8561         <bp-checks.h>.
8562         (__backtrace): Don't use BOUNDED_1.
8563         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8564         (__backtrace): Don't use BOUNDED_1.
8565         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8566         (shmat): Don't use BOUNDED_N.
8568 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
8570         [BZ #13550]
8571         * sysdeps/generic/bp-start.h: Remove file.
8572         * csu/libc-start.c: Don't include <bp-start.h>.
8573         (LIBC_START_MAIN): Set up __environ directly instead of using
8574         INIT_ARGV_and_ENVIRON.
8575         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8576         <bp-start.h>.
8578         [BZ #13550]
8579         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8580         definitions.
8581         (CHECK_FCNTL): Likewise.
8582         (CHECK_N_PAGES): Likewise.
8584         [BZ #13550]
8585         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8586         definitions.
8587         (CHECK_SIGSET_NULL_OK): Likewise.
8588         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8589         <bp-checks.h>.
8590         (sigpending): Don't use CHECK_SIGSET.
8591         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8592         <bp-checks.h>.
8593         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8594         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8595         <bp-checks.h>.
8596         (do_sigsuspend): Don't use CHECK_SIGSET.
8597         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8598         use CHECK_SIGSET.
8599         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8600         (do_sigwait): Don't use CHECK_SIGSET.
8601         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8602         use CHECK_SIGSET.
8603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8604         include <bp-checks.h>.
8605         (sigpending): Don't use CHECK_SIGSET.
8606         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8607         include <bp-checks.h>.
8608         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8609         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8610         <bp-checks.h>.
8611         (sigpending): Don't use CHECK_SIGSET.
8612         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8613         <bp-checks.h>.
8614         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8616         [BZ #13550]
8617         * sysdeps/generic/bp-semctl.h: Remove file.
8618         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8619         <bp-checks.h> and <bp-semctl.h>.
8620         (__old_semctl): Don't use CHECK_SEMCTL.
8621         (__new_semctl): Likewise.
8622         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8623         and <bp-semctl.h>.
8624         (__old_semctl): Don't use CHECK_SEMCTL.
8625         (__new_semctl): Likewise.
8626         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8627         <bp-checks.h> and <bp-semctl.h>.
8628         (__old_semctl): Don't use CHECK_SEMCTL.
8629         (__new_semctl): Likewise.
8630         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8631         <bp-checks.h> and <bp-semctl.h>.
8632         (semctl): Don't use CHECK_SEMCTL.
8634         [BZ #13550]
8635         * Makerules (elide-bp-thunks): Remove variable.
8636         (elide-routines.oS): Don't use $(elide-bp-thunks).
8637         (elide-routines.os): Likewise.
8638         (elide-routines.o): Likewise.
8639         (elide-routines.op): Likewise.
8640         (elide-routines.og): Likewise.
8641         (objects): Don't use $(bp-thunks).
8642         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8643         include.
8644         (common-generated): Do not add s-proto-bp.d.
8645         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8646         (int): Likewise.
8647         (typ): Likewise.
8648         Do not generate makefile rules for bounded-pointer thunks.
8649         * sysdeps/generic/bp-thunks.h: Remove file.
8650         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8651         * sysdeps/unix/s-proto-bp.S: Likewise.
8653         [BZ #15062]
8654         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8655         parts of result separately when argument is not close to line from
8656         -i to i and one part of argument is small.
8657         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8658         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8659         * math/libm-test.inc (cacos_test): Add more tests.
8660         (casin_test): Likewise.
8661         (casinh_test): Likewise.
8662         * sysdeps/i386/fpu/libm-test-ulps: Update.
8663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8665 2013-01-31  David S. Miller  <davem@davemloft.net>
8667         * po/de.po: Update from translation team.
8669 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
8671         * time/tzfile.c: Include stdint.h for SIZE_MAX.
8673 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
8675         * configure.in (_AC_PROG_CC_C89): New definition.
8676         * configure: Regenerate.
8678         * configure.in (AC_PROG_CPP): New definition.
8679         * configure: Regenerate.
8681 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8683         * debug/tst-backtrace.h: New file.
8684         * debug/tst-backtrace2.c: Include tst-backtrace.h.
8685         (ret): Remove variable.
8686         (x): Likewise.
8687         (FAIL): Remove macro.
8688         (NO_INLINE): Likewise.
8689         (fn1): Use match function instead of strstr.
8690         * debug/tst-backtrace3.c: Include tst-backtrace.h.
8691         (ret): Remove variable.
8692         (x): Likewise.
8693         (FAIL): Remove macro.
8694         (NO_INLINE): Likewise.
8695         (fn): Use match function instead of strstr.
8696         * debug/tst-backtrace4.c: Include tst-backtrace.h.
8697         (ret): Remove variable.
8698         (x): Likewise.
8699         (FAIL): Remove macro.
8700         (NO_INLINE): Likewise.
8701         (handle_signal): Use match function instead of strstr.
8702         * debug/tst-backtrace5.c: Include tst-backtrace.h.
8703         (ret): Remove variable.
8704         (x): Likewise.
8705         (FAIL): Remove macro.
8706         (NO_INLINE): Likewise.
8707         (handle_signal): Use match function instead of strstr.
8709 2013-01-23  Roland McGrath  <roland@hack.frob.com>
8711         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8713 2013-01-23  David S. Miller  <davem@davemloft.net>
8715         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8716         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8717         argument of CAS if possible.
8718         * sysdeps/sparc/sparc64/bits/atomic.h
8719         (__arch_compare_and_exchange_val_32_acq): Likewise.
8720         (__arch_compare_and_exchange_val_64_acq): Likewise.
8722 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
8724         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8725         * sysdeps/posix/ulimit.c: ... this.
8726         Include <limits.h>.
8727         * sysdeps/unix/bsd/ulimit.c: Remove file.
8729 2013-01-23  Adam Conrad  <adconrad@0c3.net>
8731         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8732         (LDFLAGS-tst-array5): Likewise.
8734 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8736         [BZ #15036]
8737         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8738         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8739         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8740         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8742 2013-01-21  David S. Miller  <davem@davemloft.net>
8744         * sysdeps/sparc/backtrace.c: New file.
8745         * sysdeps/sparc/sparc32/backtrace.h: New file.
8746         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8747         * sysdeps/sparc/sparc64/backtrace.h: New file.
8748         * sysdeps/sparc/sparc64/backtrace.c: Delete.
8749         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8750         -funwind-tables.
8752 2013-01-21  Andreas Schwab  <schwab@suse.de>
8754         [BZ #15020]
8755         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8756         closed its stdout.
8758 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
8760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8761         "mpa2.h".
8762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8764 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
8765             Mark Mitchell  <mark@codesourcery.com>
8766             Tom de Vries  <tom@codesourcery.com>
8767             Paul Pluzhnikov  <ppluzhnikov@google.com>
8769         * debug/tst-backtrace2.c: New file.
8770         * debug/tst-backtrace3.c: Likewise.
8771         * debug/tst-backtrace4.c: Likewise.
8772         * debug/tst-backtrace5.c: Likewise.
8773         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8774         (CFLAGS-tst-backtrace3.c): Likewise.
8775         (CFLAGS-tst-backtrace4.c): Likewise.
8776         (CFLAGS-tst-backtrace5.c): Likewise.
8777         (LDFLAGS-tst-backtrace2): Likewise.
8778         (LDFLAGS-tst-backtrace3): Likewise.
8779         (LDFLAGS-tst-backtrace4): Likewise.
8780         (LDFLAGS-tst-backtrace5): Likewise.
8781         (tests): Add new tests tst-backtrace2, tst-backtrace3,
8782         tst-backtrace4 and tst-backtrace5.
8784 2013-01-18  Anton Blanchard  <anton@samba.org>
8785             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8787         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8788         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8789         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8790         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8792         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8793         "+r" and remove output regs list as redundant.  Add explicit inline
8794         asm to specify register of return val to work around compiler codegen
8795         bug.  Remove (int) cast on return value.  Add return type parameter to
8796         use in macro so that this macro does not truncate return value for
8797         64-bit values.
8798         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8799         pass to INTERNAL_VSYSCALL_NCS.
8800         (INLINE_VSYSCALL): Add 'long int' as return type to
8801         INTERNAL_VSYSCALL_NCS macro invocation.
8802         (INTERNAL_VSYSCALL): Add 'long int' as return type to
8803         INTERNAL_VSYSCALL_NCS macro invocation.
8804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8806 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8808         [BZ #14496]
8809         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8810         Fix application of SIMD FP exception mask.
8812         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8813         mp_no from a power of two.
8814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8815         __mpexp_twomm1.  Use __pow_mp.
8817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8818         multiplication.
8820 2013-01-17  David S. Miller  <davem@davemloft.net>
8822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8824 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
8826         [BZ #15023]
8827         * include/complex.h: Condition contents on [!_COMPLEX_H].
8828         (__kernel_casinhf): New prototype.
8829         (__kernel_casinh): Likewise.
8830         (__kernel_casinhl): Likewise.
8831         * math/Makefile (libm_calls): Add k_casinh.
8832         * math/k_casinh.c: New file.
8833         * math/k_casinhf.c: Likewise.
8834         * math/k_casinhl.c: Likewise.
8835         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8836         finite nonzero arguments.
8837         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8838         finite nonzero arguments.
8839         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8840         finite nonzero arguments.
8841         * math/s_casinh.c: Do not include <float.h>.
8842         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8843         * math/s_casinhf.c: Do not include <float.h>.
8844         (__casinhf): Move code for finite nonzero arguments to
8845         k_casinhf.c.
8846         * math/s_casinhl.c: Do not include <float.h>.
8847         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8848         redefine.
8849         (__casinhl): Move code for finite nonzero arguments to
8850         k_casinhl.c.
8851         * math/libm-test.inc (cacos_test): Add more tests.
8852         * sysdeps/i386/fpu/libm-test-ulps: Update.
8853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8855 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
8857         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8858         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8859         [!HAVE_MREMAP]: Remove [defined linux] case.
8860         * malloc/arena.c: Do not include <malloc-sysdep.h>.
8862 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8864         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8866 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
8868         * elf/elf.h (R_386_SIZE32): New relocation.
8869         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8870         R_386_SIZE32.
8871         (elf_machine_rela): Likewise.
8872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8873         R_X86_64_SIZE64 and R_X86_64_SIZE32.
8875 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
8877         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8878         (FP_FAST_FMA): Do not define.
8879         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8880         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8881         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8882         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8883         !_SOFT_FLOAT]: Likewise.
8884         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8885         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8886         value.
8887         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8888         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8889         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8891         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8892         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8893         file.
8895 2013-01-16  Andreas Schwab  <schwab@suse.de>
8897         [BZ #14327]
8898         * include/stdlib.h (__mktemp): Add declaration.
8899         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8900         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8902 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8904         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8905         definitions.
8906         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8907         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8908         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8909         definitions here.
8910         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8911         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8912         definitions.
8913         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8914         and ONE.
8915         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8916         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8917         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8918         definitions.
8919         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8920         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8921         definitions.
8922         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8924         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8926 2013-01-15  David S. Miller  <davem@davemloft.net>
8928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8929         trunc{,f} to libm-sysdep_routes.
8930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8932         file.
8933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8935         file.
8936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8937         file.
8938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8940         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8941         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8942         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8943         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8944         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8945         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8948         nearbyint{,f} to libm-sysdep_routes.
8949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8951         New file.
8952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8953         file.
8954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8955         New file.
8956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8957         file.
8958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8960         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8961         file.
8962         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8963         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8964         file.
8965         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8966         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8967         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8969         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8970         libc_feholdexcept and libc_fesetenv.
8972 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
8974         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8976 2013-01-14  David S. Miller  <davem@davemloft.net>
8978         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8979         (SPARC_ASM_VIS2_IFUNC): Likewise.
8980         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8982         use of 'siam' instruction.
8983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8984         Likewise.
8985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8986         Likewise.
8987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8988         Likewise.
8989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8994         file.
8995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8996         file.
8997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8998         file.
8999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9000         file.
9001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9006         new VIS2 routines.
9007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9010         Likewise.
9011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9016         routines to libm-sysdep_routines.
9017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9020         fdim/fdimf to libm-sysdep_routines.
9021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9022         file.
9023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9025         file.
9026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9029         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9030         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9031         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9032         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9034 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9037         to optimize copies.
9039         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9044         local variable MPTWO.
9045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9046         Likewise.
9048 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9050         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9051         GLOB_NOESCAPE.
9053 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9055         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9057 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9059         * manual/pattern.texi (glob_t): Document gl_flags.
9060         (glob64_t): Likewise.
9062 2013-01-11  David S. Miller  <davem@davemloft.net>
9064         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9065         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9066         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9067         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9068         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9069         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9070         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9071         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9072         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9073         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9074         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9075         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9076         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9078         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9079         sparc V9 rather than using V8 code.
9080         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9081         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9083         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9084         Move to...
9085         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9086         Here.
9088 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9090         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9091         not in the main loop.
9092         * configure: Regenerated.
9094 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9096         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9097         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9098         to just #else.
9099         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9100         [!__GLIBC_HAVE_LONG_LONG] case.
9101         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9102         condition to just #else.
9103         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9104         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9105         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9106         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9107         unconditional.
9108         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9109         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9110         #elif condition to just #else.
9111         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9112         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9113         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9114         #elif condition to just #else.
9116 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9118         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9119         (EF_MIPS_ARCH_64): Fix value.
9120         (EF_MIPS_ARCH_32R2): New.
9121         (EF_MIPS_ARCH_64R2): New.
9123 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9125         * Makeconfig (+link-pie-before-libc): New.
9126         (+link-pie-after-libc): Likewise.
9127         (+link-pie-tests): Likewise.
9128         (+link-pie): Rewritten.
9129         (link-before-libc): Remove $(config-LDFLAGS).
9130         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9131         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9132         (config-LDFLAGS): Renamed to ...
9133         (rtld-LDFLAGS): This.
9134         (rtld-tests-LDFLAGS): New macro.
9135         (link-libc-rpath-link): Likewise.
9136         (link-libc-tests-rpath-link): Likewise.
9137         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9138         (link-libc): Prepand $(link-libc-rpath-link).
9139         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9140         (test-program-prefix): New macro.
9141         (test-via-rtld-prefix): Likewise.
9142         (test-program-cmd): Likewise.
9143         (host-test-program-cmd): Likewise.
9144         * Makefile ($(common-objpfx)testrun.sh): Replace
9145         $(run-program-prefix) with $(test-program-prefix).
9146         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9147         $(rtld-LDFLAGS).
9148         ($(common-objpfx)shlib.lds): Likewise.
9149         (build-module-helper): Likewise.
9150         ($(common-objpfx)format.lds): Likewise.
9151         * Rules (binaries-pie-tests): New.
9152         (binaries-pie-notests): Likewise.
9153         (binaries-pie): Rewritten.
9154         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9155         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9156         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9157         (make-test-out): Replace $(host-built-program-cmd) with
9158         $(host-test-program-cmd).
9159         * config.make.in (build-hardcoded-path-in-tests): New variable.
9160         * configure.in (--enable-hardcoded-path-in-tests): New configure
9161         option.
9162         (hardcoded_path_in_tests): New AC_SUBST.
9163         * configure: Regenerated.
9164         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9165         $(built-program-cmd) with $(test-program-cmd).
9166         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9167         (test_program_cmd): This.
9168         * elf/Makefile ($(objpfx)order.out): Run test with
9169         $(test-program-prefix).
9170         ($(objpfx)order2.out): Likewise.
9171         ($(objpfx)tst-initorder.out): Likewise.
9172         ($(objpfx)tst-initorder2.out): Likewise.
9173         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9174         $(test-program-cmd).
9175         ($(objpfx)tst-array1-static.out): Likewise.
9176         ($(objpfx)tst-array2.out): Likewise.
9177         ($(objpfx)tst-array3.out): Likewise.
9178         ($(objpfx)tst-array4.out): Likewise.
9179         ($(objpfx)tst-array5.out): Likewise.
9180         ($(objpfx)tst-array5-static.out): Likewise.
9181         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9182         $(test-program-cmd).
9183         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9184         $(run-program-prefix) with $(test-program-prefix).
9185         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9186         (test_program_prefix): This.
9187         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9188         $(run-program-prefix) with $(test-program-prefix).
9189         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9190         (test_program_prefix): This.
9191         * iconvdata/tst-tables.sh: Likewise.
9192         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9193         $(run-program-prefix) with $(test-program-prefix).
9194         ($(objpfx)tst-translit.out): Likewise.
9195         ($(objpfx)tst-gettext2.out): Likewise.
9196         ($(objpfx)tst-gettext4.out): Likewise.
9197         ($(objpfx)tst-gettext6.out): Likewise.
9198         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9199         (test_program_prefix): This.
9200         * intl/tst-gettext2.sh: Likewise.
9201         * intl/tst-gettext4.sh  Likewise.
9202         * intl/tst-gettext6.sh: Likewise.
9203         * intl/tst-translit.sh: Likewise.
9204         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9205         with $(test-program-cmd).
9206         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9207         $(run-program-prefix) with $(test-program-prefix).
9208         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9209         (test_program_prefix): This.
9210         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9211         $(run-program-prefix) with $(test-program-prefix).
9212         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9213         (test_program_prefix): This.
9214         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9215         * posix/Makefile ($(objpfx)globtest.out): Replace
9216         $(run-via-rtld-prefix) and $(test-wrapper) with
9217         $(test-program-prefix) and $(test-via-rtld-prefix).
9218         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9219         $(test-program-prefix).
9220         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9221         $(host-test-program-cmd).
9222         (tst-spawn-ARGS): Likewise.
9223         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9224         $(test-program-prefix).
9225         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9226         (test_via_rtld_prefix): This.
9227         (test_wrapper): Renamed to ...
9228         (test_program_prefix): This.
9229         (run_program_prefix): Replaced by test_program_prefix.
9230         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9231         (test_program_prefix): This.
9232         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9233         with $(host-test-program-cmd).
9234         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9235         $(run-program-prefix) with $(test-program-prefix).
9236         ($(objpfx)tst-printf.out): Likewise.
9237         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9238         $(test-program-cmd).
9239         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9240         (test_program_prefix): This.
9241         * stdio-common/tst-unbputc.sh: Likewise.
9242         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9243         $(run-program-prefix) with $(test-program-prefix).
9244         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9245         (test_program_prefix): This.
9246         * string/Makefile ($(objpfx)tst-svc.out):  Replace
9247         $(built-program-cmd) with $(test-program-cmd).
9249 2013-01-11  Andreas Jaeger  <aj@suse.de>
9251         [BZ #15003]
9252         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9253         value. Sync with Linux 3.7.
9255 2013-01-10  David S. Miller  <davem@davemloft.net>
9257         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9258         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9259         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9261 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9263         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9264         never set.
9265         * configure: Regenerated.
9267 2013-01-10  David S. Miller  <davem@davemloft.net>
9269         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9270         sparc V9 rather than using V8 code.
9271         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9272         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9274 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9276         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9277         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9278         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9279         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9280         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9281         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9282         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9283         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9284         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9285         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9286         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9287         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9288         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9289         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9290         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9291         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9292         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9293         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9294         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9295         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9296         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9297         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9298         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9299         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9300         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9301         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9302         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9304 2013-01-10  David S. Miller  <davem@davemloft.net>
9306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9308 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9310         * posix/Makefile (tests-static): New variable.
9311         (tests): Add $(tests-static).
9312         (tst-exec-static-ARGS): New variable.
9313         (tst-spawn-static-ARGS): Likewise.
9314         * posix/tst-exec-static.c: New file.
9315         * posix/tst-spawn-static.c: Likewise.
9316         * posix/tst-exec.c: Support run directly.
9317         * posix/tst-spawn.c: Likewise.
9319 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
9321         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9322         long.
9323         * math/bits/mathcalls.h (llrint): Likewise.
9324         (llround): Likewise.
9325         * stdlib/stdlib.h (struct drand48_data): Likewise.
9326         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9327         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9328         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9329         Likewise.
9330         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9331         Likewise.
9332         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9333         (elf_greg_t): Likewise.
9334         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9335         (__jmp_buf): Likewise.
9336         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9337         definitions.
9338         (llrint): Likewise, for all definitions.
9339         (llrintl): Likewise.
9341         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9342         Remove [__GNUC__] condition.
9343         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9344         condition to just [__USE_ISOC99].
9345         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9347 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9349         [BZ #14200]
9350         * sysdeps/unix/sysv/linux/x86/bits/environments.h
9351         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9352         defined.
9353         (_POSIX_V6_ILP32_OFF32): Likewise.
9354         (_XBS5_ILP32_OFF32): Likewise.
9355         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9356         (__ILP32_OFFBIG_LDFLAGS): Likewise.
9358 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9360         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9363         doubles __mpexp_twomm1.  Adjust usage.
9364         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9365         Remove.
9367 2013-01-10  Andreas Schwab  <schwab@suse.de>
9369         [BZ #14964]
9370         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9371         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9373 2013-01-09  David S. Miller  <davem@davemloft.net>
9375         [BZ #15003]
9376         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9377         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9378         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9379         TCP_FASTOPEN): Define.
9380         (tcp_repair_opt): New structure.
9381         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9382         enum values.
9383         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9384         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9385         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9386         (tcp_cookie_transactions): New structure.
9388 2013-01-09  Anton Blanchard  <anton@samba.org>
9390         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9391         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9392         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9393         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9395 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
9397         * include/features.h (__USE_ANSI): Remove.
9399 2013-01-09  Roland McGrath  <roland@hack.frob.com>
9401         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9403         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9405 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9407         * sysdeps/s390/fpu/libm-test-ulps: Update.
9409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9411         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9412         (__acr): Likewise.
9413         (__cpy): Likewise.
9414         (norm): Likewise.
9415         (denorm): Likewise.
9416         (__mp_dbl): Likewise.
9417         (__dbl_mp): Likewise.
9418         (add_magnitudes): Likewise.
9419         (sub_magnitudes): Likewise.
9420         (__add): Likewise.
9421         (__sub): Likewise.
9422         (__mul): Likewise.
9423         (__inv): Likewise.
9424         (__dvd): Likewise.
9425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9426         (__acr): Likewise.
9427         (__cpy): Likewise.
9428         (norm): Likewise.
9429         (denorm): Likewise.
9430         (__mp_dbl): Likewise.
9431         (__dbl_mp): Likewise.
9432         (add_magnitudes): Likewise.
9433         (sub_magnitudes): Likewise.
9434         (__add): Likewise.
9435         (__sub): Likewise.
9436         (__mul): Likewise.
9437         (__inv): Likewise.
9438         (__dvd): Likewise.
9439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9440         (__acr): Likewise.
9441         (__cpy): Likewise.
9442         (norm): Likewise.
9443         (denorm): Likewise.
9444         (__mp_dbl): Likewise.
9445         (__dbl_mp): Likewise.
9446         (add_magnitudes): Likewise.
9447         (sub_magnitudes): Likewise.
9448         (__add): Likewise.
9449         (__sub): Likewise.
9450         (__mul): Likewise.
9451         (__inv): Likewise.
9452         (__dvd): Likewise.
9454 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
9456         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9457         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9458         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9459         2 && __USE_EXTERN_INLINES]: Likewise.
9461 2013-01-08  Andreas Jaeger  <aj@suse.de>
9463         [BZ# 14985]
9464         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9465         Remove.
9466         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9467         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9469 2013-01-07  Anton Blanchard  <anton@samba.org>
9471         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9472         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9473         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9474         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9475         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9476         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9477         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9478         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9480         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9481         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9482         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9483         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9484         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9485         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9486         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9487         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9488         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9489         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9490         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9491         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9492         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9493         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9494         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9495         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9496         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9497         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9498         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9499         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9500         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9501         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9503         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9505         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9506         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9507         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9508         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9509         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9511         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9512         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9513         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9515 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
9517         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9518         (__MALLOC_PMT): Likewise.
9519         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9520         [__GNUC__], only on [_LIBC].
9521         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9522         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9523         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9524         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9525         forward declaration.
9526         (realloc_hook_ini): Likewise.
9527         (memalign_hook_ini): Likewise.
9528         (__libc_memalign): Do not use __MALLOC_PMT in variable
9529         declaration.
9530         (__libc_valloc): Likewise.
9531         (__libc_pvalloc): Likewise.
9532         (__libc_calloc): Likewise.
9533         (__posix_memalign): Likewise.
9535         [BZ #14996]
9536         * math/s_casinh.c: Include <float.h>.
9537         (__casinh): Do not do computation with squaring and square root
9538         for large arguments.
9539         * math/s_casinhf.c: Include <float.h>.
9540         (__casinhf): Do not do computation with squaring and square root
9541         for large arguments.
9542         * math/s_casinhl.c: Include <float.h>.
9543         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9544         (__casinhl): Do not do computation with squaring and square root
9545         for large arguments.
9546         * math/libm-test.inc (casin_test): Add more tests.
9547         (casinh_test): Likewise.
9548         * sysdeps/i386/fpu/libm-test-ulps: Update.
9549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9551 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
9553         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9554         (__x86_64_raw_data_cache_size): Likewise.
9555         (__x86_64_data_cache_size_half): Likewise.
9556         (__x86_64_raw_data_cache_size_half): Likewise.
9557         (__x86_64_shared_cache_size): Likewise.
9558         (__x86_64_raw_shared_cache_size): Likewise.
9559         (__x86_64_shared_cache_size_half): Likewise.
9560         (__x86_64_raw_shared_cache_size_half): Likewise.
9561         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9562         to ...
9563         (__x86_data_cache_size): This.
9564         (__x86_64_raw_data_cache_size): Renamed to ...
9565         (__x86_raw_data_cache_size): This.
9566         (__x86_64_data_cache_size_half): Renamed to ...
9567         (__x86_data_cache_size_half): This.
9568         (__x86_64_raw_data_cache_size_half): Renamed to ...
9569         (__x86_raw_data_cache_size_half): This.
9570         (__x86_64_shared_cache_size): Renamed to ...
9571         (__x86_shared_cache_size): This.
9572         (__x86_64_raw_shared_cache_size): Renamed to ...
9573         (__x86_raw_shared_cache_size): This.
9574         (__x86_64_shared_cache_size_half): Renamed to ...
9575         (__x86_shared_cache_size_half): This.
9576         (__x86_64_raw_shared_cache_size_half): Renamed to ...
9577         (__x86_raw_shared_cache_size_half): This.
9578         * sysdeps/x86_64/memcpy.S: Updated.
9579         * sysdeps/x86_64/memset.S: Likewise.
9580         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9581         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9582         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9584 2013-01-04  David S. Miller  <davem@davemloft.net>
9586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9588 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
9590         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9591         1 to avoid redefinition warning.
9592         (__USE_GNU): Don't define.
9593         (init_signaling_nan): Protoize.
9595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9597 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9599         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9601         (__cpymn): Likewise.
9602         (norm): Remove commented code.
9603         (denorm): Likewise.
9604         (__mp_dbl): Likewise.
9605         (__inv): Likewise.
9606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9607         (__cpymn): Likewise.
9608         (norm): Remove commented code.
9609         (denorm): Likewise.
9610         (__mp_dbl): Likewise.
9611         (__inv): Likewise.
9613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9614         mp_no value for 1.0 and 2.0.
9615         (norm): Use RADIXI instead of radixi.d.
9616         (denorm): Likewise.
9617         (__mul): Use 0.0 instead of zero.d.
9618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9619         mp_no value for 1.0 and 2.0.
9620         (norm): Use RADIXI instead of radixi.d.
9621         (denorm): Likewise.
9622         (__mul): Use 0.0 instead of zero.d.
9624 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
9626         [BZ #14994]
9627         * math/s_casinh.c (__casinh): Reduce finite argument to first
9628         quadrant then set signs of results at the end.
9629         * math/s_casinhf.c (__casinhf): Likewise.
9630         * math/s_casinhl.c (__casinhl): Likewise.
9631         * math/libm-test.inc (casin_test): Add more tests.
9632         (casinh_test): Likewise.
9633         * sysdeps/i386/fpu/libm-test-ulps: Update.
9634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9636 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9638         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9640         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9642         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9643         declarations.
9644         (denorm): Likewise.
9645         (__mp_dbl): Likewise.
9646         (__inv): Likewise.
9648         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9649         and adjust the header comment.
9651         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9652         variable name from declaration.
9654 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
9656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9657         Initialize COMMON_CPUID_INDEX_7 element.
9658         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9659         (CPUID_RTM): Likewise.
9660         (HAS_RTM): Likewise.
9661         (COMMON_CPUID_INDEX_7): New enum.
9663 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
9665         [BZ #14981]
9666         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9667         size is zero, record memory as freed.
9669 2013-01-03  Andreas Jaeger  <aj@suse.de>
9671         * po/ia.po: Add new Interlingua translation.
9673 2012-01-03  Allan McRae  <allan@archlinux.org>
9675         * locale/programs/localedef.c: Fix description of '--posix' flag.
9677 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
9679         * NEWS: Update dates in second copyright notice.
9680         * README: Update copyright dates in example.
9681         * manual/libc.texinfo: Update copyright dates.
9682         * scripts/test-installation.pl: Update copyright date in --version
9683         output.
9685         * hurd/ctty-input.c: Fix copyright notice formatting.
9686         * hurd/ctty-output.c: Likewise.
9687         * hurd/dtable.c: Likewise.
9688         * hurd/hurd-raise.c: Likewise.
9689         * hurd/hurdprio.c: Likewise.
9690         * hurd/msgportdemux.c: Likewise.
9691         * misc/sys/file.h: Likewise.
9692         * misc/sys/ioctl.h: Likewise.
9693         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9694         * sysdeps/mach/hurd/chdir.c: Likewise.
9695         * sysdeps/mach/hurd/fchdir.c: Likewise.
9696         * sysdeps/mach/hurd/rename.c: Likewise.
9697         * sysdeps/mach/hurd/rmdir.c: Likewise.
9698         * sysdeps/mach/hurd/seekdir.c: Likewise.
9699         * sysdeps/mach/hurd/setsid.c: Likewise.
9700         * sysdeps/posix/wait3.c: Likewise.
9702         * All files with FSF copyright notices: Update copyright dates
9703         using scripts/update-copyrights.
9704         * intl/plural.c: Regenerated.
9705         * locale/programs/charmap-kw.h: Likewise.
9706         * locale/programs/locfile-kw.h: Likewise.
9708 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9710         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9711         four values.
9713         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9714         calculation loop and add branch prediction.
9716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9717         check access beyond bounds of m1np.
9719         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9720         MPTWO.
9721         (__inv): Remove local variable MPTWO to use the global
9722         constant.
9723         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9724         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9725         variable MPTWO.
9726         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9727         MP3HALFS static const.
9729 2013-01-01  David S. Miller  <davem@davemloft.net>
9731         * po/ca.po: Update from translation team.
9733 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
9735         * scripts/update-copyrights: New file.
9736         * Makeconfig: Reformat copyright notice.
9737         * ctype/ctype.h: Likewise.
9738         * debug/swprintf_chk.c: Likewise.
9739         * elf/dl-cache.c: Likewise.
9740         * elf/dl-debug.c: Likewise.
9741         * elf/dl-object.c: Likewise.
9742         * grp/initgroups.c: Likewise.
9743         * hurd/Makefile: Likewise.
9744         * hurd/hurd/signal.h: Likewise.
9745         * hurd/hurdfault.c: Likewise.
9746         * hurd/hurdioctl.c: Likewise.
9747         * hurd/hurdlookup.c: Likewise.
9748         * hurd/intr-msg.c: Likewise.
9749         * iconv/gconv_open.c: Likewise.
9750         * libio/swprintf.c: Likewise.
9751         * locale/lc-ctype.c: Likewise.
9752         * locale/nl_langinfo.c: Likewise.
9753         * mach/Machrules: Likewise.
9754         * mach/Makefile: Likewise.
9755         * malloc/obstack.h: Likewise.
9756         * manual/Makefile: Likewise.
9757         * manual/tsort.awk: Likewise.
9758         * misc/bits/stab.def: Likewise.
9759         * nis/nis_print_group_entry.c: Likewise.
9760         * nis/nis_table.c: Likewise.
9761         * nis/nss_compat/compat-pwd.c: Likewise.
9762         * nis/nss_compat/compat-spwd.c: Likewise.
9763         * po/Makefile: Likewise.
9764         * posix/fnmatch.c: Likewise.
9765         * posix/regex.h: Likewise.
9766         * resolv/Makefile: Likewise.
9767         * resolv/nss_dns/dns-network.c: Likewise.
9768         * resolv/res_hconf.c: Likewise.
9769         * scripts/gen-sorted.awk: Likewise.
9770         * soft-fp/soft-fp.h: Likewise.
9771         * stdio-common/printf.h: Likewise.
9772         * stdlib/monetary.h: Likewise.
9773         * stdlib/random.c: Likewise.
9774         * stdlib/random_r.c: Likewise.
9775         * sysdeps/generic/Makefile: Likewise.
9776         * sysdeps/gnu/Makefile: Likewise.
9777         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9778         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9779         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9780         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9781         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9783         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9784         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9785         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9787         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9788         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9789         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9790         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9791         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9792         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9793         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9795         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9797         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9798         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9799         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9800         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9801         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9802         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9803         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9804         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9805         * sysdeps/mach/hurd/errnos.awk: Likewise.
9806         * sysdeps/mach/hurd/fork.c: Likewise.
9807         * sysdeps/mach/hurd/getcwd.c: Likewise.
9808         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9809         * sysdeps/mach/hurd/mmap.c: Likewise.
9810         * sysdeps/mach/hurd/utimes.c: Likewise.
9811         * sysdeps/mach/hurd/xmknod.c: Likewise.
9812         * sysdeps/posix/profil.c: Likewise.
9813         * sysdeps/posix/readdir_r.c: Likewise.
9814         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9815         * sysdeps/powerpc/bits/setjmp.h: Likewise.
9816         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9817         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9819         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9820         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9821         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9823         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9824         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9825         * sysdeps/pthread/lio_listio.c: Likewise.
9826         * sysdeps/sparc/dl-procinfo.h: Likewise.
9827         * sysdeps/unix/i386/sysdep.S: Likewise.
9828         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9829         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9830         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9831         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9833         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9834         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9835         * sysdeps/unix/sysv/linux/speed.c: Likewise.
9836         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9837         * sysdeps/wordsize-32/divdi3.c: Likewise.
9838         * time/sys/time.h: Likewise.
9839         * wcsmbs/Makefile: Likewise.
9841 2013-01-01  David S. Miller  <davem@davemloft.net>
9843         * po/fr.po: Update from translation team.
9845         * catgets/gencat.c: Update copyright year.
9846         * csu/version.c: Likewise.
9847         * debug/catchsegv.sh: Likewise.
9848         * debug/pcprofiledump.c: Likewise.
9849         * debug/xtrace.sh: Likewise.
9850         * elf/ldconfig.c: Likewise.
9851         * elf/ldd.bash.in: Likewise.
9852         * elf/pldd.c: Likewise.
9853         * elf/sotruss.ksh: Likewise.
9854         * elf/sprof.c: Likewise.
9855         * iconv/iconv_prog.c: Likewise.
9856         * iconv/iconvconfig.c: Likewise.
9857         * locale/programs/locale.c: Likewise.
9858         * locale/programs/localedef.c: Likewise.
9859         * login/programs/pt_chown.c: Likewise.
9860         * malloc/memusage.sh: Likewise.
9861         * malloc/memusagestat.c: Likewise.
9862         * malloc/mtrace.pl: Likewise.
9863         * nscd/nscd.c: Likewise.
9864         * nss/getent.c: Likewise.
9865         * nss/makedb.c: Likewise.
9866         * posix/getconf.c: Likewise.
9868 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9870         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9871         numbers.
9873 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
9875         * math/bits/mathcalls.h (modf): Use __nonnull.
9877 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9879         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9880         (split): Use macro CN instead of the bare value.
9881         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9882         could be used.
9883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9884         instead of the bare value.
9885         (power1): Likewise.
9887 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9889         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9890         __ATAN_TWOM.
9891         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9893         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9894         their values.
9895         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9896         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9897         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9898         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9900 2012-12-28  Andreas Jaeger  <aj@suse.de>
9902         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
9903         values are from Linux 3.7.
9905         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9906         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
9908 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9910         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9911         TRUE case.
9913         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9914         (norm): Likewise.
9915         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9916         variables with preprocessor constants.
9917         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9918         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9919         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9921 2012-12-27  Bruno Haible  <bruno@clisp.org>
9923         [BZ #14317]
9924         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9925         only if needed.
9927 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9930         and use variable directly.
9931         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9933         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9934         MPONE.
9935         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9937         variable MPONE.
9938         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9939         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9940         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9941         include directive.  Remove local variable MPONE.
9942         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9943         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9944         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9946 2012-12-25  David S. Miller  <davem@davemloft.net>
9948         * version.h (RELEASE): Set to "development".
9949         (VERSION): Set to "2.17.90".
9950         * NEWS: Add 2.18 section.
9952 2012-12-21  David S. Miller  <davem@davemloft.net>
9954         * po/hr.po: Update from translation team.
9956 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9958         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9960 2012-12-19  Steve Ellcey  <sellcey@mips.com>
9962         * NEWS:  Mention new memcpy for MIPS.
9964 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9966         * manual/contrib.texi (Contributors): Spelling correction.
9968 2012-12-15  David S. Miller  <davem@davemloft.net>
9970         * po/ru.po: Update from translation team.
9972 2012-12-13  David S. Miller  <davem@davemloft.net>
9974         * NEWS: Mention IFUNC testsuite enhancements.
9976         * po/pl.po: Update from translation team.
9977         * po/bg.po: Likewise.
9979         * manual/contrib.texi (Contributors): Update entries for Hongjiu
9980         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
9982 2012-12-11  David S. Miller  <davem@davemloft.net>
9984         * po/sv.po: Update from translation team.
9986         * po/vi.po: Update from translation team.
9988         * po/cs.po: Update from translation team.
9990         * po/de.po: Update from translation team.
9991         * po/eo.po: Likewise.
9992         * po/nl.po: Likewise.
9994 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9996         [BZ #14246]
9997         * manual/argp.texi (Argp Helper Functions): Move node to follow
9998         Argp Parsing State.
10000         [BZ #14872]
10001         * manual/conf.texi (Limits on File System Capacity): Mention if
10002         terminating null is included in the max size.
10004 2012-12-10  Andreas Jaeger  <aj@suse.de>
10006         * po/cs.po: Update from translation team.
10008 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10010         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10011         void pointer and cast to uintptr_t.
10012         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10013         path.
10014         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10015         * sysdeps/s390/s390-64/memset.S: Likewise.
10017 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10019         [BZ #14833]
10020         * menual/message.texi (Message Translation): Fix typos.
10021         (Helper programs for gettext): Likewise.
10023 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10025         [BZ #14898]
10026         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10027         Change to -1.
10029 2012-12-07  David S. Miller  <davem@davemloft.net>
10031         * po/libc.pot: Update.
10033 2012-12-07  Richard Henderson  <rth@redhat.com>
10035         [BZ #10114]
10036         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10037         normal/normal case to before the switch.
10038         (_FP_DIV): Likewise.
10040 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10041             Mike Frysinger  <vapier@gentoo.org>
10043         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10044         check for __NR_fadvise64_64.
10046 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10048         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10049         0, not just to plain "0" as a statement.
10050         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10051         with cw.
10053 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10055         * NEWS: Use sourceware.org in Bugzilla URL.
10057 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10060         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10062         * stdio-common/tst-put-error.c (do_test): Add newline to the
10063         padded test to ensure flush.
10065 2012-12-05  Jeff Law  <law@redhat.com>
10067         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10069 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10071         * README: Don't refer to ports add-on as distributed separately.
10072         Mention AArch64 in list of systems supported in the ports add-on.
10074         * LICENSES: Add more non-FSF copyright and license notices.
10076         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10077         ((unused)).
10079         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10081         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10082         10000 as width of padded output.
10084 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10086         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10088         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10089         variable LX with __attribute__ ((unused)).
10090         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10091         Likewise.
10092         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10093         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10094         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10095         with __attribute__ ((unused)).
10097 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10099         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10101 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10103         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10104         (CFLAGS-nldbl-acos.c): New variable.
10105         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10106         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10107         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10108         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10109         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10110         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10111         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10112         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10113         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10114         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10115         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10116         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10117         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10118         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10119         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10120         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10121         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10122         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10123         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10124         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10125         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10126         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10127         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10128         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10129         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10130         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10131         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10132         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10133         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10134         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10135         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10136         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10137         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10138         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10139         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10140         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10141         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10142         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10143         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10144         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10145         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10146         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10147         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10148         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10149         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10150         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10151         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10152         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10153         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10154         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10155         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10156         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10157         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10158         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10159         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10160         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10161         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10162         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10163         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10164         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10165         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10166         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10167         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10168         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10169         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10170         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10171         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10172         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10173         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10174         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10175         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10176         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10177         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10178         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10179         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10180         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10181         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10182         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10183         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10184         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10185         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10186         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10187         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10188         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10189         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10190         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10191         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10192         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10193         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10194         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10195         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10196         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10197         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10198         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10199         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10200         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10201         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10204         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10206         [BZ #14914]
10207         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10208         whole low double instead of just low 47 bits when splitting values
10209         into two parts.
10211 2012-12-03  Allan McRae  <allan@archlinux.org>
10213         * manual/stdio.texi (Predefined Printf Handlers): Remove
10214         @hsep and @vsep usage.
10216 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10218         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10219         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10221 2012-12-03  Jeff Law  <law@redhat.com>
10223         * time/sys/time.h (settimeofday): Do not mark TV argument
10224         as __nonnull.
10226 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10228         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10229         when currently writing and seek to current position when not.
10230         * libio/Makefile (tests): Remove bug-fclose1.
10231         * libio/bug-fclose1.c: Delete.
10233 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10235         * manual/arith.texi (feenableexcept): Fix typo.
10236         (fedisableexcept): Likewise.
10238 2012-11-30  Roland McGrath  <roland@hack.frob.com>
10240         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10241         second, differently-typed declaration, rather than a cast.
10243 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10245         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10246         * include/rpc/svc.h: ... here.
10248 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
10250         [BZ #13013]
10251         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10252         depending n and resplen2 to catch cases where answer
10253         equals answerp2.
10255 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
10257         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10258         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10260 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
10262         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10264 2012-11-29  Roland McGrath  <roland@hack.frob.com>
10266         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10268 2012-11-28  Jeff Law  <law@redhat.com>
10270         [BZ #13761]
10271         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10272         dataset_temporary.  Track alloca usage into alloca_used.
10273         If dataset is large allocate and release it via malloc/free.
10275 2012-06-04  Florian Weimer  <fweimer@redhat.com>
10277         [BZ #14197]
10278         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10280 2012-11-28  David S. Miller  <davem@davemloft.net>
10282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10284 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10286         [BZ #14803]
10287         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10288         of pi/2 rounded to nearest to 64 bits.
10289         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10290         nearest to 64 bits.
10291         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10292         bits.
10294 2012-11-28  Jeff Law <law@redhat.com>
10295             Martin Osvald <mosvald@redhat.com>
10297         [BZ #14889]
10298         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10299         * sunrpc/svc.c: Include time.h.
10300         (__svc_accept_failed): New function.
10301         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10302         any reason other than EINTR, call __svc_accept_failed.
10303         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10304         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10306 2012-11-28  Andreas Schwab  <schwab@suse.de>
10308         * scripts/abilist.awk: Also handle indirect functions in .opd
10309         section.
10311 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10313         [BZ #13881]
10314         * sysdeps/x86/fpu/powl_helper.c: New file.
10315         * sysdeps/x86/fpu/Makefile: Likewise.
10316         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10317         (p3): New object.
10318         (__ieee754_powl): Use __powl_helper for finite arguments except
10319         integer exponents below 8.
10320         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10321         (p3): New object.
10322         (__ieee754_powl): Use __powl_helper for finite arguments except
10323         integer exponents below 8.
10324         * math/libm-test.inc (pow_test): Add more tests and enable some
10325         previously disabled tests.
10326         * sysdeps/i386/fpu/libm-test-ulps: Update.
10327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10329 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10330             Carlos O'Donell  <carlos_odonell@mentor.com>
10332         * nss/makedb.c (is_prime): Assert that input is odd and greater
10333         than 4.  Note that fact in a comment too.
10334         (next_prime): Add 4 to input.
10336 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10338         [BZ #11741]
10339         * libio/Makefile (tests): Add test case tst-fwrite-error.
10340         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10341         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10342         * libio/tst-fwrite-error.c: New test case.
10344 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
10346         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10347         before casting to void *.
10348         * include/libc-internal.h (__pointer_type): New macro.
10349         (__integer_if_pointer_type_sub): Likewise.
10350         (__integer_if_pointer_type): Likewise.
10351         (cast_to_integer): Likewise.
10352         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10353         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10354         before casting to atomic64_t.
10355         (atomic_exchange_acq): Likewise.
10356         (__arch_exchange_and_add_body): Likewise.
10357         (__arch_add_body): Likewise.
10358         (atomic_add_negative): Likewise.
10359         (atomic_add_zero): Likewise.
10361 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
10363         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10364         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10365         (add_fdes): Likewise.
10366         (linear_search_fdes): Likewise.
10367         (binary_search_unencoded_fdes): Likewise.
10369 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
10371         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10373 2012-11-24  Adam Conrad  <adconrad@0c3.net>
10375         * configure.in: Autodetect C++ header directories.
10376         * configure: Regenerated.
10378 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
10380         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10382 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
10384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10386 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
10388         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10389         LDBL_MANT_DIG == 106]: Disable some tests.
10390         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10391         Likewise.
10392         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10393         Likewise.
10395         [BZ #14871]
10396         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10397         input for small inputs.  Return +/- pi/2 for large inputs.
10398         * math/libm-test.inc (atan_test): Add more tests.
10400         * sysdeps/generic/unwind-dw2-fde-glibc.c
10401         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10402         __attribute__ ((unused)).
10404         [BZ #14645]
10405         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10406         x * y if x and y are nonzero and z is zero.
10408         [BZ #14811]
10409         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10410         nonzero exponents with absolute value below 0x1p-117 to +/-
10411         0x1p-117.
10413         [BZ #14869]
10414         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10415         up arguments below 2**-450, not just those below 2**-500.
10416         * math/libm-test.inc (hypot_test): Add another test.
10418         [BZ #14868]
10419         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10420         Return a+b for ratio over 2**120, not 2**60.
10421         * math/libm-test.inc (hypot_test): Add another test.
10423         * math/libm-test.inc (clog_test): Use
10424         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10425         (clog10_test): Likewise.
10427         [BZ #6778]
10428         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10430 2012-11-22  Andreas Schwab  <schwab@suse.de>
10432         * sysdeps/i386/fpu/libm-test-ulps: Update.
10434 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
10436         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10437         printf output with newline.
10439 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
10441         [BZ #14865]
10442         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10443         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10444         -z nodlopen, -z initfirst and -z execstack support.
10445         * configure: Regenerated.
10447         * elf/elf.h (DF_1_NODIRECT): New macro.
10448         (DF_1_IGNMULDEF): Likewise.
10449         (DF_1_NOKSYMS): Likewise.
10450         (DF_1_NOHDR): Likewise.
10451         (DF_1_EDITED): Likewise.
10452         (DF_1_NORELOC): Likewise.
10453         (DF_1_SYMINTPOSE): Likewise.
10454         (DF_1_GLOBAUDIT): Likewise.
10455         (DF_1_SINGLETON): Likewise.
10456         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10457         DT_1_SUPPORTED_MASK bits.
10458         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10460 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
10462         * sysdeps/unix/make-syscalls.sh: Document prefixes.
10464 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
10466         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10467         macro.
10469         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10470         (sendmmsg): Move declarations...
10471         * socket/sys/socket.h: ... here.
10472         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10473         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10474         include it from...
10475         * socket/recvmmsg.c: ... this new file.
10476         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10477         (sendmmsg): Rename to __sendmmsg, create weak alias and make
10478         definition of __sendmmsg hidden.
10479         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10480         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10481         Move ENOSYS stub into and include it from...
10482         * socket/sendmmsg.c: ... this new file.
10483         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10484         (sysdep_routines): Move recvmmsg and sendmmsg...
10485         * socket/Makefile (routines): ... here.
10486         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10487         (GLIBC_PRIVATE): Add __sendmmsg.
10488         * include/sys/socket.h (__sendmmsg): Add declarations.
10489         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10490         sendmmsg.
10492 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
10494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10495         variable I1 with __attribute__ ((unused)).
10496         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10498 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10500         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10501         DUMMY variables with __attribute__ ((unused)).
10503         * bits/byteswap.h: Include <bits/types.h>.
10504         (__bswap_64): Use __uint64_t instead of unsigned long long int.
10506 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10508         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10509         string_t.  Do not manually set errno.
10510         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10511         length with __strnlen.  Make sure to both set errno and return it on
10512         failure.
10514 2012-11-19  David S. Miller  <davem@davemloft.net>
10516         With help from Joseph Myers.
10517         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10518         very large arguments properly.
10519         * math/libm-test.inc (atan_test): New tests.
10520         (atan2_test): New tests.
10521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10524 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10526         [BZ #14856]
10527         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10528         Define to 3.
10530         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10531         [POSIX] (EADDRNOTAVAIL): Likewise.
10532         [POSIX] (EAFNOSUPPORT): Likewise.
10533         [POSIX] (EALREADY): Likewise.
10534         [POSIX] (ECONNABORTED): Likewise.
10535         [POSIX] (ECONNREFUSED): Likewise.
10536         [POSIX] (ECONNRESET): Likewise.
10537         [POSIX] (EDESTADDRREQ): Likewise.
10538         [POSIX] (EDQUOT): Likewise.
10539         [POSIX] (EHOSTUNREACH): Likewise.
10540         [POSIX] (EIDRM): Likewise.
10541         [POSIX] (EISCONN): Likewise.
10542         [POSIX] (ELOOP): Likewise.
10543         [POSIX] (EMULTIHOP): Likewise.
10544         [POSIX] (ENETDOWN): Likewise.
10545         [POSIX] (ENETUNREACH): Likewise.
10546         [POSIX] (ENOBUFS): Likewise.
10547         [POSIX] (ENODATA): Likewise.
10548         [POSIX] (ENOLINK): Likewise.
10549         [POSIX] (ENOMSG): Likewise.
10550         [POSIX] (ENOPROTOOPT): Likewise.
10551         [POSIX] (ENOSR): Likewise.
10552         [POSIX] (ENOSTR): Likewise.
10553         [POSIX] (ENOTCONN): Likewise.
10554         [POSIX] (ENOTSOCK): Likewise.
10555         [POSIX] (EOPNOTSUPP): Likewise.
10556         [POSIX] (EOVERFLOW): Likewise.
10557         [POSIX] (EPROTO): Likewise.
10558         [POSIX] (EPROTONOSUPPORT): Likewise.
10559         [POSIX] (EPROTOTYPE): Likewise.
10560         [POSIX] (ESTALE): Likewise.
10561         [POSIX] (ETIME): Likewise.
10562         [POSIX] (ETXTBSY): Likewise.
10563         [POSIX] (EWOULDBLOCK): Likewise.
10564         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10565         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10566         [POSIX] (SEEK_CUR): Likewise.
10567         [POSIX] (SEEK_END): Likewise.
10568         [POSIX || UNIX98] (mode_t): Do not require.
10569         [POSIX] (off_t): Likewise.
10570         [POSIX] (pid_t): Likewise.
10571         [POSIX] (sys/stat.h): Do not allow header.
10572         [POSIX] (unistd.h): Likewise.
10573         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10574         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10575         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10576         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10577         require.
10578         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10579         sigevent): Specify elements.
10580         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10581         entry.
10582         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10583         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10585         * conform/data/cpio.h-data [POSIX]: Disable whole file.
10586         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10587         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10588         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10589         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10590         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10591         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10592         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10593         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10594         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10595         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10596         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10597         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10598         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10599         Likewise.
10600         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10601         Likewise.
10602         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10603         Likewise.
10604         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10605         Likewise.
10606         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10607         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10608         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10609         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10610         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10611         Specify lower bound on value.
10612         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10613         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10614         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10615         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10616         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10617         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10618         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10619         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10620         value.
10621         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10622         as optional.
10623         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10624         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10625         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10626         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10627         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10628         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10629         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10630         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10631         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10632         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10633         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10634         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10635         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10636         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10637         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10638         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10639         entry.
10640         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10641         optional.
10642         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10643         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10644         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10645         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10646         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10647         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10648         Likewise.
10649         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10650         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10651         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10652         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10653         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
10654         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10655         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10656         as optional.
10657         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10658         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10659         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10660         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10661         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10662         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10663         specify as optional.
10664         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10665         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10666         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10667         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10668         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10669         [XPG3] (NL_LANGMAX): Likewise.
10670         [POSIX || XPG3] (NL_MSGMAX): Likewise.
10671         [POSIX || XPG3] (NL_NMAX): Likewise.
10672         [POSIX || XPG3] (NL_SETMAX): Likewise.
10673         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10674         [XPG3] (NZERO): Likewise.
10675         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10676         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10677         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10678         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10679         (REG_ERANGE): Expect.
10680         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10681         optional-constant.
10682         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10683         Use (void) in prototype.
10684         [POSIX] (*_t): Allow.
10685         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10686         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10687         (WRDE_BADVAL): Expect.
10689         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10690         expect.
10691         [XPG3 || XPG4] (O_RSYNC): Likewise.
10692         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10693         Likewise.
10694         [XPG3 || XPG4] (pthread_sigmask): Likewise.
10695         [XPG3 || XPG4] (sigqueue): Likewise.
10696         [XPG3 || XPG4] (sigtimedwait): Likewise.
10697         [XPG3 || XPG4] (sigwaitinfo): Likewise.
10698         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10699         [XPG3 || XPG4] (vsnprintf): Likewise.
10700         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10701         Likewise.
10702         [XPG3 || XPG4] (blksize_t): Likewise.
10703         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10704         Likewise.
10705         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10706         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10707         [XPG3 || XPG4] (struct itimerspec): Likewise.
10708         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10709         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10710         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10711         [XPG3 || XPG4] (clockid_t): Likewise.
10712         [XPG3 || XPG4] (timer_t): Likewise.
10713         [XPG3 || XPG4] (clock_getres): Likewise.
10714         [XPG3 || XPG4] (clock_gettime): Likewise.
10715         [XPG3 || XPG4] (clock_settime): Likewise.
10716         [XPG3 || XPG4] (nanosleep): Likewise.
10717         [XPG3 || XPG4] (timer_create): Likewise.
10718         [XPG3 || XPG4] (timer_delete): Likewise.
10719         [XPG3 || XPG4] (timer_gettime): Likewise.
10720         [XPG3 || XPG4] (timer_getoverrun): Likewise.
10721         [XPG3 || XPG4] (timer_settime): Likewise.
10722         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10723         [XPG3 || XPG4] (getlogin_r): Likewise.
10724         [XPG3 || XPG4] (pread): Likewise.
10725         [XPG3 || XPG4] (pthread_atfork): Likewise.
10726         [XPG3 || XPG4] (pwrite): Likewise.
10728         [BZ #14835]
10729         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10730         <bits/siginfo.h>.
10732 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10734         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10735         finalizing MALLSTREAM.
10737         * sysdeps/mach/hurd/syncfs.c: New file.
10739 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10741         [BZ #14719]
10742         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10743         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10744         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10745         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10746         (_nss_dns_gethostbyname4_r): Likewise.
10747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10748         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10750 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
10752         [BZ #13763]
10753         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10755 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
10757         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10758         * elf/cache.c (print_entry): Print ",AArch64" for
10759         FLAG_AARCH64_LIB64
10761         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10762         * elf/cache.c (print_entry): Print ",hard-float" for
10763         FLAG_ARM_LIBHF.
10765 2012-11-18  David S. Miller  <davem@davemloft.net>
10767         With help from Joseph Myers.
10768         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10769         cutoff to 2**-13.
10770         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10771         cutoff to 2**-25.
10772         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10773         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10774         small.
10775         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10776         * math/libm-test.inc (y0_test): New tests.
10777         (y1_test): New tests.
10778         * sysdeps/i386/fpu/libm-test-ulps: Update.
10779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10782 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
10784         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10785         64-bit targets.
10786         * configure: Regenerated.
10788 2012-11-17  David S. Miller  <davem@davemloft.net>
10790         [BZ #14811]
10791         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10792         nonzero exponents with absolute value below 0x1p-128 to +/-
10793         0x1p-128.
10795 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
10797         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10799         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10801         * posix/getconf-speclist.c: New file.
10802         * posix/posix-envs.def: Likewise.
10803         * posix/confstr.c (START_ENV_GROUP): New macro.
10804         (END_ENV_GROUP): Likewise.
10805         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10806         (KNOWN_PRESENT_ENV_STRING): Likewise.
10807         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10808         (UNKNOWN_ENVIRONMENT): Likewise.
10809         (confstr): Include posix-envs.def instead of handling
10810         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10811         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10812         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10813         (END_ENV_GROUP): Likewise.
10814         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10815         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10816         (UNKNOWN_ENVIRONMENT): Likewise.
10817         (__sysconf): Include posix-envs.def instead of handling associated
10818         cases directly here.
10819         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10820         preprocessing getconf-speclist.c rather than running getconf or
10821         generating empty file.
10823 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
10825         * scripts/check-local-headers.sh: Ignore 'mach' headers.
10827 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
10829         [BZ #14672]
10830         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10832 2012-11-16  David S. Miller  <davem@davemloft.net>
10834         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10835         smaller than LDBL_EPSILON/2.0L, just return xm1.
10837 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
10839         * elf/tst-array1.c (init): Set constructor priority to 1000.
10840         (fini): Set destructor priority to 1000.
10841         * elf/tst-array2dep.c: Likewise.
10843 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10845         [BZ #11741]
10846         * libio/fileops.c (_IO_new_file_write): Correctly return error.
10847         (_IO_new_file_xsputn): Also return EOF if none of the input
10848         data was written when overflow failed.
10849         * libio/iopadn.c (_IO_padn): Likewise.
10850         * libio/iowpadn.c (_IO_wpadn): Likewise.
10851         * stdio-common/tst-put-error.c: Add copyright notice.
10852         (do_test): Add case for printing padded string.
10853         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10854         _IO_padn returned error.
10855         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10856         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10857         return EOF.
10859 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10861         * libio/libioP.h: Add comment note that the references to C++
10862         bits are now obsolete.
10864 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10866         * math/libm-test.inc (check_complex): Use asprintf.
10868 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
10870         * debug/pcprofiledump.c (print_version): Update copyright year.
10871         * malloc/memusagestat.c (print_version): Likewise.
10873 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10875         [BZ #14831]
10876         * elf/Makefile (tests): Add tst-audit8.
10877         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10878         ($(objpfx)tst-audit8.out): New target.
10879         (tst-audit8-ENV): New variable.
10880         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10881         audit if l_reloc_result is NULL.
10882         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10883         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10884         * elf/tst-audit8.c: New file.
10886 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10888         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10889         * misc/Makefile (CFLAGS-select.c): Define.
10890         * posix/Makefile (CFLAGS-pause.c): Define.
10892 2012-11-13  David S. Miller  <davem@davemloft.net>
10894         * crypt/Makefile: Move test targets after toplevel Rules
10895         inclusion.  Grab any necessary sysdep routines when linking.
10896         * crypt/md5.c (md5_process_block): Remove define, we will always
10897         name it __md5_process_block.
10898         (md5_finish_ctx): Update md5_process_block call.
10899         (md5_stream): Likewise.
10900         (md5_process_bytes): Likewise.
10901         (md5_process_block): Rename to __md5_process_block and move to ...
10902         * crypt/md5-block.c: ... here.
10903         * crypt/sha256.c (sha256_process_block): Move to ...
10904         * crypt/sha256-block.c: ... here.
10905         * crypt/sha512.c (sha512_process_block): Move to ...
10906         * crypt/sha512-block.c: ... here.
10907         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10908         path.
10909         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10910         * sysdeps/sparc/sparc64/multiarch/Makefile
10911         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10912         crypt subdir.
10913         (localedef-aux): Add md5 crypto assembler when in locale subdir.
10914         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10915         multiarch changes.
10916         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10917         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10918         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10919         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10920         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10921         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10922         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10923         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10924         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10925         file.
10926         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10927         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10928         file.
10929         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10931 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
10933         * timezone/tzselect.ksh: Update from tzcode git revision
10934         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10935         * timezone/zdump.c: Likewise.
10936         * timezone/zic.c: Likewise.
10937         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10938         in TZVERSION setting, not $(PKGVERSION).
10939         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
10940         REPORT_BUGS_TO settings.
10942         [BZ #14838]
10943         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10944         macro.
10946 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10948         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10949         detection to immediately after _FP_ROUND().
10950         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10951         bits are 0.
10953 2012-11-11  David S. Miller  <davem@davemloft.net>
10955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10956         inttypes.h
10957         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10958         __close rather than their public counterparts.
10960 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
10962         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10963         file.
10964         [UNIX98] (sem_timedwait): Do not expect.
10965         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10966         [XPG4 || UNIX98] (sockatmark): Do not expect.
10967         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10968         (clock_getcpuclockid): Do not expect.
10969         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10970         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10971         Do not expect.
10972         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10973         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10974         [UNIX98] (vwscanf): Likewise.
10975         [UNIX98] (vswscanf): Likewise.
10977 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
10979         * timezone/version.h: Remove file.
10980         * timezone/README: Do not refer to version.h.
10981         * timezone/Makefile ($(objpfx)zic.o): New dependency on
10982         $(objpfx)version.h.
10983         ($(objpfx)zdump.o): Likewise.
10984         ($(objpfx)version.h): New target.
10986         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10987         2012i.
10988         * timezone/README: Don't mention modification to tzselect.ksh.
10989         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10990         work on unmodified tzselect.ksh.  Substitute version numbers in
10991         tzselect.ksh.
10993         * Makefile (format-me): Remove.
10994         (INSTALL): Adjust indentation.  Use commands directly instead of
10995         using $(format-me).
10997         * aclocal.m4 (ACX_PKGVERSION): New macro.
10998         (ACX_BUGURL): Likewise.
10999         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11000         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11001         (REPORT_BUGS_TO): Likewise.
11002         * configure: Regenerated.
11003         * config.h.in (PKGVERSION): New macro.
11004         (REPORT_BUGS_TO): Likewise.
11005         * config.make.in (PKGVERSION): New variable.
11006         (PKGVERSION_TEXI): Likewise.
11007         (REPORT_BUGS_TO): Likewise.
11008         (REPORT_BUGS_TEXI): Likewise.
11009         * Makefile (format-me): Use -I$(common-objpfx)manual.
11010         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11011         ($(common-objpfx)manual/%): New target.
11012         (manual/%): Remove target.
11013         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11014         (print_version): Use PKGVERSION.
11015         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11016         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11017         and REPORT_BUGS_TO.
11018         ($(objpfx)xtrace): Likewise.
11019         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11020         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11021         (print_version): Use PKGVERSION.
11022         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11023         (do_version): Use PKGVERSION.
11024         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11025         REPORT_BUGS_TO.
11026         (common-ldd-rewrite): Likewise.
11027         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11028         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11029         (print_version): Use PKGVERSION.
11030         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11031         * elf/pldd.c (argp_program_bug_address): Remove variable.
11032         (more_help): New function.
11033         (argp): Use more_help.
11034         (print_version): Use PKGVERSION.
11035         * elf/sln.c (main): Use PKGVERSION.
11036         (usage): Use REPORT_BUGS_TO.
11037         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11038         (top level): Use PKGVERSION.
11039         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11040         (print_version): Use PKGVERSION.
11041         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11042         (print_version): Use PKGVERSION.
11043         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11044         (print_version): Use PKGVERSION.
11045         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11046         (print_version): Use PKGVERSION.
11047         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11048         (print_version): Use PKGVERSION.
11049         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11050         (print_version): Use PKGVERSION.
11051         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11052         and BUGURL.
11053         ($(objpfx)memusage): Likewise.
11054         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11055         (do_version): Use PKGVERSION.
11056         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11057         (print_version): Use PKGVERSION.
11058         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11059         ($PKGVERSION): New variable.
11060         ($REPORT_BUGS_TO): Likewise.
11061         (usage): Use $REPORT_BUGS_TO.
11062         (top level): Use $PKGVERSION.
11063         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11064         ($(objpfx)pkgvers.texi): New rule.
11065         ($(objpfx)stamp-pkgvers): Likewise.
11066         * manual/install.texi: Include pkgvers.texi.
11067         (--with-pkgversion): Document new configure option.
11068         (--with-bugurl): Likewise.
11069         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11070         than necessarily for this particular distribution.  Use
11071         REPORT_BUGS_TO for where to report bugs.
11072         * INSTALL: Regenerated.
11073         * manual/libc.texinfo: Include pkgvers.texi.
11074         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11075         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11076         (print_version): Use PKGVERSION.
11077         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11078         (print_version): Use PKGVERSION.
11079         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11080         (print_version): Use PKGVERSION.
11081         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11082         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11083         macro.
11084         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11085         (print_version): Use PKGVERSION.
11086         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11087         (print_version): Use PKGVERSION.
11088         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11089         and PKGVERSION.
11091         * timezone/checktab.awk: Update from tzcode 2012i.
11092         * timezone/ialloc.c: Likewise.
11093         * timezone/private.h: Likewise.
11094         * timezone/scheck.c: Likewise.
11095         * timezone/tzfile.h: Likewise.
11096         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11097         (TZVERSION): Hardcode tzcode version number.
11098         * timezone/zdump.c: Update from tzcode 2012i.
11099         * timezone/zic.c: Likewise.
11100         * timezone/version.h: New file.
11101         * timezone/README: Describe version.h.  Update upstream location.
11103         [BZ #14824]
11104         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11105         (mktemp): Enable declaration.
11106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11107         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11110         Likewise.
11111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11112         Likewise.
11113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11114         Likewise.
11115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11116         Likewise.
11117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11118         Likewise.
11119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11120         Likewise.
11122         [BZ #14821]
11123         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11124         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11125         for copies of such integer values.
11126         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11127         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11129 2012-11-09  Andreas Jaeger  <aj@suse.de>
11131         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11132         definitions and declarations that are provided by
11133         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11135 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11137         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11138         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11139         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11140         definition.
11142 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11144         * elf/elf.h: Update comment before AArch64 relocations.
11146 2012-11-07  David S. Miller  <davem@davemloft.net>
11148         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11149         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11150         (__start_context): Declare.
11151         (__makecontext_ret): Delete.
11152         (__makecontext): Hook up __start_context instead of
11153         __makecontext_ret.
11154         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11155         (sysdep_routines): Add __start_context when in stdlib.
11157 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11159         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11160         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11161         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
11162         hardcoded "nm".
11163         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
11164         (READELF): New variable.  Use it instead of hardcoded "readelf".
11166 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11168         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11169         * sysdeps/x86/Makefile: Here.
11170         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11171         * sysdeps/x86/tst-xmmymm.sh: This.
11173 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11175         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11176         expectations.
11177         [UNIX98] (pthread_barrier_t): Do not expect.
11178         [UNIX98] (pthread_barrierattr_t): Likewise.
11179         [UNIX98] (pthread_spinlock_t): Likewise.
11180         [UNIX98] (pthread_barrier_destroy): Likewise.
11181         [UNIX98] (pthread_barrier_init): Likewise.
11182         [UNIX98] (pthread_barrier_wait): Likewise.
11183         [UNIX98] (pthread_barrierattr_destroy): Likewise.
11184         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11185         [UNIX98] (pthread_barrierattr_init): Likewise.
11186         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11187         [UNIX98] (pthread_getcpuclockid): Likewise.
11188         [UNIX98] (pthread_mutex_timedlock): Likewise.
11189         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11190         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11191         [UNIX98] (pthread_sigmask): Likewise.
11192         [UNIX98] (pthread_spin_destroy): Likewise.
11193         [UNIX98] (pthread_spin_init): Likewise.
11194         [UNIX98] (pthread_spin_lock): Likewise.
11195         [UNIX98] (pthread_spin_trylock): Likewise.
11196         [UNIX98] (pthread_spin_unlock): Likewise.
11197         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11198         Do not expect.
11199         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11200         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11201         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11202         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11203         [XPG3 || XPG4] (pthread_key_t): Likewise.
11204         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11205         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11206         [XPG3 || XPG4] (pthread_once_t): Likewise.
11207         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11208         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11209         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11210         [XPG3 || XPG4] (pthread_t): Likewise.
11212         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11213         not expect.
11214         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11216         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11217         Change function return type to int.
11219         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11220         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11221         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11222         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11223         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11224         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11225         [!POSIX] (posix_madvise): Likewise.
11226         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11227         && !UNIX98].
11228         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11229         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11230         (mode_t): Likewise.
11231         (posix_mem_offset): Likewise.
11232         (posix_typed_mem_get_info): Likewise.
11233         (posix_typed_mem_open): Likewise.
11235         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11236         Change condition to [XOPEN2K8].
11238         * conform/conformtest.pl: Preprocess allow-header data with -x c
11239         instead of from stdin.
11240         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11241         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11242         [C99-based standards] (cerfc): Likewise.
11243         [C99-based standards] (cexp2): Likewise.
11244         [C99-based standards] (cexpm1): Likewise.
11245         [C99-based standards] (clog10): Likewise.
11246         [C99-based standards] (clog1p): Likewise.
11247         [C99-based standards] (clog2): Likewise.
11248         [C99-based standards] (clgamma): Likewise.
11249         [C99-based standards] (ctgamma): Likewise.
11250         [C99-based standards] (cerff): Likewise.
11251         [C99-based standards] (cerfcf): Likewise.
11252         [C99-based standards] (cexp2f): Likewise.
11253         [C99-based standards] (cexpm1f): Likewise.
11254         [C99-based standards] (clog10f): Likewise.
11255         [C99-based standards] (clog1pf): Likewise.
11256         [C99-based standards] (clog2f): Likewise.
11257         [C99-based standards] (clgammaf): Likewise.
11258         [C99-based standards] (ctgammaf): Likewise.
11259         [C99-based standards] (cerfl): Likewise.
11260         [C99-based standards] (cerfcl): Likewise.
11261         [C99-based standards] (cexp2l): Likewise.
11262         [C99-based standards] (cexpm1l): Likewise.
11263         [C99-based standards] (clog10l): Likewise.
11264         [C99-based standards] (clog1pl): Likewise.
11265         [C99-based standards] (clog2l): Likewise.
11266         [C99-based standards] (clgammal): Likewise.
11267         [C99-based standards] (ctgammal): Likewise.
11268         * conform/data/inttypes.h-data [C99-based standards]: Include
11269         stdint.h-data.  Remove all expectations for stdint.h contents.
11270         [C99-based standards] (PRI*): Do not allow.
11271         [C99-based standards] (SCN*): Likewise.
11272         [C99-based standards] (*_t): Likewise.
11273         [C99-based-standards] (PRId8): Expect macro.
11274         [C99-based-standards] (PRIi8): Likewise.
11275         [C99-based-standards] (PRIo8): Likewise.
11276         [C99-based-standards] (PRIu8): Likewise.
11277         [C99-based-standards] (PRIx8): Likewise.
11278         [C99-based-standards] (PRIX8): Likewise.
11279         [C99-based-standards] (SCNd8): Likewise.
11280         [C99-based-standards] (SCNi8): Likewise.
11281         [C99-based-standards] (SCNo8): Likewise.
11282         [C99-based-standards] (SCNu8): Likewise.
11283         [C99-based-standards] (SCNx8): Likewise.
11284         [C99-based-standards] (PRIdLEAST8): Likewise.
11285         [C99-based-standards] (PRIiLEAST8): Likewise.
11286         [C99-based-standards] (PRIoLEAST8): Likewise.
11287         [C99-based-standards] (PRIuLEAST8): Likewise.
11288         [C99-based-standards] (PRIxLEAST8): Likewise.
11289         [C99-based-standards] (PRIXLEAST8): Likewise.
11290         [C99-based-standards] (SCNdLEAST8): Likewise.
11291         [C99-based-standards] (SCNiLEAST8): Likewise.
11292         [C99-based-standards] (SCNoLEAST8): Likewise.
11293         [C99-based-standards] (SCNuLEAST8): Likewise.
11294         [C99-based-standards] (SCNxLEAST8): Likewise.
11295         [C99-based-standards] (PRIdFAST8): Likewise.
11296         [C99-based-standards] (PRIiFAST8): Likewise.
11297         [C99-based-standards] (PRIoFAST8): Likewise.
11298         [C99-based-standards] (PRIuFAST8): Likewise.
11299         [C99-based-standards] (PRIxFAST8): Likewise.
11300         [C99-based-standards] (PRIXFAST8): Likewise.
11301         [C99-based-standards] (SCNdFAST8): Likewise.
11302         [C99-based-standards] (SCNiFAST8): Likewise.
11303         [C99-based-standards] (SCNoFAST8): Likewise.
11304         [C99-based-standards] (SCNuFAST8): Likewise.
11305         [C99-based-standards] (SCNxFAST8): Likewise.
11306         [C99-based-standards] (PRId16): Likewise.
11307         [C99-based-standards] (PRIi16): Likewise.
11308         [C99-based-standards] (PRIo16): Likewise.
11309         [C99-based-standards] (PRIu16): Likewise.
11310         [C99-based-standards] (PRIx16): Likewise.
11311         [C99-based-standards] (PRIX16): Likewise.
11312         [C99-based-standards] (SCNd16): Likewise.
11313         [C99-based-standards] (SCNi16): Likewise.
11314         [C99-based-standards] (SCNo16): Likewise.
11315         [C99-based-standards] (SCNu16): Likewise.
11316         [C99-based-standards] (SCNx16): Likewise.
11317         [C99-based-standards] (PRIdLEAST16): Likewise.
11318         [C99-based-standards] (PRIiLEAST16): Likewise.
11319         [C99-based-standards] (PRIoLEAST16): Likewise.
11320         [C99-based-standards] (PRIuLEAST16): Likewise.
11321         [C99-based-standards] (PRIxLEAST16): Likewise.
11322         [C99-based-standards] (PRIXLEAST16): Likewise.
11323         [C99-based-standards] (SCNdLEAST16): Likewise.
11324         [C99-based-standards] (SCNiLEAST16): Likewise.
11325         [C99-based-standards] (SCNoLEAST16): Likewise.
11326         [C99-based-standards] (SCNuLEAST16): Likewise.
11327         [C99-based-standards] (SCNxLEAST16): Likewise.
11328         [C99-based-standards] (PRIdFAST16): Likewise.
11329         [C99-based-standards] (PRIiFAST16): Likewise.
11330         [C99-based-standards] (PRIoFAST16): Likewise.
11331         [C99-based-standards] (PRIuFAST16): Likewise.
11332         [C99-based-standards] (PRIxFAST16): Likewise.
11333         [C99-based-standards] (PRIXFAST16): Likewise.
11334         [C99-based-standards] (SCNdFAST16): Likewise.
11335         [C99-based-standards] (SCNiFAST16): Likewise.
11336         [C99-based-standards] (SCNoFAST16): Likewise.
11337         [C99-based-standards] (SCNuFAST16): Likewise.
11338         [C99-based-standards] (SCNxFAST16): Likewise.
11339         [C99-based-standards] (PRId32): Likewise.
11340         [C99-based-standards] (PRIi32): Likewise.
11341         [C99-based-standards] (PRIo32): Likewise.
11342         [C99-based-standards] (PRIu32): Likewise.
11343         [C99-based-standards] (PRIx32): Likewise.
11344         [C99-based-standards] (PRIX32): Likewise.
11345         [C99-based-standards] (SCNd32): Likewise.
11346         [C99-based-standards] (SCNi32): Likewise.
11347         [C99-based-standards] (SCNo32): Likewise.
11348         [C99-based-standards] (SCNu32): Likewise.
11349         [C99-based-standards] (SCNx32): Likewise.
11350         [C99-based-standards] (PRIdLEAST32): Likewise.
11351         [C99-based-standards] (PRIiLEAST32): Likewise.
11352         [C99-based-standards] (PRIoLEAST32): Likewise.
11353         [C99-based-standards] (PRIuLEAST32): Likewise.
11354         [C99-based-standards] (PRIxLEAST32): Likewise.
11355         [C99-based-standards] (PRIXLEAST32): Likewise.
11356         [C99-based-standards] (SCNdLEAST32): Likewise.
11357         [C99-based-standards] (SCNiLEAST32): Likewise.
11358         [C99-based-standards] (SCNoLEAST32): Likewise.
11359         [C99-based-standards] (SCNuLEAST32): Likewise.
11360         [C99-based-standards] (SCNxLEAST32): Likewise.
11361         [C99-based-standards] (PRIdFAST32): Likewise.
11362         [C99-based-standards] (PRIiFAST32): Likewise.
11363         [C99-based-standards] (PRIoFAST32): Likewise.
11364         [C99-based-standards] (PRIuFAST32): Likewise.
11365         [C99-based-standards] (PRIxFAST32): Likewise.
11366         [C99-based-standards] (PRIXFAST32): Likewise.
11367         [C99-based-standards] (SCNdFAST32): Likewise.
11368         [C99-based-standards] (SCNiFAST32): Likewise.
11369         [C99-based-standards] (SCNoFAST32): Likewise.
11370         [C99-based-standards] (SCNuFAST32): Likewise.
11371         [C99-based-standards] (SCNxFAST32): Likewise.
11372         [C99-based-standards] (PRId64): Likewise.
11373         [C99-based-standards] (PRIi64): Likewise.
11374         [C99-based-standards] (PRIo64): Likewise.
11375         [C99-based-standards] (PRIu64): Likewise.
11376         [C99-based-standards] (PRIx64): Likewise.
11377         [C99-based-standards] (PRIX64): Likewise.
11378         [C99-based-standards] (SCNd64): Likewise.
11379         [C99-based-standards] (SCNi64): Likewise.
11380         [C99-based-standards] (SCNo64): Likewise.
11381         [C99-based-standards] (SCNu64): Likewise.
11382         [C99-based-standards] (SCNx64): Likewise.
11383         [C99-based-standards] (PRIdLEAST64): Likewise.
11384         [C99-based-standards] (PRIiLEAST64): Likewise.
11385         [C99-based-standards] (PRIoLEAST64): Likewise.
11386         [C99-based-standards] (PRIuLEAST64): Likewise.
11387         [C99-based-standards] (PRIxLEAST64): Likewise.
11388         [C99-based-standards] (PRIXLEAST64): Likewise.
11389         [C99-based-standards] (SCNdLEAST64): Likewise.
11390         [C99-based-standards] (SCNiLEAST64): Likewise.
11391         [C99-based-standards] (SCNoLEAST64): Likewise.
11392         [C99-based-standards] (SCNuLEAST64): Likewise.
11393         [C99-based-standards] (SCNxLEAST64): Likewise.
11394         [C99-based-standards] (PRIdFAST64): Likewise.
11395         [C99-based-standards] (PRIiFAST64): Likewise.
11396         [C99-based-standards] (PRIoFAST64): Likewise.
11397         [C99-based-standards] (PRIuFAST64): Likewise.
11398         [C99-based-standards] (PRIxFAST64): Likewise.
11399         [C99-based-standards] (PRIXFAST64): Likewise.
11400         [C99-based-standards] (SCNdFAST64): Likewise.
11401         [C99-based-standards] (SCNiFAST64): Likewise.
11402         [C99-based-standards] (SCNoFAST64): Likewise.
11403         [C99-based-standards] (SCNuFAST64): Likewise.
11404         [C99-based-standards] (SCNxFAST64): Likewise.
11405         [C99-based-standards] (PRIdMAX): Likewise.
11406         [C99-based-standards] (PRIiMAX): Likewise.
11407         [C99-based-standards] (PRIoMAX): Likewise.
11408         [C99-based-standards] (PRIuMAX): Likewise.
11409         [C99-based-standards] (PRIxMAX): Likewise.
11410         [C99-based-standards] (PRIXMAX): Likewise.
11411         [C99-based-standards] (SCNdMAX): Likewise.
11412         [C99-based-standards] (SCNiMAX): Likewise.
11413         [C99-based-standards] (SCNoMAX): Likewise.
11414         [C99-based-standards] (SCNuMAX): Likewise.
11415         [C99-based-standards] (SCNxMAX): Likewise.
11416         [C99-based-standards] (PRIdPTR): Likewise.
11417         [C99-based-standards] (PRIiPTR): Likewise.
11418         [C99-based-standards] (PRIoPTR): Likewise.
11419         [C99-based-standards] (PRIuPTR): Likewise.
11420         [C99-based-standards] (PRIxPTR): Likewise.
11421         [C99-based-standards] (PRIXPTR): Likewise.
11422         [C99-based-standards] (SCNdPTR): Likewise.
11423         [C99-based-standards] (SCNiPTR): Likewise.
11424         [C99-based-standards] (SCNoPTR): Likewise.
11425         [C99-based-standards] (SCNuPTR): Likewise.
11426         [C99-based-standards] (SCNxPTR): Likewise.
11427         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11428         allow.
11429         * conform/data/stdint.h-data: Update comments to clarify
11430         requirements.
11431         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
11432         type.
11433         [C99-based standards] (INT8_MAX): Likewise.
11434         [C99-based standards] (INT16_MIN): Likewise.
11435         [C99-based standards] (INT16_MAX): Likewise.
11436         [C99-based standards] (INT32_MIN): Likewise.
11437         [C99-based standards] (INT32_MAX): Likewise.
11438         [C99-based standards] (INT64_MIN): Likewise.
11439         [C99-based standards] (INT64_MAX): Likewise.
11440         [C99-based standards] (UINT8_MAX): Likewise.
11441         [C99-based standards] (UINT16_MAX): Likewise.
11442         [C99-based standards] (UINT32_MAX): Likewise.
11443         [C99-based standards] (UINT64_MAX): Likewise.
11444         [C99-based standards] (INT_LEAST8_MIN): Likewise.
11445         [C99-based standards] (INT_LEAST8_MAX): Likewise.
11446         [C99-based standards] (INT_LEAST16_MIN): Likewise.
11447         [C99-based standards] (INT_LEAST16_MAX): Likewise.
11448         [C99-based standards] (INT_LEAST32_MIN): Likewise.
11449         [C99-based standards] (INT_LEAST32_MAX): Likewise.
11450         [C99-based standards] (INT_LEAST64_MIN): Likewise.
11451         [C99-based standards] (INT_LEAST64_MAX): Likewise.
11452         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11453         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11454         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11455         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11456         [C99-based standards] (INT_FAST8_MIN): Likewise.
11457         [C99-based standards] (INT_FAST8_MAX): Likewise.
11458         [C99-based standards] (INT_FAST16_MIN): Likewise.
11459         [C99-based standards] (INT_FAST16_MAX): Likewise.
11460         [C99-based standards] (INT_FAST32_MIN): Likewise.
11461         [C99-based standards] (INT_FAST32_MAX): Likewise.
11462         [C99-based standards] (INT_FAST64_MIN): Likewise.
11463         [C99-based standards] (INT_FAST64_MAX): Likewise.
11464         [C99-based standards] (UINT_FAST8_MAX): Likewise.
11465         [C99-based standards] (UINT_FAST16_MAX): Likewise.
11466         [C99-based standards] (UINT_FAST32_MAX): Likewise.
11467         [C99-based standards] (UINT_FAST64_MAX): Likewise.
11468         [C99-based standards] (INTPTR_MIN): Likewise.
11469         [C99-based standards] (INTPTR_MAX): Likewise.
11470         [C99-based standards] (UINTPTR_MAX): Likewise.
11471         [C99-based standards] (INTMAX_MIN): Likewise.
11472         [C99-based standards] (INTMAX_MAX): Likewise.
11473         [C99-based standards] (UINTMAX_MAX): Likewise.
11474         [C99-based standards] (PTRDIFF_MIN): Likewise.
11475         [C99-based standards] (PTRDIFF_MAX): Likewise.
11476         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11477         [C99-based standards] (SIZE_MAX): Likewise.
11478         [C99-based standards] (WCHAR_MAX): Likewise.
11479         [C99-based standards] (WINT_MAX): Likewise.
11480         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
11481         constraint on value.
11482         [C99-based standards] (WCHAR_MIN): Likewise.
11483         [C99-based standards] (WINT_MIN): Likewise.
11484         [C99-based standards] (*_t): Allow.
11485         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11486         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11487         Include math.h-data and complex.h-data.  Remove all expectations
11488         of math.h and complex.h contents.
11489         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11490         at end of line.
11491         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11492         (struct tm): Expect tag.
11493         [C99-based-standards] (wcstof): Expect function.
11494         [C99-based-standards] (wcstold): Likewise.
11495         [C99-based-standards] (wcstoll): Likewise.
11496         [C99-based-standards] (wcstoull): Likewise.
11497         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11498         macro-int-constant.  Specify type.
11499         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
11500         constraint on value.
11501         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11502         Specify type.
11503         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11504         Specify value.
11505         [ISO C standards]: Do not allow headers.
11506         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11507         wcs[abcdefghijklmnopqrstuvwxyz]*.
11508         [ISO C standards] (*_t): Do not allow.
11509         * conform/data/wctype.h-data [C99-based standards] (iswblank):
11510         Expect function.
11511         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11512         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11513         Specify type.
11514         [ISO C standards]: Do not allow headers.
11515         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11516         is[abcdefghijklmnopqrstuvwxyz]*.
11517         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11518         to[abcdefghijklmnopqrstuvwxyz]*.
11519         [ISO C standards] (*_t): Do not allow.
11520         * conform/data/stdalign.h-data: New file.
11521         * conform/data/stdbool.h-data: Likewise.
11522         * conform/data/stdnoreturn.h-data: Likewise.
11524 2012-11-07  Roland McGrath  <roland@hack.frob.com>
11526         [BZ #14815]
11527         * manual/filesys.texi (Directory Entries): Typo fix.
11528         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11530 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11532         * elf/elf.h (EM_AARCH64): New macro.
11533         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11534         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11535         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11536         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11537         (R_AARCH64_TLSDESC): Likewise.
11538         (NT_ARM_TLS): Likewise.
11539         (NT_ARM_HW_BREAK): Likewise.
11540         (NT_ARM_HW_WATCH): Likewise.
11542 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11544         [BZ #14811]
11545         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11546         (__ieee754_powl): Saturate nonzero exponents with absolute value
11547         below 0x1p-79 to +/- 0x1p-79.
11548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11549         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11550         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11551         nonzero exponents with absolute value below 0x1p-32 to +/-
11552         0x1p-32.
11553         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11554         (__ieee754_powl): Saturate nonzero exponents with absolute value
11555         below 0x1p-79 to +/- 0x1p-79.
11556         * math/libm-test.inc (pow_test): Add more tests.
11558 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11560         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11561         _dl_s390_cap_flags with kernel. Increase string length.
11562         (_dl_s390_platforms): Add z196 and zEC12.
11564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11566         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11567         Change XOPEN21K to XOPEN2K.
11569 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
11571         * string/memmove.c: Use memcpy when possible.
11573 2012-11-06  Andreas Jaeger  <aj@suse.de>
11575         * po/eo.po: Update from translation team.
11577 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
11579         [BZ #14793]
11580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11581         exponent and small x and y exponents, scale x or y up.  Increase
11582         by 2 the exponent used in scaling up.
11583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11585         * math/libm-test.inc (fma_test): Add more tests.
11586         (fma_test_towardzero): Likewise.
11587         (fma_test_downward): Likewise.
11588         (fma_test_upward): Likewise.
11590 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
11592         [BZ #14805]
11593         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11594         fenv_t *.
11596         [BZ #14801]
11597         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11598         namespace for names of struct fields.
11599         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11600         fenv_t fields.
11601         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11602         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11604 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11606         [BZ #3665]
11607         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11609 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11611         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11612         PTR_DEMANGLE.
11614         [BZ #5246]
11615         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11616         PTR_DEMANGLE.
11618 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
11620         [BZ #14797]
11621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11622         definitely overflow as x * y not x * y + z.
11623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11625         * math/libm-test.inc (fma_test): Add more tests.
11626         (fma_test_towardzero): Likewise.
11627         (fma_test_downward): Likewise.
11628         (fma_test_upward): Likewise.
11630 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11632         [BZ #157]
11634         * include/stub-tag.h: Remove file.
11635         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11636         '#include' of it.
11637         * manual/maint.texi (Porting): Don't reference it.
11638         * Makerules ($(objpfx)stubs): Likewise.
11639         * dirent/closedir.c: Don't include <stub-tag.h>.
11640         * dirent/dirfd.c: Likewise.
11641         * dirent/fdopendir.c: Likewise.
11642         * dirent/getdents.c: Likewise.
11643         * dirent/getdents64.c: Likewise.
11644         * dirent/opendir.c: Likewise.
11645         * dirent/readdir.c: Likewise.
11646         * dirent/readdir64.c: Likewise.
11647         * dirent/readdir64_r.c: Likewise.
11648         * dirent/readdir_r.c: Likewise.
11649         * dirent/rewinddir.c: Likewise.
11650         * dirent/seekdir.c: Likewise.
11651         * dirent/telldir.c: Likewise.
11652         * gmon/profil.c: Likewise.
11653         * grp/setgroups.c: Likewise.
11654         * inet/if_index.c: Likewise.
11655         * io/access.c: Likewise.
11656         * io/chdir.c: Likewise.
11657         * io/chmod.c: Likewise.
11658         * io/chown.c: Likewise.
11659         * io/close.c: Likewise.
11660         * io/dup.c: Likewise.
11661         * io/dup2.c: Likewise.
11662         * io/dup3.c: Likewise.
11663         * io/euidaccess.c: Likewise.
11664         * io/faccessat.c: Likewise.
11665         * io/fchdir.c: Likewise.
11666         * io/fchmod.c: Likewise.
11667         * io/fchmodat.c: Likewise.
11668         * io/fchown.c: Likewise.
11669         * io/fchownat.c: Likewise.
11670         * io/fcntl.c: Likewise.
11671         * io/flock.c: Likewise.
11672         * io/fstatfs.c: Likewise.
11673         * io/fstatfs64.c: Likewise.
11674         * io/fstatvfs.c: Likewise.
11675         * io/fstatvfs64.c: Likewise.
11676         * io/futimens.c: Likewise.
11677         * io/fxstat.c: Likewise.
11678         * io/fxstat64.c: Likewise.
11679         * io/fxstatat.c: Likewise.
11680         * io/fxstatat64.c: Likewise.
11681         * io/getcwd.c: Likewise.
11682         * io/isatty.c: Likewise.
11683         * io/lchmod.c: Likewise.
11684         * io/lchown.c: Likewise.
11685         * io/link.c: Likewise.
11686         * io/linkat.c: Likewise.
11687         * io/lseek.c: Likewise.
11688         * io/lseek64.c: Likewise.
11689         * io/lxstat64.c: Likewise.
11690         * io/mkdir.c: Likewise.
11691         * io/mkdirat.c: Likewise.
11692         * io/mkfifo.c: Likewise.
11693         * io/mkfifoat.c: Likewise.
11694         * io/open.c: Likewise.
11695         * io/open64.c: Likewise.
11696         * io/openat.c: Likewise.
11697         * io/openat64.c: Likewise.
11698         * io/pipe.c: Likewise.
11699         * io/pipe2.c: Likewise.
11700         * io/poll.c: Likewise.
11701         * io/posix_fadvise.c: Likewise.
11702         * io/posix_fadvise64.c: Likewise.
11703         * io/posix_fallocate.c: Likewise.
11704         * io/posix_fallocate64.c: Likewise.
11705         * io/read.c: Likewise.
11706         * io/readlink.c: Likewise.
11707         * io/readlinkat.c: Likewise.
11708         * io/rmdir.c: Likewise.
11709         * io/sendfile.c: Likewise.
11710         * io/sendfile64.c: Likewise.
11711         * io/statfs.c: Likewise.
11712         * io/statfs64.c: Likewise.
11713         * io/statvfs.c: Likewise.
11714         * io/statvfs64.c: Likewise.
11715         * io/symlink.c: Likewise.
11716         * io/symlinkat.c: Likewise.
11717         * io/ttyname.c: Likewise.
11718         * io/ttyname_r.c: Likewise.
11719         * io/umask.c: Likewise.
11720         * io/unlink.c: Likewise.
11721         * io/unlinkat.c: Likewise.
11722         * io/utime.c: Likewise.
11723         * io/utimensat.c: Likewise.
11724         * io/write.c: Likewise.
11725         * io/xmknod.c: Likewise.
11726         * io/xmknodat.c: Likewise.
11727         * io/xstat.c: Likewise.
11728         * io/xstat64.c: Likewise.
11729         * login/getpt.c: Likewise.
11730         * login/grantpt.c: Likewise.
11731         * login/unlockpt.c: Likewise.
11732         * math/e_acoshl.c: Likewise.
11733         * math/e_acosl.c: Likewise.
11734         * math/e_asinl.c: Likewise.
11735         * math/e_atan2l.c: Likewise.
11736         * math/e_atanhl.c: Likewise.
11737         * math/e_coshl.c: Likewise.
11738         * math/e_expl.c: Likewise.
11739         * math/e_fmodl.c: Likewise.
11740         * math/e_gammal_r.c: Likewise.
11741         * math/e_hypotl.c: Likewise.
11742         * math/e_j0l.c: Likewise.
11743         * math/e_j1l.c: Likewise.
11744         * math/e_jnl.c: Likewise.
11745         * math/e_lgammal_r.c: Likewise.
11746         * math/e_log10l.c: Likewise.
11747         * math/e_log2l.c: Likewise.
11748         * math/e_logl.c: Likewise.
11749         * math/e_powl.c: Likewise.
11750         * math/e_rem_pio2l.c: Likewise.
11751         * math/e_sinhl.c: Likewise.
11752         * math/e_sqrtl.c: Likewise.
11753         * math/fclrexcpt.c: Likewise.
11754         * math/fedisblxcpt.c: Likewise.
11755         * math/feenablxcpt.c: Likewise.
11756         * math/fegetenv.c: Likewise.
11757         * math/fegetexcept.c: Likewise.
11758         * math/fegetround.c: Likewise.
11759         * math/feholdexcpt.c: Likewise.
11760         * math/fesetenv.c: Likewise.
11761         * math/fesetround.c: Likewise.
11762         * math/feupdateenv.c: Likewise.
11763         * math/fgetexcptflg.c: Likewise.
11764         * math/fraiseexcpt.c: Likewise.
11765         * math/fsetexcptflg.c: Likewise.
11766         * math/ftestexcept.c: Likewise.
11767         * math/k_cosl.c: Likewise.
11768         * math/k_rem_pio2l.c: Likewise.
11769         * math/k_sinl.c: Likewise.
11770         * math/k_tanl.c: Likewise.
11771         * math/s_asinhl.c: Likewise.
11772         * math/s_atanl.c: Likewise.
11773         * math/s_cbrtl.c: Likewise.
11774         * math/s_erfl.c: Likewise.
11775         * math/s_expm1l.c: Likewise.
11776         * math/s_log1pl.c: Likewise.
11777         * math/s_tanhl.c: Likewise.
11778         * misc/acct.c: Likewise.
11779         * misc/brk.c: Likewise.
11780         * misc/chflags.c: Likewise.
11781         * misc/chroot.c: Likewise.
11782         * misc/fchflags.c: Likewise.
11783         * misc/fgetxattr.c: Likewise.
11784         * misc/flistxattr.c: Likewise.
11785         * misc/fremovexattr.c: Likewise.
11786         * misc/fsetxattr.c: Likewise.
11787         * misc/fsync.c: Likewise.
11788         * misc/ftruncate.c: Likewise.
11789         * misc/futimes.c: Likewise.
11790         * misc/futimesat.c: Likewise.
11791         * misc/getdomain.c: Likewise.
11792         * misc/getdtsz.c: Likewise.
11793         * misc/gethostid.c: Likewise.
11794         * misc/gethostname.c: Likewise.
11795         * misc/getloadavg.c: Likewise.
11796         * misc/getpagesize.c: Likewise.
11797         * misc/getsysstats.c: Likewise.
11798         * misc/getxattr.c: Likewise.
11799         * misc/gtty.c: Likewise.
11800         * misc/ioctl.c: Likewise.
11801         * misc/lgetxattr.c: Likewise.
11802         * misc/listxattr.c: Likewise.
11803         * misc/llistxattr.c: Likewise.
11804         * misc/lremovexattr.c: Likewise.
11805         * misc/lsetxattr.c: Likewise.
11806         * misc/lutimes.c: Likewise.
11807         * misc/madvise.c: Likewise.
11808         * misc/mincore.c: Likewise.
11809         * misc/mlock.c: Likewise.
11810         * misc/mlockall.c: Likewise.
11811         * misc/mmap.c: Likewise.
11812         * misc/mprotect.c: Likewise.
11813         * misc/msync.c: Likewise.
11814         * misc/munlock.c: Likewise.
11815         * misc/munlockall.c: Likewise.
11816         * misc/munmap.c: Likewise.
11817         * misc/preadv.c: Likewise.
11818         * misc/preadv64.c: Likewise.
11819         * misc/ptrace.c: Likewise.
11820         * misc/pwritev.c: Likewise.
11821         * misc/pwritev64.c: Likewise.
11822         * misc/readv.c: Likewise.
11823         * misc/reboot.c: Likewise.
11824         * misc/remap_file_pages.c: Likewise.
11825         * misc/removexattr.c: Likewise.
11826         * misc/revoke.c: Likewise.
11827         * misc/select.c: Likewise.
11828         * misc/setdomain.c: Likewise.
11829         * misc/setegid.c: Likewise.
11830         * misc/seteuid.c: Likewise.
11831         * misc/sethostid.c: Likewise.
11832         * misc/sethostname.c: Likewise.
11833         * misc/setregid.c: Likewise.
11834         * misc/setreuid.c: Likewise.
11835         * misc/setxattr.c: Likewise.
11836         * misc/sstk.c: Likewise.
11837         * misc/stty.c: Likewise.
11838         * misc/swapoff.c: Likewise.
11839         * misc/swapon.c: Likewise.
11840         * misc/sync.c: Likewise.
11841         * misc/syncfs.c: Likewise.
11842         * misc/syscall.c: Likewise.
11843         * misc/truncate.c: Likewise.
11844         * misc/ualarm.c: Likewise.
11845         * misc/usleep.c: Likewise.
11846         * misc/ustat.c: Likewise.
11847         * misc/utimes.c: Likewise.
11848         * misc/vhangup.c: Likewise.
11849         * misc/writev.c: Likewise.
11850         * posix/_exit.c: Likewise.
11851         * posix/alarm.c: Likewise.
11852         * posix/execve.c: Likewise.
11853         * posix/fexecve.c: Likewise.
11854         * posix/fork.c: Likewise.
11855         * posix/fpathconf.c: Likewise.
11856         * posix/getaddrinfo.c: Likewise.
11857         * posix/getegid.c: Likewise.
11858         * posix/geteuid.c: Likewise.
11859         * posix/getgid.c: Likewise.
11860         * posix/getgroups.c: Likewise.
11861         * posix/getlogin.c: Likewise.
11862         * posix/getlogin_r.c: Likewise.
11863         * posix/getpgid.c: Likewise.
11864         * posix/getpid.c: Likewise.
11865         * posix/getppid.c: Likewise.
11866         * posix/getresgid.c: Likewise.
11867         * posix/getresuid.c: Likewise.
11868         * posix/getsid.c: Likewise.
11869         * posix/getuid.c: Likewise.
11870         * posix/glob64.c: Likewise.
11871         * posix/nanosleep.c: Likewise.
11872         * posix/pathconf.c: Likewise.
11873         * posix/pause.c: Likewise.
11874         * posix/posix_madvise.c: Likewise.
11875         * posix/pread.c: Likewise.
11876         * posix/pread64.c: Likewise.
11877         * posix/pwrite.c: Likewise.
11878         * posix/pwrite64.c: Likewise.
11879         * posix/sched_getaffinity.c: Likewise.
11880         * posix/sched_getp.c: Likewise.
11881         * posix/sched_gets.c: Likewise.
11882         * posix/sched_primax.c: Likewise.
11883         * posix/sched_primin.c: Likewise.
11884         * posix/sched_rr_gi.c: Likewise.
11885         * posix/sched_setaffinity.c: Likewise.
11886         * posix/sched_setp.c: Likewise.
11887         * posix/sched_sets.c: Likewise.
11888         * posix/sched_yield.c: Likewise.
11889         * posix/setgid.c: Likewise.
11890         * posix/setlogin.c: Likewise.
11891         * posix/setpgid.c: Likewise.
11892         * posix/setresgid.c: Likewise.
11893         * posix/setresuid.c: Likewise.
11894         * posix/setsid.c: Likewise.
11895         * posix/setuid.c: Likewise.
11896         * posix/sleep.c: Likewise.
11897         * posix/spawni.c: Likewise.
11898         * posix/sysconf.c: Likewise.
11899         * posix/times.c: Likewise.
11900         * posix/wait.c: Likewise.
11901         * posix/wait3.c: Likewise.
11902         * posix/wait4.c: Likewise.
11903         * posix/waitpid.c: Likewise.
11904         * resolv/gai_sigqueue.c: Likewise.
11905         * resource/getpriority.c: Likewise.
11906         * resource/getrlimit.c: Likewise.
11907         * resource/getrusage.c: Likewise.
11908         * resource/nice.c: Likewise.
11909         * resource/setpriority.c: Likewise.
11910         * resource/setrlimit.c: Likewise.
11911         * resource/ulimit.c: Likewise.
11912         * rt/aio_cancel.c: Likewise.
11913         * rt/aio_fsync.c: Likewise.
11914         * rt/aio_read.c: Likewise.
11915         * rt/aio_sigqueue.c: Likewise.
11916         * rt/aio_suspend.c: Likewise.
11917         * rt/aio_write.c: Likewise.
11918         * rt/clock_getres.c: Likewise.
11919         * rt/clock_gettime.c: Likewise.
11920         * rt/clock_nanosleep.c: Likewise.
11921         * rt/clock_settime.c: Likewise.
11922         * rt/lio_listio.c: Likewise.
11923         * rt/mq_close.c: Likewise.
11924         * rt/mq_getattr.c: Likewise.
11925         * rt/mq_notify.c: Likewise.
11926         * rt/mq_open.c: Likewise.
11927         * rt/mq_receive.c: Likewise.
11928         * rt/mq_send.c: Likewise.
11929         * rt/mq_setattr.c: Likewise.
11930         * rt/mq_timedreceive.c: Likewise.
11931         * rt/mq_timedsend.c: Likewise.
11932         * rt/mq_unlink.c: Likewise.
11933         * rt/shm_open.c: Likewise.
11934         * rt/shm_unlink.c: Likewise.
11935         * rt/timer_create.c: Likewise.
11936         * rt/timer_delete.c: Likewise.
11937         * rt/timer_getoverr.c: Likewise.
11938         * rt/timer_gettime.c: Likewise.
11939         * rt/timer_settime.c: Likewise.
11940         * setjmp/__longjmp.c: Likewise.
11941         * setjmp/setjmp.c: Likewise.
11942         * signal/kill.c: Likewise.
11943         * signal/killpg.c: Likewise.
11944         * signal/raise.c: Likewise.
11945         * signal/sigaction.c: Likewise.
11946         * signal/sigaltstack.c: Likewise.
11947         * signal/sigblock.c: Likewise.
11948         * signal/sigignore.c: Likewise.
11949         * signal/sigintr.c: Likewise.
11950         * signal/signal.c: Likewise.
11951         * signal/sigpause.c: Likewise.
11952         * signal/sigpending.c: Likewise.
11953         * signal/sigqueue.c: Likewise.
11954         * signal/sigreturn.c: Likewise.
11955         * signal/sigset.c: Likewise.
11956         * signal/sigsetmask.c: Likewise.
11957         * signal/sigstack.c: Likewise.
11958         * signal/sigsuspend.c: Likewise.
11959         * signal/sigtimedwait.c: Likewise.
11960         * signal/sigvec.c: Likewise.
11961         * signal/sigwait.c: Likewise.
11962         * signal/sigwaitinfo.c: Likewise.
11963         * signal/sysv_signal.c: Likewise.
11964         * socket/accept.c: Likewise.
11965         * socket/accept4.c: Likewise.
11966         * socket/bind.c: Likewise.
11967         * socket/connect.c: Likewise.
11968         * socket/getpeername.c: Likewise.
11969         * socket/getsockname.c: Likewise.
11970         * socket/getsockopt.c: Likewise.
11971         * socket/isfdtype.c: Likewise.
11972         * socket/listen.c: Likewise.
11973         * socket/recv.c: Likewise.
11974         * socket/recvfrom.c: Likewise.
11975         * socket/recvmsg.c: Likewise.
11976         * socket/send.c: Likewise.
11977         * socket/sendmsg.c: Likewise.
11978         * socket/sendto.c: Likewise.
11979         * socket/setsockopt.c: Likewise.
11980         * socket/shutdown.c: Likewise.
11981         * socket/sockatmark.c: Likewise.
11982         * socket/socket.c: Likewise.
11983         * socket/socketpair.c: Likewise.
11984         * stdio-common/ctermid.c: Likewise.
11985         * stdio-common/cuserid.c: Likewise.
11986         * stdio-common/remove.c: Likewise.
11987         * stdio-common/rename.c: Likewise.
11988         * stdio-common/renameat.c: Likewise.
11989         * stdio-common/tempname.c: Likewise.
11990         * stdlib/getcontext.c: Likewise.
11991         * stdlib/makecontext.c: Likewise.
11992         * stdlib/setcontext.c: Likewise.
11993         * stdlib/swapcontext.c: Likewise.
11994         * stdlib/system.c: Likewise.
11995         * streams/fattach.c: Likewise.
11996         * streams/fdetach.c: Likewise.
11997         * streams/getmsg.c: Likewise.
11998         * streams/getpmsg.c: Likewise.
11999         * streams/putmsg.c: Likewise.
12000         * streams/putpmsg.c: Likewise.
12001         * sysdeps/unix/bsd/getpt.c: Likewise.
12002         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12003         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12004         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12006         Likewise.
12007         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12008         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12009         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12010         * sysvipc/msgctl.c: Likewise.
12011         * sysvipc/msgget.c: Likewise.
12012         * sysvipc/msgrcv.c: Likewise.
12013         * sysvipc/msgsnd.c: Likewise.
12014         * sysvipc/semctl.c: Likewise.
12015         * sysvipc/semget.c: Likewise.
12016         * sysvipc/semop.c: Likewise.
12017         * sysvipc/semtimedop.c: Likewise.
12018         * sysvipc/shmat.c: Likewise.
12019         * sysvipc/shmctl.c: Likewise.
12020         * sysvipc/shmdt.c: Likewise.
12021         * sysvipc/shmget.c: Likewise.
12022         * termios/tcdrain.c: Likewise.
12023         * termios/tcflow.c: Likewise.
12024         * termios/tcflush.c: Likewise.
12025         * termios/tcgetattr.c: Likewise.
12026         * termios/tcgetpgrp.c: Likewise.
12027         * termios/tcsendbrk.c: Likewise.
12028         * termios/tcsetattr.c: Likewise.
12029         * termios/tcsetpgrp.c: Likewise.
12030         * time/adjtime.c: Likewise.
12031         * time/clock.c: Likewise.
12032         * time/getitimer.c: Likewise.
12033         * time/gettimeofday.c: Likewise.
12034         * time/setitimer.c: Likewise.
12035         * time/settimeofday.c: Likewise.
12036         * time/stime.c: Likewise.
12037         * time/time.c: Likewise.
12039 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12041         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12042         /usr/old/bin.
12044         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12045         instead of spaces.
12046         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12048 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12050         [BZ #14796]
12051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12052         FE_TONEAREST before applying Dekker multiplication and Knuth
12053         addition.  Clear inexact exceptions and check for exact zero
12054         results afterwards.
12055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12056         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12058         * math/libm-test.inc (fma_test): Add more tests.
12059         (fma_test_towardzero): Likewise.
12060         (fma_test_downward): Likewise.
12061         (fma_test_upward): Likewise.
12062         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12063         function.
12064         (libc_fesetround): New macro.
12065         (libc_fesetroundf): Likewise.
12066         (libc_fesetroundl): Likewise.
12067         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12068         function.
12069         (libc_fesetround_387): Likewise.
12070         (libc_fesetroundf): New macro.
12071         (libc_fesetround): Likewise.
12072         (libc_fesetroundl): Likewise.
12073         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12074         function.
12075         (libc_fesetroundf): New macro.
12076         (libc_fesetround): Likewise.
12077         (libc_fesetroundl): Likewise.
12078         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12079         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12080         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12081         libm_hidden_ver.
12082         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12083         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12084         libm_hidden_def.
12085         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12086         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12087         libm_hidden_ver.
12088         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12089         libm_hidden_def.
12091         [BZ #3439]
12092         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12093         integer constant usable in #if and use that to give value to enum
12094         constant.
12095         (FE_DIVBYZERO): Likewise.
12096         (FE_UNDERFLOW): Likewise.
12097         (FE_OVERFLOW): Likewise.
12098         (FE_INVALID): Likewise.
12099         (FE_INVALID_SNAN): Likewise.
12100         (FE_INVALID_ISI): Likewise.
12101         (FE_INVALID_IDI): Likewise.
12102         (FE_INVALID_ZDZ): Likewise.
12103         (FE_INVALID_IMZ): Likewise.
12104         (FE_INVALID_COMPARE): Likewise.
12105         (FE_INVALID_SOFTWARE): Likewise.
12106         (FE_INVALID_SQRT): Likewise.
12107         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12108         (FE_TONEAREST): Likewise.
12109         (FE_TOWARDZERO): Likewise.
12110         (FE_UPWARD): Likewise.
12111         (FE_DOWNWARD): Likewise.
12112         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12113         (FE_DIVBYZERO): Likewise.
12114         (FE_OVERFLOW): Likewise.
12115         (FE_UNDERFLOW): Likewise.
12116         (FE_INEXACT): Likewise.
12117         (FE_TONEAREST): Likewise.
12118         (FE_DOWNWARD): Likewise.
12119         (FE_UPWARD): Likewise.
12120         (FE_TOWARDZERO): Likewise.
12121         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12122         (FE_UNDERFLOW): Likewise.
12123         (FE_OVERFLOW): Likewise.
12124         (FE_DIVBYZERO): Likewise.
12125         (FE_INVALID): Likewise.
12126         (FE_TONEAREST): Likewise.
12127         (FE_TOWARDZERO): Likewise.
12128         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12129         (FE_OVERFLOW): Likewise.
12130         (FE_UNDERFLOW): Likewise.
12131         (FE_DIVBYZERO): Likewise.
12132         (FE_INEXACT): Likewise.
12133         (FE_TONEAREST): Likewise.
12134         (FE_TOWARDZERO): Likewise.
12135         (FE_UPWARD): Likewise.
12136         (FE_DOWNWARD): Likewise.
12137         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12138         (FE_DIVBYZERO): Likewise.
12139         (FE_OVERFLOW): Likewise.
12140         (FE_UNDERFLOW): Likewise.
12141         (FE_INEXACT): Likewise.
12142         (FE_TONEAREST): Likewise.
12143         (FE_DOWNWARD): Likewise.
12144         (FE_UPWARD): Likewise.
12145         (FE_TOWARDZERO): Likewise.
12147 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
12149         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12151 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
12153         * scripts/cross-test-ssh.sh (command): Use newlines to separate
12154         commands.  Quote $PWD.
12155         (blacklist_exports): Don't use remove_newlines.  Replace "declare
12156         -x" by "export".
12157         (remove_newlines): Remove.
12159 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
12161         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12162         * stdlib/stdlib.h (atof): Moved to ...
12163         * include/bits/stdlib-float.h: Here.  New file.
12164         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12165         * stdlib/bits/stdlib-float.h: New file.
12166         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12167         -mno-sse -mno-mmx.
12168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12169         <xmmintrin.h>.
12171 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12173         * conform/conformtest.pl (@headers): Add fenv.h.
12174         * conform/data/fenv.h-data: New file.
12175         * include/fenv.h [_ISOMAC]: Disable all contents of file except
12176         include of <math/fenv.h>.
12178         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12179         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12180         && !UNIX98].  Enables tests for XOPEN2K8.
12181         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12182         POSIX2008]: Likewise.
12184         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12185         (struct rusage): Do not expect type or its members.
12187         [BZ #3439]
12188         * math/math.h (FP_NAN): Define macro to integer constant usable in
12189         #if and use that to give value to enum constant.
12190         (FP_INFINITE): Likewise.
12191         (FP_ZERO): Likewise.
12192         (FP_SUBNORMAL): Likewise.
12193         (FP_NORMAL): Likewise.
12195 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12197         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12198         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12199         arguments.
12201 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12203         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12204         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12205         autoconf-time if not.
12206         * configure.in: Remove AC_PREREQ.
12208 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12210         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12211         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12212         of the internal implementation.
12214 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12216         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12217         except include of <misc/sys/syslog.h>.
12219 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12222         function returns with a NULL context exit with zero.
12224 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12226         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12228 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12230         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12231         (run_program_cmd): This.
12232         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12233         (tst_langinfo): New variable.  Use it.
12235 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12237         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12238         floating point opcodes.
12240 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12242         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12243         variable.
12245         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12247         * sysdeps/mach/hurd/powerpc: Remove directory.
12248         * sysdeps/mach/powerpc: Likewise.
12250 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12252         * scripts/check-local-headers.sh: Ignore c++ headers.
12254 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12256         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12257         __libc_cleanup_region_start argument.
12259 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
12261         [BZ #14784]
12262         [BZ #14785]
12263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12264         x * y using scaling, not as x * y + z.
12265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12267         * math/libm-test.inc (fma_test): Add more tests.
12268         (fma_test_towardzero): Likewise.
12269         (fma_test_downward): Likewise.
12270         (fma_test_upward): Likewise.
12272 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12274         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12276 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12278         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12279         New variable.
12281 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
12283         * rt/tst-shm.c (worker): Correct checking for mmap failure.
12285 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12288         Fix sort order.
12289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12290         Likewise.
12292 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12295         Fix the order of the list for glibc 2.17.
12296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12297         Likewise.
12299 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12303 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12305         [BZ #14610]
12306         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12307         for low part of x being zero before using __atanl (y).
12308         * math/libm-test.inc (atan2_test): Add another test.
12310         * manual/install.texi (Configuring and compiling): Document
12311         general use of test-wrapper and test-wrapper-env.
12312         * INSTALL: Regenerated.
12314         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12315         (__fma): Do not extract and scale down low bits on after-rounding
12316         systems when result rounded to normal precision would have normal
12317         exponent.
12318         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12319         (__fmal): Do not extract and scale down low bits on after-rounding
12320         systems when result rounded to normal precision would have normal
12321         exponent.
12322         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12323         (__fmal): Do not extract and scale down low bits on after-rounding
12324         systems when result rounded to normal precision would have normal
12325         exponent.
12326         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12327         macro.
12328         (fma_test): Add more tests.
12329         (fma_test_towardzero): Likewise.
12330         (fma_test_downward): Likewise.
12331         (fma_test_upward): Likewise.
12333 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
12335         * sysdeps/i386/tininess.h: Renamed to ...
12336         * sysdeps/x86/tininess.h: This.
12337         * sysdeps/x86_64/tininess.h: Removed.
12339 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12341         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12342         input.  Use $(build-program-cmd).
12343         ($(objpfx)tst-array1-static.out): Likewise.
12344         ($(objpfx)tst-array2.out): Likewise.
12345         ($(objpfx)tst-array3.out): Likewise.
12346         ($(objpfx)tst-array4.out): Likewise.
12347         ($(objpfx)tst-array5.out): Likewise.
12348         ($(objpfx)tst-array5-static.out): Likewise.
12350 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
12352         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12353         if defined.
12355         * nss/nsswitch.h (nss_interface_function): Provide new
12356         macro for use with NSS functions.
12357         * grp/initgroups.c: Use new macro.
12358         * nss/getXXbyYY.c: Likewise.
12359         * nss/getXXbyYY_r.c: Likewise.
12360         * nss/getXXent.c: Likewise.
12361         * nss/getXXent_r.c: Likewise.
12362         * sysdeps/posix/getaddrinfo.c: Likewise.
12364 2012-10-30  Andreas Jaeger  <aj@suse.de>
12366         * po/ru.po: Update Russion translation from translation project.
12368 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12370         [BZ #14152]
12371         [BZ #14783]
12372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12373         result and shift together with sticky bit instead of replicating
12374         round-to-nearest rounding.
12375         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12377         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
12378         missing underflow exceptions.
12379         (fma_test_towardzero): Add more tests.
12380         (fma_test_downward): Likewise.
12381         (fma_test_upward): Likewise.
12383         [BZ #14047]
12384         * sysdeps/generic/tininess.h: New file.
12385         * sysdeps/i386/tininess.h: Likewise.
12386         * sysdeps/sh/tininess.h: Likewise.
12387         * sysdeps/x86_64/tininess.h: Likewise.
12388         * stdlib/tst-strtod-underflow.c: Likewise.
12389         * stdlib/tst-tininess.c: Likewise.
12390         * stdlib/strtod_l.c: Include <tininess.h>.
12391         (round_and_return): Do not set errno for exact underflow cases.
12392         Force an underflow exception when setting errno for underflow.
12393         Determine underflow based on rounding to normal precision if
12394         TININESS_AFTER_ROUNDING.
12395         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12396         ERANGE for exact underflow cases.
12397         * stdlib/Makefile (tests): Add tst-tininess and
12398         tst-strtod-underflow.
12399         ($(objpfx)tst-tininess): Use $(link-libm).
12400         ($(objpfx)tst-strtod-underflow): Likewise.
12402 2012-10-30  Andreas Jaeger  <aj@suse.de>
12404         [BZ#14767]
12405         * elf/Makefile (tests): Remove conditional for have-initfini-array
12406         since this is now always required and the variable does not exist
12407         anymore.
12408         (tests-static): Likewise.
12409         (modules-names): Likewise.
12411         * po/eo.po: Add Esperanto translation from translation project.
12413         * elf/tst-array1.c (fini_array): Make writeable so that it can be
12414         merged with constructor/destructor.
12415         (init_array): Likewise.
12416         * elf/tst-array2dep.c (fini_array): Likewise.
12417         (init_array): Likewise.
12419 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
12421         * manual/message.texi: Delete @cartouche tags.
12423 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
12425         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12426         EOPNOTSUPP.
12427         * sysdeps/mach/hurd/fsync.c: Likewise.
12429         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12430         [_POSIX_REALTIME_SIGNALS]: Change condition to
12431         [_POSIX_REALTIME_SIGNALS > 0].
12433 2012-10-27  Andreas Jaeger  <aj@suse.de>
12435         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12436         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12438         [__WORDSIZE != 64]: Likewise.
12440 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
12442         *  iconvdata/tst-table.sh: Remove ${SHELL}.
12443         *  iconvdata/tst-tables.sh: Likewise.
12445 2012-10-25  David S. Miller  <davem@davemloft.net>
12447         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12448         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12449         of strtoull.
12451         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12452         ifunc-impl-list.c
12453         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12454         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12455         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12456         file.
12458 2012-10-25  Roland McGrath  <roland@hack.frob.com>
12460         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12461         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12462         __getdirentries.
12464 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12465             Jim Blandy  <jimb@codesourcery.com>
12467         * scripts/cross-test-ssh.sh: New file.
12468         * manual/install.texi (Configuring and compiling): Document use of
12469         cross-test-ssh.sh.
12470         * INSTALL: Regenerated.
12472 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
12474         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12475         EOPNOTSUPP.
12477 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12479         * Makeconfig (run-program-prefix): Fix comment.
12481 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12482             Jim Blandy  <jimb@codesourcery.com>
12484         * Makeconfig (test-wrapper): New variable,
12485         (test-wrapper-env): Likewise.
12486         [$(cross-compiling) = yes && $(test-wrapper) != ""]
12487         (run-built-tests): Define to yes.
12488         (run-program-prefix): Use $(test-wrapper).
12489         (built-program-cmd): Likewise.
12490         * Rules (make-test-out): Use $(test-wrapper-env) and
12491         $(host-built-program-cmd).
12492         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12493         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12494         tst-pathopt.sh.
12495         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12496         $(test-wrapper-env) to tst-rtld-load-self.sh.
12497         ($(objpfx)order2.out): Use $(test-wrapper).
12498         ($(objpfx)tst-initorder.out): Likewise.
12499         ($(objpfx)tst-initorder2.out): Likewise.
12500         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12501         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12502         (test_wrapper_env): New variable.  Use it to run ld.so.
12503         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12504         Use it to run ld.so.
12505         (test_wrapper_env): Likewise.
12506         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12507         $(test-wrapper) to run-iconv-test.sh.
12508         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12509         (ICONV): Use $test_wrapper.
12510         * posix/Makefile ($(objpfx)globtest.out): Pass
12511         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12512         globtest.sh, not $(run-program-prefix).
12513         * posix/globtest.sh (run_via_rtld_prefix): New variable.
12514         (test_wrapper): Likewise.
12515         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
12516         set together with run_via_rtld_prefix.
12517         (run_program_prefix): Define in terms of test_wrapper and
12518         run_via_rtld_prefix.
12520 2012-10-24  Roland McGrath  <roland@hack.frob.com>
12522         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12523         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12524         Targets removed.
12526         [BZ #14743]
12527         * include/time.h: Remove librt_hidden_proto (clock_gettime).
12528         Declare __clock_getres, __clock_gettime, __clock_settime,
12529         __clock_nanosleep, and __clock_getcpuclockid.
12530         * rt/clock_gettime.c: Define __clock_gettime as an alias.
12531         Remove librt_hidden_def (clock_gettime).
12532         * sysdeps/unix/clock_gettime.c: Likewise.
12533         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12534         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12535         * rt/clock_getres.c: Define __clock_getres as an alias.
12536         * sysdeps/posix/clock_getres.c: Likewise.
12537         * rt/clock_settime.c: Define __clock_settime as an alias.
12538         * sysdeps/unix/clock_settime.c: Likewise.
12539         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12540         * sysdeps/unix/clock_nanosleep.c: Likewise.
12541         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12542         * rt/clock-compat.c: New file.
12543         * rt/Makefile (librt-routines): Add clock-compat and move
12544         $(clock-routines) to ...
12545         (routines): ... here, new variable.
12546         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12547         Don't add get_clockfreq here.
12548         * rt/Versions (libc: GLIBC_2.17): New version set.
12549         Add clock_* symbols here.
12550         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
12551         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12552         (GLIBC_2.17): Add clock_* symbols.
12553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12559         Likewise.
12560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12564         * NEWS: Mention the move.
12566         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12567         Use __open, __read, __close rather than their public counterparts.
12568         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12569         (__get_clockfreq_via_cpuinfo): Likewise.
12570         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12571         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12573         * config.h.in (HAVE_IFUNC): New #undef.
12574         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12575         was successful.
12576         * configure: Regenerated.
12578 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12580         * configure.in: Move READELF check to start of file.
12581         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12582         libc_cv_asm_gnu_indirect_function in the process.
12583         * configure: Regenerated.
12585 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12587         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12588         send the output to /dev/null.
12589         (libc_cv_cc_with_libunwind): Likewise.
12590         (libc_cv_as_noexecstack): Likewise.
12591         * configure: Regenerate.
12593 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12595         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12597         * posix/globtest.sh (TMPDIR): Do not set.
12598         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12599         (testout): Likewise.
12601 2012-10-24  Andreas Jaeger  <aj@suse.de>
12603         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12604         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12605         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12606         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12607         posix_fadvise64, posix_fallocate64.
12609         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12610         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12611         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12612         Likewise.
12613         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12614         Likewise.
12615         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12617         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12618         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12619         <bits/fcntl-linux.h>.
12620         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12623         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12624         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12625         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12626         [__WORDSIZE != 64]: Likewise.
12628 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12630         * Makeconfig (run-built-tests): New variable.
12631         * Rules [$(cross-compiling) = yes]: Change condition to
12632         [$(run-built-tests) = no].
12633         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12634         to [$(run-built-tests) = yes].
12635         * elf/Makefile [$(cross-compiling) = no]: Likewise
12636         * grp/Makefile [$(cross-compiling) = no]: Likewise.
12637         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12638         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12639         * intl/Makefile [$(cross-compiling) = no]: Likewise.
12640         * io/Makefile [$(cross-compiling) = no]: Likewise.
12641         * libio/Makefile [$(cross-compiling) = no]: Likewise.
12642         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12643         * misc/Makefile [$(cross-compiling) = no]: Likewise.
12644         * posix/Makefile [$(cross-compiling) = no]: Likewise.
12645         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12646         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12647         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12648         * string/Makefile [$(cross-compiling) = no]: Likewise.
12650         * posix/Makefile ($(objpfx)globtest.out): Pass
12651         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12652         $(rtld-installed-name).
12653         * posix/globtest.sh (elf_objpfx): Remove variable.
12654         (rtld_installed_name): Likewise.
12655         (library_path): Likewise.
12656         (run_program_prefix): New variable.  Use for running globtest
12657         binary.
12659 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
12660             Joseph Myers  <joseph@codesourcery.com>
12662         * Makeconfig (host-built-program-cmd): New variable.
12663         * elf/Makefile (tst-stackguard1-ARGS): Use
12664         $(host-built-program-cmd).
12665         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12666         (tst-spawn-ARGS): Likewise.
12667         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12669 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12670             Jim Blandy  <jimb@codesourcery.com>
12672         * Makeconfig (run-via-rtld-prefix): New variable.
12673         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12674         (built-program-cmd): Likewise.
12676 2012-10-22  Andreas Jaeger  <aj@suse.de>
12678         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12679         __O_RSYNC if it exists, otherwise to O_SYNC.
12681 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
12682             Joseph Myers  <joseph@codesourcery.com>
12684         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12685         /dev/null.
12686         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12687         from /dev/null
12688         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12689         /dev/null.
12691 2012-10-22  Andreas Jaeger  <aj@suse.de>
12693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12694         Define always.
12695         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12698         bits/fcntl-linux.h.
12700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12701         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12703         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12704         to __O_LARGEFILE.
12705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12706         to __O_LARGEFILE.
12708 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
12709             Joseph Myers  <joseph@codesourcery.com>
12711         * config.make.in (NM): New variable.
12713 2012-10-21  Andreas Jaeger  <aj@suse.de>
12715         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12716         definitions and declarations that are provided by
12717         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12719 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12721         [BZ #14683]
12722         * elf/Makefile (tests-static): Add tst-leaks1-static.
12723         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12724         ($(objpfx)tst-leaks1-static): New rule.
12725         ($(objpfx)tst-leaks1-static-mem): Likewise.
12726         (tst-leaks1-static-ENV): New macro.
12727         * elf/dl-open.c (dl_open_worker): Check the main application
12728         only if SHARED is defined.
12729         * elf/tst-leaks1-static.c: New file.
12731 2012-10-20  Andreas Jaeger  <aj@suse.de>
12733         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12734         generic values for Linux.
12735         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12736         and declarations that are provided by <bits/fcntl-linux.h> and
12737         include <bits/fcntl-linux.h>.
12738         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12739         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12741 2012-10-20  Roland McGrath  <roland@hack.frob.com>
12743         * io/fcntl.h: Move include of <bits/types.h> to the top and
12744         include it unconditionally.
12746 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12748         * wcsmbs/Makefile (tests-ifunc): New variable.
12749         (tests): Add $(tests-ifunc).
12750         * wcsmbs/test-wcschr-ifunc.c: New file.
12751         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12752         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12753         * wcsmbs/test-wcslen-ifunc.c: Likewise.
12754         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12755         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12757         * string/Makefile (tests-ifunc): New variable.
12758         (tests): Add $(tests-ifunc).
12759         * string/test-memccpy.c (TEST_NAME): New macro.
12760         * string/test-memchr.c (TEST_NAME): Likewise.
12761         * string/test-memcmp.c (TEST_NAME): Likewise.
12762         * string/test-memcpy.c (TEST_NAME): Likewise.
12763         * string/test-memmem.c (TEST_NAME): Likewise.
12764         * string/test-memmove.c (TEST_NAME): Likewise.
12765         * string/test-memset.c (TEST_NAME): Likewise.
12766         * string/test-rawmemchr.c (TEST_NAME): Likewise.
12767         * string/test-stpcpy.c (TEST_NAME): Likewise.
12768         * string/test-stpncpy.c (TEST_NAME): Likewise.
12769         * string/test-strcasecmp.c (TEST_NAME): Likewise.
12770         * string/test-strcasestr.c (TEST_NAME): Likewise.
12771         * string/test-strcat.c (TEST_NAME): Likewise.
12772         * string/test-strchr.c (TEST_NAME): Likewise.
12773         * string/test-strcmp.c(TEST_NAME): Likewise.
12774         * string/test-strcpy.c (TEST_NAME): Likewise.
12775         * string/test-strcspn.c (TEST_NAME): Likewise.
12776         * string/test-strlen.c (TEST_NAME): Likewise.
12777         * string/test-strncasecmp.c (TEST_NAME): Likewise.
12778         * string/test-strncmp.c (TEST_NAME): Likewise.
12779         * string/test-strncpy.c (TEST_NAME): Likewise.
12780         * string/test-strnlen.c (TEST_NAME): Likewise.
12781         * string/test-strpbrk.c (TEST_NAME): Likewise.
12782         * string/test-strrchr.c (TEST_NAME): Likewise.
12783         * string/test-strspn.c (TEST_NAME): Likewise.
12784         * string/test-strstr.c (TEST_NAME): Likewise.
12785         * string/test-bcopy-ifunc.c: New file.
12786         * string/test-bzero-ifunc.c: Likewise.
12787         * string/test-memccpy-ifunc.c: Likewise.
12788         * string/test-memchr-ifunc.c: Likewise.
12789         * string/test-memcmp-ifunc.c: Likewise.
12790         * string/test-memcpy-ifunc.c: Likewise.
12791         * string/test-memmem-ifunc.c: Likewise.
12792         * string/test-memmove-ifunc.c: Likewise.
12793         * string/test-mempcpy-ifunc.c: Likewise.
12794         * string/test-memset-ifunc.c: Likewise.
12795         * string/test-rawmemchr-ifunc.c: Likewise.
12796         * string/test-stpcpy-ifunc.c: Likewise.
12797         * string/test-stpncpy-ifunc.c: Likewise.
12798         * string/test-strcasecmp-ifunc.c: Likewise.
12799         * string/test-strcasestr-ifunc.c: Likewise.
12800         * string/test-strcat-ifunc.c: Likewise.
12801         * string/test-strchr-ifunc.c: Likewise.
12802         * string/test-strchrnul-ifunc.c: Likewise.
12803         * string/test-strcmp-ifunc.c: Likewise.
12804         * string/test-strcpy-ifunc.c: Likewise.
12805         * string/test-strcspn-ifunc.c: Likewise.
12806         * string/test-strlen-ifunc.c: Likewise.
12807         * string/test-strncasecmp-ifunc.c: Likewise.
12808         * string/test-strncat-ifunc.c: Likewise.
12809         * string/test-strncmp-ifunc.c: Likewise.
12810         * string/test-strncpy-ifunc.c: Likewise.
12811         * string/test-strnlen-ifunc.c: Likewise.
12812         * string/test-strpbrk-ifunc.c: Likewise.
12813         * string/test-strrchr-ifunc.c: Likewise.
12814         * string/test-strspn-ifunc.c: Likewise.
12815         * string/test-strstr-ifunc.c: Likewise.
12817         * debug/Makefile (tests-ifunc): New variable.
12818         (tests): Add $(tests-ifunc).
12819         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12820         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12821         * debug/test-stpcpy_chk-ifunc.c: New file.
12822         * debug/test-strcpy_chk-ifunc.c: Likewise.
12824 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12826         [BZ #13601]
12827         * elf/dl-load.c (open_verify): Retry read if the entire ELF
12828         header is not read in.
12830 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
12832         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
12833         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
12834         directly.  Pass built executable to script as
12835         $(built-program-cmd).
12836         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
12837         $testprogram without using LD_LIBRARY_PATH and $ldso.
12839         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12840         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12841         $(rtld-installed-name).
12842         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12843         (rtld_installed_name): Likewise.
12844         (library_path): Likewise.
12845         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
12846         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12847         $(run-program-prefix) to tst-tables.sh.
12848         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
12849         it to run tst-table-from and tst-table-to.
12850         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12851         Pass it to tst-table.sh.
12852         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12853         $(run-program-prefix) to tst-gettext.sh.
12854         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12855         tst-translit.sh.
12856         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12857         tst-gettext2.sh.
12858         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
12859         to run tst-gettext.
12860         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
12861         to run tst-gettext2.
12862         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
12863         to run tst-translit.
12864         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12865         $(run-program-prefix) to tst-mtrace.sh.
12866         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
12867         to run tst-mtrace.
12868         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12869         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12870         $(rtld-installed-name).
12871         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12872         (rtld_installed_name): Likewise.
12873         (run_program_prefix): New variable.  Use it to run wordexp-test.
12875         * Makeconfig (ARCH): Remove all definitions.
12876         (machine): Likewise.
12877         [ARCH]: Remove conditional code.
12878         [!objdir]: Give error.
12879         [!objdir] (objpfx): Remove.
12880         [!objdir] (common-objpfx): Likewise.
12881         [!objdir] (common-objdir): Likewise.
12882         * configure.in (config_makefile): Remove.  Hardcode Makefile in
12883         AC_CONFIG_FILES call.
12884         * configure: Regenerated.
12886         [BZ #13888]
12887         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12888         or TMPDIR.
12889         (testout): Likewise.
12891         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12892         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12893         $(rtld-installed-name).
12894         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12895         (rtld_installed_name): Likwise.
12896         (runit): Remove function.
12897         (run_getconf): New variable,  Use it for running getconf binary.
12899 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
12901         [BZ #14716]
12902         * string/test-memmem.c (check_result): New function.
12903         (do_one_test): Use it.
12904         (check1): New function.
12905         (test_main): Use it.
12907 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
12909         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12911 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
12913         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12914         (_G_LSEEK64): Likewise.
12915         (_G_MMAP64): Likewise.
12916         (_G_FSTAT64): Likewise.
12917         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12918         (_G_LSEEK64): Likewise.
12919         (_G_MMAP64): Likewise.
12920         (_G_FSTAT64): Likewise.
12921         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12922         unconditional.  Call __mmap64 directly.
12923         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12924         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
12925         __lseek64 directly.
12926         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12927         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
12928         __mmap64 directly.
12929         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12930         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
12931         __lseek64 directly.
12932         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12933         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
12934         __lseek64 directly.
12935         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12936         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
12937         __lseek64 directly.
12938         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12939         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
12940         __fxstat64 directly.
12941         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12942         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12943         unconditional.
12944         (freopen64) [!_G_OPEN64]: Remove conditional code.
12945         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12946         unconditional.
12947         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12948         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12949         unconditional.
12950         (ftello64) [!_G_LSEEK64]: Remove conditional code.
12951         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12952         unconditional.
12953         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12954         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12955         unconditional.
12956         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12957         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12958         unconditional.
12959         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12960         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12961         unconditional.
12962         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12963         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12964         unconditional.
12965         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12967 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12969         [BZ #12140]
12970         * manual/memory.texi (Malloc Tunable Parameters): Add note
12971         about free list pointers overwriting some perturb bytes.
12972         Wording suggested by Roland McGrath.
12974 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
12976         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12977         (lgamma_test): Likewise.
12978         (tgamma_test): Likewise.
12980 2012-10-16  Florian Weimer  <fweimer@redhat.com>
12982         [BZ #14700]
12983         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12984         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12986 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
12988         * NEWS: Mention BZ #14716.
12989         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12990         when removing AVAILABLE1_USES_J macro.
12992 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12994         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12995         (__bswap_64): __uint64_t for unsigned 64-bit int.
12997 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
12999         * include/string.h (memmem): Declare libc hidden alias.
13000         * string/memmem.c (memmem): Define libc hidden alias.
13001         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13002         __read, __close instead of open, read, close.
13004 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13007         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13008         global and hidden.
13009         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13010         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13011         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13012         Likewise.
13013         (__rawmemchr_sse2): Likewise.
13014         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13015         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13016         (__strchr_sse2): Likewise.
13017         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13018         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13019         (__strcasecmp_sse2): Likewise.
13020         (__strncasecmp_sse2): Likewise.
13021         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13022         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13023         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13024         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13025         (__strrchr_sse2): Likewise.
13026         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13027         ifunc-impl-list.c.
13028         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13029         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13030         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13031         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13032         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13033         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13034         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13036         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13037         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13038         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13039         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13040         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13041         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13042         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13043         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13044         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13045         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13046         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13047         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13048         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13049         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13050         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13051         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13052         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13053         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13054         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13055         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13056         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13057         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13059         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13060         global and hidden.
13061         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13062         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13063         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13064         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13065         Likewise.
13066         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13067         Likewise.
13068         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13069         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13070         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13071         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13072         ifunc-impl-list.c.
13073         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13074         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13075         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13076         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13077         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13078         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13079         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13080         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13081         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13082         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13083         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13084         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13085         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13086         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13087         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13088         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13089         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13090         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13091         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13092         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13093         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13094         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13095         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13096         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13097         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13098         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13099         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13100         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13101         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13102         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13103         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13104         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13105         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13106         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13107         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13108         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13109         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13110         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13111         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13112         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13113         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13115         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13116         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13117         * include/ifunc-impl-list.h: New file.
13118         * misc/ifunc-impl-list.c: Likewise.
13119         * misc/Makefile (routines): Add ifunc-impl-list.
13120         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13121         * string/test-string.h: Include <ifunc-impl-list.h>.
13122         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13123         impl_array): New variables.
13124         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13125         are defined.
13126         (test_init): Call __libc_ifunc_impl_list to initialize
13127         func_list if TEST_IFUNC and TEST_NAME are defined.
13129         * string/Makefile (strop-tests): Add bcopy and bzero.
13130         * string/test-bcopy.c: New file.
13131         * string/test-bzero.c: Likewise.
13132         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13133         defined.
13134         * string/test-memset.c: Support bzero test if TEST_BZERO is
13135         defined.
13136         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13137         __libc_memmove.
13138         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13139         __libc_memset.
13140         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13141         of memset.
13143 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13145         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13146         * configure: Regenerated.
13148         * Makeconfig (+link-static-before-libc): Don't include
13149         $(link-static-libc).
13151         * libio/libio.h (_IO_pos_t): Remove.
13153 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13155         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
13156         McGrath.
13158 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13160         * crypt/crypt-entry.c: Include fips-private.h.
13161         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13162         * crypt/md5c-test.c (main): Tolerate disabled MD5.
13163         * sysdeps/unix/sysv/linux/fips-private.h: New file.
13164         * sysdeps/generic/fips-private.h: New file, dummy fallback.
13166 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13168         * crypt/crypt-private.h: Include stdbool.h.
13169         (_ufc_setup_salt_r): Return bool.
13170         * crypt/crypt-entry.c: Include errno.h.
13171         (__crypt_r): Return NULL with EINVAL for bad salt.
13172         * crypt/crypt_util.c (bad_for_salt): New.
13173         (_ufc_setup_salt_r): Check that salt is long enough and within
13174         the specified alphabet.
13175         * crypt/badsalttest.c: New file.
13176         * crypt/Makefile (tests): Add it.
13177         ($(objpfx)badsalttest): New.
13179 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
13181         * NEWS: Add entry for BZ #14602.
13183 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13185         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13186         type-generic.
13187         * math/libm-test.inc: Update comment listing what functions and
13188         macros are tested.
13189         (isgreater_test): New function.
13190         (isgreaterequal_test): Likewise.
13191         (isless_test): Likewise.
13192         (islessequal_test): Likewise.
13193         (islessgreater_test): Likewise.
13194         (isunordered_test): Likewise.
13195         (main): Call the new functions.
13197 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13199         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13200         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13201         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13202         * sysdeps/i386/configure: Regenerated.
13203         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13204         * sysdeps/mach/configure: Regenerated.
13205         * sysdeps/mach/hurd/configure: Regenerated.
13206         * sysdeps/powerpc/configure: Regenerated.
13207         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13208         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13209         * sysdeps/s390/s390-32/configure: Regenerated.
13210         * sysdeps/s390/s390-64/configure: Regenerated.
13211         * sysdeps/sh/configure: Regenerated.
13212         * sysdeps/sparc/configure: Regenerated.
13213         * sysdeps/unix/sysv/linux/configure: Regenerated.
13214         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13215         * sysdeps/x86_64/configure: Regenerated.
13217         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13218         defined.  Don't check if MAP is NULL.
13220 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13222         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13223         (_G_stat64): Likewise.
13224         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13225         (_G_stat64): Likewise.
13226         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13227         instead of struct _G_stat64.
13228         * libio/fileops.c (mmap_remap_check): Likewise.
13229         (decide_maybe_mmap): Likewise.
13230         (_IO_new_file_seekoff): Likewise.
13231         (_IO_file_stat): Likewise.
13232         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13233         _G_off64_t.
13234         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13235         instead of struct _G_stat64.
13236         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13238 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
13240         [BZ #14602]
13241         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13242         Replace with ...
13243         (CHECK_EOL): New macro.
13244         (two_way_short_needle): Check beginning of haystack for EOL.  Use
13245         CHECK_EOL.
13246         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13247         Replace with CHECK_EOL.
13248         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13249         Replace with CHECK_EOL.
13251 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
13253         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13254         type-generic.
13255         * math/libm-test.inc: Update comment listing what functions and
13256         macros are tested.
13257         (finite_test): New function.
13258         (isinf_test): Likewise.
13259         (isnan_test): Likewise.
13260         (fpclassify_test): Test subnormal input.
13261         (isfinite_test): Likewise.
13262         (isnormal_test): Likewise.
13263         (main): Call the new functions.
13265 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
13267         [BZ #14660]
13268         * Makerules (%.dynsym): Force C locale when running
13269         $(OBJDUMP) --dynamic-syms.
13271 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
13273         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13274         <stdint.h>.
13276 2012-10-06  David S. Miller  <davem@davemloft.net>
13278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13279         upper 32-bits of the length value in %o2 since we use branch-on-register
13280         tests which consider the entire 64-bit register.
13282 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
13284         * string/test-strstr.c (check2): Add a test for page boundary.
13286 2012-10-05  David S. Miller  <davem@davemloft.net>
13288         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13289         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13290         file.
13291         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13292         sysdep_routines.
13293         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13294         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13295         and bzero when HWCAP_SPARC_CRYPTO is present.
13297 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
13299         [BZ #14602]
13300         * string/test-strstr.c (check2): New function.
13301         (test_main): Call check2.
13303         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13304         and bug-strchr1.
13305         * string/bug-strcasestr1.c (do_test): Moved to ...
13306         * string/test-strcasestr.c (check1): Here.  New function.
13307         (do_one_test): Break out result checking code into ...
13308         (check_result): This.  New function.
13309         (do_one_test): Call check_result.
13310         (test_main): Call check1.
13311         * string/bug-strchr1.c (do_test): Moved to ...
13312         * string/test-strchr.c (check1): Here.  New function.
13313         (do_one_test): Break out result checking code into ...
13314         (check_result): This.  New function.
13315         (do_one_test): Call check_result.
13316         (test_main): Call check1.
13317         * string/bug-strstr1.c (main): Moved to ...
13318         * string/test-strstr.c (check1): Here.  New function.
13319         (do_one_test): Break out result checking code into ...
13320         (check_result): This.  New function.
13321         (do_one_test): Call check_result.
13322         (test_main): Call check1.
13323         * string/bug-strcasestr1.c: Removed.
13324         * string/bug-strchr1.c: Likewise.
13325         * string/bug-strstr1.c: Likewise.
13327         * elf/Makefile (dl-routines): Add hwcaps.
13328         * elf/dl-support.c (_dl_important_hwcaps): Removed.
13329         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13330         (_dl_important_hwcaps): Moved to ...
13331         * elf/dl-hwcaps.c: Here.  New file.
13332         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13334         [BZ #14557]
13335         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13336         if IS_IN_rtld isn't defined.
13338         * elf/dl-support.c (_dl_sysinfo_map): New.
13339         Include "get-dynamic-info.h" and "setup-vdso.h".
13340         (_dl_non_dynamic_init): Call setup_vdso.
13341         * elf/dynamic-link.h: Don't include <assert.h>.
13342         (elf_get_dynamic_info): Moved to ...
13343         * elf/get-dynamic-info.h: Here.  New file.
13344         * elf/dynamic-link.h: Include "get-dynamic-info.h".
13345         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13346         * elf/setup-vdso.h: Here.  New file.
13347         * elf/rtld.c: Include "setup-vdso.h".
13348         (dl_main): Call setup_vdso.
13350 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
13352         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13353         creal in comment listing functions tested.  List finite, isinf,
13354         isnan, isless, islessequal, isgreater, isgreaterequal,
13355         islessgreater, isunordered, lgamma_r and pow10 as functions and
13356         macros not tested.  Mention which functions not tested are aliases
13357         for other functions.  Fix typo.  Note that signs of NaNs are not
13358         tested.
13360         * scripts/config.guess: Update from config.git.
13361         * scripts/config.sub: Likewise.
13363 2012-10-04  Roland McGrath  <roland@hack.frob.com>
13365         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13366         * misc/madvise.c (madvise): Renamed to __madvise.
13367         Make madvise a weak alias.
13368         * include/sys/mman.h: Declare __madvise.
13369         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13370         * sysdeps/unix/syscalls.list
13371         (madvise): Make __madvise the strong name, and madvise a weak alias.
13372         * sysdeps/unix/sysv/linux/syscalls.list
13373         (madvise, mmap): Remove redundant entries.
13374         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13375         * malloc/malloc.c (mtrim): Likewise.
13376         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13378 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13380         * sysdeps/mach/hurd/dl-cache.c: File removed.
13381         * config.h.in (USE_LDCONFIG): New #undef.
13382         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13383         * configure: Regenerated.
13384         * elf/Makefile (dl-routines): Add dl-cache only under
13385         [$(use-ldconfig) = yes].
13386         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13387         cache on [USE_LDCONFIG].
13388         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13389         [USE_LDCONFIG].
13390         * elf/rtld.c (dl_main): Likewise.
13392 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
13394         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13395         _SC_LEVEL4_CACHE_LINESIZE.
13397 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13399         * sysdeps/unix/bsd/confstr.h: File removed.
13401 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
13403         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13404         sys/sdt-config.h.
13406 2012-10-02  Roland McGrath  <roland@hack.frob.com>
13408         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13409         Make 'mapoff' field ElfW(Off) rather than off_t.
13411 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
13413         * nscd/Makefile: Remove nscd-cflags and all its users.
13414         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13415         (CFLAGS-nonlib): Add compiler flags for nscd modules.
13417         [BZ #10631]
13418         * malloc.c (malloc_printerr): Clarify error message.
13420 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
13422         [BZ #14648]
13423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13424         Set bit_FMA_Usable if FMA is supported.
13425         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13426         macro.
13427         (bit_FMA4_Usable): Updated.
13428         (index_FMA_Usable): New macro.
13429         (CPUID_FMA): Likewise
13430         (HAS_FMA): Defined with bit_FMA_Usable.
13432 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13434         * bits/types.h (__swblk_t): Type removed.
13435         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13436         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13438         (__SWBLK_T_TYPE): Likewise.
13439         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13440         (__SWBLK_T_TYPE): Likewise.
13441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13442         (__SWBLK_T_TYPE): Likewise.
13443         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13444         (__SWBLK_T_TYPE): Likewise.
13446 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
13447             Honza Horak <hhorak@redhat.com>
13449         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13450         (xdr_mapname): Use YPMAXMAP as maxsize.
13451         (xdr_peername): Use YPMAXPEER as maxsize.
13452         (xdr_keydat): Use YPAXRECORD as maxsize.
13453         (xdr_valdat): Use YPMAXRECORD as maxsize.
13455 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13457         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13459         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13460         * csu/init-first.c: ... here.
13461         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13462         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13463         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13464         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13465         * sysdeps/i386/init-first.c: File removed.
13466         * sysdeps/sh/init-first.c: File removed.
13468 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
13470         [BZ #14645]
13471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13472         if x * y might underflow to zero and z is zero.
13473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13475         * math/libm-test.inc (min_subnorm_value): New variable.
13476         (fma_test): Add more tests.
13477         (fma_test_towardzero): Likewise.
13478         (fma_test_downward): Likewise
13479         (fma_test_upward): Likewise.
13480         (initialize): Set min_subnorm_value.
13482 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
13484         [BZ #14638]
13485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13486         0 + 0.
13487         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13488         mode for addition resulting in exact zero.
13489         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13491         exact 0 + 0.
13492         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13493         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13494         * math/libm-test.inc (fma_test): Add more tests.
13495         (fma_test_towardzero): New function.
13496         (fma_test_downward): Likewise.
13497         (fma_test_upward): Likewise.
13498         (main): Call the new functions.
13500 2012-09-28  David S. Miller  <davem@davemloft.net>
13502         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13504 2012-09-28  Roland McGrath  <roland@hack.frob.com>
13506         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13507         instead of SIGALRM.
13509         * sysdeps/gnu/_G_config.h: Moved to ...
13510         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13511         * sysdeps/mach/hurd/_G_config.h: Moved to ...
13512         * sysdeps/generic/_G_config.h: ... here.
13514         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
13516         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13518         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13519         Conditionalize target on [libnss_test1.so-version].
13521         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13523         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13524         (elfobjdir): Move out of conditionals.
13526         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13527         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13528         (__nss_lookup_function): Conditionalize label remove_from_tree on
13529         [!DO_STATIC_NSS || SHARED], matching its only use.
13531 2012-09-28  David S. Miller  <davem@davemloft.net>
13533         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13534         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13535         file.
13536         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13537         sysdep_routines.
13538         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13540         when HWCAP_SPARC_CRYPTO is present.
13542 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13544         * io/tst-mknodat.c: Create a FIFO instead of a socket.
13546 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13548         [BZ #6530]
13549         * stdio-common/vfprintf.c (process_string_arg): Revert
13550         2000-07-22 change.
13552 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
13554         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13555         for testcase.
13556         * stdio-common/tst-sprintf.c: Include <locale.h>
13557         (main): Test sprintf's handling of incomplete multibyte
13558         characters.
13560 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
13562         * elf/dl-runtime.c (VERSYMIDX): Removed.
13563         * elf/dl-version.c (VERSYMIDX): Likewise.
13564         * elf/do-rel.h (VERSYMIDX): Likewise.
13565         (VALIDX): Likewise.
13566         * elf/dynamic-link.h (VERSYMIDX): Likewise.
13567         * elf/rtld.c (VALIDX): Likewise.
13568         (ADDRIDX): Likewise.
13569         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13570         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13571         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13572         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13573         (VALIDX): Likewise.
13574         (ADDRIDX): Likewise.
13576 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13578         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13580 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
13582         [BZ #11438]
13583         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13584         to global scope.
13585         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13586         addresses are in the same scope as 192.0.2/24.
13587         * posix/gai.conf: Document new scope table defaults.
13589 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13591         [BZ #5298]
13592         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13593         for ftell.  Compute offsets from write pointers instead.
13594         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13596 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13598         [BZ #14543]
13599         * libio/Makefile (tests): New test case tst-fseek.
13600         * libio/tst-fseek.c: New test case to verify that fseek/ftell
13601         combination works in wide mode.
13602         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13603         state when the external buffer state changes.
13605 2012-09-27  David S. Miller  <davem@davemloft.net>
13607         [BZ #14376]
13608         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13609         pass reloc->r_addend in as the 'high' argument to
13610         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13614 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13616         * rt/tst-aio2.c: Include <pthread.h>.
13617         * rt/tst-aio3.c: Likewise.
13619 2012-09-27  Steve Ellcey  <sellcey@mips.com>
13621         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13623 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13625         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13626         contents on [SHARED].
13628 2012-09-26  Marek Polacek  <polacek@redhat.com>
13630         [BZ #14530]
13631         [BZ #13741]
13632         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13633         for C++ and GCC <4.3 as well as for non GCC compilers.
13635 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13639 2012-09-25  Roland McGrath  <roland@hack.frob.com>
13641         * Makefile.in (all, install): Declare with .PHONY.
13642         Reported by Michael Hope <michael.hope@linaro.org>.
13644 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13646         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13647         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13648         system header.
13649         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13650         Likewise.
13651         (sydep_routines): Add the new and the internal functions.
13652         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13653         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13655         (GLIBC_2.17): Add the new function.
13656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13657         (GLIBC_2.17): Likewise.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13659         (GLIBC_2.17): Likewise.
13660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13661         (GLIBC_2.17): Likewise.
13662         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13664 2012-09-25  Alan Modra  <amodra@gmail.com>
13666         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13667         Add release barrier before setting once_control to say
13668         initialisation is done.  Add hints on lwarx.  Use macro in
13669         place of isync.
13670         (clear_once_control): Add release barrier.
13672 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13674         [BZ #13629]
13675         * math/s_clog.c (__clog): Handle more values close to |z| = 1
13676         specially.
13677         * math/s_clog10.c (__clog10): Likewise.
13678         * math/s_clog10f.c (__clog10f): Likewise.
13679         * math/s_clog10l.c (__clog10l): Likewise.
13680         * math/s_clogf.c (__clogf): Likewise.
13681         * math/s_clogl.c (__clogl): Likewise.
13682         * math/Makefile (libm-calls): Add x2y2m1.
13683         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13684         (__x2y2m1): Likewise.
13685         (__x2y2m1l): Likewise.
13686         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13687         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13688         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13689         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13690         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13691         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13692         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13693         * sysdeps/i386/fpu/libm-test-ulps: Update.
13694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13696         [BZ #14621]
13697         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13698         int as type of variable DEPTH.
13699         (glob): Use size_t instead of int as type of variables NEWCOUNT
13700         and OLD_PATHC.
13702 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13704         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13705         Add s_sincosf-sse2.
13706         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13707         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13708         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13709         macros for using routine as __sincosf_ia32.
13710         Use macro for function declaration and weak_alias.
13711         * sysdeps/i386/fpu/libm-test-ulps: Update.
13713         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13716         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13717         subnormal argument.
13718         * math/s_cexpf.c (__cexpf): Likewise.
13719         * math/s_csinf.c (__csinf): Likewise.
13720         * math/s_csinhf.c (__csinhf): Likewise.
13721         * math/s_ctanf.c (__ctanf): Likewise.
13722         * math/s_ctanhf.c (__ctanhf): Likewise.
13723         * math/s_ccosh.c (__ccoshf): Likewise.
13724         * math/s_cexp.c (__cexpl): Likewise.
13725         * math/s_csin.c (__csin): Likewise.
13726         * math/s_csinh.c (__csinh): Likewise.
13727         * math/s_ctan.c (__ctan): Likewise.
13728         * math/s_ctanh.c (ctanh): Likewise.
13729         * math/s_ccoshl.c (__ccoshl): Likewise.
13730         * math/s_cexpl.c (__cexpl): Likewise.
13731         * math/s_csinl.c (__csinl): Likewise.
13732         * math/s_csinhl.c (__csinhl): Likewise.
13733         * math/s_ctanl.c (__ctanl): Likewise.
13734         * math/s_ctanhl.c (__ctanhl): Likewise.
13736 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13738         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13739         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13740         (_IO_off_t): Define to __off_t, not _G_off_t.
13741         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13742         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13743         (_IO_wint_t): Define to wint_t, not _G_wint_t.
13744         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13745         type of __dummy and __dummy2 fields.
13746         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13747         (_G_ssize_t): Likewise.
13748         (_G_off_t): Likewise.
13749         (_G_pid_t): Likewise.
13750         (_G_uid_t): Likewise.
13751         (_G_wchar_t): Likewise.
13752         (_G_wint_t): Likewise.
13753         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13754         (_G_ssize_t): Likewise.
13755         (_G_off_t): Likewise.
13756         (_G_pid_t): Likewise.
13757         (_G_uid_t): Likewise.
13758         (_G_wchar_t): Likewise.
13759         (_G_wint_t): Likewise.
13760         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13761         (_G_ssize_t): Likewise.
13762         (_G_off_t): Likewise.
13763         (_G_pid_t): Likewise.
13764         (_G_uid_t): Likewise.
13765         (_G_wchar_t): Likewise.
13766         (_G_wint_t): Likewise.
13768 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13770         * malloc/arena.c: Include malloc-sysdep.h.
13771         (shrink_heap): Use check_may_shrink_heap to decide if madvise
13772         is sufficient to shrink the heap or an unmap is needed.
13773         * sysdeps/generic/malloc-sysdep.h: New file.  Define
13774         new function check_may_shrink_heap.
13775         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
13776         new function check_may_shrink_heap.
13778 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13780         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13781         comments.
13783 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
13785         * catgets/test-gencat.sh: Add "set -e".
13786         * elf/tst-pathopt.sh: Likewise.
13787         * grp/tst_fgetgrent.sh: Likewise.
13788         * iconvdata/run-iconv-test.sh: Likewise.
13789         * intl/tst-gettext.sh: Likewise.
13790         * intl/tst-gettext2.sh: Likewise.
13791         * intl/tst-gettext4.sh: Likewise.
13792         * intl/tst-gettext6.sh: Likewise.
13793         * intl/tst-translit.sh: Likewise.
13794         * io/ftwtest-sh: Likewise.
13795         * libio/test-freopen.sh: Likewise.
13796         * malloc/tst-mtrace.sh: Likewise.
13797         * posix/globtest.sh: Likewise.
13798         * posix/tst-getconf.sh: Likewise.
13799         * posix/wordexp-tst.sh: Likewise.
13800         * stdio-common/tst-printf.sh: Likewise.
13801         * stdio-common/tst-unbputc.sh: Likewise.
13802         * stdlib/tst-fmtmsg.sh: Likewise.
13803         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13804         * catgets/Makefile: Do not specify -e option when running
13805         testsuite shell scripts.
13806         * elf/Makefile: Likewise.
13807         * grp/Makefile: Likewise.
13808         * iconvdata/Makefile: Likewise.
13809         * intl/Makefile: Likewise.
13810         * io/Makefile: Likewise.
13811         * libio/Makefile: Likewise.
13812         * malloc/Makefile: Likewise.
13813         * posix/Makefile: Likewise.
13814         * stdio-common/Makefile: Likewise.
13815         * stdlib/Makefile: Likewise.
13816         * sysdeps/x86_64/Makefile: Likewise.
13818         * io/ftwtest-sh: Add copyright header.
13819         * posix/globtest.sh: Likewise.
13820         * posix/tst-getconf.sh: Likewise.
13821         * posix/wordexp-tst.sh: Likewise.
13822         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13824 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
13826         [BZ #13679]
13827         * Makeconfig (+link): Defined as $(+link-static) if
13828         $(build-shared) isn't yes.
13829         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13830         isn't yes.
13831         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13833         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13835         [BZ #14562]
13836         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13837         new chunk size with MALLOC_ALIGN_MASK.
13839 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
13841         [BZ #5044]
13842         * stdio-common/printf_fphex.c: Include <stdbool.h> and
13843         <rounding-mode.h>.
13844         (__printf_fphex): Determine rounding using get_rounding_mode and
13845         round_away.
13846         * stdio-common/tst-printf-round.c (struct hex_test): New
13847         structure.
13848         (hex_tests): New variable.
13849         (test_hex_in_one_mode): New function.
13850         (do_test): Also run tests for hex float output.
13852 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
13854         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13855         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13856         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13857         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13858         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13859         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13860         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13861         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13863 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
13865         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13866         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13867         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13868         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13870 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
13872         [BZ #14579]
13873         * elf/rtld.c (dl_main): Limit the check for self loading to normal
13874         mode only.
13875         * elf/tst-rtld-load-self.sh: New test.
13876         * elf/Makefile: Run it.
13878 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
13880         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13881         (tst-writev-ENV): Remove.
13882         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13884 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
13886         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13888 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
13890         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13891         unconditional.
13892         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13893         Likewise.
13894         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13895         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13896         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13897         Likewise.
13899 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
13901         [BZ #14587]
13902         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13903         * config.make.in (have-cpp-asm-debuginfo): Removed.
13904         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13905         * configure: Regenerated.
13907 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
13909         [BZ #5044]
13910         * stdio-common/printf_fp.c: Include <stdbool.h> and
13911         <rounding-mode.h>.
13912         (___printf_fp): Determine rounding using get_rounding_mode and
13913         round_away.
13914         * stdio-common/tst-printf-round.c: New file.
13915         * stdio-common/Makefile (tests): Add tst-printf-round.
13916         (link-libm): New variable.
13917         ($(objpfx)tst-printf-round): Depend in $(link-libm).
13919 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
13921         [BZ #14576]
13922         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13923         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13924         Likewise.
13925         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13926         Likewise.
13928 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
13930         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13931         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13932         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13933         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13935 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
13937         [BZ #14518]
13938         * include/rounding-mode.h: New file.
13939         * sysdeps/generic/get-rounding-mode.h: Likewise.
13940         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13941         * stdlib/strtod_l.c: Include <rounding-mode.h>.
13942         (MAX_VALUE): New macro.
13943         (MIN_VALUE): Likewise.
13944         (overflow_value): New function.
13945         (underflow_value): Likewise.
13946         (round_and_return): Use overflow_value and underflow_value to
13947         determine return values in overflow and underflow cases.  Use
13948         round_away to determine rounding depending on rounding mode.
13949         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13950         determine return values in overflow and underflow cases.
13951         * stdlib/tst-strtod-round.c: Include <fenv.h>.
13952         (struct test_results): New structure.
13953         (struct test): Use struct test_results to store expected results
13954         for all rounding modes.
13955         (TEST): Include expected results for all rounding modes.
13956         (test_in_one_mode): New function.
13957         (do_test): Use test_in_one_mode to compute and check results.
13958         Check results for all rounding modes.
13959         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13960         $(link-libm).
13962 2012-12-09  Allan McRae  <allan@archlinux.org>
13964         * sysdeps/i386/fpu/libm-test-ulps: Update
13966 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
13968         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13969         (_G_int32_t): Likewise.
13970         (_G_uint16_t): Likewise.
13971         (_G_uint32_t): Likewise.
13972         (_G_HAVE_BOOL): Likewise.
13973         (_G_HAVE_ATEXIT): Likewise.
13974         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13975         (_G_HAVE_IO_FILE_OPEN): Likewise.
13976         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13977         (_G_int32_t): Likewise.
13978         (_G_uint16_t): Likewise.
13979         (_G_uint32_t): Likewise.
13980         (_G_HAVE_BOOL): Likewise.
13981         (_G_HAVE_ATEXIT): Likewise.
13982         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13983         (_G_HAVE_IO_FILE_OPEN): Likewise.
13984         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13985         (_G_int32_t): Likewise.
13986         (_G_uint16_t): Likewise.
13987         (_G_uint32_t): Likewise.
13988         (_G_HAVE_BOOL): Likewise.
13989         (_G_HAVE_ATEXIT): Likewise.
13990         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13991         (_G_HAVE_IO_FILE_OPEN): Likewise.
13993 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
13995         * csu/libc-tls.c: Update copyright years.
13997 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
13999         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14000         [!_G_USING_THUNKS]: Remove conditional code.
14001         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14002         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14004         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14005         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14006         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14007         (_G_VTABLE_LABEL_PREFIX): Likewise.
14008         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14009         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14010         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14011         (_G_VTABLE_LABEL_PREFIX): Likewise.
14012         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14013         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14014         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14015         (_G_VTABLE_LABEL_PREFIX): Likewise.
14016         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14018 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14020         * libio/Makefile: Include ../Makeconfig before tests.
14021         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14022         only if $(build-shared) is yes.
14024         * iconv/gconv_db.c: Update copyright years.
14026 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14028         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14029         unwind info if defined PIC. Fix special cases description.
14030         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14032         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14033         DP_HI_MASK entry.
14034         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14036 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14038         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14040         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14041         is NULL.
14043         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14044         (LDLIBS-tst-chk4): This.
14045         (LDFLAGS-tst-chk5): Renamed to ...
14046         (LDLIBS-tst-chk5): This.
14047         (LDFLAGS-tst-chk6): Renamed to ...
14048         (LDLIBS-tst-chk6): This.
14049         (LDFLAGS-tst-lfschk4): Renamed to ...
14050         (LDLIBS-tst-lfschk4): This.
14051         (LDFLAGS-tst-lfschk5): Renamed to ...
14052         (LDLIBS-tst-lfschk5): This.
14053         (LDFLAGS-tst-lfschk6): Renamed to ...
14054         (LDLIBS-tst-lfschk6): This.
14056         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14057         on $(common-objpfx)soversions.mk.
14059 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14061         [BZ #10014]
14062         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14063         example host name.
14065 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14067         * malloc/arena.c (arena_get_retry): New function that gets
14068         another arena for the caller to try its request on.
14069         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14070         current arena cannot fulfill the request.
14071         (__libc_memalign): Likewise.
14072         (__libc_memalign): Likewise.
14073         (__libc_pvalloc): Likewise.
14074         (__libc_calloc): Likewise.
14076 2012-09-05  John Tobey  <john.tobey@gmail.com>
14078         [BZ #13542]
14079         * manual/arith.texi (Operations on Complex): Fix description
14080         of carg branch cut.
14082 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14084         [BZ #10014]
14085         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14086         host name.
14088         [BZ #10038]
14089         * manual/memory.texi (Memory): Make order of menu items match
14090         order of sections.
14092 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14094         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14095         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14096         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14098 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14100         * csu/libc-tls.c (static_dtv): Renamed to ...
14101         (_dl_static_dtv): This.  Make it global.
14102         (_dl_initial_dtv): Removed.
14103         (__libc_setup_tls): Updated.
14104         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14105         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14106         DL_INITIAL_DTV.
14108 2012-09-06  Petr Machata  <pmachata@redhat.com>
14110         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14111         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14112         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14113         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14115 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14117         [BZ #14545]
14118         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14119         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14120         freeing dtv[-1].
14122 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14124         [BZ #14544]
14125         * Makeconfig (link-static-before-libc): Replace $(+prector)
14126         with $(+prectorT).
14127         (link-static-after-libc): Replace $(+postctor) with
14128         $(+postctorT).
14129         (link-bounded): Replace $(+prector)/$(+postctor) with
14130         $(+prectorT)/$(+postctorT).
14131         (+prectorT): New macro.
14132         (+postctorT): Likewise.
14134 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14136         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14137         (round_str): Handle values above the maximum for IBM long double
14138         as inexact.
14139         * stdlib/tst-strtod-round.c (tests): Regenerated.
14141 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14143         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14144         assembler flag.
14145         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14146         zarch_nohighgprs around the zarch optimized routines.
14147         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14148         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14149         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14150         for zarch.
14152 2012-09-05  David S. Miller  <davem@davemloft.net>
14154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14156         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14157         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14158         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14159         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14160         entries.
14162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14164         * malloc/arena.c: Fold copyright years.
14165         * malloc/mcheck.c, malloc/memusage.c: Likewise.
14167 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14169         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14171 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14173         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
14175 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14177         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14178         change internal state upon failure.
14180 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14182         * malloc/mcheck.c (mcheck_check_all): Fix typo.
14183         * malloc/memusage.c (mmap): Likewise.
14184         (mmap64, mremap): Likewise.  Adjust name in comment.
14186 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14188         * libio/fileops.c: Fix typos in comments.
14189         * libio/oldfileops.c: Likewise.
14190         * libio/wfileops.c: Likewise.
14192 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14194         [BZ #1349]
14195         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14196         (tst-malloc-usable-ENV): Set environment for test case.
14197         * malloc/hooks.c (malloc_check_get_size): New function to get
14198         requested size.
14199         * malloc/malloc.c (musable): Use malloc_check_get_size.
14200         * malloc/tst-malloc-usable.c: New test case.
14202 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14204         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14206 2012-09-05  Allan McRae  <allan@archlinux.org>
14208         [BZ #13966]
14209         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14210         determine header location.
14211         * configure: Regenerated.
14213 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14215         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14216         float format.
14217         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14218         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14219         format.
14220         (test): Regenerate.
14222 2012-09-04  David S. Miller  <davem@davemloft.net>
14224         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14225         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14226         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14228 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14230         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14231         failures.
14233         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14235 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14237         [BZ #9914]
14238         * libio/iogetdelim.c: Include <limits.h>.
14239         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14240         + len + 1 would overflow.
14242 2012-09-03  Andreas Jaeger  <aj@suse.de>
14244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14245         * sysdeps/i386/fpu/libm-test-ulps: Update.
14247 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14249         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14250         Add s_sinf-sse2, s_conf-sse2.
14252         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14253         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14254         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14255         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14257         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14258         for using routine as __sinf_ia32.
14259         Use macro for function declaration and weak_alias.
14260         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14261         for using routine as __cosf_ia32.
14262         Use macro for function declaration and weak_alias.
14264         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14265         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14267         * sysdeps/x86_64/fpu/s_sinf.S: New file.
14268         * sysdeps/x86_64/fpu/s_cosf.S: New file.
14269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14271         * math/libm-test.inc (cos_test): Add more test cases.
14272         (sin_test): Likewise.
14273         (sincos_test): Likewise.
14275 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14277         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14278         (IFUNC_RESOLVE): Make pointers to the specialized implementations
14279         hidden.
14280         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14282 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
14284         [BZ #14538]
14285         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14286         first element of the GOT.
14287         (elf_machine_load_address): Return the difference between
14288         the runtime address of _DYNAMIC and elf_machine_dynamic ().
14290 2012-09-01  Allan McRae  <allan@archlinux.org>
14292         [BZ #13412]
14293         * configure.in (AWK): Require gawk version 3.0 or later.
14294         * configure: Regenerated.
14296 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
14298         * sysdeps/unix/sysv/linux/kernel-features.h
14299         (__ASSUME_POSIX_CPU_TIMERS): Remove.
14300         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14301         [__NR_clock_getres]: Make code unconditional.
14302         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14303         (clock_getcpuclockid): Remove code left unreachable by removal of
14304         conditionals.
14305         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14306         code unconditional.
14307         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14308         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14309         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14310         Make code unconditional.
14311         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14312         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14313         * sysdeps/unix/sysv/linux/clock_settime.c
14314         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14315         conditional code.
14316         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14317         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14319 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
14321         [BZ #14476]
14322         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14323         scripts/test-installation.pl.
14325         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14326         and $ld_so_version if it is set.
14328 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14330         [BZ #14516]
14331         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14332         failure if reading from procfs failed.
14333         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14335 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14337         * sysdeps/unix/sysv/linux/kernel-features.h
14338         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14339         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14340         Remove conditional code.
14341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14342         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14343         Remove conditional code.
14344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14345         * sysdeps/unix/sysv/linux/i386/fxstat.c
14346         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14348         * sysdeps/unix/sysv/linux/i386/fxstatat.c
14349         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14350         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14351         * sysdeps/unix/sysv/linux/i386/lxstat.c
14352         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14354         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14355         Remove conditional code.
14356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14357         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14358         Remove conditional code.
14359         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14360         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14361         <kernel-features.h>.
14362         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14363         Remove.
14364         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14365         Remove conditional code.
14366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14367         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14368         Remove conditional.
14370 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
14372         [BZ #5400]
14373         * NEWS: Add fixed bug number.
14375 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14377         [BZ #14519]
14378         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14379         underflowing exponent in case of negative sign.
14380         * stdlib/tst-strtod-round-data: Add more tests.
14381         * stdlib/tst-strtod-round.c (tests): Regenerated.
14383         [BZ #3479]
14384         * stdlib/strtod_l.c (NDIG): Remove.
14385         (HEXNDIG): Likewise.
14386         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14387         smallest representable value.
14388         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14389         lie within an exact representation of 1/2 ulp of the result.
14390         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14391         unconditionally.
14392         (TENS_P9_IDX): Define unconditionally.
14393         (TENS_P9_SIZE): Likewise.
14394         (TENS_P10_IDX): Likewise.
14395         (TENS_P10_SIZE): Likewise.
14396         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14397         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14398         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14399         entries for 10^2^13 and 10^2^14.
14400         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14401         (TENS_P13_IDX): Define.
14402         (TENS_P13_SIZE): Likewise.
14403         (TENS_P14_IDX): Likewise.
14404         (TENS_P14_SIZE): Likewise.
14405         (_fpioconst_pow10): Change array size to
14406         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
14407         unconditional.
14408         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14409         1024]: Add entries for 10^2^13 and 10^2^14.
14410         [LAST_POW10 > _LAST_POW10]: Remove #error.
14411         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14412         (_fpioconst_pow10): Change array size to
14413         FPIOCONST_POW10_ARRAY_SIZE.
14414         * stdlib/gen-fpioconst.c: New file.
14415         * stdlib/gen-tst-strtod-round.c: Likewise.
14416         * stdlib/tst-strtod-round-data: Likewise.
14417         * stdlib/tst-strtod-round.c: Likewise.
14418         * stdlib/Makefile (tests): Add tst-strtod-round.
14420         [BZ #14459]
14421         * stdlib/strtod_l.c: Include <stdint.h>.
14422         (NDEBUG): Do not define.
14423         (round_and_return): Change EXPONENT parameter to type intmax_t.
14424         Rearrange calculations to avoid internal overflow possibilities.
14425         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14426         Rearrange calculations to avoid internal overflow possibilities.
14427         Assert that number fits inside MPNSIZE limbs.
14428         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14429         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
14430         calculations and add assertions to avoid internal overflow
14431         possibilities.  Add casts to avoid signed/unsigned operations.
14432         * stdlib/tst-strtod-overflow.c: New file.
14433         * stdlib/Makefile (tests): Add tst-strtod-overflow.
14435 2012-08-25  Marek Polacek  <polacek@redhat.com>
14437         * time/time.h: Fix some typos in comments.
14439 2012-08-23  Roland McGrath  <roland@hack.frob.com>
14441         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14442         * posix/tst-rfc3484-2.c: Likewise.
14443         * posix/tst-rfc3484-3.c: Likewise.
14445 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
14447         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14448         (EF_ARM_ABI_FLOAT_HARD): Likewise.
14450 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
14452         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14453         #include of fxstatat64.c.
14455 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14457         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14458         * shadow/getspent_r.c: Likewise.
14459         * shadow/getspnam.c: Likewise.
14460         * shadow/getspnam_r.c: Likewise.
14461         * gshadow/getsgent.c: Likewise.
14462         * gshadow/getsgent_r.c: Likewise.
14463         * gshadow/getsgnam.c: Likewise.
14464         * gshadow/getsgnam_r.c: Likewise.
14465         * inet/getnetbyad.c: Likewise.
14466         * inet/getnetbyad_r.c: Likewise.
14467         * inet/getnetbynm.c: Likewise.
14468         * inet/getnetbynm_r.c: Likewise.
14469         * inet/getnetent.c: Likewise.
14470         * inet/getnetent_r.c: Likewise.
14471         * inet/getproto.c: Likewise.
14472         * inet/getproto_r.c: Likewise.
14473         * inet/getprtent.c: Likewise.
14474         * inet/getprtent_r.c: Likewise.
14475         * inet/getprtname.c: Likewise.
14476         * inet/getprtname_r.c: Likewise.
14477         * inet/getrpcbyname.c: Likewise.
14478         * inet/getrpcbyname_r.c: Likewise.
14479         * inet/getrpcbynumber.c: Likewise.
14480         * inet/getrpcbynumber_r.c: Likewise.
14481         * inet/getrpcent.c: Likewise.
14482         * inet/getrpcent_r.c: Likewise.
14483         * inet/getaliasent.c: Likewise.
14484         * inet/getaliasent_r.c: Likewise.
14485         * inet/getaliasname.c: Likewise.
14486         * inet/getaliasname_r.c: Likewise.
14487         * nscd/getgrgid_r.c: Likewise.
14488         * nscd/getgrnam_r.c: Likewise.
14489         * nscd/gethstbyad_r.c: Likewise.
14490         * nscd/gethstbynm3_r.c: Likewise.
14491         * nscd/getpwnam_r.c: Likewise.
14492         * nscd/getpwuid_r.c: Likewise.
14493         * nscd/getsrvbynm_r.c: Likewise.
14494         * nscd/getsrvbypt_r.c: Likewise.
14495         * nscd/gai.c: Likewise.
14497         * configure.in (build_nscd): New substituted variable, set
14498         by --disable-build-nscd and defaults to $use_nscd.
14499         * configure: Regenerated.
14500         * config.make.in (build-nscd): New substituted variable.
14501         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14502         Change conditional to require [$(build-nscd) = yes] as well.
14503         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14505         [BZ# 13696]
14506         * configure.in (use_nscd): New substituted variable, set by
14507         --disable-nscd.  If enabled, define USE_NSCD.
14508         * configure: Regenerated.
14509         * config.h.in: Add USE_NSCD.
14510         * config.make.in (use-nscd): New substituted variable.
14511         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14512         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14513         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14514         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14515         (CFLAGS-getgrnam_r.c): Likewise.
14516         (CFLAGS-initgroups.c): Likewise.
14517         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14518         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14519         Variables removed.
14520         * inet/getnetgrent_r.c
14521         (nscd_setnetgrent): New function, broken out of ...
14522         (setnetgrent): ... here.  Call it.
14523         (innetgr): Conditionalize nscd bits on [USE_NSCD].
14524         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14525         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14526         * nscd/Makefile (routines, aux): Move definitions after include of
14527         Makeconfig.  Conditionalize on [$(use-nscd) != no].
14528         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14529         Conditionalize on [USE_NSCD].
14530         (is_nscd, nscd_init_cb): Likewise.
14531         (nss_load_library): Conditionalize init callback on [USE_NSCD].
14532         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14533         * nss/nss_db/db-init.c: Likewise.
14534         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14535         [USE_NSCD].
14536         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14537         (make_request): Use it.
14538         (cache_valid_p): New function.
14539         (__check_pf): Use it.
14540         * NEWS: Add item for --disable-nscd.
14542 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
14544         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14545         to support sed >= 4.2.1-20-ga9bf076.
14546         * configure: Regenerated.
14548 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14550         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14551         Conditionalize whole body on [IREL].
14553 2012-08-22  Jeff Law <law@redhat.com>
14555         [BZ #14505]
14556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14557         if the family is PF_UNSPEC.
14559 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
14561         * Makerules (lib-version): Rename from V.
14562         (install-lib-nosubdir): Change V to lib-version.
14564 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
14566         [BZ #14252]
14567         * powerpc32/power6/wcschr.c: New file.
14568         * powerpc32/power6/wcscpy.c: New file.
14569         * powerpc32/power6/wcsrchr.c: New file.
14570         * powerpc64/power6/wcschr.c: New file.
14571         * powerpc64/power6/wcscpy.c: New file.
14572         * powerpc64/power6/wcsrchr.c: New file.
14574 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14576         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14577         (two_way_short_needle): Use it.
14578         * string/strstr.c (AVAILABLE1_USES_J): Define.
14579         * string/strcasestr.c: Likewise.
14581         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14582         array references.
14583         * string/strcasestr.c (TOLOWER): Make side-effect safe.
14585         [BZ #11607]
14586         * NEWS: Add an entry.
14587         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14588         define their defaults.
14589         (two_way_short_needle): Detect end-of-string on-the-fly.
14590         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14591         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14592         * string/bug-strcasestr1.c: New test.
14593         * string/Makefile: Run it.
14595 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14597         [BZ #11607]
14598         * string/str-two-way.h (two_way_short_needle): Optimize matching of
14599         the first character.
14601 2012-08-21  Roland McGrath  <roland@hack.frob.com>
14603         * csu/elf-init.c (__libc_csu_irel): Function removed.
14604         * csu/libc-start.c (apply_irel): New function.
14605         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14607 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
14609         * sysdeps/unix/sysv/linux/kernel-features.h
14610         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14611         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14612         <kernel-features.h>.
14613         [__NR_fadvise64_64]: Make code unconditional.
14614         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14615         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14616         !__NR_fadvise64_64)]: Likewise.
14617         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14618         !__NR_fadvise64_64))]: Likewise.
14619         [__NR_fadvise64]: Make code unconditional.
14620         [!__NR_fadvise64]: Remove conditional code.
14621         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14622         <kernel-features.h>.
14623         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14624         unconditional.
14625         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14626         conditional code.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14628         not include <kernel-features.h>.
14629         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14630         unconditional.
14631         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14632         conditional code.
14633         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14634         include <kernel-features.h>.
14635         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14636         unconditional.
14637         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14638         conditional code.
14640 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14642         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14643         slight instruction rearrangements per scrollpipe analysis.
14644         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14646 2012-08-20  Roland McGrath  <roland@hack.frob.com>
14648         * manual/syslog.texi (syslog; vsyslog, closelog):
14649         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14650         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14652         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14653         DSOCAPS to match condition on defining it.
14655 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
14657         * sysdeps/unix/sysv/linux/kernel-features.h
14658         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14660         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14661         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14663         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14664         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14666         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14667         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14669         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14670         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14672         * sysdeps/unix/sysv/linux/kernel-features.h
14673         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14674         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14675         unconditional.
14676         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14677         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14678         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14679         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14680         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14681         Make code unconditional.
14682         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14683         (__mmap64) [!__NR_mmap2]: Likewise.
14684         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14685         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14686         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14687         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14688         [__NR_mmap2]: Make code unconditional.
14689         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14690         (__mmap64) [!__NR_mmap2]: Likewise.
14692 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14694         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14696 2012-08-18  Andreas Jaeger  <aj@suse.de>
14698         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14700 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14702         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14703         * include/unistd.h (__have_sock_cloexec): Likewise.
14704         (__have_pipe2): Likewise.
14705         (__have_dup3): Likewise.
14707 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14709         [BZ #9685]
14710         * include/unistd.h (__have_pipe2): Change define into an extern int.
14711         (__have_dup3): Likewise.
14712         * socket/have_sock_cloexec.c: Include fcntl.h.
14713         (__have_pipe2): New variable.
14714         (__have_dup3): Likewise.
14716 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
14718         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14720 2012-08-17  Marek Polacek  <polacek@redhat.com>
14722         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14723         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14725 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14727         * configure.in: Add AC_SUBST for sysheaders.
14728         * configure: Regenerated.
14729         * config.make.in (sysheaders): New substituted variable.
14731         * sysdeps/unix/mkfifo.c: Moved ...
14732         * sysdeps/posix/mkfifo.c: ... here.
14733         * sysdeps/unix/mkfifoat.c: Moved ...
14734         * sysdeps/posix/mkfifoat.c: ... here.
14736         * sysdeps/unix/utime.c: Moved ...
14737         * sysdeps/posix/utime.c: ... here.
14739         * sysdeps/unix/time.c: Moved ...
14740         * sysdeps/posix/time.c: ... here.
14741         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14742         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14744         * sysdeps/unix/nice.c: Moved ...
14745         * sysdeps/posix/nice.c: ... here.
14747         * sysdeps/unix/alarm.c: Moved ...
14748         * sysdeps/posix/alarm.c: ... here.
14750         * intl/Makefile ($(codeset_mo)): Depend on the input file.
14752 2012-08-17  Jeff Law <law@redhat.com>
14754         * intl/Makefile (codeset_mo): New variable.
14755         ($(codeset_mo)): New target.
14756         (tst-codeset.out): Depend on that.  Remove explicit rule.
14757         (tst-gettext3.out, tst-gettext5.out): Likewise.
14758         (LOCPATH-ENV, tst-codeset-ENV): New variables.
14759         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14760         * intl/tst-codeset.sh: Remove.
14761         * intl/tst-gettext3.sh: Likewise.
14762         * intl/tst-gettext5.sh: Likewise.
14764 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14766         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
14767         * sysdeps/unix/syscalls.list: ... here.
14769         * sysdeps/posix/getaddrinfo.c
14770         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14771         (gaiconf_init, gaiconf_reload): Use them.
14772         [!_STATBUF_ST_NSEC]
14773         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14774         Define using time_t rather than struct timespec.
14776         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14777         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14778         Macros removed.
14779         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14780         [!NO_THREADS].
14781         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14782         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14783         Likewise.
14785         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14786         __libc_cleanup_push argument.
14788         * bits/param.h: New file.
14789         * misc/sys/param.h: New file.
14790         * include/sys/param.h: New file.
14791         * misc/Makefile (headers): Add bits/param.h.
14792         * sysdeps/generic/sys/param.h: File removed.
14793         * sysdeps/unix/sysv/linux/bits/param.h: New file.
14794         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14795         * sysdeps/mach/hurd/bits/param.h: New file.
14796         * sysdeps/mach/hurd/sys/param.h: File removed.
14798         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14799         last change.
14801         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14802         [_IO_MTSAFE_IO].
14803         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14804         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14805         New macros.
14807         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14808         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14809         rather than -D_IO_MTSAFE_IO conditionally.
14810         * stdio-common/Makefile (CPPFLAGS): Likewise.
14811         * wcsmbs/Makefile (CPPFLAGS): Likewise.
14812         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14813         Use $(libio-mtsafe).
14814         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14815         of -D_IO_MTSAFE_IO.
14816         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14817         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14818         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14819         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14820         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14821         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14822         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14823         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14824         (CFLAGS-fread_u_chk.c): Likewise.
14825         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14826         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14827         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14828         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14829         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14830         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14831         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14832         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14833         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14835         * libio/Makefile: Test [$(libc-reentrant) = yes]
14836         instead of [$(filter %REENTRANT, $(defines)) nonempty].
14838         * Makeconfig
14839         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14840         * sysdeps/pthread/configure: File removed.
14841         * sysdeps/pthread/Makeconfig: New file.
14842         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14843         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14845 2012-08-16  Gary Benson  <gbenson@redhat.com>
14847         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14848         unmapping the first object in a namespace.
14850 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14852         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14853         (__internal_setnetgrent): ... this.  Add internal_function to
14854         definition.  Add libc_hidden_def.
14855         (setnetgrent): Update caller.
14856         (internal_endnetgrent): Renamed to ...
14857         (__internal_endnetgrent): ... this.  Add internal_function to
14858         definition.  Add libc_hidden_def.
14859         (endnetgrent): Update caller.
14860         (internal_getnetgrent_r): Renamed to ...
14861         (__internal_getnetgrent_r): ... this.  Add internal_function to
14862         definition.  Add libc_hidden_def.
14863         (__getnetgrent_r): Update caller.
14864         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
14866 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
14868         * stdlib/longlong.h: Update from GCC.
14870 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14872         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14873         on _QL, which is set by umul_ppmm but never used.
14874         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14875         variables, which are set by GMP macros but never used.
14876         * stdio-common/_itowa.c (_itowa): Likewise.
14877         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14878         * stdlib/mod_1.c (mpn_mod_1): Likewise.
14880 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
14882         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14883         struct La_sh_regs is not constant.
14884         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14885         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14886         and struct La_sparc64_regs are not constant.
14888 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
14890         * sysdeps/unix/sysv/linux/kernel-features.h
14891         (__ASSUME_POSIX_TIMERS): Remove.
14892         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14893         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14894         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14895         Make code unconditional.
14896         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14897         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14898         Make code unconditional.
14899         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14900         * sysdeps/unix/sysv/linux/clock_nanosleep.c
14901         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14902         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14903         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14904         Make code unconditional.
14905         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14906         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14907         (__libc_missing_posix_timers): Remove.
14909 2012-08-15  Roland McGrath  <roland@hack.frob.com>
14911         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14912         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14914         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14916         * elf/dl-sym.c: Include <stdlib.h>.
14918         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14919         constants, which avoids warnings in 32-bit builds.
14921         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14922         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14924         * misc/lseek.c: File moved to ...
14925         * io/lseek.c: ... here.
14927         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14929         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14930         shifting LEN more than 31 bits at once.
14932 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14934         [BZ #14195]
14935         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14936         segmentation fault for a case of two empty input strings.
14937         * string/test-strncasecmp.c (check1): Renamed to...
14938         (bz12205): ...this.
14939         (bz14195): Add new testcase for two empty input strings and N > 0.
14940         (test_main): Call new testcase, adapt for renamed function.
14942 2012-08-15  Andreas Jaeger  <aj@suse.de>
14944         [BZ #14090]
14945         * crypt/md5test2.c: New test, based on test supplied by Serge
14946         Belyshev <belyshev@depni.sinp.msu.ru>.
14947         * crypt/Makefile (xtests): Add md5test-giant..
14948         * crypt/Makefile ($(objpfx)md5test-giant): Add.
14950 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
14952         [BZ #14090]
14953         * crypt/md5.c (md5_process_block): Don't assume the buffer
14954         length is less than 2**32.
14955         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14956         length is less than 2**64.
14958 2012-08-15  Roland McGrath  <roland@hack.frob.com>
14960         * string/str-two-way.h: Include <sys/param.h>.
14961         (MAX): Macro removed.
14963         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14964         Move #define and #undef of memmove to just before and after
14965         including <string.h>.
14967         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14968         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14969         and after including <string.h>.  Move declarations of
14970         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14971         to before #include "string/memmove.c".
14973         * include/dirent.h: Declare __getdirentries.
14975         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14976         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14978 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
14980         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14981         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14982         * sysdeps/i386/configure: Regenerated.
14983         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14984         STABS_CURRENT_FILE, and STABS_FUN.
14985         (END): Remove call to STABS_FUN_END.
14986         (STABS_CURRENT_FILE1): Delete.
14987         (STABS_CURRENT_FILE): Likewise.
14988         (STABS_FUN): Likewise.
14989         (STABS_FUN_END): Likewise.
14990         (STABS_FUN2): Likewise.
14991         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14992         * sysdeps/x86_64/configure: Regenerated.
14994 2012-08-14  Roland McGrath  <roland@hack.frob.com>
14996         * elf/dl-open.c: Include <atomic.h>.
14997         * elf/dl-lookup.c: Likewise.
14999 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15001         * sysdeps/unix/sysv/linux/kernel-features.h
15002         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15003         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15004         unconditionally.
15005         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15006         unconditionally.
15007         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15008         condition on __ASSUME_CLONE_THREAD_FLAGS.
15010 2012-08-14  Andreas Jaeger  <aj@suse.de>
15012         * sysdeps/i386/fpu/libm-test-ulps: Update.
15014 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15016         * include/atomic.h (atomic_exchange_and_add): Split into ...
15017         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15018         New atomic macros.
15020 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15024 2012-08-13  Jeff Law <law@redhat.com>
15026         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15027         null byte in the output string.
15029 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15031         * sysdeps/unix/sysv/linux/kernel-features.h
15032         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15033         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15034         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15035         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15036         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15037         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15038         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15040 2012-08-09  Jeff Law <law@redhat.com>
15042         [BZ #13939]
15043         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15044         When avoid_arena is set, don't retry in the that arena.  Pick the
15045         next one, whatever it might be.
15046         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15047         (arena_lock): Pass in new parameter to arena_get2.
15048         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15049         arena_get2.
15050         (__libc_malloc): Unify retrying after main arena failure with
15051         __libc_memalign version.
15052         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15054 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15056         [BZ #14166]
15057         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15058         to __redirect_strstr.
15059         (__strstr_sse42): Use typeof __redirect_strstr.
15060         (__strstr_ia32): Likewise.
15061         (__libc_strstr): New prototype.
15062         (strstr): Renamed to ...
15063         (__libc_strstr): This.
15064         (strstr): New strong alias of __libc_strstr.
15065         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15066         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15067         __redirect_time.
15068         Include <time.h>.
15069         (__libc_time): New prototype.
15070         (time_ifunc): Replace time with __libc_time.
15071         (time): New strong alias and hidden definition of __libc_time.
15072         (__GI_time): Remove strong alias.
15073         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15074         Include <stddef.h>.
15075         (memmove): Redefined to __redirect_memmove.
15076         (__memmove_sse2): Use typeof __redirect_memmove.
15077         (__memmove_ssse3): Likewise.
15078         (__memmove_ssse3_back): Likewise.
15079         (__libc_memmove): New prototype.
15080         (memmove): Renamed to ...
15081         (__libc_memmove): This.
15082         (memmove): New strong alias of __libc_memmove.
15084 2012-08-08  Mark Salter  <msalter@redhat.com>
15086         * elf/elf.h
15087         (R_MN10300_TLS_GD): Define.
15088         (R_MN10300_TLS_LD): Likewise.
15089         (R_MN10300_TLS_LDO): Likewise.
15090         (R_MN10300_TLS_GOTIE): Likewise.
15091         (R_MN10300_TLS_IE): Likewise.
15092         (R_MN10300_TLS_LE): Likewise.
15093         (R_MN10300_TLS_DTPMOD): Likewise.
15094         (R_MN10300_TLS_DTPOFF): Likewise.
15095         (R_MN10300_TLS_TPOFF): Likewise.
15096         (R_MN10300_SYM_DIFF): Likewise.
15097         (R_MN10300_ALIGN): Likewise.
15098         (R_MN10300_NUM): Update.
15100 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15103         Remove.
15105 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15107         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15109         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15110         sysdeps/unix -> sysdeps/posix move.
15111         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15113 2012-08-07      Allan McRae     <allan@archlinux.org>
15115         [BZ #14303]
15116         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15117         (SUNOS_CPP): Likewise.
15118         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15119         not found.
15120         (open_input): Call CPP using execvp.
15122 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15124         * sysdeps/unix/sysv/linux/kernel-features.h
15125         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15126         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15127         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15128         (__ASSUME_WAITID_SYSCALL): Likewise.
15129         * sysdeps/unix/sysv/linux/dl-execstack.c
15130         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15131         code unconditional.
15132         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15133         conditional code.
15134         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15135         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15136         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15137         code.
15138         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15139         unconditional.
15140         [__ASSUME_WAITID_SYSCALL]: Likewise.
15141         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15143 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15145         * sysdeps/unix/closedir.c: Renamed to ...
15146         * sysdeps/posix/closedir.c: ... here.
15147         * sysdeps/unix/dirfd.c: Renamed to ...
15148         * sysdeps/posix/dirfd.c: ... here.
15149         * sysdeps/unix/dirstream.h: Renamed to ...
15150         * sysdeps/posix/dirstream.h: ... here.
15151         * sysdeps/unix/fdopendir.c: Renamed to ...
15152         * sysdeps/posix/fdopendir.c: ... here.
15153         * sysdeps/unix/opendir.c: Renamed to ...
15154         * sysdeps/posix/opendir.c: ... here.
15155         * sysdeps/unix/readdir.c: Renamed to ...
15156         * sysdeps/posix/readdir.c: ... here.
15157         * sysdeps/unix/readdir_r.c: Renamed to ...
15158         * sysdeps/posix/readdir_r.c: ... here.
15159         * sysdeps/unix/rewinddir.c: Renamed to ...
15160         * sysdeps/posix/rewinddir.c: ... here.
15161         * sysdeps/unix/seekdir.c: Renamed to ...
15162         * sysdeps/posix/seekdir.c: ... here.
15163         * sysdeps/unix/telldir.c: Renamed to ...
15164         * sysdeps/posix/telldir.c: ... here.
15165         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15166         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15167         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15168         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15170         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15171         * bits/fcntl.h: ... here.
15173         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15174         not 0.
15175         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15176         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15177         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15178         (struct flock): Move l_start, l_len to the beginning.
15179         Use __pid_t for l_pid.
15180         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15181         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15182         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15183         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15184         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15185         [__USE_LARGEFILE64] (struct flock64): New type.
15186         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15188         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15189         * bits/dirent.h: ... here.
15191         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15192         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15194 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15196         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15197         Change from 2.6.0 to 2.6.16.
15198         * sysdeps/unix/sysv/linux/configure: Regenerated.
15199         * sysdeps/unix/sysv/linux/kernel-features.h
15200         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15201         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15202         version.
15203         (__ASSUME_UTIMES): Likewise.
15204         (__ASSUME_CLONE_STOPPED): Remove.
15205         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15206         architectures, not kernel version.
15207         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15208         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15209         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15210         (__ASSUME_WAITID_SYSCALL): Likewise.
15211         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15212         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15213         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15214         refer to older versions.
15216 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15218         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15219         Define alphasort64 as an alias.
15220         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15221         Define versionsort64 as an alias.
15222         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15223         Define scandir64 as an alias.
15224         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15225         Define scandirat64 as an alias.
15226         * dirent/alphasort64.c (alphasort64):
15227         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15228         * dirent/versionsort64.c: Likewise.
15229         * dirent/scandir64.c: Likewise.
15230         * dirent/scandirat64.c: Likewise.
15231         * sysdeps/wordsize-64/alphasort.c: File removed.
15232         * sysdeps/wordsize-64/alphasort64.c: File removed.
15233         * sysdeps/wordsize-64/scandir.c: File removed.
15234         * sysdeps/wordsize-64/scandir64.c: File removed.
15235         * sysdeps/wordsize-64/scandirat.c: File removed.
15236         * sysdeps/wordsize-64/scandirat64.c: File removed.
15237         * sysdeps/wordsize-64/versionsort.c: File removed.
15238         * sysdeps/wordsize-64/versionsort64.c: File removed.
15239         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15240         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15241         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15242         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15243         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15244         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15245         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15246         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15248         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15250         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15251         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15252         [defined __arch64__ || defined __sparcv9]
15253         (__INO_T_MATCHES_INO64_T): New macro.
15254         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15255         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15256         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15257         * sysdeps/unix/sysv/linux/bits/dirent.h
15258         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15259         (_DIRENT_MATCHES_DIRENT64): New macro.
15261         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15262         Define lockf64 as an alias.
15263         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15264         Define fseeko64 as an alias.
15265         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15266         Define ftello64 as an alias.
15267         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15268         Define _IO_fgetpos64 and fgetpos64 as aliases.
15269         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15270         Define _IO_fsetpos64 and fsetpos64 as aliases.
15271         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15272         Conditionalize body on this.
15273         * libio/fseeko64.c: Likewise.
15274         * libio/ftello64.c: Likewise.
15275         * libio/iofgetpos64.c: Likewise.
15276         * libio/iofsetpos64.c: Likewise.
15277         * sysdeps/wordsize-64/lockf.c: File removed.
15278         * sysdeps/wordsize-64/lockf64.c: File removed.
15279         * sysdeps/wordsize-64/fseeko.c: File removed.
15280         * sysdeps/wordsize-64/fseeko64.c: File removed.
15281         * sysdeps/wordsize-64/ftello.c: File removed.
15282         * sysdeps/wordsize-64/ftello64.c: File removed.
15283         * sysdeps/wordsize-64/iofgetpos.c: File removed.
15284         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15285         * sysdeps/wordsize-64/iofsetpos.c: File removed.
15286         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15287         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15288         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15293         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15294         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15295         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15296         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15298         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15299         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15300         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15301         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15302         [defined __arch64__ || defined __sparcv9]
15303         (__OFF_T_MATCHES_OFF64_T): New macro.
15304         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15305         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15306         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15307         (__OFF_T_MATCHES_OFF64_T): New macro.
15309 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15311         * stdlib/secure-getenv.c (__secure_getenv): Replace
15312         GLIBC_2_16 with GLIBC_2_17.
15314 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15316         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15317         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15319 2012-08-03  David S. Miller  <davem@davemloft.net>
15321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15323 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15326         Remove.
15327         (__ASSUME_CORRECT_SI_PID): Likewise.
15328         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15329         (__ASSUME_TMPFS_NAME): Likewise.
15330         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15331         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15332         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15333         (HAVE_AUX_SECURE): Make definition unconditional.
15334         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15335         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15337 2012-08-03  Roland McGrath  <roland@hack.frob.com>
15339         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15340         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15341         * sysdeps/mach/hurd/eloop-threshold.h: New file.
15342         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15343         __eloop_threshold instead of SYMLOOP_MAX.
15345         * sysdeps/generic/eloop-threshold.h: New file.
15346         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15347         of MAXSYMLINKS.
15348         * elf/chroot_canon.c (chroot_canon): Likewise.
15350 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15352         [BZ #13717]
15353         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15354         Change to 2.6.0 everywhere.
15355         * sysdeps/unix/sysv/linux/configure: Regenerated.
15356         * sysdeps/unix/sysv/linux/kernel-features.h
15357         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15358         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15359         kernel versions.
15360         (__ASSUME_POSIX_TIMERS): Define unconditionally.
15361         (__ASSUME_FUTEX_REQUEUE): Remove.
15362         (__ASSUME_STATFS64): Define unconditionally.
15363         (__ASSUME_AT_SECURE): Likewise.
15364         (__ASSUME_CORRECT_SI_PID): Likewise.
15365         (__ASSUME_TGKILL): Define without depending on kernel version for
15366         i386.
15367         (__ASSUME_UTIMES): Likewise.
15368         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15369         kernel version.
15370         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15371         (__ASSUME_TMPFS_NAME): Likewise.
15372         * README: Update reference to Linux kernel versions.
15374 2012-08-02  Marek Polacek  <polacek@redhat.com>
15376         [BZ# 14150]
15377         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
15378         libc_cv_asm_type_prefix with %.
15379         * configure: Regenerated.
15380         * include/libc-symbols.h: Remove comment about
15381         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15382         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15383         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15384         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15385         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15386         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15387         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15388         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15389         * elf/tst-unique2mod1.c: Likewise.
15390         * elf/tst-unique1mod2.c: Likewise.
15391         * elf/tst-unique1mod1.c: Likewise.
15392         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15393         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15394         Replace ASM_TYPE_DIRECTIVE with .type.
15395         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15396         * sysdeps/i386/sysdep.h: Likewise.
15397         * sysdeps/x86_64/sysdep.h: Likewise.
15398         * sysdeps/sh/sysdep.h: Likewise.
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15400         Do not define ASM_TYPE_DIRECTIVE.
15401         * sysdeps/powerpc/sysdep.h: Likewise.
15402         * sysdeps/powerpc/powerpc32/sysdep.h:
15403         Replace ASM_TYPE_DIRECTIVE with .type.
15404         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15405         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15406         * sysdeps/i386/fpu/e_powf.S: Likewise.
15407         * sysdeps/i386/fpu/e_expl.S: Likewise.
15408         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15409         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15410         * sysdeps/i386/fpu/e_pow.S: Likewise.
15411         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15412         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15413         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15414         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15415         * sysdeps/i386/fpu/e_log2.S: Likewise.
15416         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15417         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15418         * sysdeps/i386/fpu/e_powl.S: Likewise.
15419         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15420         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15421         * sysdeps/i386/fpu/e_logl.S: Likewise.
15422         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15423         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15424         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15425         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15426         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15427         * sysdeps/i386/fpu/e_log.S: Likewise.
15428         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15429         * sysdeps/i386/fpu/e_logf.S: Likewise.
15430         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15431         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15432         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15433         * sysdeps/i386/fpu/e_log10.S: Likewise.
15434         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15435         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15436         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15437         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15438         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15439         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15440         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15441         * sysdeps/i386/i686/strtok.S: Likewise.
15442         * sysdeps/i386/i386-mcount.S: Likewise.
15443         * sysdeps/i386/strtok.S: Likewise.
15444         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15445         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15446         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15447         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15448         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15449         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15450         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15451         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15452         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15453         * sysdeps/x86_64/_mcount.S: Likewise.
15454         * sysdeps/x86_64/strtok.S: Likewise.
15455         * sysdeps/sh/_mcount.S: Likewise.
15457 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15459         * libio/iofopen.c: Include <fcntl.h>.
15460         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15461         (_IO_fopen64, fopen64): Define as aliases.
15462         * libio/iofopen64.c: Include <fcntl.h>.
15463         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15464         Conditionalize body on this.
15465         * sysdeps/wordsize-64/iofopen.c: File removed.
15466         * sysdeps/wordsize-64/iofopen64.c: File removed.
15468 2012-08-01  Marek Polacek  <polacek@redhat.com>
15470         * libc/Makeconfig: Use elf in place of binfmt-subdir.
15471         Use dlfcn directly instead of a variable.
15472         (binfmt-subdir): Do not define.
15473         (dlfcn): Likewise.
15475 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
15477         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15478         Remove all definitions.
15479         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15480         <kernel-features.h>.
15481         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15482         (miss_F_GETOWN_EX): Remove all definitions.
15483         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15484         macro definition.
15485         [!__ASSUME_FCNTL64]: Remove conditional code.
15486         [__ASSUME_FCNTL64]: Make code unconditional.
15487         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15488         <kernel-features.h>.
15489         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15490         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15491         (lockf64) [__NR_fcntl64]: Make code unconditional.
15492         (lockf64) [__ASSUME_FCNTL64]: Likewise.
15494         * sysdeps/unix/sysv/linux/kernel-features.h
15495         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15496         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15497         Make code unconditional.
15498         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15499         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15501         [__NR_vfork]: Make code unconditional.
15502         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15503         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15505         [__NR_vfork]: Make code unconditional.
15506         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15507         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15509 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15511         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15512         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15514         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15515         Define mkstemp64 as an alias.
15516         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15517         Define mkstemps64 as an alias.
15518         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15519         Define mkostemp64 as an alias.
15520         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15521         Define mkostemps64 as an alias.
15522         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15523         Conditionalize body on this.
15524         * misc/mkostemp64.c: Likewise.
15525         * misc/mkostemps64.c: Likewise.
15526         * misc/mkstemps64.c: Likewise.
15527         * sysdeps/wordsize-64/mkstemp64.c: File removed.
15528         * sysdeps/wordsize-64/mkostemp64.c: File removed.
15529         * sysdeps/wordsize-64/mkostemp.c: File removed.
15530         * sysdeps/wordsize-64/mkstemp.c: File removed.
15531         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15532         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15533         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15534         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15536         [BZ #14138]
15537         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15538         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15539         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15540         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15542         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15543         compat_symbol macros from <shlib-compat.h> rather than the underlying
15544         default_symbol_version and symbol_version macros, so that DEFAULT
15545         lines in shlib-versions are respected.
15546         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15548 2012-08-01  Florian Weimer  <fweimer@redhat.com>
15550         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15551         Declare with warn_unused_result.
15552         (setgid, setregid, setegid, setresgid): Likewise.
15553         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15554         Likewise.
15555         * WUR-REPORT: Remove set*id functions.
15557 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
15559         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15561 2012-07-31  Roland McGrath  <roland@hack.frob.com>
15563         [BZ #10191]
15564         * include/sys/socket.h (__libc_accept, __libc_accept4):
15565         Add attribute_hidden.
15566         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15568         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15569         use of PTR_MANGLE.
15570         * inet/getnetgrent_r.c (setup): Likewise.
15572         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15574 2012-07-31  David S. Miller  <davem@davemloft.net>
15576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15578 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
15580         [BZ #13629]
15581         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15582         value between 1.0 and 2.0 and smaller part has absolute value less
15583         than 1.0.
15584         * math/s_clog10.c (__clog10): Likewise.
15585         * math/s_clog10f.c (__clog10f): Likewise.
15586         * math/s_clog10l.c (__clog10l): Likewise.
15587         * math/s_clogf.c (__clogf): Likewise.
15588         * math/s_clogl.c (__clogl): Likewise.
15589         * math/libm-test.inc (clog_test): Add more tests.
15590         (clog10_test): Likewise.
15591         * sysdeps/i386/fpu/libm-test-ulps: Update.
15592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15594 2012-07-31  Florian Weimer  <fweimer@redhat.com>
15596         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15597         Exit with zero in case no suitable GID is found, and write a
15598         message to standard error.
15600 2012-07-30  Roland McGrath  <roland@hack.frob.com>
15602         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15603         rather than to 1.
15604         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15605         (MAXPATHLEN): Removed.
15606         (NOGROUP, NODEV): New macros.
15607         (setbit, clrbit, isset, isclr): New macros.
15608         (howmany, roundup, powerof2): New macros.
15609         (DEV_BSIZE): New macro.
15611         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15612         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15614         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15615         definition on [!__NO_LONG_DOUBLE_MATH].
15617         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15618         PTR_MANGLE and PTR_DEMANGLE.
15620         * socket/accept4.c (accept4): Rename to __libc_accept4.
15621         Define accept4 as a weak alias.
15623         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15624         on [_DIRENT_HAVE_D_TYPE].
15625         * io/ftw.c (ftw_dir): Likewise.
15627         * io/xmknod.c (__xmknod): Don't check PATH for being null.
15629         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15631         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15632         Use the BSD numbers rather than the arbitrary ones we had.
15633         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15634         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15635         (SIGXCPU, SIGXFSZ): New macros.
15636         (_NSIG): Now 32.
15638         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15639         initializer on [_LIBC_REENTRANT].
15641         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15642         definitions inside [_POSIX_MAPPED_FILES].
15644         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15646         * dirent/opendir.c: Include <fcntl.h>.
15648         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15649         (__libc_getspecific): Likewise.
15650         (__libc_key_create): Likewise.
15652         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15653         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15654         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15655         (tmpfile64): Define as alias.
15656         * sysdeps/wordsize-64/tmpfile.c: File removed.
15657         * sysdeps/wordsize-64/tmpfile64.c: File removed.
15658         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15659         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15661         * stdio-common/vfscanf.c: Include <stdbool.h>.
15662         * nss/makedb.c: Likewise.
15663         * stdio-common/_i18n_number.h: Likewise.
15664         * argp/argp-help.c: Likewise.
15665         * posix/wordexp.c: Likewise.
15666         * sysdeps/posix/spawni.c: Likewise.
15667         * nss/nss_files/files-initgroups.c: Likewise.
15668         * stdio-common/reg-modifier.c: Include <stdlib.h>.
15669         * nss/nss_files/files-initgroups.c: Likewise.
15670         * nss/nss_db/db-netgrp.c: Likewise.
15671         * nss/nss_db/db-initgroups.c: Likewise.
15672         * io/fchmodat.c: Include <sys/stat.h>.
15674         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15675         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15677         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15678         [HAVE_MMAP].
15680         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15681         Add multiple inclusion protection.
15683 2012-07-27  David S. Miller  <davem@davemloft.net>
15685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15687 2012-07-27  Gary Benson  <gbenson@redhat.com>
15689         [BZ #14298]
15690         * elf/rtld.c: Include <stap-probe.h>.
15691         (dl_main): Added static probes "init_start" and "init_complete".
15692         * elf/dl-load.c: Include <stap-probe.h>.
15693         (lose): Take new parameter "nsid".
15694         Added static probe "map_failed".
15695         (_dl_map_object_from_fd): Pass namespace id to lose.
15696         Added static probe "map_start".
15697         (open_verify): Pass namespace id to lose.
15698         * elf/dl-open.c: Include <stap-probe.h>.
15699         (dl_open_worker) Added static probes "map_complete", "reloc_start"
15700         and "reloc_complete".
15701         * elf/dl-close.c: Include <stap-probe.h>.
15702         (_dl_close_worker): Added static probes "unmap_start" and
15703         "unmap_complete".
15704         * elf/rtld-debugger-interface.txt: New file documenting the above.
15706 2012-07-26  Roland McGrath  <roland@hack.frob.com>
15708         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15709         rather than a string variable.
15710         * sunrpc/rpc_main.c (h_output): Likewise.
15711         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15713 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
15715         * inet/check_native.c: New file.
15717 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
15719         [BZ #13629]
15720         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15721         if larger part has absolute value 1.0.
15722         * math/s_clog10.c (__clog10): Likewise.
15723         * math/s_clog10f.c (__clog10f): Likewise.
15724         * math/s_clog10l.c (__clog10l): Likewise.
15725         * math/s_clogf.c (__clogf): Likewise.
15726         * math/s_clogl.c (__clogl): Likewise.
15727         * math/libm-test.inc (clog_test): Add more tests.
15728         (clog10_test): Likewise.
15729         * sysdeps/i386/fpu/libm-test-ulps: Update.
15730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15732         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15733         (pltexit): Likewise.
15734         (La_regs): Likewise.
15735         (La_retval): Likewise.
15736         (int_retval): Likewise.
15737         Update #error for removed macros to refer only to definitions in
15738         tst-audit.h.
15739         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15740         macro.
15741         (pltexit): Likewise.
15742         (La_regs): Likewise.
15743         (La_retval): Likewise.
15744         (int_retval): Likewise.
15745         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15746         macro.
15747         (pltexit): Likewise.
15748         (La_regs): Likewise.
15749         (La_retval): Likewise.
15750         (int_retval): Likewise.
15751         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15752         macro.
15753         (pltexit): Likewise.
15754         (La_regs): Likewise.
15755         (La_retval): Likewise.
15756         (int_retval): Likewise.
15757         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15758         macro.
15759         (pltexit): Likewise.
15760         (La_regs): Likewise.
15761         (La_retval): Likewise.
15762         (int_retval): Likewise.
15763         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15764         macro.
15765         (pltexit): Likewise.
15766         (La_regs): Likewise.
15767         (La_retval): Likewise.
15768         (int_retval): Likewise.
15769         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15770         macro.
15771         (pltexit): Likewise.
15772         (La_regs): Likewise.
15773         (La_retval): Likewise.
15774         (int_retval): Likewise.
15775         * sysdeps/generic/tst-audit.h: Update comment to refer only to
15776         macro definitions in tst-audit.h.
15777         * sysdeps/i386/tst-audit.h: New file.
15778         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15779         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15780         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15781         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15782         * sysdeps/sh/tst-audit.h: Likewise.
15783         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15784         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15785         * sysdeps/x86_64/tst-audit.h: Likewise.
15787 2012-07-26  Andreas Jaeger  <aj@suse.de>
15789         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15790         ptrace.
15792         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15793         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15794         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15795         PTRACE_O_MASK.
15796         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15797         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15798         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15800         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15801         value.
15803         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15804         _sigsys.
15805         (si_call_addr, si_syscall, si_arch): Define new macro.
15806         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15807         _sigsys.
15808         (si_call_addr, si_syscall, si_arch): Define new marcro.
15809         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15810         _sigsys.
15811         (si_call_addr, si_syscall, si_arch): Define new macro.
15812         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15813         _sigsys.
15814         (si_call_addr, si_syscall, si_arch): Define new macro.
15816 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15818         [BZ #13717]
15819         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15820         Change to 2.4.21 where previously 2.4.1.
15821         * sysdeps/unix/sysv/linux/configure: Regenerated.
15822         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15823         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15824         Linux kernel version.
15825         (__ASSUME_STD_AUXV): Remove.
15826         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15827         kernel version.
15828         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15829         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15830         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15831         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15832         (__ASSUME_NETLINK_SUPPORT): Likewise.
15833         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15834         (__no_netlink_support): Remove conditional definition.
15835         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15836         Remove.
15837         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15838         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15839         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15840         (if_nameindex_ioctl): Remove.
15841         (if_nameindex_netlink): Do not handle __no_netlink_support.
15842         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15843         code.
15844         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15845         Remove conditional code.
15846         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15847         code.
15848         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15849         unconditional.
15850         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15851         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15852         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15853         Remove.
15854         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15855         [!__ASSUME_STD_AUXV]: Remove conditional code.
15856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15857         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15858         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15860         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15861         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15862         code.
15863         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15865         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15866         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15867         conditional code.
15868         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15870         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15871         code.
15872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15873         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15874         conditional code.
15875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15876         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15877         code unconditional.
15878         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15879         conditional code.
15880         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15881         unconditional.
15882         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15883         conditional code.
15884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15885         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15886         unconditional.
15887         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15888         conditional code.
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15890         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15891         code unconditional.
15892         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15893         conditional code.
15894         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15895         unconditional.
15896         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15897         conditional code.
15898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15899         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15900         code unconditional.
15901         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15902         conditional code.
15903         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15904         unconditional.
15905         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15906         conditional code.
15908 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
15910         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15911         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15912         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15913         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15914         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15915         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15916         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15917         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15918         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15919         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15920         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15921         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15922         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15923         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15924         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15925         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15926         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15927         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15928         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15930         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15931         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15932         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15934 2012-07-25  Florian Weimer  <fweimer@redhat.com>
15936         * Versions.def: Add GLIBC_2.17.
15937         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15938         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15939         Introduce __libc_secure_getenv.
15940         * stdlib/Versions (2.17): Add secure_getenv
15941         (GLIBC_PRIVATE): Add __libc_secure_getenv.
15942         * stdlib/secure-getenv.c: Rename __secure_getenv to
15943         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
15944         symbol __secure_getenv for GLIBC_2.0.
15945         * stdlib/tst-secure-getenv.c: New.
15946         * stdlib/Makefile (tests): Add testcase.
15947         * manual/startup.texi (Environment Access): Document
15948         secure_getenv.
15949         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15950         __libc_secure_getenv.
15951         * inet/ruserpass.c (ruserpass): Likewise.
15952         * malloc/mtrace.c (mtrace): Likewise.
15953         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15954         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15955         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15956         * sysdeps/posix/tempname.c: Likewise.  Evaluate
15957         HAVE_SECURE_GETENV.
15958         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15959         __secure_getenv to __libc_secure_getenv.
15960         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15962         Likewise.
15963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15964         Likewise.
15965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15967         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15973 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15975         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15976         (struct La_i86_retval): Likewise.
15977         (struct La_x86_64_regs): Likewise.
15978         (struct La_x86_64_retval): Likewise.
15979         (struct La_x32_regs): Likewise.
15980         (struct La_x32_retval): Likewise.
15981         (struct La_ppc32_regs): Likewise.
15982         (struct La_ppc32_retval): Likewise.
15983         (struct La_ppc64_regs): Likewise.
15984         (struct La_ppc64_retval): Likewise.
15985         (struct La_sh_regs): Likewise.
15986         (struct La_sh_retval): Likewise.
15987         (struct La_s390_32_regs): Likewise.
15988         (struct La_s390_32_retval): Likewise.
15989         (struct La_s390_64_regs): Likewise.
15990         (struct La_s390_64_retval): Likewise.
15991         (struct La_sparc32_regs): Likewise.
15992         (struct La_sparc32_retval): Likewise.
15993         (struct La_sparc64_regs): Likewise.
15994         (struct La_sparc64_retval): Likewise.
15995         (struct audit_ifaces): Remove architecture-specific pltenter and
15996         pltexit members.
15997         * sysdeps/i386/ldsodefs.h: New file.
15998         * sysdeps/powerpc/ldsodefs.h: Likewise.
15999         * sysdeps/s390/ldsodefs.h: Likewise.
16000         * sysdeps/sh/ldsodefs.h: Likewise.
16001         * sysdeps/sparc/ldsodefs.h: Likewise.
16002         * sysdeps/x86_64/ldsodefs.h: Likewise.
16004 2012-07-25  Marek Polacek  <polacek@redhat.com>
16006         [BZ #6808]
16007         * math/libm-test.inc (yn_test): Add another test.
16008         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16009         to ERANGE when the result is +-Inf.
16010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16011         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16012         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16013         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16015 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16017         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16018         equal to 0.
16019         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16020         clock_t.
16021         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16023 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16025         * configure.in <sysdeps resolving>: Correct printing
16026         Implies_before.
16027         * configure: Regenerate.
16029 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16031         * math/w_ilogb.c: Include <limits.h>.
16032         * math/w_ilogbl.c: Likewise.
16034 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16036         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16037         va_copy.  Document allowing for unavailable va_copy only as
16038         pre-C99 compatibility.
16039         * manual/string.texi (Copying and Concatenation): Use va_copy
16040         instead of __va_copy in concat example.
16042 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16044         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16045         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16046         it if not null.
16048         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16049         with O_NOLINK passed to __file_name_lookup.
16051         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16052         with O_NOLINK passed to __file_name_lookup.
16054         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16055         negative N or less than NGIDS.
16057         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16058         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16059         enough.  Use memcpy instead of strncpy.
16061 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16063         * elf/Makefile (check-data): Remove.
16064         (localplt.data): New vpath directive.
16065         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16066         instead of $(check-data).
16067         * scripts/data/localplt-generic.data: Move to ...
16068         * sysdeps/generic/localplt.data: ... here.
16069         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16070         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16071         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16073         ... here.
16074         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16076         ... here.
16077         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16079         ... here.
16080         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16082         ... here.
16083         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16085         ... here.
16086         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16088         ... here.
16090 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16092         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16093         PPC32 and PPC64 files.
16094         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16095         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16097 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16099         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16100         __makecontext_ret to ...
16101         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16102         ... here and call exit if uc_link is NULL.  New file.
16103         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16104         __makecontext_ret.S.
16105         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16106         __makecontext_ret to ...
16107         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16108         ... here and call exit if uc_link is NULL.  New file.
16109         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16110         __makecontext_ret.S.
16112 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16114         * elf/elf.h (R_390_IRELATIVE): New definition.
16115         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16116         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16117         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16119         (elf_machine_lazy_rel): Likewise.
16120         * sysdeps/s390/dl-irel.h: New file.
16121         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16122         * sysdeps/s390/s390-64/memset.S: New asm code.
16123         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16124         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16125         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16126         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16127         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16128         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16130         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16131         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16132         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16133         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16134         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16135         * sysdeps/s390/s390-32/memset.S: New asm code.
16136         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16138 2012-07-17  Marek Polacek  <polacek@redhat.com>
16140         [BZ #14349]
16141         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16142         * sysdeps/s390/s390-64/configure.in: Likewise.
16143         * sysdeps/sparc/configure.in: Likewise.
16144         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16145         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16146         * sysdeps/i386/configure.in: Likewise.
16147         * sysdeps/x86_64/configure.in: Likewise.
16148         * sysdeps/sh/configure.in: Likewise.
16149         * sysdeps/s390/s390-32/configure: Regenerated.
16150         * sysdeps/s390/s390-64/configure: Likewise.
16151         * sysdeps/x86_64/configure: Likewise.
16152         * sysdeps/sh/configure: Likewise.
16153         * sysdeps/powerpc/powerpc64/configure: Likewise.
16154         * sysdeps/powerpc/powerpc32/configure: Likewise.
16155         * sysdeps/sparc/configure: Likwise.
16156         * sysdeps/i386/configure: Likewise.
16158         * elf/dl-open.c: Comment fixes.
16160 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
16162         * Makefile [CXX] (check-data): Remove.
16163         [CXX] (c++-types.data): New vpath directive.
16164         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16165         vpath.  Do not allow for C++ type data being missing.
16166         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16167         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16168         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16169         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16170         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16171         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16172         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16174         ... here.
16175         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16177         ... here.
16178         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16180         ... here.
16181         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16183         ... here.
16184         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16186         ... here.
16187         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16189         ... here.
16190         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16192         ... here.
16193         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16196         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16197         definitions to architecture-specific files.
16198         (TLS_IE): Likewise.
16199         (TLS_LD): Likewise.
16200         (TLS_GD): Likewise.
16201         * sysdeps/i386/tls-macros.h: New file.
16202         * sysdeps/powerpc/tls-macros.h: Likewise.
16203         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16204         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16205         * sysdeps/sh/tls-macros.h: Likewise.
16206         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16207         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16208         * sysdeps/x86_64/tls-macros.h: Likewise.
16210 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16213         zero value for regular exit case.
16215         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16216         (__start_context): Preserve zero value for regular exit case.
16218 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16219             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16221         * manual/setjmp.texi (setcontext): Clarify normal process
16222         termination when uc_link is the null pointer.
16223         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16224         exit call.
16226 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16228         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16229         preprocessor.  Test for each exception mask separately.
16231 2012-07-16  Andreas Jaeger  <aj@suse.de>
16233         * po/ru.po: Update from translation team.
16235 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16237         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16238         equal to 0.
16239         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16240         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16241         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16242         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16243         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16245 2012-07-13  Andreas Jaeger  <aj@suse.de>
16247         * po/fr.po: Update from translation team.
16249 2012-07-12  Marek Polacek  <polacek@redhat.com>
16251         [BZ #14173]
16252         * math/libm-test.inc (yn_test): Add test for BZ #14173.
16253         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16254         loop condition.
16256 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
16258         [BZ #13717]
16259         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16260         Change to 2.4.1 where previously 2.4.0.
16261         * sysdeps/unix/sysv/linux/configure: Regenerated.
16262         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16263         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16264         version.
16265         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16266         (__ASSUME_AT_CLKTCK): Remove.
16267         (__ASSUME_AT_PAGESIZE): Likewise.
16268         (__ASSUME_AT_XID): Likewise.
16269         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16270         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16271         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16272         unconditionally.
16273         (HAVE_AUX_PAGESIZE): Likewise.
16274         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16275         [__ASSUME_AT_CLKTCK]: Make code unconditional.
16276         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16278 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
16280         [BZ #14307]
16281         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16282         the temporary buffer used to invoke __gethostbyname2_r,
16283         __gethostbyaddr_r and gethostbyname4_r to make room for struct
16284         host_data / struct gaih_addrtuple.
16285         * resolv/nss_dns/dns-host.c (global scope): Move definition of
16286         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16287         header file nss/nsswitch.h.
16288         * nss/nsswitch.h (global scope): Add definition of implementation
16289         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16290         resolv/nss_dns/dns-host.c).
16292 2012-07-11  Andreas Jaeger  <aj@suse.de>
16294         * po/fr.po: Update from translation team.
16296         * po/sv.po: Update from translation team
16297         * po/fr.po: Another update from translation team.
16299 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16301         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16302         for subnormals or multiply small sinh result by itself.
16303         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16306 2012-07-11  David S. Miller  <davem@davemloft.net>
16308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16310 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
16312         [BZ #14347]
16313         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16314         (INTERNAL_MARK): Shift it here.
16316 2012-07-10  Marek Polacek  <polacek@redhat.com>
16318         [BZ #14151]
16319         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
16320         libc_cv_asm_global_directive with .globl.
16321         * configure: Regenerated.
16322         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16323         with .globl.
16324         * sysdeps/i386/configure: Regenerated.
16325         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16326         with .globl.
16327         * sysdeps/x86_64/configure: Regenerated.
16328         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16329         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16330         * elf/tst-unique2mod2.c: Likewise.
16331         * elf/tst-unique2mod1.c: Likewise.
16332         * elf/tst-unique1mod2.c: Likewise.
16333         * elf/tst-unique1mod1.c: Likewise.
16334         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16335         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16336         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16337         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16338         * sysdeps/mach/sysdep.h: Likewise.
16339         * sysdeps/i386/sysdep.h: Likewise.
16340         * sysdeps/i386/i386-mcount.S: Likewise.
16341         * sysdeps/x86_64/_mcount.S: Likewise.
16342         * sysdeps/x86_64/sysdep.h: Likewise.
16343         * sysdeps/sh/_mcount.S: Likewise.
16344         * sysdeps/sh/sysdep.h: Likewise.
16345         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16346         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16347         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16348         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16349         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16350         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16351         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16352         * locale/localeinfo.h: Likewise.
16353         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16354         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16356 2012-07-09  Roland McGrath  <roland@hack.frob.com>
16358         [BZ #14336]
16359         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16360         system".
16361         * manual/message.texi (The Uniforum approach): Likewise.
16362         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16363         (glibc iconv Implementation): Likewise.
16365 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
16367         [BZ #14337]
16368         * math/s_clog.c (__clog): Avoid scaling a value down where that
16369         could result in underflow.
16370         * math/s_clog10.c (__clog10): Likewise.
16371         * math/s_clog10f.c (__clog10f): Likewise.
16372         * math/s_clog10l.c (__clog10l): Likewise.
16373         * math/s_clogf.c (__clogf): Likewise.
16374         * math/s_clogl.c (__clogl): Likewise.
16375         * math/libm-test.inc (clog_test): Add more tests.
16376         (clog10_test): Likewise.
16377         * sysdeps/i386/fpu/libm-test-ulps: Update.
16378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16380 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
16382         [BZ #14283]
16383         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16384         by 7 not 8 to examine high bit of fractional part.
16386         [BZ #14042]
16387         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16388         for call to __mcount_internal.
16389         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16390         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16391         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16393 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
16395         [BZ #14154]
16396         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16397         approximation for values within 0x1p-13f of an odd multiple of
16398         pi/4.
16399         * math/libm-test.inc (tan_test): Do not allow spurious underflow
16400         exception.  Add more tests.
16401         * sysdeps/i386/fpu/libm-test-ulps: Update.
16403         [BZ #6778]
16404         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16405         inputs and return -1 for them.  Do not check for +Inf in case not
16406         reachable for +Inf.
16407         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16408         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16409         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16410         and return -1 for them.  Do not check for +Inf in case not
16411         reachable for +Inf.
16412         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16413         define.
16414         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16415         and return -1 for them.  Do not check for +Inf in case not
16416         reachable for +Inf.
16417         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
16418         spurious underflow.
16419         * sysdeps/i386/fpu/libm-test-ulps: Update.
16420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16422 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
16424         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16426 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
16428         [BZ #14157]
16429         [BZ #14331]
16430         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16431         could result in spurious underflow.  Scale down values above
16432         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16433         * math/s_csqrtf.c (__csqrtf): Likewise.
16434         * math/s_csqrtl.c (__csqrtl): Likewise.
16435         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
16436         spurious underflow.
16437         * sysdeps/i386/fpu/libm-test-ulps: Update.
16438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16440 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16442         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16443         xopen-msg.sed.
16444         * catgets/xopen-msg.awk: New file.
16445         * catgets/xopen-msg.sed: Removed.
16447         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16448         po2text.sed.
16449         * intl/po2test.awk: New file.
16450         * intl/po2test.sed: Removed.
16452 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
16454         [BZ #14328]
16455         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16456         or multiply small sinh result by itself.
16457         * math/s_ctanf.c (__ctanf): Likewise.
16458         * math/s_ctanh.c (__ctanh): Likewise.
16459         * math/s_ctanhf.c (__ctanhf): Likewise.
16460         * math/s_ctanhl.c (__ctanhl): Likewise.
16461         * math/s_ctanl.c (__ctanl): Likewise.
16462         * math/libm-test.inc (ctan_test_tonearest): New function.
16463         (ctan_test_towardzero): Likewise.
16464         (ctan_test_downward): Likewise.
16465         (ctan_test_upward): Likewise.
16466         (ctanh_test_tonearest): Likewise.
16467         (ctanh_test_towardzero): Likewise.
16468         (ctanh_test_downward): Likewise.
16469         (ctanh_test_upward): Likewise.
16470         (main): Call these new functions.
16471         * sysdeps/i386/fpu/libm-test-ulps: Update.
16472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16474 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
16476         * .gitignore: Delete /ports entry.
16478 2012-07-03  Andreas Jaeger  <aj@suse.de>
16480         * po/bg.po: Update from translation team.
16481         * po/cs.po: Likewise.
16482         * po/de.po: Likewise.
16483         * po/hr.po: Likewise.
16484         * po/nl.pl: Likewise.
16485         * po/pl.po: Likewise.
16486         * po/vi.po: Likewise.
16488 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
16490         * Makeconfig [!+link] (+link-before-libc): New variable.
16491         [!+link] (+link-after-libc): Likewise.
16492         [!+link] (+link-tests): Likewise.
16493         [!+link] (+link): Define in terms of $(+link-before-libc) and
16494         $(+link-after-libc).
16495         [!+link-static] (+link-static-before-libc): New variable.
16496         [!+link-static] (+link-static-after-libc): Likewise.
16497         [!+link-static] (+link-static-tests): Likewise.
16498         [!+link-static] (+link-static): Define in terms of
16499         $(+link-static-before-libc) and $(+link-static-after-libc).
16500         [build-shared] (link-libc-before-gnulib): New variable.
16501         [build-shared] (link-libc-tests): Likewise.
16502         [build-shared] (link-libc): Define in terms of
16503         $(link-libc-before-gnulib).
16504         [!build-shared] (link-libc-tests): New variable.
16505         (link-libc-static-tests): New variable.
16506         [!gnulib] (gnulib-arch): New variable.
16507         [!gnulib] (gnulib-tests): Likewise.
16508         [!gnulib] (static-gnulib-arch): Likewise.
16509         [!gnulib] (static-gnulib-tests): Likewise.
16510         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
16511         Define with "=" instead of ":=".
16512         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
16513         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
16514         * Rules (binaries-all-notests): New variable.
16515         (binaries-all-tests): Likewise.
16516         (binaries-static-notests): Likewise.
16517         (binaries-static-tests): Likewise.
16518         (binaries-all): Define using $(binaries-all-notests) and
16519         $(binaries-all-tests).
16520         (binaries-static): Define using $(binaries-static-notests) and
16521         $(binaries-static-tests).
16522         (binaries-shared-tests): New variable.
16523         (binaries-shared-notests): Likewise.
16524         (binaries-shared): Remove variable.
16525         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16526         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16527         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16528         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16529         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16530         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16531         * elf/Makefile (sln-modules): New variable.
16532         (extra-objs): Add $(sln-modules:=.o).
16533         (ldconfig-modules): Add static-stubs.
16534         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16535         * elf/static-stubs.c: New file.
16537         [BZ #14283]
16538         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16539         by 7 not 8 to examine high bit of fractional part.  Use volatile
16540         variables when splitting into final array of floats if
16541         __FLT_EVAL_METHOD__ != 0.
16542         * math/libm-test.inc (cos_test): Add another test.
16543         (sin_test): Likewise.
16544         * sysdeps/i386/fpu/libm-test-ulps: Update.
16546         [BZ #14273]
16547         * math/libm-test.inc (cosh_test): Add more tests.
16549         * version.h (RELEASE): Set to "development".
16550         (VERSION): Set to "2.16.90".
16552 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
16554         * NEWS: Update copyright. Remove last-updated date.
16555         Mention math library bug fixes and timezone data changes.
16556         * README: Mention GNU/Hurd, x32, and HPPA support status.
16558 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
16560         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16562 2012-06-27  Andreas Jaeger  <aj@suse.de>
16564         * manual/contrib.texi (Contributors): Add Samuel Thibault.
16566 2012-06-25  Andreas Jaeger  <aj@suse.de>
16568         * sysdeps/s390/fpu/libm-test-ulps: Update.
16570 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
16571             Thomas Schwinge  <thomas@codesourcery.com>
16573         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16574         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16576         fanotify_mark.
16578 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
16580         * sysdeps/mach/start.c: Remove file.
16581         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16582         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16583         * sysdeps/sh/init-first.c: Likewise.
16585         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16586         registers for frame unwinding purposes, add CFI directives.
16587         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16588         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16589         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16590         Likewise.
16592         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16593         __fortify_fail returning.
16594         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16596         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16597         sysdeps/sh/____longjmp_chk.S.
16598         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16599         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16600         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16601         (gen-as-const-headers): Append sigaltstack-offsets.sym.
16603         * sysdeps/sh/abort-instr.h: New file.
16604         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16605         process in case exit returns.
16607         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16608         initialize the GOT register before use.
16610         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16611         calculation of ARGC > 4.
16613         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16614         meaningful names to some local labels.
16616 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16617             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16619         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16620         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16621         (__arch_compare_and_exchange_val_16_acq): Likewise.
16622         (__arch_compare_and_exchange_val_32_acq): Likewise.
16623         (atomic_exchange_and_add): Fix gUSA sequence.
16624         (atomic_add): Likewise.
16625         (atomic_add_negative): Likewise.
16626         (atomic_add_zero): Likewise.
16627         (atomic_bit_test_set): Likewise.
16629 2012-06-22  Andreas Schwab  <schwab@redhat.com>
16631         [BZ #13579]
16632         * include/link.h (struct link_map): Add l_free_initfini.
16633         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16634         l_initfini.
16635         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16636         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16637         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16638         set.
16640 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
16642         * configure.in: Use AC_LANG_SOURCE.
16643         * configure: Regenerate.
16645 2012-06-22  Roland McGrath  <roland@hack.frob.com>
16647         * configure.in (libc_cv_localstatedir): New substituted variable.
16648         * configure: Regenerated.
16649         * config.make.in (localstatedir): New variable, substituted from
16650         libc_cv_localstatedir.
16651         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16652         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16653         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16654         * sysdeps/gnu/configure: Regenerated.
16656 2012-06-21  Jeff Law  <law@redhat.com>
16658         [BZ #14277]
16659         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16660         free.  Simplify list management for _LIBC case.
16662 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
16664         [BZ #14273]
16665         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16666         Clear sign bit of 64-bit integer value before comparing against
16667         overflow value.
16669         * sysdeps/mach/configure: Regenerated.
16671 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
16673         [BZ #14278]
16674         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16676 2012-06-21  Jeff Law  <law@redhat.com>
16678         [BZ #13882]
16679         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
16680         uint16_t for elements in the "seen" array to avoid char overflows.
16681         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16682         * elf/dl-open.c (dl_open_worker): Likewise.
16684 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
16686         * scripts/list-sources.sh: Scan PORTS for translations.
16687         * po/libc.pot: Regenerated.
16689 2012-06-21  Andreas Jaeger  <aj@suse.de>
16691         [BZ #12194]
16692         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16693         warning.
16694         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16695         * bits/byteswap-16.h (__bswap_16): Likewise.
16696         * bits/byteswap.h (__bswap_constant_16): Likewise.
16698 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
16700         [BZ #14117]
16701         * sysdeps/i386/fpu_control.h: Removed.
16702         * sysdeps/x86_64/fpu_control.h: Moved to ...
16703         * sysdeps/x86/fpu_control.h: Here.
16705         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16706         (_FPU_SETCW): Likewise.
16708 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
16710         [BZ #14117]
16711         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16712         * sysdeps/x86/fpu/bits/mathinline.h: This.
16713         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16715         [BZ #14050]
16716         [BZ #14117]
16717         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16718         functions if __x86_64__ is defined.
16720 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
16722         * string/endian.h: Add !__ASSEMBLER__ condition for including
16723         conversion interfaces.
16725 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
16727         [BZ #14241]
16728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16729         of ABS(x) in calculating zero to negative powers other than odd
16730         integers.
16731         * math/libm-test.inc (pow_test): Add more tests.
16733 2012-06-15  Andreas Jaeger  <aj@suse.de>
16735         * manual/contrib.texi (Contributors): Update entry of Liubov
16736         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16737         Machado Filho.
16739 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
16741         * string/string.h: Add __wur to GNU version of strerror_r.
16743 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
16745         [BZ #14229]
16746         * string/Makefile (tests): Add tst-strtok_r.
16747         * string/tst-strtok_r.c: New file.
16748         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16749         RAX_LP/RDX_LP on SAVE_PTR.
16751 2012-06-14  Roland McGrath  <roland@hack.frob.com>
16753         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16755 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
16757         * libm_test.inc (csqrt_test): Allow more spurious underflow
16758         exceptions.
16759         (j0_test): Likewise.
16760         (j1_test): Likewise.
16761         (y0_test): Likewise.
16762         (y1_test): Likewise.
16764 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
16766         * po/Makefile (libc.pot): Use UTF-8 charset.
16768 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
16770         [BZ #14210]
16771         Suppress sign-conversion warning from FD_SET.
16772         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16773         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16774         not unsigned long int.
16775         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16777 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
16779         [BZ #14050]
16780         [BZ #14117]
16781         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16782         __extern_always_inline instead of __extern_inline.
16783         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16784         (__signbit): Likewise.
16785         (__signbitl): Support C++ namespace.
16786         (lrintf): New inline function.
16787         (lrint): Likewise.
16788         (llrintf): Likewise.
16789         (llrint): Likewise.
16790         (fmaxf): Likewise.
16791         (fmax): Likewise.
16792         (fminf): Likewise.
16793         (fmin): Likewise.
16794         (rint): Likewise.
16795         (rintf): Likewise.
16796         (ceil): Likewise.
16797         (ceilf): Likewise.
16798         (floor): Likewise.
16799         (floorf): Likewise.
16800         (nearbyint): Likewise.
16801         (nearbyintf): Likewise.
16803 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
16805         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16806         non-default versions.
16808 2012-06-11  Roland McGrath  <roland@hack.frob.com>
16810         [BZ #14218]
16811         * manual/argp.texi (Argp): Reword argp_parse description slightly.
16813 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
16815         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16816         (FE_UPWARD, FE_DOWNWARD): Don't define.
16817         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16818         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16820         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16821         reading it.
16822         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16823         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16825 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16827         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16828         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16829         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16830         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16832 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16834         [BZ #14117]
16835         * sysdeps/i386/fpu/bits/fenv.h: Removed.
16836         * sysdeps/i386/fpu/Implies: New file.
16837         * sysdeps/x86_64/fpu/Implies: Likewise.
16838         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16839         * sysdeps/x86/fpu/bits/fenv.h: This.
16841         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16842         __SSE_MATH__.
16844 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16846         [BZ #14134]
16847         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16848         character 0xffff that matches the last element of the
16849         conversion table.
16851 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16853         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16854         fmodl commit.
16856 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16859         values higher than 25.6283.
16861 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16863         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16864         subnormal exponent extraction and add some __builtin_expect.
16865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16866         Fix for subnormal mantissa calculation.
16868 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
16870         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16871         cpu2 is -1 and errno is not ENOSYS.
16873 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
16875         [BZ #14117]
16876         * sysdeps/i386/i486/bits/string.h: Renamed to ...
16877         * sysdeps/x86/bits/string.h: This.
16878         * sysdeps/x86_64/bits/string.h: Removed.
16880         * sysdeps/i386/i486/bits/string.h: Define inline functions only
16881         if not compiling for x86-64, but compiling for >= i486.
16883         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16884         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16886         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16887         New macro from Linux kernel 3.4.0.
16888         (FP_XSTATE_MAGIC2): Likewise.
16889         (FP_XSTATE_MAGIC2_SIZE): Likewise.
16890         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16891         (struct _fpx_sw_bytes): New struct.
16892         (struct _xsave_hdr): Likewise.
16893         (struct _ymmh_state): Likewise.
16894         (struct _xstate): Likewise.
16896         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16897         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16898         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16899         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16900         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16901         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16903         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16904         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16905         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16906         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16907         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16908         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16910 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16912         [BZ #13743]
16913         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16914         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16915         (sysdep_headers): Include sys/platform/ppc.h.
16916         * sysdeps/powerpc/test-gettimebase.c: Test for
16917         __ppc_get_timebase() to catch future ISA opcode/insn changes.
16918         * manual/Makefile (appendices): Include platform.texi.
16919         * manual/contrib.texi (Contributors): Update @node pointers.
16920         * manual/maint.texi (Maintenance): Likewise.
16921         (Platform): New node.
16922         * manual/platform.texi: New file.  Document the new features.
16924 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16925             Jakub Jelinek  <jakub@redhat.com>
16927         [BZ #14188]
16928         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16929         where __builtin_expect is unavailable.
16931 2012-06-03  David S. Miller  <davem@davemloft.net>
16933         * stdlib/longlong.h: Updated from GCC.
16935 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
16937         [BZ #14042]
16938         * sysdeps/powerpc/powerpc32/mcount.c: New file.
16939         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16940         __mcount_internal.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16942         (GLIBC_2.16): Likewise.
16944 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16946         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16948 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16951         (default-abi): New variable.
16952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16953         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16954         variable.
16955         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16956         Likewise.
16957         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16958         Likewise.
16959         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16960         Likewise.
16962         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16963         definition.  Document in comment.
16965 2012-06-01  David S. Miller  <davem@davemloft.net>
16967         * stdlib/longlong.h: Updated from GCC.
16969 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
16971         [BZ #14117]
16972         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16973         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16974         sys/debugreg.h sys/io.h here.
16975         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16976         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16977         sys/io.h.
16978         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16979         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16980         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16981         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16982         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16983         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16985         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16986         Define only if __x86_64__ is defined.
16988 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
16990         [BZ #14048]
16991         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16992         Use int64_t for variable i.
16993         * math/libm-test.inc (fmod_test): Add more tests.
16995         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16996         z computation is not scheduled after fetestexcept.
16997         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16998         Use math_force_eval instead of asm to ensure calculation scheduled
16999         before exception test.
17000         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17001         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17003 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17006         computation is not scheduled after fetestexcept.
17008 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17010         [BZ #14117]
17011         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17012         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17014 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17016         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17017         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17019 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17021         [BZ #14117]
17022         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17023         <bits/wordsize.h>.
17024         (__WCHAR_MIN): Support __WORDSIZE == 64.
17025         (__WCHAR_MAX): Likewise.
17027         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17028         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17030         [BZ #14183]
17031         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17032         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17034         [BZ #14117]
17035         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17036         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17038         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17039         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17041         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17042         Defined to 1 if __x86_64__ isn't defined.
17043         (_STAT_VER_LINUX_OLD): New.
17044         (st_atime): Remove duplicate.
17045         (st_mtime): Likewise.
17046         (st_ctime): Likewise.
17048 2012-05-31  David S. Miller  <davem@davemloft.net>
17050         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17051         entries.
17053 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17055         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17056         gen-libm-test.pl.
17058         [BZ #14132]
17059         * elf/dl-reloc.c: Include <_itoa.h>.
17060         (_dl_reloc_bad_type): Remove use of INTUSE.
17061         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17062         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17063         * stdio-common/psiginfo.c (psiginfo): Likewise.
17064         * stdio-common/psignal.c (psignal): Likewise.
17065         * string/strsignal.c (strsignal): Likewise.
17066         * include/signal.h (_sys_siglist): Declare hidden proto.
17067         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17068         INTVARDEF with libc_hidden_data_def.
17069         * stdio-common/itoa-udigits.c: Likewise.
17070         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17071         (_itoa_lower_digits_internal): Remove declaration.
17072         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17073         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17074         (_sys_sigabbrev_internal): Remove aliases.
17075         (_sys_siglist): Define hidden alias.
17077 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17080         bits/sysctl.h.
17082 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17084         [BZ #14117]
17085         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17086         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17088         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17089         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17090         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17091         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17092         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17093         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17095         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17096         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17097         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17099         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17100         with __addr.
17101         (insw): Likewise.
17102         (insl): Likewise.
17103         (outsb): Likewise.
17104         (outsw): Likewise.
17105         (outsl): Likewise.
17107         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17108         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17109         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17111         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17112         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17113         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17114         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17115         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17116         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17118         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17119         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17121         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17122         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17124         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17125         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17126         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17128         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17129         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17130         to ...
17131         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17133         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17134         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17135         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17137         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17138         for x86-64.
17139         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17141 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17143         * math/math.h (M_El): Use two more decimal places.
17144         (M_LOG2El): Likewise.
17145         (M_LOG10El): Likewise.
17146         (M_LN2l): Likewise.
17147         (M_LN10l): Likewise.
17148         (M_PIl): Likewise.
17149         (M_PI_2l): Likewise.
17150         (M_PI_4l): Likewise.
17151         (M_1_PIl): Likewise.
17152         (M_2_PIl): Likewise.
17153         (M_2_SQRTPIl): Likewise.
17154         (M_SQRT2l): Likewise.
17155         (M_SQRT1_2l): Likewise.
17157 2012-05-31  David S. Miller  <davem@davemloft.net>
17159         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17160         values between float registers.
17161         * sysdeps/sparc/sparc64/memset.S: Likewise.
17162         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17164 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
17166         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17167         -D_FORTIFY_SOURCE=1.
17168         (CPPFLAGS-tst-longjmp_chk.c): Define.
17169         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17170         (CPPFLAGS-tst-longjmp_chk2.c): Define.
17171         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17172         CFLAGS-tst-wchar-h.c.
17174 2012-05-31  Marek Polacek  <polacek@redhat.com>
17176         [BZ #14132]
17177         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17178         __endmntent_internal): Remove declaration.
17179         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17180         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17181         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17183 2012-05-30  David S. Miller  <davem@davemloft.net>
17185         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17186         (___Q_simulate_exceptions): Use real FP ops rather than writing
17187         into the %fsr.
17188         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17189         Likewise.
17191 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17193         [BZ #14117]
17194         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17195         * sysdeps/x86/bits/xtitypes.h: This.
17197         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17198         * sysdeps/x86/bits/wordsize.h: This.
17200         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17201         * sysdeps/x86/bits/huge_vall.h: This.
17203         * sysdeps/i386/bits/select.h: Removed.
17204         * sysdeps/x86_64/bits/select.h: Renamed to ...
17205         * sysdeps/x86/bits/select.h: This.
17207         * sysdeps/i386/bits/setjmp.h: Removed.
17208         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17209         * sysdeps/x86/bits/setjmp.h: This.
17211         * sysdeps/i386/bits/mathdef.h: Removed.
17212         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17213         * sysdeps/x86/bits/mathdef.h: This.
17215 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17217         [BZ #14132]
17218         * include/sys/socket.h (__connect_internal)
17219         (__libc_sa_len_internal): Remove declaration.
17220         (__connect, __libc_sa_len): Declare hidden_proto.
17221         (SA_LEN): Remove use of INTUSE.
17222         * socket/connect.c: Add libc_hidden_def.
17223         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17224         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17225         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17226         alias.
17227         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17228         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17229         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17230         of adding _internal alias.
17232 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17234         [BZ #14117]
17235         * sysdeps/i386/bits/link.h: Removed.
17236         * sysdeps/i386/bits/linkmap.h: Likewise.
17237         * sysdeps/x86_64/bits/link.h: Renamed to ...
17238         * sysdeps/x86/bits/link.h: This.
17239         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17240         * sysdeps/x86/bits/linkmap.h: This.
17242         * sysdeps/i386/bits/endian.h: Removed.
17243         * sysdeps/x86_64/bits/endian.h: Renamed to ...
17244         * sysdeps/x86/bits/endian.h: This.
17246         * sysdeps/i386/bits/byteswap.h: Removed.
17247         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17248         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17249         * sysdeps/x86/bits/byteswap.h: This.
17250         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17251         * sysdeps/x86/bits/byteswap-16.h: This.
17252         * sysdeps/i386/Implies: Add x86.
17253         * sysdeps/x86_64/Implies: Likewise.
17255 2012-05-30  David S. Miller  <davem@davemloft.net>
17257         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17258         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17259         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17260         (FP_TRAPPING_EXCEPTIONS): Define.
17261         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17262         (FP_TRAPPING_EXCEPTIONS): Define.
17263         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17264         subnormals only when inexact has been signalled or underflow
17265         exceptions are enabled.
17266         (_FP_PACK_CANONICAL): Likewise.
17268 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17270         [BZ #14183]
17271         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17272         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17274 2012-05-30  Richard Henderson  <rth@twiddle.net>
17276         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17277         with #ifndef NOT_IN_libc.
17279         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
17280         marked to avoid plt entry.
17282 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17284         [BZ #14112]
17285         * Makeconfig (default-abi): New macro.
17286         (abi-includes): Likewise.
17287         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
17288         $(abi-$(default-abi)-lib-soname) for soname if defined.
17289         ($(common-objpfx)gnu/lib-names.stmp): Generate from
17290         abi-variants.
17291         * Makefile (installed-stubs): Likewise.
17292         * include/stubs-biarch.h: Removed.
17293         * scripts/lib-names.awk: Only handle one library at a time.
17294         * scripts/soversions.awk: Remove WORDSIZE support.
17295         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17296         entries.
17297         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17298         Removed.
17299         (syscall-list-default-condition): Likewise.
17300         (syscall-list-default-condition): Likewise.
17301         (syscall-list-includes): Likewise.
17302         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17303         syscall-list-* with abi-*.  Handle undefined abi-variants.
17304         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17305         * sysdeps/unix/sysv/linux/i386/Implies: New file.
17306         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17307         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17308         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17309         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17310         Removed.
17311         (syscall-list-32-options): Likewise.
17312         (syscall-list-32-condition): Likewise.
17313         (syscall-list-64-options): Likewise.
17314         (syscall-list-64-condition): Likewise.
17315         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17316         macro.
17317         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17318         Renamed to ...
17319         (abi-*): This.
17320         (abi-64-ld-soname): New macro.
17321         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17322         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17323         Renamed to ...
17324         (abi-*): This.
17325         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17326         * sysdeps/x86_64/x32/shlib-versions: Likewise.
17328 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
17330         * sysdeps/unix/sysv/linux/kernel-features.h
17331         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17332         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17333         include <kernel-features.h>.
17334         [!__NR_ftruncate64]: Remove conditional code.
17335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17336         [__NR_ftruncate64]: Make code unconditional.
17337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17338         * sysdeps/unix/sysv/linux/truncate64.c: Do not
17339         include <kernel-features.h>.
17340         [!__NR_ftruncate64]: Remove conditional code.
17341         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17342         [__NR_ftruncate64]: Make code unconditional.
17343         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17345         include <kernel-features.h>.
17346         [!__NR_ftruncate64]: Remove conditional code.
17347         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17348         [__NR_ftruncate64]: Make code unconditional.
17349         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17351         include <kernel-features.h>.
17352         [!__NR_ftruncate64]: Remove conditional code.
17353         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17354         [__NR_ftruncate64]: Make code unconditional.
17355         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17357         * configure.in (libc_cv_fpie): Weaken to a compile test using
17358         LIBC_TRY_CC_OPTION.
17359         * configure: Regenerated.
17361 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17367         Refreshed.
17368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17374         Refreshed.
17376 2012-05-27  David S. Miller  <davem@davemloft.net>
17378         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17379         (___Q_zero): New.
17380         (__Q_simulate_exceptions): Return void.  Change to simulate
17381         exceptions by writing into the %fsr.
17382         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17383         (__Qp_handle_exceptions): Likewise.
17384         (numbers): Delete.
17385         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17386         __Qp_handle_exceptions.
17387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17388         __Qp_handle_exceptions.
17389         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17390         as unused and give dummy FP_RND_NEAREST initializer.
17391         (FP_INHIBIT_RESULTS): Define.
17392         (___Q_simulate_exceptions): Update declaration.
17393         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17394         formatting.
17395         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17396         as unused and give dummy FP_RND_NEAREST initializer.
17397         (__Qp_handle_exceptions): Update declaration.
17398         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17399         formatting.
17401 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
17403         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17404         the temporary FPU control word.
17405         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17406         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17407         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17408         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17409         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17410         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17411         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17412         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17413         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17414         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17415         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17417 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17419         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17420         fields.
17422 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
17424         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17425         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17426         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17427         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17428         Likewise.
17429         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17430         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17431         Likewise.
17433 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
17435         * po/h.po: Update from translation team.
17437 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
17439         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17441         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17442         handling of denormals.
17443         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17444         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17445         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17446         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17447         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17448         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17450         Likewise.
17452 2012-05-26  Marek Polacek  <polacek@redhat.com>
17454         [BZ #14152]
17455         * math/libm-test.inc (fma_test): Don't always expect underflow
17456         exception.
17458 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17460         [BZ #12416]
17461         * elf/tst-execstack.c: Include stackinfo.h.
17462         (do_test): Adjust test case to ensure that pthread_getattr_np
17463         behaviour remains the same after marking stack executable.
17465 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17467         * sysdeps/unix/sysv/linux/kernel-features.h
17468         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17469         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17470         kernel-features.h.
17471         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17472         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17473         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17474         kernel-features.h.
17475         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17476         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17478 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
17480         * configure.in: Define the default includes to being none.
17481         * configure: Regenerated.
17483 2012-05-25  Roland McGrath  <roland@hack.frob.com>
17485         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17486         * sysdeps/x86_64/setjmp.S: Likewise.
17487         * sysdeps/i386/bsd-setjmp.S: Likewise.
17488         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17489         * sysdeps/i386/setjmp.S: Likewise.
17490         * sysdeps/i386/__longjmp.S: Likewise.
17491         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17492         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17494         * include/stap-probe.h: New file.
17495         * configure.in: Handle --enable-systemtap.
17496         * configure: Regenerated.
17497         * config.h.in (USE_STAP_PROBE): New #undef.
17498         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17499         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17500         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17502 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17504         [BZ #13717]
17505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17506         to 2.4.0 where earlier.
17507         * sysdeps/unix/sysv/linux/configure: Regenerated.
17508         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17509         <kernel-features.h>.
17510         [__ASSUME_32BITUIDS]: Make code unconditional.
17511         [!__ASSUME_32BITUIDS]: Remove conditional code.
17512         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17513         <kernel-features.h>.
17514         [__ASSUME_32BITUIDS]: Make code unconditional.
17515         [!__ASSUME_32BITUIDS]: Remove conditional code.
17516         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17517         [__ASSUME_32BITUIDS]: Make code unconditional.
17518         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17519         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17520         <kernel-features.h>.
17521         [__ASSUME_32BITUIDS]: Make code unconditional.
17522         [!__ASSUME_32BITUIDS]: Remove conditional code.
17523         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17524         <kernel-features.h>.
17525         [__ASSUME_32BITUIDS]: Make code unconditional.
17526         [!__ASSUME_32BITUIDS]: Remove conditional code.
17527         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17528         <kernel-features.h>.
17529         [__ASSUME_32BITUIDS]: Make code unconditional.
17530         [!__ASSUME_32BITUIDS]: Remove conditional code.
17531         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17532         <kernel-features.h>.
17533         [__ASSUME_32BITUIDS]: Make code unconditional.
17534         [!__ASSUME_32BITUIDS]: Remove conditional code.
17535         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17536         <kernel-features.h>.
17537         [__ASSUME_32BITUIDS]: Make code unconditional.
17538         [!__ASSUME_32BITUIDS]: Remove conditional code.
17539         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17540         <kernel-features.h>.
17541         [__ASSUME_32BITUIDS]: Make code unconditional.
17542         [!__ASSUME_32BITUIDS]: Remove conditional code.
17543         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17544         <kernel-features.h>.
17545         [__ASSUME_32BITUIDS]: Make code unconditional.
17546         [!__ASSUME_32BITUIDS]: Remove conditional code.
17547         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17548         <kernel-features.h>.
17549         [__ASSUME_32BITUIDS]: Make code unconditional.
17550         [!__ASSUME_32BITUIDS]: Remove conditional code.
17551         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17552         <kernel-features.h>.
17553         [__ASSUME_32BITUIDS]: Make code unconditional.
17554         [!__ASSUME_32BITUIDS]: Remove conditional code.
17555         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17556         <kernel-features.h>.
17557         [__ASSUME_32BITUIDS]: Make code unconditional.
17558         [!__ASSUME_32BITUIDS]: Remove conditional code.
17559         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17560         <kernel-features.h>.
17561         [__NR_setresgid] (__setresgid): Do not declare.
17562         [__ASSUME_32BITUIDS]: Make code unconditional.
17563         [!__ASSUME_32BITUIDS]: Remove conditional code.
17564         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17565         <kernel-features.h>.
17566         [__NR_setresuid] (__setresuid): Do not declare.
17567         [__ASSUME_32BITUIDS]: Make code unconditional.
17568         [!__ASSUME_32BITUIDS]: Remove conditional code.
17569         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17570         <kernel-features.h>.
17571         [__ASSUME_32BITUIDS]: Make code unconditional.
17572         [!__ASSUME_32BITUIDS]: Remove conditional code.
17573         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17574         <kernel-features.h>.
17575         [__ASSUME_32BITUIDS]: Make code unconditional.
17576         [!__ASSUME_32BITUIDS]: Remove conditional code.
17577         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17578         <kernel-features.h>.
17579         [__ASSUME_32BITUIDS]: Make code unconditional.
17580         [!__ASSUME_32BITUIDS]: Remove conditional code.
17581         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17582         <kernel-features.h>.
17583         [__ASSUME_32BITUIDS]: Make code unconditional.
17584         [!__ASSUME_32BITUIDS]: Remove conditional code.
17585         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17586         <kernel-features.h>.
17587         [__ASSUME_32BITUIDS]: Make code unconditional.
17588         [!__ASSUME_32BITUIDS]: Remove conditional code.
17589         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17590         <kernel-features.h>.
17591         [__ASSUME_32BITUIDS]: Make code unconditional.
17592         [!__ASSUME_32BITUIDS]: Remove conditional code.
17593         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17594         <kernel-features.h>.
17595         [__ASSUME_32BITUIDS]: Make code unconditional.
17596         [!__ASSUME_32BITUIDS]: Remove conditional code.
17597         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17598         <kernel-features.h>.
17599         [__ASSUME_32BITUIDS]: Make code unconditional.
17600         [!__ASSUME_32BITUIDS]: Remove conditional code.
17601         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17602         <kernel-features.h>.
17603         [__ASSUME_32BITUIDS]: Make code unconditional.
17604         [!__ASSUME_32BITUIDS]: Remove conditional code.
17605         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17606         <kernel-features.h>.
17607         [__ASSUME_32BITUIDS]: Make code unconditional.
17608         [!__ASSUME_32BITUIDS]: Remove conditional code.
17609         * sysdeps/unix/sysv/linux/kernel-features.h
17610         (__ASSUME_SETRESUID_SYSCALL): Remove.
17611         (__ASSUME_SETRESGID_SYSCALL): Likewise.
17612         (__ASSUME_32BITUIDS): Likewise.
17613         (__ASSUME_LDT_WORKS): Likewise.
17614         (__ASSUME_O_DIRECTORY): Likewise.
17615         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17616         architecture but not kernel version.
17617         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17618         (__ASSUME_MMAP2_SYSCALL): Likewise.
17619         (__ASSUME_STAT64_SYSCALL): Likewise.
17620         (__ASSUME_IPC64): Likewise.
17621         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17622         <kernel-features.h>.
17623         [__ASSUME_32BITUIDS]: Make code unconditional.
17624         [!__ASSUME_32BITUIDS]: Remove conditional code.
17625         * sysdeps/unix/sysv/linux/opendir.c: Do not include
17626         <kernel-features.h>.
17627         [__ASSUME_O_DIRECTORY]: Make code unconditional.
17628         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17629         132096]: Remove conditional code.
17630         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17631         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17632         <kernel-features.h>.
17633         [__ASSUME_32BITUIDS]: Make code unconditional.
17634         [!__ASSUME_32BITUIDS]: Remove conditional code.
17635         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17636         <kernel-features.h>.
17637         [__ASSUME_32BITUIDS]: Make code unconditional.
17638         [!__ASSUME_32BITUIDS]: Remove conditional code.
17639         * sysdeps/unix/sysv/linux/setegid.c: Do not include
17640         <kernel-features.h>.
17641         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17642         unconditional.
17643         (__setresgid): Do not declare.
17644         [__ASSUME_32BITUIDS]: Make code unconditional.
17645         [!__ASSUME_32BITUIDS]: Remove conditional code.
17646         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17647         <kernel-features.h>.
17648         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17649         unconditional.
17650         (__setresuid): Do not declare.
17651         [__ASSUME_32BITUIDS]: Make code unconditional.
17652         [!__ASSUME_32BITUIDS]: Remove conditional code.
17653         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17654         <kernel-features.h>.
17655         [__ASSUME_32BITUIDS]: Make code unconditional.
17656         [!__ASSUME_32BITUIDS]: Remove conditional code.
17657         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17658         <kernel-features.h>.
17659         [__ASSUME_32BITUIDS]: Make code unconditional.
17660         [!__ASSUME_32BITUIDS]: Remove conditional code.
17662 2012-05-25  Richard Henderson  <rth@twiddle.net>
17664         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17665         dl_hwcap to ifunc resolver.
17666         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17667         elf_ifunc_invoke.
17668         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17669         dl_hwcap to ifunc resolver.
17670         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17672 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17674         [BZ #14153]
17675         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17676         for |x| <= 2**-26, not 2**-57.
17677         * math/libm-test.inc (acos_test): Do not allow spurious underflow
17678         exception.
17680 2012-05-24  Jeff Law  <law@redhat.com>
17682         * stdio-common/Makefile (tests): Add bug25.
17683         * stdio-common/bug25.c: New test.
17685 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17687         [BZ #13576]
17688         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17689         multiple of MALLOC_ALIGNMENT in size.
17690         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17692 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17694         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17695         Require >= 256.
17696         (FILENAME_MAX): Use macro-int-constant.
17697         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
17698         (_IOFBF): Use macro-int-constant.
17699         (_IOLBF): Likewise.
17700         (_IONBF): Likewise.
17701         (SEEK_CUR): Likewise.
17702         (SEEK_END): Likewise.
17703         (SEEK_SET): Likewise.
17704         (TMP_MAX): Likewise.
17705         (EOF): Use macro-int-constant.  Require < 0.
17706         (NULL): Use macro-constant.  Require == 0.
17707         (stdin): Require type to be FILE *.
17708         (stdout): Likewise.
17709         (stderr): Likewise.
17710         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17711         macro-int-constant.
17712         (EXIT_SUCCESS): Likewise.
17713         (NULL): Use macro-constant.  Require == 0.
17714         (RAND_MAX): Use macro-int-constant.
17715         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17716         [C99-based standards] (strtof): Require function.
17717         [C99-based standards] (strtold): Likewise.
17718         [C99-based standards] (strtoll): Likewise.
17719         [C99-based standards] (strtoull): Likewise.
17720         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17721         [ISO || ISO99 || ISO11] (limits.h): Likewise.
17722         [ISO || ISO99 || ISO11] (math.h): Likewise.
17723         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17724         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17725         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17727 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
17729         [BZ #14132]
17730         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17731         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17732         * intl/dgettext.c (DCGETTEXT): Likewise.
17733         * intl/gettext.c (DCGETTEXT): Likewise.
17734         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17735         * posix/regex_internal.h (gettext): Likewise.
17736         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17737         Remove declaration.
17738         * include/argz.h (__argz_count_internal)
17739         (__argz_stringify_internal): Remove declaration.
17740         (__argz_count, __argz_stringify): Declare hidden proto.
17741         * intl/dcgettext.c: Remove use of INTDEF.
17742         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17743         * string/argz-stringify.c: Likewise.
17744         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17745         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17746         Declare hidden proto.
17747         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17748         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17749         Declare hidden proto.
17750         * include/stdio.h (__asprintf_internal): Don't declare.
17751         (__asprintf): Don't define as macro.  Declare hidden proto.
17752         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17753         (__fsetlocking): Declare hidden proto.
17754         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17755         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17756         hidden proto.
17757         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17758         (_IO_setlinebuf): Remove use of INTUSE.
17759         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17760         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17761         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17762         Remove declaration.
17763         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17764         (_IO_do_flush): Remove use of INTUSE.
17765         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17766         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17767         (_IO_adjust_column, _IO_least_wmarker)
17768         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17769         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17770         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17771         (_IO_default_doallocate, _IO_wdefault_doallocate)
17772         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17773         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17774         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17775         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17776         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17777         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17778         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17779         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17780         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17781         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17782         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17783         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17784         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17785         proto.
17786         (_IO_flush_all_internal, _IO_adjust_column_internal)
17787         (_IO_default_uflow_internal, _IO_default_finish_internal)
17788         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17789         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17790         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17791         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17792         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17793         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17794         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17795         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17796         (_IO_file_close_internal, _IO_file_close_it_internal)
17797         (_IO_file_underflow_internal, _IO_file_overflow_internal)
17798         (_IO_file_init_internal, _IO_file_attach_internal)
17799         (_IO_file_fopen_internal, _IO_file_read_internal)
17800         (_IO_file_sync_internal, _IO_file_seek_internal)
17801         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17802         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17803         (_IO_str_underflow_internal, _IO_str_overflow_internal)
17804         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17805         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17806         (_IO_list_all_internal, _IO_link_in_internal)
17807         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17808         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17809         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17810         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17811         (_IO_do_write_internal, _IO_padn_internal)
17812         (_IO_getline_info_internal, _IO_getline_internal)
17813         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17814         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17815         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17816         (_IO_vfscanf_internal, _IO_vfprintf_internal)
17817         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17818         (_IO_init_internal, _IO_un_link_internal): Don't declare.
17819         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17820         with libc_hidden_ver, remove use of INTUSE.
17821         * libio/genops.c: Likewise.
17822         * libio/freopen.c: Likewise.
17823         * libio/freopen64.c: Likewise.
17824         * libio/iofclose.c: Likewise.
17825         * libio/iofdopen.c: Likewise.
17826         * libio/iofflush.c: Likewise.
17827         * libio/iofflush_u.c: Likewise.
17828         * libio/iofgets.c: Likewise.
17829         * libio/iofgets_u.c: Likewise.
17830         * libio/iofopen.c: Likewise.
17831         * libio/iofopncook.c: Likewise.
17832         * libio/iofread.c: Likewise.
17833         * libio/iofread_u.c: Likewise.
17834         * libio/ioftell.c: Likewise.
17835         * libio/iofwrite.c: Likewise.
17836         * libio/iogetline.c: Likewise.
17837         * libio/iogets.c: Likewise.
17838         * libio/iogetwline.c: Likewise.
17839         * libio/iopadn.c: Likewise.
17840         * libio/iopopen.c: Likewise.
17841         * libio/ioseekoff.c: Likewise.
17842         * libio/ioseekpos.c: Likewise.
17843         * libio/iosetbuffer.c: Likewise.
17844         * libio/iosetvbuf.c: Likewise.
17845         * libio/ioungetc.c: Likewise.
17846         * libio/ioungetwc.c: Likewise.
17847         * libio/iovdprintf.c: Likewise.
17848         * libio/iovsprintf.c: Likewise.
17849         * libio/iovsscanf.c: Likewise.
17850         * libio/memstream.c: Likewise.
17851         * libio/obprintf.c: Likewise.
17852         * libio/oldfileops.c: Likewise.
17853         * libio/oldiofclose.c: Likewise.
17854         * libio/oldiofdopen.c: Likewise.
17855         * libio/oldiofopen.c: Likewise.
17856         * libio/oldiopopen.c: Likewise.
17857         * libio/oldstdfiles.c: Likewise.
17858         * libio/putc.c: Likewise.
17859         * libio/setbuf.c: Likewise.
17860         * libio/setlinebuf.c: Likewise.
17861         * libio/stdfiles.c: Likewise.
17862         * libio/strops.c: Likewise.
17863         * libio/vasprintf.c: Likewise.
17864         * libio/vscanf.c: Likewise.
17865         * libio/vsnprintf.c: Likewise.
17866         * libio/vswprintf.c: Likewise.
17867         * libio/wfiledoalloc.c: Likewise.
17868         * libio/wfileops.c: Likewise.
17869         * libio/wgenops.c: Likewise.
17870         * libio/wmemstream.c: Likewise.
17871         * libio/wstrops.c: Likewise.
17872         * libio/__fpurge.c: Likewise.
17873         * libio/__fsetlocking.c: Likewise.
17874         * assert/assert.c: Likewise.
17875         * debug/fgets_chk.c: Likewise.
17876         * debug/fgets_u_chk.c: Likewise.
17877         * debug/fread_chk.c: Likewise.
17878         * debug/fread_u_chk.c: Likewise.
17879         * debug/gets_chk.c: Likewise.
17880         * debug/obprintf_chk.c: Likewise.
17881         * debug/vasprintf_chk.c: Likewise.
17882         * debug/vdprintf_chk.c: Likewise.
17883         * debug/vsnprintf_chk.c: Likewise.
17884         * debug/vsprintf_chk.c: Likewise.
17885         * malloc/mtrace.c: Likewise.
17886         * misc/error.c: Likewise.
17887         * misc/syslog.c: Likewise.
17888         * stdio-common/asprintf.c: Likewise.
17889         * stdio-common/fxprintf.c: Likewise.
17890         * stdio-common/getw.c: Likewise.
17891         * stdio-common/isoc99_fscanf.c: Likewise.
17892         * stdio-common/isoc99_scanf.c: Likewise.
17893         * stdio-common/isoc99_vfscanf.c: Likewise.
17894         * stdio-common/isoc99_vscanf.c: Likewise.
17895         * stdio-common/isoc99_vsscanf.c: Likewise.
17896         * stdio-common/printf-prs.c: Likewise.
17897         * stdio-common/printf_fp.c: Likewise.
17898         * stdio-common/printf_fphex.c: Likewise.
17899         * stdio-common/printf_size.c: Likewise.
17900         * stdio-common/putw.c: Likewise.
17901         * stdio-common/scanf.c: Likewise.
17902         * stdio-common/sprintf.c: Likewise.
17903         * stdio-common/tmpfile.c: Likewise.
17904         * stdio-common/vfprintf.c: Likewise.
17905         * stdio-common/vfscanf.c: Likewise.
17906         * stdlib/strfmon_l.c: Likewise.
17907         * sunrpc/openchild.c: Likewise.
17908         * sunrpc/xdr_stdio.c: Likewise.
17909         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17910         * sysdeps/mach/hurd/tmpfile.c: Likewise.
17912 2012-05-24  Roland McGrath  <roland@hack.frob.com>
17914         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17916         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17917         in the third column, to generate for the shared library an IFUNC
17918         that uses _dl_vdso_vsym.
17919         * Makerules (COMPILE.c, compile-stdin.c): New variables.
17920         * Makeconfig (object-suffixes-noshared): New variable.
17922         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17923         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17924         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17925         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17927         [BZ #14132]
17928         * include/sys/time.h (__gettimeofday): Remove macro.
17929         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17930         * time/gettimeofday.c (__gettimeofday): Remove #undef.
17931         Remove INTDEF.
17932         (__gettimeofday): Add libc_hidden_def.
17933         (gettimeofday): Add libc_hidden_weak.
17934         * sysdeps/mach/gettimeofday.c: Likewise.
17935         * sysdeps/posix/gettimeofday.c: Likewise.
17936         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17937         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17938         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17939         (__gettimeofday_internal): Remove strong_alias.
17940         (__gettimeofday): Add libc_hidden_def.
17941         (gettimeofday): Add libc_hidden_weak.
17942         * sysdeps/unix/syscalls.list (gettimeofday):
17943         Remove __gettimeofday_internal alias.
17945 2012-05-24  Daniel Jacobowitz  <drow@false.org>
17946             H.J. Lu  <hongjiu.lu@intel.com>
17948         [BZ #12495]
17949         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17950         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17951         (largebin_index_32_big): New.
17952         (largebin_index): Use it for 16-byte alignment.
17953         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
17954         correction with front_misalign.
17956 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17960         Likewise.
17961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17962         Likewise.
17963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17964         Likewise.
17965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17966         Likewise.
17967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17968         Likewise.
17969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17970         Likewise.
17971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17972         Likewise.
17973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17974         Likewise.
17975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17976         Likewise.
17977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17978         Likewise.
17979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17980         Likewise.
17981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17982         Likewise.
17984         * scripts/data/c++-types-x32-linux-gnu.data: New file.
17985         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17987 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17989         [BZ #10846]
17990         [BZ #14036]
17991         * math/libm-test.inc (exp_test): Add test from bug 14036.
17992         (pow_test): Add test from bug 10846.
17994         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17995         and other flags.
17996         (special_function): Do not include flags in test name.
17997         (parse_args): Likewise.
17998         * sysdeps/i386/fpu/libm-test-ulps: Update.
17999         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18001         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18004         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18005         exceptions.
18006         * math/libm-test.inc ("Philosophy"): Update comment about
18007         exception testing.
18008         (UNDERFLOW_EXCEPTION): New macro.
18009         (UNDERFLOW_EXCEPTION_OK): Likewise.
18010         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18011         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18012         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18013         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18014         (INVALID_EXCEPTION_OK): Update value.
18015         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18016         (OVERFLOW_EXCEPTION_OK): Likewise.
18017         (IGNORE_ZERO_INF_SIGN): Likewise.
18018         (test_exceptions): Handle underflow exceptions.
18019         (acos_test): Update for underflow exception expectations.
18020         (cexp_test): Likewise.
18021         (clog_test): Likewise.
18022         (clog10_test): Likewise.
18023         (csqrt_test): Likewise.
18024         (ctan_test): Likewise.
18025         (ctanh_test): Likewise.
18026         (exp_test): Likewise.
18027         (exp10_test): Likewise.
18028         (exp2_test): Likewise.
18029         (expm1_test): Likewise.
18030         (fma_test): Likewise.
18031         (j0_test): Likewise.
18032         (jn_test): Likewise.
18033         (nexttoward_test): Likewise.
18034         (pow_test): Likewise.
18035         (scalbn_test): Likewise.
18036         (scalbln_test): Likewise.
18037         (tan_test): Likewise.
18038         (y1_test): Likewise.
18039         * sysdeps/i386/fpu/libm-test-ulps: Update.
18040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18042 2012-05-23  David S. Miller  <davem@davemloft.net>
18044         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18045         (__libc_sigaction): Remove unused local variables.
18047 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18049         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18051 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18053         mktime: avoid signed integer overflow
18054         * time/mktime.c (__mktime_internal): Do not mishandle the case
18055         where diff == INT_MIN.
18057         mktime: simplify computation of average
18058         * time/mktime.c (ranged_convert): Use new time_t_avg function
18059         instead of rolling our own (probably-slower) code.
18061         mktime: do not assume signed right shift propagates sign bit
18062         * time/mktime.c (isdst_differ): New static function.
18063         (__mktime_internal): No need to normalize tm_isdst now.
18064         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18065         tm_isdst values.
18067         mktime: merge another wrapv change from gnulib
18068         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18069         from some compilers.
18071         mktime: remove incorrect attempt at unusual arithmetics
18072         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18073         The code didn't really work on such machines anyway.
18074         (TYPE_MINIMUM): Assume two's complement.
18075         (twos_complement_arithmetic): Verify that long_int and time_t
18076         are two's complement (or unsigned, in the latter case).
18078         mktime: check signed shifts on long_int and time_t, too
18079         * time/mktime.c (SHR): Check that shifts work as desired
18080         on the types long_int and time_t too, as SHR is used on
18081         such types.
18083         mktime: do not assume 'long' is wide enough
18084         * time/mktime.c (verify): Move decl up.
18085         (long_int): New type.
18086         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18087         to remove assumption in the code that 'long' is wide enough to
18088         store year values.  This assumption is not true on x32 and on
18089         some non-glibc platforms.
18091         mktime: merge wrapv change from gnulib
18092         * time/mktime.c (WRAPV): New macro.
18093         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18094         (guess_time_tm, __mktime_internal): Do not assume that signed
18095         integer overflow wraps around; modern compilers generate code
18096         where this assumption is no longer valid.
18098 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18100         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18101         Replace "jmp L(pseudo_end)" with "ret".
18102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18103         Likewise.
18105 2012-05-23  Andreas Jaeger  <aj@suse.de>
18107         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18108         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18110 2012-05-23  Andreas Jaeger  <aj@suse.de>
18111             Maximilian Attems  <max@stro.at>
18113         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18114         New macros.
18116 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18118         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18119         code so that pseudo_end is just ret and the stack pointer is
18120         correct also for static library in error case.
18122 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18124         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18125         move to syscalls.list.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18131         * manual/install.texi (Running make install): Do not mention Linux
18132         kernel version for which pt_chown is not needed.
18133         (Linux): Do not mention problems with nscd with 2.0 kernels.
18134         * INSTALL: Regenerated.
18136 2012-05-23  Andreas Jaeger  <aj@suse.de>
18138         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18139         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18140         macro.
18141         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18142         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18143         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18144         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18145         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18146         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18147         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18149         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18151         * sysdeps/unix/sysv/linux/bits/in.h
18152         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18154 2012-05-22  Roland McGrath  <roland@hack.frob.com>
18156         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18157         (PREPARE_VERSION): Just use assert instead, it will be elided
18158         under [NDEBUG] anyway.
18160 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18162         * sysdeps/unix/sysv/linux/Makefile: Include
18163         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18164         (sysdep_routines): Remove sysctl.
18165         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18166         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18167         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18168         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18169         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18171 2012-05-22  Andreas Jaeger  <aj@suse.de>
18173         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18174         that pseudo_end is just ret and the stack pointer is correct also
18175         for static library in error case.
18177 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18179         [BZ #14122]
18180         * nss/nsswitch.c (defconfig_entries): New variable.
18181         (__nss_database_lookup): Don't leak defconfig entries.
18182         (nss_parse_service_list): Don't leak on error paths.
18183         (free_database_entries): New function.
18184         (free_defconfig): New function.
18185         (free_mem): Move common code to free_database_entries.
18187 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18189         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18190         Add arch_prctl.
18191         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18194         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18195         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18196         New macro.
18197         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18198         (INTERNAL_SYSCALL_TYPES): Likewise.
18199         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18200         (LOAD_REGS_TYPES_[1-6]): Likewise.
18201         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18202         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18204 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18206         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18207         copysignl for GLIBC_2_0.
18208         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18209         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18210         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18211         logbl for GLIBC_2_0.
18212         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18213         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18215 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18218         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18220         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18221         Use "neg %eax".
18223         * time/mktime.c: Update copyright years.
18225 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18227         mktime: merge comment-quoting-style change from gnulib
18228         * time/mktime.c: Quote 'like this' in comments.
18229         The GNU coding standards suggest that we no longer quote `like this',
18230         as "`" and "'" are typically rendered asymmetrically nowadays.
18231         The typical gnulib style is to quote 'like this' when quoting
18232         code, and "like this" when quoting English.
18234         * time/mktime.c (compile-command): Add "-I.".
18236         mktime: merge mktime-internal.h change from gnulib
18237         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18239         mktime: merge time_r change from gnulib
18240         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18242         mktime: merge DEBUG change from gnulib
18243         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18244         case system <time.h> has a #define.
18246         mktime: merge <sys/types.h> change from gnulib
18247         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18248         since <time.t> is now guaranteed to define time_t.
18250         mktime: merge HAVE_CONFIG_H change from gnulib
18251         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18253 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18256         Use "neg %eax".
18258         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18259         __rlim_t cast.
18260         (struct rusage): Use anonymous union to pad each field to
18261         __syscall_slong_t.
18263 2012-05-21  David S. Miller  <davem@davemloft.net>
18265         * Makefules (o-iterator): Remove .s cases.
18266         (compile-command.s): Delete.
18267         (COMPILE.s): Delete.
18268         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18270 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
18272         * configure.in (libc_cv_predef_stack_protector): Only consider
18273         "foobar" and "__stack_chk_fail" lines in libc_undefs.
18274         * configure: Regenerated.
18276 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18278         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18279         New macro.  Use R*LP on int and pointer.
18280         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18281         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18282         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18283         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18285         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18286         [__WORDSIZE_TIME64_COMPAT32] instead of
18287         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18288         (struct utmp): Likewise.
18289         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18290         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18291         Renamed to ...
18292         (__WORDSIZE_TIME64_COMPAT32): This.
18293         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18294         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18295         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18296         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18297         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18298         (__WORDSIZE_TIME64_COMPAT32): New macro.
18300 2012-05-21  Andreas Jaeger  <aj@suse.de>
18302         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18303         only if [SHARED]. Add prototype for __wcschr_ia32.
18305 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18307         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18308         of %rbp unmolested in the jmp_buf while mangling the low bits.
18309         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18310         unmolested high bits of %rbp while demangling the low bits.
18311         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18313 2012-05-21  Andreas Jaeger  <aj@suse.de>
18315         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18316         * sunrpc/svc_simple.c: Use it for registerrpc.
18317         * sunrpc/xcrypt.c: Use it for passwd2des.
18319         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18321 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18323         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18324         Don't define if [__SYSCALL_WORDSIZE != 32].
18325         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18326         New macro.
18328 2012-05-21  Bruno Haible  <bruno@clisp.org>
18329             Andreas Jaeger  <aj@suse.de>
18331         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18332         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18333         inptr and inend for must_buffer_ch.
18334         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18335         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18336         * stdio-common/Makefile (tests): Remove bug15.
18337         (bug15-ENV): Remove macro.
18338         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18339         anymore.
18341 2012-05-19  Andreas Jaeger  <aj@suse.de>
18342             Roland McGrath  <roland@hack.frob.com>
18344         * manual/contrib.texi: Completely rewritten. It contains now an
18345         alphabetical list of contributors and their contributions.
18347 2012-05-21  Richard Henderson  <rth@twiddle.net>
18349         * misc/getauxval.c (__getauxval): Use unsigned long int.
18350         * misc/sys/auxv.h: Include <sys/cdefs.h>.
18351         (getauxval): Use unsigned long int.
18353 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18355         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18357 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18359         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18360         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18361         __alignof__ (long double).
18363 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18367 2012-05-20  Richard Henderson  <rth@twiddle.net>
18369         * misc/getauxval.c: New file.
18370         * misc/sys/auxv.h: New file.
18371         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18372         (routines): Add getauxval.
18373         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18374         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18375         * elf/dl-sysdep.c (_dl_auxv): Remove.
18376         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18377         * elf/dl-support.c (_dl_auxv): New variable.
18378         (_dl_aux_init): Initialize it.
18379         * manual/startup.texi (Auxiliary Vector): New node.
18380         * sysdeps/generic/bits/hwcap.h: New file.
18381         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18382         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
18383         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18384         * sysdeps/sparc/sysdep.h: ... here.  Include it.
18385         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18386         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18388         Update.
18389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18392         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18398 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18402 2012-05-19  David S. Miller  <davem@davemloft.net>
18404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18406 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18408         [BZ #14123]
18409         * math/s_ccosh.c: Include <float.h>
18410         (__ccosh): Avoid internal overflow calculating sinh and cosh
18411         values before multiplying by sin and cos values.
18412         * math/s_ccoshf.c: Likewise.
18413         * math/s_ccoshl.c: Likewise.
18414         * math/s_csin.c: Likewise.
18415         * math/s_csinf.c: Likewise.
18416         * math/s_csinl.c: Likewise.
18417         * math/s_csinh.c: Likewise.
18418         * math/s_csinhf.c: Likewise.
18419         * math/s_csinhl.c: Likewise.
18420         * math/libm-test.inc (ccos_test): Add more tests.
18421         (ccosh_test): Likewise.
18422         (csin_test): Likewise.
18423         (csinh_test): Likewise.
18424         * sysdeps/i386/fpu/libm-test-ulps: Update.
18425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18427 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18429         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18430         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18432         * sysdeps/x86_64/x32/_itoa.h: Add comment.
18434 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18436         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18437         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18438         * sysdeps/powerpc/soft-fp/Versions: Likewise.
18439         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18440         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18441         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18442         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18443         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18444         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18445         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18446         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18447         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18448         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18449         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18450         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18451         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18452         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18453         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18454         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18455         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18456         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18457         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18458         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18459         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18460         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18461         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18462         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18463         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18464         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18465         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18466         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18468 2012-05-18  Andreas Jaeger  <aj@suse.de>
18470         * csu/.gitignore: Delete.
18472 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18474         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18475         (timex): Use __syscall_slong_t.
18477 2012-05-18  Andreas Jaeger  <aj@suse.de>
18478             Carlos O'Donell  <carlos_odonell@mentor.com>
18480         * manual/install.texi (Configuring and compiling): Update
18481         description about files modified in the source directory.
18482         * INSTALL: Regenerated.
18484 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18486         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18487         value.  Use "or" to set return value to -1.
18488         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18489         negate return value.
18491 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18493         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18494         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18495         failure if the compiler has Graphite support disabled.
18496         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18497         Likewise.
18498         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18499         CFLAGS-memmove.c): Likewise.
18500         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18501         Likewise.
18503 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18505         * sysdeps/x86_64/x32/_itoa.h: New file.
18507         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18508         getdents system call only if kernel and user dirents have the
18509         same d_ino and d_off.
18511         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18512         LLONG_MAX != LONG_MAX.
18513         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18514         (_fitoa_word): Likewise.
18516         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18517         years.
18518         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18519         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18520         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18522         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18523         include <bits/wordsize.h>.  Check __x86_64__ instead of
18524         __WORDSIZE.
18525         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18526         if __x86_64__ is defined.  Use anonymous union on fpstate.
18528         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18529         anonymous union.
18531 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
18533         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18534         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18535         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18536         Refer to _rtld_local_ro instead of _rtld_global_ro.
18537         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18538         Likewise.
18539         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18540         Likewise.
18541         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18542         Likewise.
18543         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18544         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18545         of _rtld_global, and rtld_progname instead of _dl_argv[0].
18547         * sysdeps/powerpc/powerpc32/dl-machine.c
18548         (__elf_machine_runtime_setup) [PROF]: Don't reference
18549         _dl_prof_resolve.
18551 2012-05-18  Andreas Jaeger  <aj@suse.de>
18553         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18554         function only available for GCCs before 3.4 since GCC 3.4
18555         introduced a builtin.
18556         (lrint): Likewise.
18557         (llrintf): Likewise.
18558         (llrint): Likewise.
18559         (fmaxf): Likewise.
18560         (fmax): Likewise.
18561         (fminf): Likewise.
18562         (fmin): Likewise.
18563         (rint): Likewise.
18564         (rintf): Likewise.
18565         (nearbyint): Likewise.
18566         (nearbyintf): Likewise.
18567         (ceil): Likewise.
18568         (ceilf): Likewise.
18569         (floor): Likewise.
18570         (floorf): Likewise.
18572 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18574         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18575         on both fields and cast pointer to __syscall_ulong_t.
18577         * bits/types.h (__fsword_t): New type.
18578         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18579         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18581         (__FSWORD_T_TYPE): Likewise.
18582         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18583         (__FSWORD_T_TYPE): Likewise.
18584         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18585         (__FSWORD_T_TYPE): Likewise.
18586         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18587         (__FSWORD_T_TYPE): Likewise.
18588         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18589         __SWORD_TYPE with __fsword_t.
18590         (statfs64): Likewise.
18592 2012-05-17  David S. Miller  <davem@davemloft.net>
18594         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18596 2012-05-17  Andreas Jaeger  <aj@suse.de>
18598         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18599         warning.
18601 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18603         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18605 2012-05-17  Andreas Jaeger  <aj@suse.de>
18607         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18608         when it is used.
18610 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18612         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18614 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18616         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18617         * sysdeps/x86_64/tst-mallocalign1.c: New file.
18619 2012-05-17  Andreas Jaeger  <aj@suse.de>
18620             Carlos O'Donell  <carlos_odonell@mentor.com>
18622         [BZ #14059]
18623         * sysdeps/x86_64/multiarch/init-arch.h
18624         (bit_YMM_Usable): Rename to...
18625         (bit_AVX_Usable): ... this.
18626         (bit_FMA4_Usable): New macro.
18627         (bit_XMM_state): New macro.
18628         (bit_YMM_state): New macro.
18629         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18630         [__ASSEMBLER__] (index_AVX_Usable): ... this.
18631         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18632         (CPUID_OSXSAVE): New macro.
18633         (CPUID_AVX): New macro.
18634         (CPUID_FMA4): New macro.
18635         (index_YMM_Usable): Rename to...
18636         (index_AVX_Usable): ... this.
18637         (HAS_AVX): Use HAS_ARCH_FEATURE.
18638         (HAS_FMA4): Likewise.
18639         (HAS_YMM_USABLE): Remove.
18640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18641         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18642         are present.
18643         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18644         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18645         * sysdeps/x86_64/multiarch/Makefile: Likewise.
18646         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18647         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18649 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18651         * math/libm-test.c: Support platforms without multiple rounding modes.
18652         * math/bug-nextafter.c: Support platforms without FP exceptions.
18653         * math/bug-nexttoward.c: Likewise.
18654         * math/test-fenv.c: Likewise.
18655         * math/test-misc.c: Likewise.
18656         * stdlib/bug-getcontext.c: Likewise.
18658 2012-05-17  Andreas Jaeger  <aj@suse.de>
18660         * manual/examples/search.c (critter_cmp): Change signature to
18661         avoid warnings.
18662         * manual/string.texi (Collation Functions): Likewise.
18664 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18666         * bits/types.h: Fold copyright years.
18667         * bits/typesizes.h: Likewise.
18668         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18670         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18672         * time/time.h: Likewise.
18674 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
18676         [BZ #208]
18677         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18678         in instead of returning them.  Return void.
18679         (__libc_mallinfo): Accumulate over all arenas.
18680         (__malloc_stats): Adjust for change in int_mallinfo interface.
18682 2012-05-16  Roland McGrath  <roland@hack.frob.com>
18684         [BZ #10375]
18685         * configure.in (NM): Add AC_CHECK_TOOL for it.
18686         (libc_extra_cflags): New substituted variable.
18687         Check for -fstack-protector being used implicitly.
18688         * configure: Regenerated.
18689         * config.make.in (config-extra-cflags): New variable,
18690         gets @libc_extra_cflags@.
18691         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18693         [BZ #10375]
18694         * configure.in: Check for _FORTIFY_SOURCE being predefined.
18695         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18696         * configure: Regenerated.
18697         * config.make.in (CPPUNDEFS): New substituted variable.
18698         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18699         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18700         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18702 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18704         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18705         (mq_attr): Use __syscall_slong_t.
18707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18709         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18710         Check __x86_64__ instead of __WORDSIZE.
18711         (_STAT_VER_LINUX): Likewise.
18712         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
18713         __syscall_ulong_t and __syscall_slong_t.
18714         (stat64): Likewise.
18716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18718         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18720 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18722         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18726         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18727         __syscall_ulong_t.
18729         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18730         include <bits/wordsize.h>.  Check __x86_64__ instead of
18731         __WORDSIZE.
18732         (greg_t): Use "__extension__ long long int" if __x86_64__ is
18733         defined.
18734         (mcontext_t): Replace "unsigned long" with "unsigned long long".
18736         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18737         include <bits/wordsize.h>.  Check __x86_64__ instead of
18738         __WORDSIZE.
18739         (user_regs_struct): Use "__extension__ unsigned long long"
18740         instead of "unsigned long" if __x86_64__ is defined.
18741         (user): Likewise.  Pad after pointer field if __ILP32__ is
18742         defined.
18744 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
18746         * configure.in (makeinfo): Require version 4.5 or later.  Allow
18747         versions 5 to 9.
18748         * configure: Regenerated.
18749         * manual/install.texi (texinfo): Increase version requirement to
18750         4.5 or later.
18751         * INSTALL: Regenerated.
18753         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18755 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18757         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18759         * sysdeps/x86_64/x32/ffs.c: New file.
18761         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18762         __syscall_ulong_t.
18763         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18764         defined.  Use __syscall_ulong_t.
18765         (shminfo): Use __syscall_ulong_t.
18766         (shm_info): Likewise.
18768         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18769         __syscall_ulong_t.
18771         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18772         <bits/wordsize.h>.
18773         (msgqnum_t): Use __syscall_ulong_t.
18774         (msglen_t): Likewise.
18775         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
18776         __syscall_ulong_t.
18778         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18779         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18781         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18783         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18784         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18786         * sysvipc/sys/msg.h (msgbuf): Replace long int with
18787         __syscall_slong_t.
18789         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18790         include <bits/wordsize.h>.  Check __x86_64__ instead of
18791         __WORDSIZE.
18793         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18794         "unsigned long long int" if __x86_64__ is defined.
18795         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18797         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18798         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18799         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18801         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18802         <stdint.h>.
18803         (GET_PC): Cast to uintptr_t first.
18804         (GET_FRAME): Likewise.
18805         (GET_STACK): Likewise.
18807         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18808         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18809         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18810         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18811         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18812         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18813         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18814         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18815         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18816         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18817         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18818         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18819         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18820         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18821         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18822         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18823         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18824         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18825         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18826         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18827         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18828         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18829         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18830         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18831         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18832         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18833         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18834         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18835         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18837 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
18839         * Makerules (+depfiles): Also collect depfiles from .oS in
18840         $(extra-objs).
18841         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18842         .oS, $(libnldbl-routines)).
18844         * Makerules (native-compile-mkdep-flags): Define.
18845         * sunrpc/Makefile (extra-objs): Add $(addprefix
18846         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18847         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18848         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
18849         calling $(make-target-directory).
18851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18853         * bits/types.h (__snseconds_t): Removed.
18854         * time/time.h (struct timespec): Replace __snseconds_t with
18855         __syscall_slong_t.
18856         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18857         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18858         Likewise.
18859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18860         (__SNSECONDS_T_TYPE): Likewise.
18861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18862         (__SNSECONDS_T_TYPE): Likewise.
18863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18864         (__SNSECONDS_T_TYPE): Likewise.
18866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18868         * sysdeps/mach/hurd/bits/typesizes.h
18869         (__SYSCALL_SLONG_TYPE): New macro.
18870         (__SYSCALL_ULONG_TYPE): Likewise.
18872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18874         * bits/types.h (__syscall_slong_t): New type.
18875         (__syscall_ulong_t): Likewise.
18877         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18878         (__SYSCALL_ULONG_TYPE): Likewise.
18879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18880         (__SYSCALL_SLONG_TYPE): Likewise.
18881         (__SYSCALL_ULONG_TYPE): Likewise.
18882         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18883         (__SYSCALL_SLONG_TYPE): Likewise.
18884         (__SYSCALL_ULONG_TYPE): Likewise.
18885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18886         (__SYSCALL_SLONG_TYPE): Likewise.
18887         (__SYSCALL_ULONG_TYPE): Likewise.
18889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18891         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18892         Add sigaltstack-offsets.sym.
18893         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18894         <sigaltstack-offsets.h>.
18895         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
18896         longjmp_msg pointer.
18897         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
18898         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18899         signal stack.
18900         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18902 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
18904         * elf/stackguard-macros.h: Remove file.
18905         * sysdeps/generic/stackguard-macros.h: New file.
18906         * sysdeps/i386/stackguard-macros.h: Likewise.
18907         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18908         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18909         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18910         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18911         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18912         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18913         * sysdeps/x86_64/stackguard-macros.h: Likewise.
18914         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18915         <elf/stackguard-macros.h>.
18917         [BZ #14109]
18918         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18919         __aligned__ in attribute.
18920         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18921         (gregset_t): Likewise.
18923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18925         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18926         * sysdeps/x86_64/64/Implies-after: Here.  New file.
18927         * sysdeps/x86_64/x32/Implies-after: New file.
18929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18931         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18932         and access return value for _dl_profile_fixup.  Use R10_LP to
18933         load frame size.
18935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18937         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18941         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18942         * sysdeps/x86_64/x32/sysdep.h: New file.
18944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18946         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18947         * sysdeps/x86_64/setjmp.S: Likewise.
18949 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18951         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18952         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18953         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18954         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18955         remove unused global constant.
18957 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
18959         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18960         include of <not-cancel.h>.
18962 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18964         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18966 2012-05-15  Jeff Law  <law@redhat.com>
18967             Andreas Jaeger  <aj@suse.de>
18969         [BZ #13594]
18970         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18971         out from...
18972         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18973         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18974         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18975         code changing __hst_map_handle.map.
18977 2012-05-15  Roland McGrath  <roland@hack.frob.com>
18979         * configure.in (sysnames): Look for Implies-before and Implies-after
18980         files.
18981         * configure: Regenerated.
18983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18985         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18986         8-byte data alignment with LP_SIZE alignment.
18988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18990         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18991         into R10_LP.
18993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18995         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18999         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19000         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19001         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19002         Likewise.
19003         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19007         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19008         (stackinfo_sub_sp): Likewise.
19010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19013         RAX_LP.
19015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19017         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19018         into R*_LP.
19020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19022         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19023         sizes into R*_LP.
19025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19027         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19031         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19032         into R11_LP and load __x86_64_shared_cache_size_half into
19033         R8_LP.
19035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19037         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19038         R8_LP.
19040 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19043         logb for POWER7.
19044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19045         logbf for POWER7.
19046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19047         logbl for POWER7.
19048         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19049         powerpc32/power7/fpu/s_logb.c via #include.
19050         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19051         powerpc32/power7/fpu/s_logbf.c via #include.
19052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19053         powerpc32/power7/fpu/s_logbl.c via #include.
19055 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19057         * README.libm: Remove file.
19059 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19061         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19062         count for x32.  Use R*_LP and omit operand-size suffix.
19064 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19066         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19067         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19068         * sysdeps/x86_64/x32/shlib-versions: New file.
19070 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19072         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19073         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19074         Use _dl_fatal_printf instead.
19076 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19078         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19079         set if not set by the user.  Do not allow for being unset.
19080         * sysdeps/unix/sysv/linux/configure: Regenerated.
19082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19084         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19085         the `q' suffix from lea and replace .quad with ASM_ADDR.
19087 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19090         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19091         instead of $17.
19092         (PTR_DEMANGLE): Likewise.
19094 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19096         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19097         (LP_OP): Likewise.
19098         (ASM_ADDR): Likewise.
19099         (RAX_LP): Likewise.
19100         (RBP_LP): Likewise.
19101         (RBX_LP): Likewise.
19102         (RCX_LP): Likewise.
19103         (RDI_LP): Likewise.
19104         (RSI_LP): Likewise.
19105         (RSP_LP): Likewise.
19106         (R8_LP): Likewise.
19107         (R9_LP): Likewise.
19108         (R10_LP): Likewise.
19109         (R10_LP): Likewise.
19110         (R11_LP): Likewise.
19111         (R12_LP): Likewise.
19112         (R13_LP): Likewise.
19113         (R14_LP): Likewise.
19114         (R15_LP): Likewise.
19116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19118         * sysdeps/x86_64/x32/dl-machine.h: New file.
19120 2012-05-14  Andreas Jaeger  <aj@suse.de>
19122         * manual/Makefile (subdir): Remove export of subdir.
19123         (all): Remove target.
19124         (.PHONY): Remove all from list.
19125         (mkinstalldirs): Remove.
19126         (.PHONY): Remove installdirs from list.
19127         ($(inst_infodir)/libc.info): Use make-target-directory.
19128         (installdirs): Remove.
19129         (subdir_%): Remove.
19130         (glibc-targets): Remove.
19131         (lib): Remove.
19132         (stubs): Remove.
19133         ($(objpfx)stubs ../po/manual.pot): Remove.
19134         ($(objpfx)stamp%): Remove.
19135         (make-target-directory): Remove.
19136         (subdir_install): Remove.
19137         (routines): Remove.
19138         (aux): Remove.
19139         (sources): Remove.
19140         (objects): Remove.
19141         (headers): Remove.
19143         [BZ #13750]
19144         * manual/.gitignore: Remove, it's not needed anymore.
19145         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19146         all files in it.
19147         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19148         directory.
19149         (texis): Renamed to $(objpfx)texis.
19150         (texis-path): New, contains path to generated files.
19151         (chapters.%): Use texis-path for complete path, add extra argument
19152         libc-texinfo.sh.
19153         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19154         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19155         (summary,texi, stamp-summary): Use complete path of
19156         files. Generate files in build dir.
19157         (dir-add.texi): Build in build dir.
19158         (libm-err.texi,stamp-libm-err): Likewise.
19159         (version.texi, stamp-version): Likewise.
19160         (.%c.texi): Likewise.
19161         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19162         (mostlyclean): Remove target.
19163         (realclean): Remove target.
19164         (generated): Add new variable with contents from mostlyclean and
19165         realclean, remove entries duplicated in common-mostlyclean, add
19166         stamp-libm-err and stamp-version.
19167         (generated-dirs): Add libc directory.
19168         ($(inst_infodir)/libc.info): Install files from build dir.
19170         * manual/install.texi (Configuring and compiling): Adjust since
19171         the info files are not part of the tar ball anymore.
19173 2012-05-14  Andreas Jaeger  <aj@suse.de>
19175         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19176         variable.
19178 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19180         [BZ #13717]
19181         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19182         to 2.2.0 where earlier.
19183         * sysdeps/unix/sysv/linux/configure: Regenerated.
19184         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19185         Remove conditional code.
19186         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19187         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19188         Remove conditional code.
19189         [!__NR_lchown]: Likewise.
19190         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19191         [__NR_lchown]: Likewise.
19192         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19193         comment referencing __ASSUME_LCHOWN_SYSCALL.
19194         * sysdeps/unix/sysv/linux/i386/sigaction.c
19195         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19196         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19197         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19198         Remove conditional code.
19199         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19200         (__protocol_available): Remove #if 0 code.
19201         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19202         conditional code.
19203         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19204         * sysdeps/unix/sysv/linux/kernel-features.h
19205         (__ASSUME_GETCWD_SYSCALL): Don't define.
19206         (__ASSUME_REALTIME_SIGNALS): Likewise.
19207         (__ASSUME_PREAD_SYSCALL): Likewise.
19208         (__ASSUME_PWRITE_SYSCALL): Likewise.
19209         (__ASSUME_POLL_SYSCALL): Likewise.
19210         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19211         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19212         non-SPARC.
19213         (__ASSUME_SIOCGIFNAME): Don't define.
19214         (__ASSUME_MSG_NOSIGNAL): Likewise.
19215         (__ASSUME_SENDFILE): Define unconditionally.
19216         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19217         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19218         conditional code.
19219         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19220         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19221         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19222         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19223         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19224         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19225         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19227         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19233         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19234         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19239         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19240         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19242         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19245         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19250         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19251         Remove conditional code.
19252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19253         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19254         Remove conditional code.
19255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19256         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19257         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19258         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19259         Remove conditional code.
19260         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19261         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19262         Remove conditional code.
19263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19264         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19265         Remove conditional code.
19266         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19267         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19268         Remove conditional code.
19269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19270         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19271         Remove conditional code.
19272         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19273         * sysdeps/unix/sysv/linux/sh/pwrite64.c
19274         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19276         * sysdeps/unix/sysv/linux/sigaction.c
19277         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19278         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19279         * sysdeps/unix/sysv/linux/sigpending.c
19280         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19281         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19282         * sysdeps/unix/sysv/linux/sigprocmask.c
19283         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19284         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19285         * sysdeps/unix/sysv/linux/sigsuspend.c
19286         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19287         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19288         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19289         (__libc_missing_rt_sigs): Remove.
19290         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19291         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19292         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19293         Remove conditional code.
19294         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19295         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19296         return 1.
19297         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19298         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19299         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19300         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19302 2012-05-14  Andreas Jaeger  <aj@suse.de>
19304         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19305         it's not used in glibc.
19306         (__coshm1): Likewise.
19307         (__acosh1p): Likewise.
19308         (__sgn): Likewise.
19310         * manual/string.texi (Copying and Concatenation): Add missing
19311         variable in concat example.
19312         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19316         [BZ #14103]
19317         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19318         __builtin_clzl with __builtin_clzll.
19320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19322         [BZ #14104]
19323         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19324         libc_freeres_ptr.
19326 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19328         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19329         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19330         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19331         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19333 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
19335         * NEWS: Update ia64 info.
19337 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19339         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19340         used as bcopy.
19342 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
19344         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19345         * sysdeps/unix/syscalls.list (dup3): Likewise.
19346         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19347         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19349 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19351         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19352         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19354 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19356         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19357         thread pointer.
19358         (TLS_IE): Use mov/add instead of movq/addq to load thread
19359         pointer.
19360         (TLS_GD_PREFIX): New.
19361         (TLS_GD): Use it.
19363 2012-05-11  David S. Miller  <davem@davemloft.net>
19365         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19366         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19367         (_FPU_SETCW): Likewise.
19369 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19371         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19372         is 32-byte aligned.
19374 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
19376         [BZ #11837]
19377         * iconvdata/gb18030.c: Update tables.
19378         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
19379         characters specially.
19380         (BODY for TO_LOOP): Add encoding of missing ranges.
19382 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
19384         [BZ #13673]
19385         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19386         * sysdeps/mach/hurd/dup3.c: Likewise.
19387         * sysdeps/mach/hurd/readlinkat.c: Likewise.
19388         * sysdeps/powerpc/memmove.c:: Likewise.
19390 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19393         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19395 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19397         * elf/elf.h (R_X86_64_RELATIVE64): New.
19398         (R_X86_64_NUM): Updated.
19399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19400         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
19401         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19402         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19403         tst-quad1pie tst-quad2pie
19404         (modules-names): Add tst-quadmod1 tst-quadmod2.
19405         ($(objpfx)tst-quad1): New dependency.
19406         ($(objpfx)tst-quad2): Likewise.
19407         ($(objpfx)tst-quad1pie): Likewise.
19408         ($(objpfx)tst-quad2pie): Likewise.
19409         * sysdeps/x86_64/tst-quad1.c: New file.
19410         * sysdeps/x86_64/tst-quad1pie.c: New file.
19411         * sysdeps/x86_64/tst-quad2.c: Likewise.
19412         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19413         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19414         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19415         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19416         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19420         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19421         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19422         * streams/stropts.h (t_scalar_t): Define type.
19424         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19425         (_PATH_PRESERVE): Set to "/var/lib".
19426         (_PATH_RWHODIR): Set to "/var/spool/rwho".
19428         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19429         instead of int.
19431         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19432         if __dir_mkfile succeeded.
19434         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19435         checking for _hurd_dtablesize.  Unlock it right after having
19436         finished _hurd_dtable allocation.
19438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19440         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19441         * sysdeps/mach/hurd/configure: Regenerated.
19442         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19443         special-casing to...
19444         * sysdeps/gnu/configure.in: ... this new file.
19445         * sysdeps/unix/sysv/linux/configure: Regenerated.
19446         * sysdeps/gnu/configure: New generated file.
19448         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19449         for Linux: use nsec instead of usec, as well as:
19450         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19451         members of type struct timespec.
19452         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19453         New macros.
19454         (struct stat64): Likewise.
19455         (_STATBUF_ST_NSEC): New macro.
19456         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19458         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19459         __strtoul_internal rather than strtoul.
19461 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19463         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19464         and reject them.
19466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19468         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19469         which preserves existing values.
19470         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19472 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19474         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19475         TIMEOUT values.  Return EINVAL for NFDS values either negative or
19476         greater than FD_SETSIZE.
19478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19480         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19481         allocated, call __vm_protect to finish enabling the existing space, and
19482         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19483         allocate the remainder.
19485 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19487         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19488         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
19490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19492         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19493         sysdeps/mach/hurd/readlink.c.
19495         * posix/tst-sysconf.c (posix_options): Only use
19496         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19497         _POSIX_SYNCHRONIZED_IO when they are defined
19498         * sysdeps/mach/hurd/bits/posix_opt.h:
19499         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19500         (_XOPEN_REALTIME): Undefine macro.
19501         (_XOPEN_REALTIME_THREADS): Undefine macro.
19502         (_XOPEN_SHM): Undefine macro.
19503         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19504         macro to -1.
19505         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19506         macro to -1.
19507         (_POSIX_ASYNC_IO): Undefine macro.
19508         (_POSIX_PRIORITIZED_IO): Undefine macro.
19509         (_POSIX_SPIN_LOCKS): Define macro to -1.
19511         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19512         SA_NODEFER, SA_RESETHAND.
19513         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19514         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19515         F_DUPFD_CLOEXEC.
19517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19519         * elf/Makefile (pldd-modules): Define unconditionally.
19521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19523         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19527         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19528         Return ENOENT when name is empty.
19529         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19533         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19535         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19539         Fix mlock in all cases except non-readable pages.
19540         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19541         instead of VM_PROT_ALL as parameter to __vm_wire function.
19543         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19544         (__mkdir): When path is `/', just fail with EEXIST.
19545         * sysdeps/mach/hurd/mkdirat.c: Likewise.
19547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19549         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19550         <sys/uio.h> (for writev).
19551         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19552         and <sys/param.h> (for MIN).
19554 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19556         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19557         REQUESTED_TIME.  Properly set the remaining time and return EINTR
19558         if interrupted.
19560 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19562         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19563         Depend on against $(link-rpcuserlibs).
19565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19567         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19568         (__libc_stack_end): Do not use attribute_relro.
19569         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19570         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19571         to libthread-provided value.
19572         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19573         attribute_relro.
19575 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19577         [BZ #3748]
19578         * bits/libc-lock.h (__libc_once_get): New macro.
19579         * sysdeps/mach/bits/libc-lock.h: Likewise.
19580         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19581         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19582         instead of using implementation details.
19584         * libio/fileops.c: Unconditionally include <kernel-features.h>.
19585         * libio/freopen.c: Likewise.
19586         * libio/freopen64.c: Likewise.
19587         * misc/syslog.c: Likewise.
19588         * nscd/connections.c: Likewise.
19589         * nscd/netgroupcache.c: Likewise.
19590         * sysdeps/posix/getcwd.c: Likewise.
19592 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19594         * math/w_ilogbf.c: Add #include <limits.h>.
19596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19598         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19599         path instead of returning without unlocking.
19601         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19602         immediate-write ioctls.
19603         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19605 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19607         * sysdeps/mach/hurd/i386/init-first.c (init): Use
19608         __builtin_frame_address instead of making assumptions about the
19609         location of the return address relative to DATA.  Force early load of
19610         the return address.
19611         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19612         __builtin_frame_address.
19614         dup3 for GNU Hurd.
19615         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19616         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
19617         implement dup3 and do some further code clean-ups.
19618         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19619         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19621 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19623         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19625         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19626         HURD_CRITICAL_END around holding _hurd_dtable_lock.
19627         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19628         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19629         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19630         d->port.lock.
19632         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19633         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
19634         when handler == SIG_ERR, not when handler != SIG_ERR.
19636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19638         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19639         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19640         definitions.
19642         accept4 for GNU Hurd.
19643         * include/sys/socket.h (__libc_accept4): New prototype.
19644         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
19645         to implement __libc_accept4.
19646         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19647         __libc_accept4.
19648         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19650         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19651         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19652         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19653         signal-defines.sym.
19655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19657         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19661         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19662         assertion on O_CLOEXEC flag.
19663         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19664         * hurd/intern-fd.c: Likewise.
19665         * hurd/port2fd.c: Likewise.
19667 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19669         [BZ #3906]
19670         * bits/in.h (IPV6_PKTINFO): Define new macro.
19671         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19673 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19675         [BZ #13954]
19676         [BZ #13955]
19677         [BZ #13956]
19678         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19679         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19680         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19681         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19683         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19684         * math/libm-test.inc (logb_test) : Additional logb tests.
19686 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
19687             Andreas Jaeger  <aj@suse.de>
19689         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19690         * configure: Regenerated.
19691         * config.h.in (LINK_OBSOLETE_RPC): New macro.
19692         * config.make.in (link-obsolete-rpc): New substituted variable.
19693         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19694         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19695         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19696         (shared-only-routines): Don't set it under [link-obsolete-rpc],
19697         so that libc.a contains the symbols.
19698         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19699         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19700         * sunrpc/auth_none.c: Likewise.
19701         * sunrpc/auth_unix.c: Likewise.
19702         * sunrpc/authdes_prot.c: Likewise.
19703         * sunrpc/authuxprot.c: Likewise.
19704         * sunrpc/clnt_gen.c: Likewise.
19705         * sunrpc/clnt_perr.c: Likewise.
19706         * sunrpc/clnt_raw.c: Likewise.
19707         * sunrpc/clnt_simp.c: Likewise.
19708         * sunrpc/clnt_tcp.c: Likewise.
19709         * sunrpc/clnt_udp.c: Likewise.
19710         * sunrpc/clnt_unix.c: Likewise.
19711         * sunrpc/des_crypt.c: Likewise.
19712         * sunrpc/des_soft.c: Likewise.
19713         * sunrpc/get_myaddr.c: Likewise.
19714         * sunrpc/key_call.c: Likewise.
19715         * sunrpc/key_prot.c: Likewise.
19716         * sunrpc/netname.c: Likewise.
19717         * sunrpc/pm_getmaps.c: Likewise.
19718         * sunrpc/pm_getport.c: Likewise.
19719         * sunrpc/pmap_clnt.c: Likewise.
19720         * sunrpc/pmap_prot.c: Likewise.
19721         * sunrpc/pmap_prot2.c: Likewise.
19722         * sunrpc/pmap_rmt.c: Likewise.
19723         * sunrpc/publickey.c: Likewise.
19724         * sunrpc/rpc_cmsg.c: Likewise.
19725         * sunrpc/rpc_common.c: Likewise.
19726         * sunrpc/rpc_dtable.c: Likewise.
19727         * sunrpc/rpc_prot.c: Likewise.
19728         * sunrpc/rpc_thread.c: Likewise.
19729         * sunrpc/rtime.c: Likewise.
19730         * sunrpc/svc.c: Likewise.
19731         * sunrpc/svc_auth.c: Likewise.
19732         * sunrpc/svc_raw.c: Likewise.
19733         * sunrpc/svc_run.c: Likewise.
19734         * sunrpc/svc_tcp.c: Likewise.
19735         * sunrpc/svc_udp.c: Likewise.
19736         * sunrpc/svc_unix.c: Likewise.
19737         * sunrpc/svcauth_des.c: Likewise.
19738         * sunrpc/xcrypt.c: Likewise.
19739         * sunrpc/xdr.c: Likewise.
19740         * sunrpc/xdr_array.c: Likewise.
19741         * sunrpc/xdr_float.c: Likewise.
19742         * sunrpc/xdr_intXX_t.c: Likewise.
19743         * sunrpc/xdr_mem.c: Likewise.
19744         * sunrpc/xdr_rec.c: Likewise.
19745         * sunrpc/xdr_ref.c: Likewise.
19746         * sunrpc/xdr_sizeof.c: Likewise.
19747         * sunrpc/xdr_stdio.c: Likewise.
19749 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19751         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19752         change.  Update copyright years.
19754 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19756         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19758 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
19759             Joseph Myers  <joseph@codesourcery.com>
19760             Paul Pluzhnikov  <ppluzhnikov@google.com>
19762         [BZ #14012]
19763         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19764         requiring rpcgen.
19765         [cross-compiling] (extra-libs): Likewise.
19766         [cross-compiling] (extra-libs-others): Likewise.
19767         [cross-compiling] (librpcsvc-routines): Likewise.
19768         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19769         [cross-compiling] (omit-deps): Likewise.
19770         (sunrpc-CPPFLAGS): New variable.
19771         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19772         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19773         (cross-rpcgen-objs): New variable.
19774         (extra-objs): Append $(cross-rpcgen-objs).
19775         ($(cross-rpcgen-objs)): New rule.
19776         ($(objpfx)cross-rpcgen): Likewise.
19777         (rpcgen-cmd): Define to use $(built-program-file).  Expand
19778         comment.
19779         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19780         ($(objpfx)x%.stmp): Likewise.
19781         * sunrpc/proto.h [IS_IN_build] (_): Define.
19782         [IS_IN_build] (_libc_intl_domainname): Likewise.
19784 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19786         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19787         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19788         and R_X86_64_TPOFF64.
19790 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19792         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19793         sysdeps/unix/sysv/syscalls.list.
19794         (stime): Likewise.
19795         (utime): Likewise.
19796         * sysdeps/unix/sysv/syscalls.list: Remove file.
19798 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
19800         [BZ #3440]
19801         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19802         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19803         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19804         (__LC_IDENTIFICATION): Make these macros useful in #if
19805         expressions, as required by C99.
19807 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
19809         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19810         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
19811         after this.
19813 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
19815         * stdlib/longlong.h: Updated from GCC.
19817 2012-05-09  Andreas Jaeger  <aj@suse.de>
19819         * nscd/nscd.c (run_modes): Make named enum, reorder so that
19820         default is first entry.
19821         (run_mode): Set type.
19822         (main): Remove informal message about syslog.
19823         (options): Fix typo.
19825         [BZ #14053]
19826         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19827         to asm.
19828         (lrint): Likewise.
19829         (llrintf): Likewise.
19830         (llrint): Likewise.
19831         (rint): Likewise.
19832         (rintf): Likewise.
19833         (nearbyint): Likewise.
19834         (nearbyintf): Likewise.
19836 2012-05-09  Andreas Jaeger  <aj@suse.de>
19837             Pedro Alves  <palves@redhat.com>
19839         * nscd/nscd.c (run_mode): Use enum.
19840         (main): Cleanup coding style issue.
19842 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
19843             Andreas Jaeger  <aj@suse.de>
19845         * nscd/nscd.c (go_background): Replaced with...
19846         (run_mode): ... this.
19847         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19848         (options): Add -F --foreground.
19849         (main): Implement it.
19850         (parse_opt): Parse it.
19852 2012-05-09  Andreas Jaeger  <aj@suse.de>
19854         [BZ #14083]
19855         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19856         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19857         -Wconversion warning.
19858         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19859         Likewise.
19861 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
19863         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
19864         == 0.
19865         (LC_ALL): Use macro-int-constant.
19866         (LC_COLLATE): Likewise.
19867         (LC_CTYPE): Likewise.
19868         (LC_MESSAGES): Likewise.
19869         (LC_MONETARY): Likewise.
19870         (LC_NUMERIC): Likewise.
19871         (LC_TIME): Likewise.
19872         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19873         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19875         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19876         Specify type.
19877         [C99-based standards] (float_t): Expect type.
19878         [C99-based standards] (double_t): Expect type.
19879         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
19880         type.
19881         [C99-based standards] (HUGE_VALL): Likewise.
19882         [C99-based standards] (INFINITY): Likewise.
19883         [C99-based standards] (NAN): Likewise.
19884         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19885         [C99-based standards] (FP_NAN): Likewise.
19886         [C99-based standards] (FP_NORMAL): Likewise.
19887         [C99-based standards] (FP_SUBNORMAL): Likewise.
19888         [C99-based standards] (FP_ZERO): Likewise.
19889         [C99-based standards] (FP_FAST_FMA): Use
19890         optional-macro-int-constant.  Specify type.  Require == 1.
19891         [C99-based standards] (FP_FAST_FMAF): Likewise.
19892         [C99-based standards] (FP_FAST_FMAL): Likewise.
19893         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19894         [C99-based standards] (FP_ILOGBNAN): Likewise.
19895         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19896         Specify type.
19897         [C99-based standards] (MATH_ERREXCEPT): Likewise.
19898         [C99-based standards] (math_errhandling): Specify type.
19899         [ISO99 || ISO11] (signgam): Do not allow.
19900         [non-C99-based standards] (copysignf): Do not allow.
19901         [non-C99-based standards] (exp2f): Likewise.
19902         [non-C99-based standards] (log2f): Likewise.
19903         [non-C99-based standards] (modff): Allow.
19904         [non-C99-based standards] (erff): Do not allow.
19905         [non-C99-based standards] (erfcf): Likewise.
19906         [non-C99-based standards] (gammaf): Likewise.
19907         [non-C99-based standards] (hypotf): Likewise.
19908         [non-C99-based standards] (j0f): Likewise.
19909         [non-C99-based standards] (j1f): Likewise.
19910         [non-C99-based standards] (jnf): Likewise.
19911         [non-C99-based standards] (lgammaf): Likewise.
19912         [non-C99-based standards] (tgammaf): Likewise.
19913         [non-C99-based standards] (y0f): Likewise.
19914         [non-C99-based standards] (y1f): Likewise.
19915         [non-C99-based standards] (ynf): Likewise.
19916         [non-C99-based standards] (isnanf): Likewise.
19917         [non-C99-based standards] (acoshf): Likewise.
19918         [non-C99-based standards] (asinhf): Likewise.
19919         [non-C99-based standards] (atanhf): Likewise.
19920         [non-C99-based standards] (cbrtf): Likewise.
19921         [non-C99-based standards] (expm1f): Likewise.
19922         [non-C99-based standards] (ilogbf): Likewise.
19923         [non-C99-based standards] (log1pf): Likewise.
19924         [non-C99-based standards] (logbf): Likewise.
19925         [non-C99-based standards] (nextafterf): Likewise.
19926         [non-C99-based standards] (remainderf): Likewise.
19927         [non-C99-based standards] (rintf): Likewise.
19928         [non-C99-based standards] (scalbf): Likewise.
19929         [non-C99-based standards] (copysignl): Likewise.
19930         [non-C99-based standards] (exp2l): Likewise.
19931         [non-C99-based standards] (log2l): Likewise.
19932         [non-C99-based standards] (modfl): Allow.
19933         [non-C99-based standards] (erfl): Do not allow.
19934         [non-C99-based standards] (erfcl): Likewise.
19935         [non-C99-based standards] (gammal): Likewise.
19936         [non-C99-based standards] (hypotl): Likewise.
19937         [non-C99-based standards] (j0l): Likewise.
19938         [non-C99-based standards] (j1l): Likewise.
19939         [non-C99-based standards] (jnl): Likewise.
19940         [non-C99-based standards] (lgammal): Likewise.
19941         [non-C99-based standards] (tgammal): Likewise.
19942         [non-C99-based standards] (y0l): Likewise.
19943         [non-C99-based standards] (y1l): Likewise.
19944         [non-C99-based standards] (ynl): Likewise.
19945         [non-C99-based standards] (isnanl): Likewise.
19946         [non-C99-based standards] (acoshl): Likewise.
19947         [non-C99-based standards] (asinhl): Likewise.
19948         [non-C99-based standards] (atanhl): Likewise.
19949         [non-C99-based standards] (cbrtl): Likewise.
19950         [non-C99-based standards] (expm1l): Likewise.
19951         [non-C99-based standards] (ilogbl): Likewise.
19952         [non-C99-based standards] (log1pl): Likewise.
19953         [non-C99-based standards] (logbl): Likewise.
19954         [non-C99-based standards] (nextafterl): Likewise.
19955         [non-C99-based standards] (remainderl): Likewise.
19956         [non-C99-based standards] (rintl): Likewise.
19957         [non-C99-based standards] (scalbl): Likewise.
19958         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19959         [non-C99-based standards] (FP_*): Do not allow.
19960         [C99-based standards] (FP_*): Change to
19961         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19962         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19963         allow.
19964         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19965         (SIG_ERR): Likewise.
19966         [X/Open-based standards] (SIG_HOLD): Likewise.
19967         (SIG_IGN): Likewise.
19968         (SIGABRT): Use macro-int-constant.  Specify type.  Require
19969         positive value.
19970         (SIGFPE): Likewise.
19971         (SIGILL): Likewise.
19972         (SIGINT): Likewise.
19973         (SIGSEGV): Likewise.
19974         (SIGTER): Likewise.
19975         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19976         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19977         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19978         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19979         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19980         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19981         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19982         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19983         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19984         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19985         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19986         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19987         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19988         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19989         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19990         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19991         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19992         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19993         [X/Open-based standards] (SIGTRAP): Likewise.
19994         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19995         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19996         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19997         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19998         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19999         allow.
20001 2012-05-08  Ian Wienand  <ianw@vmware.com>
20003         [BZ #14080]
20004         * time/tzset.c (__tzset_parse_tz): Update default rules for
20005         daylight time changes in the Energy Policy Act of 2005.
20007 2012-05-09  Andreas Jaeger  <aj@suse.de>
20009         [BZ #13983]
20010         * elf/ldconfig.c (parse_conf): Change string to make clear that
20011         ldconfig only issued a warning if ld.so.conf does not exist.
20013 2012-05-08  David S. Miller  <davem@davemloft.net>
20015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20016         movxtod instead of popping the value on the stack.
20018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20020 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20022         * config.h.in: Add HAVE_ARM_PCS_VFP.
20024 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20026         [BZ #13979]
20027         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20028         checking but the checks are disabled for any reason.
20030 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20032         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20033         and ELF64_R_TYPE with ELFW(R_TYPE).
20035 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20037         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20038         (ulimit): Likewise.
20040         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20041         (settimeofday): Likewise.
20043 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20045         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20046         a struct th_u2 inside the union, and move tu_block/tu_code into
20047         a new th_u3 union of tu_block/tu_code inside of that.  Move
20048         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20049         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20050         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20051         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20052         (th_stuff): Change to th_u1.tu_stuff.
20053         (th_data): Define.
20054         (th_msg): Change to th_u1.th_u2.tu_data.
20056 2012-05-07  David S. Miller  <davem@davemloft.net>
20058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20060         [BZ #14074]
20061         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20062         (SETUP_PIC_REG): Use it.
20063         (SETUP_PIC_REG_LEAF): Use it.
20065 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20067         [BZ #13885]
20068         [BZ #13923]
20069         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20070         USE_AS_EXPM1L.
20071         (EXPL_FINITE): Likewise.
20072         (FLDLOG): Likewise.
20073         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20074         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20075         e_expl.S.
20076         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20077         USE_AS_EXPM1L.
20078         (EXPL_FINITE): Likewise.
20079         (FLDLOG): Likewise.
20080         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20081         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20082         e_expl.S.
20083         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20084         test of -max_value argument for long double.
20085         * sysdeps/i386/fpu/libm-test-ulps: Update.
20086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088 2012-05-06  David S. Miller  <davem@davemloft.net>
20090         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20091         quad soft-float symbols whose references which are compiler
20092         generated.
20093         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20095 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20097         [BZ #13884]
20098         [BZ #13914]
20099         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20100         USE_AS_EXP10L.
20101         (EXPL_FINITE): Likewise.
20102         (FLDLOG): Likewise.
20103         (c0): Likewise.
20104         (c1): Likewise.
20105         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20106         Adjust comments for base varying.
20107         (__expl_finite): Change alias to EXPL_FINITE.
20108         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20109         e_expl.S.
20110         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20111         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20112         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20113         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20115         USE_AS_EXP10L.
20116         (EXPL_FINITE): Likewise.
20117         (FLDLOG): Likewise.
20118         (c0): Likewise.
20119         (c1): Likewise.
20120         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20121         Adjust comments for base varying.
20122         (__expl_finite): Change alias to EXPL_FINITE.
20123         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20124         tests for bugs.
20125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20127         [BZ #14064]
20128         * math/libm-test.inc (check_float_internal): Correct ulp
20129         calculation for subnormal expected results.
20131 2012-05-06  Andreas Jaeger  <aj@suse.de>
20133         * Makeconfig (+math-flags): New, set to -frounding-math.
20134         (+cflags): Add +math-flags so that all of glibc gets compiled with
20135         it.
20137         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20139 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20141         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20142         Disable one test.
20144         [BZ #13787]
20145         [BZ #13922]
20146         [BZ #14036]
20147         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20148         (__ieee754_expl): Allow for and saturate large arguments.
20149         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20150         (u_threshold): Likewise.
20151         (__exp): Call __ieee754_exp before checking for overflow and
20152         underflow.
20153         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20154         (u_threshold): Likewise.
20155         (__expf): Call __ieee754_expf before checking for overflow and
20156         underflow.
20157         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20158         (u_threshold): Likewise.
20159         (__expl): Call __ieee754_expl before checking for overflow and
20160         underflow.
20161         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20162         (__ieee754_expl): Allow for and saturate large arguments.
20163         * math/libm-test.inc (exp_test): Add another test.  Do not allow
20164         missing overflow exception on overflow.
20165         (expm1_test): Do not allow missing overflow exception on overflow.
20167         * sysdeps/i386/fpu/e_expl.c: Move to ...
20168         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
20169         rather than using inline asm.
20170         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20171         * sysdeps/x86_64/fpu/e_expl.S: Copy from
20172         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20174         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20175         (nice): Likewise.
20176         (poll): Likewise.
20177         (signal): Likewise.
20178         (time): Likewise.
20179         (times): Likewise.
20181 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20183         * sysdeps/unix/syscalls.list (adjtime): Add entry from
20184         sysdeps/unix/common/syscalls.list.
20185         (fchmod): Likewise.
20186         (fchown): Likewise.
20187         (ftruncate): Likewise.
20188         (getrusage): Likewise.
20189         (gettimeofday): Likewise.
20190         (setpgid): Likewise.
20191         (setregid): Likewise.
20192         (setreuid): Likewise.
20193         (sigaction): Likewise.
20194         (truncate): Likewise.
20195         (vhangup): Likewise.
20196         * sysdeps/unix/common/syscalls.list: Remove file.
20197         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20198         * sysdeps/unix/sysv/linux/Implies: Likewise.
20200 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20202         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20204         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20205         Moved to ...
20206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20207         Here.
20208         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20209         to ...
20210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20211         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20212         to ...
20213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20214         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20215         to ...
20216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20217         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20218         to ...
20219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20220         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20221         to ...
20222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20223         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20224         to ...
20225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20226         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20227         to ...
20228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20229         Here.
20230         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20231         to ...
20232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20233         Here.
20234         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20235         to ...
20236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20237         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20238         Moved to ...
20239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20240         Here.
20241         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20242         to ...
20243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20245 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20247         * sysdeps/unix/common/bits/dirent.h: Remove file.
20248         * sysdeps/unix/common/bits/fcntl.h: Likewise.
20250         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20251         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20252         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20253         * sysdeps/unix/bsd/isatty.c: Likewise.
20254         * sysdeps/unix/bsd/tcdrain.c: Likewise.
20255         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20256         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20258 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20260         [BZ #13563]
20261         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20262         long double comparison inaccuracies.
20263         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20266 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
20268         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20269         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20271 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20273         [BZ #14049]
20274         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20275         nonzero digits before rounding a hex value.
20276         * stdlib/tst-strtod.c (tests): Add another test.
20278 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20280         * sysdeps/s390/fpu/libm-test-ulps: Update.
20282 2012-05-03  Andreas Jaeger  <aj@suse.de>
20284         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20285         does not get optimized out.
20286         (malloc_opt_barrier): New.
20288 2012-05-03  Andreas Jaeger  <aj@suse.de>
20289             Roland McGrath  <roland@hack.frob.com>
20291         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20292         intermediate file deletion.
20293         (generated): Add .symlist files.
20295 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
20297         [BZ #13775]
20298         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20299         Redirect under this condition.
20300         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20301         [__USE_GNU] (__dprintf_chk): Not under this condition.
20302         [__USE_GNU] (__vdprintf_chk): Likewise.
20303         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20304         under this condition.
20305         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20306         [__USE_XOPEN2K8] (dprintf): Define under this condition.
20307         [__USE_XOPEN2K8] (vdprintf): Likewise.
20308         [__USE_GNU] (__dprintf_chk): Not under this condition.
20309         [__USE_GNU] (__vdprintf_chk): Likewise.
20310         [__USE_GNU] (dprintf): Likewise.
20311         [__USE_GNU] (vdprintf): Likewise.
20313 2012-05-03  Roland McGrath  <roland@hack.frob.com>
20315         * elf/Makefile (common-generated): Set this instead of generated for
20316         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
20317         $(all-built-dso)-derived lists.
20319 2012-05-03  Andreas Jaeger  <aj@suse.de>
20321         * sysdeps/i386/fpu/libm-test-ulps: Update.
20323         * FAQ: Removed.
20324         * FAQ.in: Likewise.
20325         * scripts/gen-FAQ.pl: Likewise.
20326         * manual/install.texi (Installation): Point to online location of
20327         FAQ.
20328         * Makefile (files-for-dist): Remove FAQ.
20329         (FAQ): Remove.
20331 2012-05-02  Allan McRae  <allan@archlinux.org>
20333         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20334         (LDFLAGS-reldepmod5.so): Likewise.
20335         (LDFLAGS-reldep6mod1.so): Likewise.
20336         (LDFLAGS-reldep6mod4.so): Likewise.
20337         (LDFLAGS-reldep8mod3.so): Likewise.
20338         (LDFLAGS-unload4mod1.so): Likewise.
20339         (LDFLAGS-unload4mod2.so): Likewise.
20340         (LDFLAGS-tst-initorder): Likewise.
20341         (LDFLAGS-tst-initordera2.so): Likewise.
20342         (LDFLAGS-tst-initordera3.so): Likewise.
20343         (LDFLAGS-tst-initordera4.so): Likewise.
20344         (LDFLAGS-tst-initorderb2.so): Likewise.
20345         (LDFLAGS-noload): Likewise.
20346         (LDFLAGS-next): Likewise.
20347         (LDFLAGS-order2mod1.so): Likewise.
20348         (LDFLAGS-order2mod2.so): Likewise.
20349         (LDFLAGS-tst-initorder2): Likewise.
20350         (LDFLAGS-tst-initorder2a.so): Likewise.
20351         (LDFLAGS-tst-initorder2b.so): Likewise.
20352         (LDFLAGS-tst-initorder2c.so): Likewise.
20353         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20355 2012-05-02  David S. Miller  <davem@davemloft.net>
20357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20359 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20361         [BZ #14055]
20362         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20364 2012-05-02  Andreas Jaeger  <aj@suse.de>
20366         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20367         since we manipulate rounding mode.
20368         (CPPFLAGS-test-idouble.c): Likewise.
20369         (CPPFLAGS-test-ifloat.c): Likewise.
20370         (CFLAGS-test-ldouble.c): Likewise.
20371         (CFLAGS-test-double.c): Likewise.
20372         (CFLAGS-test-float.c): Likewise.
20373         (CFLAGS-test-misc.c): Likewise.
20374         (CFLAGS-test-test-fenv.c): Likewise.
20376 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20378         [BZ #2550]
20379         [BZ #2570]
20380         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20381         comparisons to determine direction to adjust input.
20383 2012-05-01  Roland McGrath  <roland@hack.frob.com>
20385         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20386         output to the target.
20388         * scripts/localplt.awk: New file.
20389         * elf/Makefile ($(objpfx)check-localplt): Target removed.
20390         (check-localplt-CFLAGS): Variable removed.
20391         ($(all-built-dso:=.jmprel)): New static pattern rule.
20392         (generated): Add those targets.
20393         (localplt-built-dso): New variable.
20394         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20396         * elf/check-localplt.c: File removed.
20398         * scripts/check-execstack.awk: New file.
20399         * elf/Makefile ($(objpfx)check-execstack): Target removed.
20400         (check-execstack-CFLAGS): Variable removed.
20401         ($(objpfx)check-execstack.h): Target removed.
20402         ($(objpfx)execstack-default): New target.
20403         (generated): Add that instead of check-execstack.h.
20404         ($(all-built-dso:=.phdr)): New static pattern rule.
20405         (generated): Add those targets.
20406         * elf/check-execstack.c: File removed.
20408         * scripts/check-textrel.awk: New file.
20409         * elf/Makefile ($(objpfx)check-textrel): Target removed.
20410         (check-textrel-CFLAGS): Variable removed.
20411         (all-built-dso): Use := to define.o
20412         ($(all-built-dso:=.dyn)): New static pattern rule.
20413         (generated): Add those targets.
20414         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20415         * config.make.in (READELF): New substituted variable.
20416         * elf/check-textrel.c: File removed.
20418 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20420         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20421         allow.
20422         * conform/data/ctype.h-data [C99-based standards] (isblank):
20423         Expect function.
20424         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20425         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20426         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20427         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20428         Specify type.  Require positive value.
20429         (EILSEQ): Likewise.
20430         (ERANGE): Likewise.
20431         [ISO || POSIX] (EILSEQ): Do not expect.
20432         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20433         Specify type.  Require positive value.
20434         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20435         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20436         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20437         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20438         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20439         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20440         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20441         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20442         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20443         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20444         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20445         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20446         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20447         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20448         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20449         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20450         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20451         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20452         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20453         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20454         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20455         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20456         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20457         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20458         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20459         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20460         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20461         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20462         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20463         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20464         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20465         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20466         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20467         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20468         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20469         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20470         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20471         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20472         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20473         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20474         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20475         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20476         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20477         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20478         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20479         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20480         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20481         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20482         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20483         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20484         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20485         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20486         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20487         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20488         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20489         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20490         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20491         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20492         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20493         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20494         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20495         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20496         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20497         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20498         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20499         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20500         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20501         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20502         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20503         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20504         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20505         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20506         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20507         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20508         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20509         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20510         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20511         Require >= 2.
20512         (FLT_ROUNDS): Expect as macro, not constant.
20513         (FLT_MANT_DIG): Use macro-int-constant.
20514         (DBL_MANT_DIG): Likewise.
20515         (LDBL_MANT_DIG): Likewise.
20516         (FLT_DIG): Likewise.
20517         (DBL_DIG): Likewise.
20518         (LDBL_DIG): Likewise.
20519         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
20520         (DBL_MIN_EXP): Likewise.
20521         (LDBL_MIN_EXP): Likewise.
20522         (FLT_MAX_EXP): Use macro-int-constant.
20523         (DBL_MAX_EXP): Likewise.
20524         (LDBL_MAX_EXP): Likewise.
20525         (FLT_MAX_10_EXP): Likewise.
20526         (DBL_MAX_10_EXP): Likewise.
20527         (LDBL_MAX_10_EXP): Likewise.
20528         (FLT_MAX): Use macro-constant.
20529         (DBL_MAX): Likewise.
20530         (LDBL_MAX): Likewise.
20531         (FLT_EPSILON): Use macro-constant.  Give upper bound.
20532         (DBL_EPSILON): Likewise.
20533         (LDBL_EPSILON): Likewise.
20534         (FLT_MIN): Likewise.
20535         (DBL_MIN): Likewise.
20536         (LDBL_MIN): Likewise.
20537         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20538         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20539         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20540         [ISO11] (FLT_HAS_SUBNORM): Likewise.
20541         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20542         [ISO11] (DBL_DECIMAL_DIG): Likewise.
20543         [ISO11] (FLT_DECIMAL_DIG): Likewise.
20544         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20545         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20546         [ISO11] (FLT_TRUE_MIN): Likewise.
20547         [ISO11] (LDBL_TRUE_MIN): Likewise.
20548         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20549         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20550         (SCHAR_MIN): Use macro-int-constant.  Specify type.
20551         (SCHAR_MAX): Likewise.
20552         (UCHAR_MAX): Likewise.
20553         (CHAR_MIN): Likewise.
20554         (CHAR_MAX): Likewise.
20555         (MB_LEN_MAX): Use macro-int-constant.
20556         (SHRT_MIN): Use macro-int-constant.  Specify type.
20557         (SHRT_MAX): Likewise.
20558         (USHRT_MAX): Likewise.
20559         (INT_MAX): Likewise.
20560         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
20561         bound negative.
20562         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20563         bound with "U".
20564         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20565         bound with "L".
20566         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
20567         bound negative.  Suffix upper bound with "L".
20568         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20569         bound with "UL".
20570         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20571         Specify type.
20572         [C99-based standards] (LLONG_MAX): Likewise.
20573         [C99-based standards] (ULLONG_MAX): Likewise.
20574         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
20575         == 0.
20576         [ISO11] (max_align_t): Require type.
20577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20579         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20580         from $CFLAGS, without defining away __attribute__ calls.
20581         (checknamespace): Use $CFLAGS_namespace.
20583         * conform/conformtest.pl (@keywords): Only include C99 keywords
20584         for standards based on C99 or C11.
20586         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20587         Disable tests.
20588         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20589         UNIX98]: Likewise.
20591         * conform/conformtest.pl: Handle "macro-int-constant" and test for
20592         usability of symbols in #if.
20594         * conform/conformtest.pl: If macro or constant types start
20595         "promoted:", expect the symbol to be of the following type
20596         promoted by the integer promotions.
20598         * conform/conformtest.pl: Parse all "constant" and "macro" lines
20599         in one place.  Also handle "macro-constant".
20601         * conform/conformtest.pl: Only accept expected macro values with
20602         "==".  Parse all "macro" lines in one place.
20603         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20605         * conform/conformtest.pl: Handle braced types on "constant" lines
20606         instead of handling "typed-constant".
20607         * conform/data/signal.h-data: Use "constant" instead of
20608         "typed-constant".
20610         * conform/conformtest.pl: Handle "optional-" at start of lines in
20611         one place rather than duplicating several cases.  Handle each
20612         format of "macro" line with initial "optional-".
20614         * conform/conformtest.pl: Only accept expected constant or
20615         optional-constant values with "==".  Parse all "constant" lines in
20616         one place.  Parse all "optional-constant" lines in one place.
20617         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20618         * conform/data/fmtmsg.h-data: Likewise.
20619         * conform/data/netinet/in.h-data: Likewise.
20620         * conform/data/tar.h-data: Likewise.
20621         * conform/data/limits.h-data: Use "==" form on "constant" and
20622         "optional-constant" lines.
20624         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20625         Use -std=c99 for XOPEN2K.
20626         (@knownproblems): Remove.
20627         (newtoken): Don't check %isknown.
20629         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20630         Do not expect macro.
20631         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20632         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20633         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20634         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20635         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20636         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20637         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20638         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20639         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20640         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20641         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20642         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20643         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20644         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20645         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20646         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20647         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20648         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20649         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20650         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20651         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20652         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20653         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20654         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20655         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20656         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20657         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20658         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20659         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20660         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20661         [XPG3] (acosh): Likewise.
20662         [XPG3] (asinh): Likewise.
20663         [XPG3] (atanh): Likewise.
20664         [XPG3] (cbrt): Likewise.
20665         [XPG3] (expm1): Likewise.
20666         [XPG3] (ilogb): Likewise.
20667         [XPG3] (log1p): Likewise.
20668         [XPG3] (logb): Likewise.
20669         [XPG3] (nextafter): Likewise.
20670         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20671         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20672         [XPG3] (remainder): Likewise.
20673         [XPG3] (rint): Likewise.
20674         [XPG3 || XPG4 || UNIX98] (round): Likewise.
20675         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20676         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20677         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20678         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20679         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20680         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20681         [UNIX98 || XOPEN2K] (scalb): Expect.
20682         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20683         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20684         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20685         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20686         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20687         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20688         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20689         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20690         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20691         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20692         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20693         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20694         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20695         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20696         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20697         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20698         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20699         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20700         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20701         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20702         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20703         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20704         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20705         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20706         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20707         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20708         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20709         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20710         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20711         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20712         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20713         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20714         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20715         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20716         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20717         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20718         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20719         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20720         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20721         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20722         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20723         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20724         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20725         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20726         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20727         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20728         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20729         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20730         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20731         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20732         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20733         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20734         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20735         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20736         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20737         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20738         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20739         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20740         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20741         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20742         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20743         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20744         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20745         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20746         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20747         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20748         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20749         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20750         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20751         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20752         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20753         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20754         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20755         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20756         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20757         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20758         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20759         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20760         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20761         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20762         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20763         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20764         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20765         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20766         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20767         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20768         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20769         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20770         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20771         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20772         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20773         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20774         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20775         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20776         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20777         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20778         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20779         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20780         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20781         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20782         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20783         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20784         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20785         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20786         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20787         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20788         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20789         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20790         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20791         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20792         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20793         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20794         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20795         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20796         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20797         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20798         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20799         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20800         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20801         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20802         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20803         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20804         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20805         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20806         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20807         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20808         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20809         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20810         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20811         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20812         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20813         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20814         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20815         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20816         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20817         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20818         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20820         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20821         _XOPEN_SOURCE_EXTENDED for XPG4.
20823         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20825         * Makeconfig (localtime): Remove variable.
20826         (inst_localtime-file): Likewise.
20828 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20831         Update.
20832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20833         Update.
20834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20835         Update.
20836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20837         Update.
20838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20839         Update.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20841         Update.
20842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20843         Update.
20844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20845         Update.
20846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20847         Update.
20849 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20851         [BZ #2550]
20852         [BZ #2570]
20853         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20854         comparisons to determine direction to adjust input.
20855         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20856         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20857         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20858         Likewise.
20859         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20860         Likewise.
20861         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20862         Likewise.
20863         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20864         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20865         Likewise.
20866         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20867         Likewise.
20868         * math/libm-test.inc (nexttoward_test): Add more tests.
20870 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20872         [BZ #14040]
20873         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20874         in version GLIBC_2.1, not GLIBC_2.0.
20875         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20876         Likewise.
20878 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
20880         [BZ #13942]
20881         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20882         (1 - x) * (1 + x).
20883         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20884         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20885         * math/libm-test.inc (acos_test): Add more tests.
20886         (asin_test): Likewise.
20887         * sysdeps/i386/fpu/libm-test-ulps: Update.
20888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20890         [BZ #14034]
20891         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20892         of square root.
20893         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20894         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20895         * math/libm-test.inc (acos_test_tonearest): New function.
20896         (acos_test_towardzero): Likewise.
20897         (acos_test_downward): Likewise.
20898         (acos_test_upward): Likewise.
20899         (asin_test_tonearest): Likewise.
20900         (asin_test_towardzero): Likewise.
20901         (asin_test_downward): Likewise.
20902         (asin_test_upward): Likewise.
20903         (main): Call the new functions.
20904         * sysdeps/i386/fpu/libm-test-ulps: Update.
20905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20907         [BZ #13884]
20908         [BZ #13924]
20909         * math/e_exp10.c: Include <float.h>.
20910         (__ieee754_exp10): Handle underflow here rather than multiplying
20911         large negative argument by M_LN10.
20912         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20913         of __ieee754_expf.
20914         * math/e_exp10l.c: Include <float.h>.
20915         (__ieee754_exp10l): Handle underflow here rather than multiplying
20916         large negative argument by M_LN10l.
20917         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
20918         spurious overflow exception on underflow.
20920 2012-04-29  Marek Polacek  <polacek@redhat.com>
20922         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20923         (__fortify_function): New macro.
20924         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20925         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20926         __extern_always_inline.
20927         * libio/bits/stdio2.h: Likewise.
20928         * libio/bits/stdio.h: Likewise.
20929         * string/string.h: Likewise.
20930         * string/bits/string3.h: Likewise.
20931         * include/stdio.h: Likewise.
20932         * stdlib/bits/stdlib.h: Likewise.
20933         * stdlib/stdlib.h: Likewise.
20934         * rt/bits/mqueue2.h: Likewise.
20935         * rt/mqueue.h: Likewise.
20936         * posix/bits/unistd.h: Likewise.
20937         * posix/unistd.h: Likewise.
20938         * io/bits/poll2.h: Likewise.
20939         * io/bits/fcntl2.h: Likewise.
20940         * io/fcntl.h: Likewise.
20941         * io/sys/poll.h: Likewise.
20942         * misc/bits/syslog.h: Likewise.
20943         * misc/bits/syslog-ldbl.h: Likewise.
20944         * misc/sys/syslog.h: Likewise.
20945         * socket/bits/socket2.h: Likewise.
20946         * socket/sys/socket.h: Likewise.
20947         * debug/tst-chk1.c: Likewise.
20948         * wcsmbs/bits/wchar2.h: Likewise.
20949         * wcsmbs/bits/wchar-ldbl.h: Likewise.
20950         * wcsmbs/wchar.h: Likewise.
20952 2012-04-29  Andreas Jaeger  <aj@suse.de>
20954         * Makerules (tests): Remove enable-check-abi protection.
20955         (check-abi-warn): Remove.
20956         (check-abi-%): Remove check-abi-warn usage.
20958         * configure.in: Remove check-abi configure option.
20959         * configure: Regenerated.
20960         * config.make.in (enable-check-abi): Remove.
20962 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
20964         [BZ #14033]
20965         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20966         double functions to double *_finite functions.
20968         [BZ #13941]
20969         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20970         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20971         LDBL_MIN_EXP.
20972         * stdio-common/Makefile (tests): Add tst-sprintf3.
20973         * stdio-common/tst-sprintf3.c: New file.
20975         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20976         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20978 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20980         * conform/conformtest.pl: Remove duplicate typed-constant
20981         handling.
20983 2012-04-28  David S. Miller  <davem@davemloft.net>
20985         * Makerules (%.abilist): Add vpath on sysdep_dirs.
20986         (check-abi-%): Remove AWK script prerequisite and explicit
20987         abilist directory.
20988         (check-abi): Rewrite to just diff the symlist with the abilist.
20989         (config-tls, config-abi-config): Delete, no longer used.
20990         (update-abi-%): Remove AWK script and explicit abilist directory.
20991         (update-abi): Rewrite to simply compare and conditionally copy the
20992         symlist and the sysdep abilist file.  Remove update-abi-config
20993         checks.
20994         * abilist/ld.abilist: Remove.
20995         * abilist/libBrokenLocale.abilist: Remove.
20996         * abilist/libanl.abilist: Remove.
20997         * abilist/libcrypt.abilist: Remove.
20998         * abilist/libdl.abilist: Remove.
20999         * abilist/librt.abilist: Remove.
21000         * abilist/libthread_db.abilist: Remove.
21001         * abilist/libutil.abilist: Remove.
21002         * scripts/extract-abilist.awk: Remove.
21003         * scripts/merge-abilist.awk: Remove.
21004         * sysdeps/generic/libcidn.abilist: New file.
21005         * sysdeps/generic/libnss_compat.abilist: New file.
21006         * sysdeps/generic/libnss_db.abilist: New file.
21007         * sysdeps/generic/libnss_dns.abilist: New file.
21008         * sysdeps/generic/libnss_files.abilist: New file.
21009         * sysdeps/generic/libnss_hesiod.abilist: New file.
21010         * sysdeps/generic/libnss_nis.abilist: New file.
21011         * sysdeps/generic/libnss_nisplus.abilist: New file.
21012         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21013         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21014         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21015         file.
21016         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21017         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21018         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21019         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21020         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21021         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21022         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21023         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21024         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21025         file.
21026         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21027         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21028         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21029         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21030         file.
21031         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21032         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21033         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21034         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21035         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21036         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21037         file.
21038         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21039         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21040         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21041         file.
21042         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21044         New file.
21045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21046         New file.
21047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21048         New file.
21049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21050         New file.
21051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21052         New file.
21053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21054         New file.
21055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21056         New file.
21057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21058         New file.
21059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21060         New file.
21061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21062         New file.
21063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21064         New file.
21065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21066         New file.
21067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21068         New file.
21069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21070         file.
21071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21072         New file.
21073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21074         New file.
21075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21076         file.
21077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21078         New file.
21079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21080         New file.
21081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21082         file.
21083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21084         New file.
21085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21086         New file.
21087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21088         New file.
21089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21090         New file.
21091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21092         New file.
21093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21094         New file.
21095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21097         file.
21098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21099         New file.
21100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21101         file.
21102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21103         file.
21104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21105         file.
21106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21107         file.
21108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21109         file.
21110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21111         New file.
21112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21113         file.
21114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21115         file.
21116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21117         New file.
21118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21119         file.
21120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21122         file.
21123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21124         New file.
21125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21126         file.
21127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21128         file.
21129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21130         file.
21131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21132         file.
21133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21134         file.
21135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21136         New file.
21137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21138         file.
21139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21140         file.
21141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21142         New file.
21143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21144         file.
21145         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21146         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21147         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21148         file.
21149         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21150         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21151         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21152         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21153         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21154         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21155         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21156         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21157         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21158         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21161         file.
21162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21163         New file.
21164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21165         file.
21166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21167         file.
21168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21169         file.
21170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21171         file.
21172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21173         file.
21174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21175         New file.
21176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21177         New file.
21178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21179         file.
21180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21181         New file.
21182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21183         file.
21184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21186         file.
21187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21188         New file.
21189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21190         file.
21191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21192         file.
21193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21194         file.
21195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21196         file.
21197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21198         file.
21199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21200         New file.
21201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21202         New file.
21203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21204         file.
21205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21206         New file.
21207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21208         file.
21210 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21212         * conform/conformtest.pl: Fix typo in handling typed-constant from
21213         allow-header.
21215 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21217         * README: Cut down references to pre-2.6 Linux kernels and
21218         Linuxthreads.  Update lists of configurations in libc and ports
21219         and sort alphabetically.  Say "or newer" with Linux kernel version
21220         requirements.
21222         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21224 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21226         [BZ #887]
21227         * math/libm-test.inc (logb_test_downward): New test to expose
21228         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21229         rounding mode.
21231 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21233         [BZ #14027]
21234         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21235         to be done.
21236         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21237         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21239 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
21241         * sysdeps/unix/i386/brk.S: Remove file.
21242         * sysdeps/unix/i386/dl-brk.S: Likewise.
21243         * sysdeps/unix/i386/pipe.S: Likewise.
21244         * sysdeps/unix/i386/sigreturn.S: Likewise.
21245         * sysdeps/unix/i386/syscall.S: Likewise.
21246         * sysdeps/unix/i386/vfork.S: Likewise.
21247         * sysdeps/unix/i386/wait.S: Likewise.
21249         * sysdeps/unix/common/tcsendbrk.c: Move to ...
21250         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21252         * configure.in (arm*-none*): Do not allow without
21253         --enable-hacker-mode.
21254         (netbsd*): Remove case setting base_os.
21255         (386bsd*): Likewise.
21256         (freebsd*): Likewise.
21257         (bsdi*): Likewise.
21258         (osf*): Likewise.
21259         (sunos*): Likewise.
21260         (ultrix*): Likewise.
21261         (newsos*): Likewise.
21262         (dynix*): Likewise.
21263         (*bsd*): Likewise.
21264         (sysv*): Likewise.
21265         (isc*): Likewise.
21266         (esix*): Likewise.
21267         (sco*): Likewise.
21268         (minix*): Likewise.
21269         (irix4*): Likewise.
21270         (irix6*): Likewise.
21271         (solaris[2-9]*): Likewise.
21272         (none): Likewise.
21273         * configure: Regenerated.
21275 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21277         [BZ #11521]
21278         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21279         overflow or cancellation in calculating denominator.
21280         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21281         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21282         down expression to avoid unexpected rounding in newer GCCs.
21283         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21285 2012-04-26  David S. Miller  <davem@davemloft.net>
21287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21288         long-double compat symbols.
21289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21303 2012-04-25  David S. Miller  <davem@davemloft.net>
21305         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21306         HWCAP_* values only after the memory barriers have been defined.
21307         (atomic_full_barrier): Define.
21308         (atomic_read_barrier): Define.
21309         (atomic_write_barrier): Define.
21311 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21313         * shlib-versions: Add libgcc_s version information.
21314         * sysdeps/generic/libgcc_s.h: Remove.
21315         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21316         libgcc_s.h.
21317         * sysdeps/gnu/unwind-resume.c: Likewise.
21318         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21320 2012-04-25  David S. Miller  <davem@davemloft.net>
21322         * sysdeps/unix/sparc/brk.S: Delete.
21323         * sysdeps/unix/sparc/dl-brk.S: Delete.
21324         * sysdeps/unix/sparc/pipe.S: Delete.
21325         * sysdeps/unix/sparc/sysdep.S: Delete.
21326         * sysdeps/unix/sparc/sysdep.h: Delete.
21327         * sysdeps/unix/sparc/vfork.S: Delete.
21328         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21329         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21330         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21331         ret_ERRVAL, r0, r1, MOVE): Define.
21332         (JUMPTARGET): Remove.
21333         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21334         sysdeps/unix/sparc/sysdep.h
21335         (ENTRY, END): Remove.
21336         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21338 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
21340         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21341         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21342         -DIS_IN_build.
21344         * timezone/README: Update upstream location and email address for
21345         tzcode and tzdata.
21346         * timezone/zdump.c: Update from tzcode 2012b.
21347         * timezone/zic.c: Likewise.
21349         * configure.in (libc_cv_as_needed): Remove test.
21350         * configure: Regenerated.
21351         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21352         conditional definition.
21353         [$(have-as-needed) != yes] (no-as-needed): Likewise.
21354         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21355         * config.make.in (have-as-needed): Remove variable.
21357 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21358             Paul Pluzhnikov  <ppluzhnikov@google.com>
21360         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21361         strings correctly.
21363 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21365         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21366         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21367         * sysdeps/sh/strlen.S: Likewise.
21369 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21371         * sysdeps/unix/fork.S: Remove file.
21372         * sysdeps/unix/i386/fork.S: Likewise.
21373         * sysdeps/unix/sparc/fork.S: Likewise.
21375         * sysdeps/unix/system.c: Remove file.
21376         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21378         * sysdeps/unix/getegid.S: Remove file.
21379         * sysdeps/unix/geteuid.S: Likewise.
21381 2012-04-24  Roland McGrath  <roland@hack.frob.com>
21383         * scripts/check-localplt.awk: New file.
21384         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21385         of diff.
21386         * scripts/data/localplt-generic.data: Add a comment.
21388         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21389         NODE when __dir_mkfile failed.
21390         * sysdeps/mach/hurd/symlinkat.c: Likewise.
21391         Reported by Ludovic Courtès <ludo@gnu.org>.
21393 2012-04-24  Andreas Jaeger  <aj@suse.de>
21395         * Makerules (common-clean): Also remove gen-as-const-headers
21396         files.
21398 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21400         * Makerules (native-compile): Do not change working directory for
21401         build.  Use $(OUTPUT_OPTION) in command.
21402         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21404 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21406         [BZ #13886]
21407         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21408         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21409         * math/libm-test.inc (floor_test): Add more tests.
21410         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21412 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21414         * sysdeps/unix/getdents.c: Remove file.
21415         * sysdeps/unix/sysv/getdents.c: Likewise.
21416         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21418         * sysdeps/unix/syscalls.list (madvise): Add syscall from
21419         sysdeps/unix/mman/syscalls.list.
21420         (mmap): Likewise.
21421         (mprotect): Likewise.
21422         (msync): Likewise.
21423         (munmap): Likewise.
21424         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21425         * sysdeps/unix/mman/syscalls.list: Remove.
21426         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21428         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21429         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21430         * configure: Regenerated.
21431         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21432         $(libgcc_s_suffix).
21433         * config.make.in (libgcc_s_suffix): Remove variable.
21435 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
21437         * sysdeps/unix/sysv/gethostname.c: Move to ...
21438         * sysdeps/posix/gethostname.c: ... here.
21440         * sysdeps/unix/execve.S: Remove file.
21442         * sysdeps/unix/_exit.S: Remove file.
21444 2012-04-23  Andreas Jaeger  <aj@suse.de>
21446         [BZ #13739]
21447         * manual/Makefile: Remove make dist support, there's no
21448         need for a stand-alone documentation tar ball.
21449         (TEXI2DVI): Define always, it's not in Makeconfig.
21450         (dist): Removed.
21451         (tar-it): Removed.
21452         (edition): Removed.
21453         (glibc-doc-$(edition).tar): Removed
21454         (%.Z): Removed.
21455         (%.gz): Removed.
21456         (%.uu): Removed.
21457         (ETAGS): Remove, it's in Makeconfig.
21458         (move-if-change): Remove, it's in Makeconfig.
21460 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
21462         [BZ #13970]
21463         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21464         (strtod, strtof, strtold, strtol, strtoul, strtoq)
21465         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21466         (strtod_l, strtof_l, strtold_l): Remove __wur.
21467         It is not necessarily an error to ignore strtol's return value.
21468         One can reliably look at the stored endptr to decide whether
21469         the number had valid syntax.
21471 2012-04-21  Andreas Jaeger  <aj@suse.de>
21473         [BZ #13739]
21474         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21476 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
21478         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21479         * sysdeps/unix/sysv/Versions: Remove file.
21481 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
21483         [BZ #13927]
21484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21486 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
21488         [BZ #7064]
21489         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21490         version from __vm86.
21492 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
21494         * sysdeps/unix/common/lxstat.c: Remove file.
21495         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21497         * sysdeps/unix/sysv/Makefile: Remove file.
21499         * sysdeps/unix/sysv/direct.h: Remove file.
21501         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21502         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21503         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21504         * sysdeps/unix/sysv/bits/signum.h: Likewise.
21505         * sysdeps/unix/sysv/bits/stat.h: Likewise.
21506         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21507         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21509         * sysdeps/unix/sysv/setrlimit.c: Remove file.
21511         * sysdeps/unix/xmknod.c: Remove file.
21512         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21514         * sysdeps/unix/sysv/settimeofday.c: Remove file.
21516         * sysdeps/unix/sysv/i386/time.S: Remove file.
21518         * sysdeps/unix/fxstat.c: Remove file.
21519         * sysdeps/unix/xstat.c: Likewise.
21520         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21522         * sysdeps/unix/sysv/sigaction.c: Remove file.
21524         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21525         (sysdep_headers): Remove variable.
21526         [termio.h not in sysdep_headers] (generated): Likewise.
21527         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21528         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21529         * sysdeps/unix/sysv/tcdrain.c: Likewise.
21530         * sysdeps/unix/sysv/tcflow.c: Likewise.
21531         * sysdeps/unix/sysv/tcflush.c: Likewise.
21532         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21533         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21534         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21535         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21536         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21538         * sysdeps/unix/siglist.c: Remove file.
21540         * sysdeps/unix/getppid.S: Remove file.
21542         * sysdeps/unix/mkdir.c: Remove file.
21543         * sysdeps/unix/rmdir.c: Likewise.
21545 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
21547         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21548         ERR_MAX value.
21549         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21550         errlist-compat value.
21552 2012-04-18  David S. Miller  <davem@davemloft.net>
21554         * sysdeps/generic/memcopy.h (reg_char): Delete.
21555         * debug/strcat_chk.c: Use char, not reg_char.
21556         * debug/strcpy_chk.c: Likewise.
21557         * debug/strncat_chk.c: Likewise.
21558         * debug/strncpy_chk.c: Likewise.
21559         * string/memchr.c: Likewise.
21560         * string/memrchr.c: Likewise.
21561         * string/rawmemchr.c: Likewise.
21562         * string/strcat.c: Likewise.
21563         * string/strchr.c: Likewise.
21564         * string/strchrnul.c: Likewise.
21565         * string/strcmp.c: Likewise.
21566         * string/strcpy.c: Likewise.
21567         * string/strncat.c: Likewise.
21568         * string/strncmp.c: Likewise.
21569         * string/strncpy.c: Likewise.
21571 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21573         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21574         __builtin_memcopy is called when src and dest ranges are known to not
21575         overlap.
21577 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21579         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21580         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21581         fwd_align_merge macro call.
21582         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21583         bwd_align_merge macro call.
21584         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21586 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21588         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21589         bwd_align_merge macros.
21590         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21591         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21592         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21594 2012-04-18  David S. Miller  <davem@davemloft.net>
21596         * sysdeps/sparc/sparc64/memcopy.h: Delete.
21598 2012-04-18  Andreas Jaeger  <aj@suse.de>
21600         [BZ# 6794]
21601         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21602         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21603         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21605         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21606         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21607         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21609         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21610         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21611         Adjust for changed ldbl-128 files.
21613         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21614         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21615         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21617 2012-04-17  David S. Miller  <davem@davemloft.net>
21619         * sysdeps/sparc/sparc32/memcopy.h: Delete.
21621 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
21623         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21624         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21625         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21626         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21627         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21628         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21630 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21632         [BZ #6794]
21633         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21634         * math/libm-test.inc: Add ilogb errno and exception tests.
21635         * math/w_ilogb.c: New file: ilogb wrapper.
21636         * math/w_ilogbf.c: New file: ilogbf wrapper.
21637         * math/w_ilogbl.c: New file: ilogbl wrapper.
21638         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21639         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21640         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21641         exception being thrown with 0.0 as argument.
21642         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21643         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21644         exception being thrown with 0.0 as argument.
21645         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21646         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21647         exception being thrown with 0.0 as argument.
21648         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21649         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21650         exception being thrown with 0.0 as argument.
21651         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21652         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21653         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21654         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21655         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21656         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21657         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21658         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21659         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21661 2012-04-17  Petr Baudis  <pasky@ucw.cz>
21663         * include/sys/uio.h: Change __vector to __iovec to avoid clash
21664         with altivec.
21666 2012-04-16  Marek Polacek  <polacek@redhat.com>
21668         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21670 2012-04-16  Marek Polacek  <polacek@redhat.com>
21672         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21673         operands of fdivp instruction.
21675 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21677         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21678         * elf/tst-auditmod3b.c: Likewise.
21679         * elf/tst-auditmod4b.c: Likewise.
21680         * elf/tst-auditmod5b.c: Likewise.
21681         * elf/tst-auditmod6b.c: Likewise.
21682         * elf/tst-auditmod6c.c: Likewise.
21683         * elf/tst-auditmod7b.c: Likewise.
21684         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21685         * sysdeps/x86_64/preconfigure.in: Likewise.
21686         * sysdeps/x86_64/preconfigure: Regenerated.
21688 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21690         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21691         __ILP32__.
21693 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
21695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21696         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21698 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
21700         [BZ #13973]
21701         * locale/iso-639.def: Fix gl language name. Spotted by
21702         Yaron Shahrabani.
21704 2012-04-12  Roland McGrath  <roland@hack.frob.com>
21706         [BZ #2074]
21707         * libio/libio.h (__io_write_fn): Update comment.
21709 2012-04-12  Petr Baudis  <pasky@ucw.cz>
21711         [BZ #2074]
21712         * stdio.texi (Hook Functions): The user provided writer function
21713         is not allowed to return -1.
21715 2012-04-11  David S. Miller  <davem@davemloft.net>
21717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21719 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
21721         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21722         Add a leading slash to rtkaio.
21724 2012-04-11  Jim Meyering  <meyering@redhat.com>
21726         [BZ #11959]
21727         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21728         It is not necessarily an error to ignore fwrite's return
21729         value.  One can reliably use ferror to test for errors after
21730         the fact.
21732 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21734         * bits/types.h (__snseconds_t): New type.
21735         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21737         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21738         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21739         (__SNSECONDS_T_TYPE): Likewise.
21740         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21741         (__SNSECONDS_T_TYPE): Likewise.
21742         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21743         (__SNSECONDS_T_TYPE): Likewise.
21745 2012-04-10  Andreas Jaeger  <aj@suse.de>
21747         [BZ #2636]
21748         * manual/time.texi (Processor Time): Return type of times is
21749         elapsed real time since an arbitrary point in the past.
21750         (CPU Time): Move CLK_TCK from here...
21751         (Processor Time): ...to here.  Correct description.
21752         * manual/conf.texi (Constants for Sysconf): Correct description of
21753         _SC_CLK_TCK.
21755 2012-04-10  David S. Miller  <davem@davemloft.net>
21757         [BZ #13967]
21758         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21759         where the is a gap between DT_REL(A) and DT_JMPREL.
21761 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21763         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21764         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21765         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21767 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21769         * elf/dl-support.c (_dl_inhibit_cache): New variable.
21770         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21771         (dl_main): Handle --inhibit-cache.
21772         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21773         _dl_inhibit_cache.
21774         * elf/dl-load.c (_dl_map_object): Use it.
21775         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21777 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21779         [BZ #13872]
21780         * sysdeps/i386/fpu/e_powl.S (p78): New object.
21781         (__ieee754_powl): Saturate large exponents rather than testing for
21782         overflow of y*log2(x).
21783         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21784         * math/libm-test.inc (pow_test): Do not permit spurious overflow
21785         exceptions.
21787         [BZ #11521]
21788         * math/s_ctan.c: Include <float.h>.
21789         (__ctan): Avoid internal overflow or cancellation in calculating
21790         denominator.
21791         * math/s_ctanf.c: Likewise.
21792         * math/s_ctanl.c: Likewise.
21793         * math/s_ctanh.c: Likewise.
21794         * math/s_ctanhf.c: Likewise.
21795         * math/s_ctanhl.c: Likewise.
21796         * math/libm-test.inc (ctan_test): Add more tests.
21797         (ctanh_test): Likewise.
21798         * sysdeps/i386/fpu/libm-test-ulps: Update.
21799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21801 2012-04-09  Andreas Jaeger  <aj@suse.de>
21803         [BZ #6894]
21804         * manual/filesys.texi (Directory Entries): Mention that d_namlen
21805         is an optional BSD extension.
21807         [BZ #10254]
21808         * manual/stdio.texi (Opening Streams): Document additional fopen
21809         parameters.
21811 2012-04-09  Roland McGrath  <roland@hack.frob.com>
21813         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21814         %eax without telling the compiler.
21816 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
21818         [BZ # 13963]
21819         * manual/install.texi: Use sourceware.org.
21821 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21823         [BZ #13873]
21824         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21825         (__ieee754_pow): Generate overflow and underflow using huge*huge
21826         and tiny*tiny rather than just returning constant infinity or zero
21827         for large exponents.
21828         * math/libm-test.inc (pow_test): Require overflow exceptions for
21829         applicable cases of large exponents.
21831         [BZ #706]
21832         * sysdeps/i386/fpu/e_pow.S (p10): New object.
21833         (__ieee754_pow): Use iterative multiplication algorithm only for
21834         integer exponents with absolute value below 1024.  Check for odd
21835         integer exponents when using algorithm for real exponents.
21836         * math/libm-test.inc (pow_test): Add more tests.
21837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21839 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
21841         [BZ #13705]
21842         * math/libm-test.inc (exp_test): Do not allow overflow exception
21843         on underflow test.
21845 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
21847         [BZ #13705]
21848         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21849         instead of __kernel_standard_f.
21851 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
21853         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21854         * sysdeps/x86_64/memset_chk.S: Likewise.
21856 2012-04-08  Andreas Jaeger  <aj@suse.de>
21858         [BZ #10153]
21859         * manual/startup.texi (Environment Access): Describe return value
21860         for putenv and setenv.
21862         [BZ #6895]
21863         * manual/filesys.texi (Directory Entries): Add description for
21864         DT_LNK.
21866         [BZ #6890]
21867         * manual/filesys.texi (Directory Entries): Clarify that it's file
21868         system not operating system in the description of DT_UNKNOWN.
21870         [BZ #6578]
21871         * manual/syslog.texi (closelog): Fix reference, it's openlog.
21873 2012-04-08  Stephen Compall  <s11@member.fsf.org>
21875         [BZ #6649]
21876         * manual/llio.texi (Opening and Closing Files): Add cross
21877         reference to explain mode argument.
21879 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
21881         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21882         * sysdeps/x86_64/memset_chk.S: Likewise.
21884 2012-04-07  David S. Miller  <davem@davemloft.net>
21886         * elf/elf.h (R_SPARC_WDISP10): Define.
21887         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21888         R_SPARC_SIZE32.
21889         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21890         R_SPARC_SIZE64 and R_SPARC_H34.
21892 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
21894         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21895         conditions and remove no longer applicable assertion.
21897 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
21899         * bits/byteswap.h: Include <features.h>.
21900         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21901         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21903 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
21905         * bits/byteswap.h (__bswap_16): Removed.
21906         Include <bits/byteswap-16.h> to get __bswap_16.
21907         * sysdeps/i386/bits/byteswap.h: Likewise.
21908         * sysdeps/s390/bits/byteswap.h: Likewise.
21909         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21910         * bits/byteswap-16.h: New file.
21911         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21912         * sysdeps/s390/bits/byteswap-16.h: Likewise.
21913         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21914         * string/Makefile (headers): Add bits/byteswap-16.h.
21916 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21918         [BZ #13895]
21919         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21920         extra indirection.
21921         * nss/Makefile (tests-static, tests): Add tst-nss-static.
21922         * nss/tst-nss-static.c: New.
21924 2012-04-06  Robert Millan  <rmh@gnu.org>
21926         [BZ #6486]
21927         * manual/llio.texi (File Position Primitive): lseek
21928         refers to WHENCE when it really means OFFSET.
21930 2012-04-06  Andreas Jaeger  <aj@suse.de>
21932         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21933         strncmp declarations.
21935         * abilist/libc.abilist: Add __poll and __ppoll.
21937 2012-04-05  David S. Miller  <davem@davemloft.net>
21939         * scripts/check-local-headers.sh: Accept a host triplet in the
21940         path matched by the exclude regexp.
21942         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21943         definition.
21944         * sysdeps/powerpc/powerpc32/dl-machine.h
21945         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21946         * sysdeps/s390/s390-32/dl-machine.h
21947         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21948         * sysdeps/sparc/sparc32/dl-machine.h
21949         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21950         * sysdeps/sparc/sparc64/dl-machine.h
21951         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21953         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21954         lazy binding.
21955         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21956         undefined symbol errors.
21958         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21959         DT_NEEDED entries.
21961 2012-04-05  Michael Matz  <matz@suse.de>
21963         [BZ #13592]
21964         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21966 2012-04-05  Andreas Jaeger  <aj@suse.de>
21968         [BZ #13908]
21969         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21970         comment.
21972 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21974         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21975         which ROUND is no valid rounding mode.
21977 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21979         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21980         read again.
21981         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21983 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21985         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21986         an exception using FPU order intentionally.
21988 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21990         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21991         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21992         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21993         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21995 2012-04-05  Simon Josefsson  <simon@josefsson.org>
21997         [BZ #12340]
21998         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21999         EINVAL when BUFLEN is too smal.
22001 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22003         [BZ #13553]
22004         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22005         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22007 2012-04-03  Andreas Jaeger  <aj@suse.de>
22009         [BZ #13938]
22010         * manual/setjmp.texi (System V contexts): Fix sentence.
22012         [BZ #13926]
22013         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22014         New macro for this case.
22015         [!__GNUC__] (__bswap_64): New inline function for this case.
22016         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22017         * bits/byteswap.h: Likewise.
22018         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22019         ull, guard with __GLIBC_HAVE_LONG_LONG.
22021         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22022         __GLIBC_HAVE_LONG_LONG.
22024         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22025         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22027 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22029         [BZ #13691]
22030         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22031         inptr and inend, rather than using last_ch.
22033 2012-04-02  David S. Miller  <davem@davemloft.net>
22035         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22036         * stdio-common/printf-parse.h (read_int): Change return type to
22037         'int', return -1 on INT_MAX overflow.
22038         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22039         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22040         overflows INT_MAX.  Check for overflow of in-format-string precision
22041         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22042         SIZE_MAX not INT_MAX for integer overflow test.
22043         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22044         skip the construct in the format string but do not record anything.
22045         * stdio-common/bug22.c: Adjust to test both width/prevision
22046         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22047         explicitly for proper errno values.
22049 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22051         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22052         CHAR_MAX.
22053         * string/test-strcmp.c [! WIDE]: Likewise.
22054         * time/tst-mktime2.c: Likewise for INT_MAX.
22055         * string/test-string.h: #include <sys/param.h> for MIN.
22057         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22058         * sysdeps/i386/init-first.c (init): Likewise.
22059         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22060         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22061         * sysdeps/sh/init-first.c (init): Likewise.
22063 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22065         * po/ru.po: Update from translation team.
22066         * po/vi.po: Likewise.
22068 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22070         * resolv/nss_dns/dns-host.c: Merge copyright years.
22072 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22074         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22075         Optimize memcpy with prefetch if
22076         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22077         src, dst pointers have unequal 16 byte alignments.
22079 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22081         [BZ #13928]
22082         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22083         from a CNAME entry and return the minimum ttl for the query.
22084         (gaih_getanswer_slice): Likewise.
22086 2012-03-30  Jeff Law  <law@redhat.com>
22088         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22089         due to long keys.
22090         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22091         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22093         * resolv/nss_dns/dns-host.c: Update copyright year.
22095 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22097         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22098         requests to save a system call.  Fix check that all bytes are sent.
22100         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22101         comments for sendmmsg.
22103 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22105         [BZ #13691]
22106         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22107         with only 1 character between 0x0041 and 0x01b0.
22108         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22109         * wcsmbs/tst-mbsnrtowcs.c: New file.
22111 2012-03-29  David S. Miller  <davem@davemloft.net>
22113         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22114         small copies by hand.
22116 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22118         [BZ #13761]
22119         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22120         _nss_compat_initgroups_dyn): Fall back to malloc/free
22121         for large group memberships.
22123 2012-03-28  David S. Miller  <davem@davemloft.net>
22125         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22126         that branches into memcpy.
22127         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22129         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22130         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22131         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22132         bits.
22133         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22134         implementation too.
22135         * sysdeps/sparc/mempcpy.S: New file.
22137         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22138         the IFUNC routine in the libc case.
22139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22141         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22142         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22143         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22144         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22145         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22146         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22147         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22148         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22150         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22151         loop to 256 bytes instead of 64 bytes and fix test signedness.
22153         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22154         * sysdeps/sparc/sparc32/Makefile: rather than here...
22155         * sysdeps/sparc/sparc64/Makefile: and here.
22157 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
22159         * malloc/mallocbug.c: Avoid warnings about unused variables.
22161 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22163         [BZ #13760]
22164         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22165         in the right place. Discard and retry query if response is
22166         larger than input buffer size.
22168 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
22170         [BZ #369]
22171         [BZ #2678]
22172         [BZ #3866]
22173         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22174         x for large integer exponent.
22175         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22176         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
22177         sign of result as needed afterwards.
22178         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22179         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22180         result for underflowing pow the same as for overflow.
22181         (__kernel_standard_l): Handle powl overflow and underflow here
22182         rather than calling __kernel_standard.
22183         * math/libm-test.inc (pow_test): Add more tests.
22185         [BZ #3868]
22186         [BZ #13879]
22187         [BZ #13910]
22188         [BZ #13911]
22189         [BZ #13912]
22190         [BZ #13913]
22191         [BZ #13915]
22192         [BZ #13916]
22193         [BZ #13917]
22194         [BZ #13918]
22195         [BZ #13919]
22196         [BZ #13920]
22197         [BZ #13921]
22198         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22199         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22200         (__kernel_standard_l): New function.
22201         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22202         __kernel_standard.
22203         * math/w_acosl.c (__acosl): Likewise.
22204         * math/w_asinl.c (__asinl): Likewise.
22205         * math/w_atan2l.c (__atan2l): Likewise.
22206         * math/w_atanhl.c (__atanhl): Likewise.
22207         * math/w_coshl.c (__coshl): Likewise.
22208         * math/w_exp10l.c (__exp10l): Likewise.
22209         * math/w_exp2l.c (__exp2l): Likewise.
22210         * math/w_fmodl.c (__fmodl): Likewise.
22211         * math/w_hypotl.c (__hypotl): Likewise.
22212         * math/w_j0l.c (__j0l, __y0l): Likewise.
22213         * math/w_j1l.c (__j1l, __y1l): Likewise.
22214         * math/w_jnl.c (__jnl, __ynl): Likewise.
22215         * math/w_lgammal.c (__lgammal): Likewise.
22216         * math/w_log10l.c (__log10l): Likewise.
22217         * math/w_log2l.c (__log2l): Likewise.
22218         * math/w_logl.c (__logl): Likewise.
22219         * math/w_powl.c (__powl): Likewise.
22220         * math/w_remainderl.c (__remainderl): Likewise.
22221         * math/w_scalbl.c (sysv_scalbl): Likewise.
22222         * math/w_sinhl.c (__sinhl): Likewise.
22223         * math/w_sqrtl.c (__sqrtl): Likewise.
22224         * math/w_tgammal.c (__tgammal): Likewise.
22225         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22226         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22227         * math/libm-test.inc (acos_test): Add more tests.
22228         (acosh_test): Likewise.
22229         (asin_test): Likewise.
22230         (atanh_test): Likewise.
22231         (exp_test): Likewise.
22232         (exp10_test): Likewise.
22233         (exp2_test): Likewise.
22234         (expm1_test): Likewise.
22235         (lgamma_test): Likewise.
22236         (log_test): Likewise.
22237         (log10_test): Likewise.
22238         (log1p_test): Likewise.
22239         (log2_test): Likewise.
22240         (pow_test): Do not allow some spurious overflow exceptions.
22241         (sqrt_test): Add more tests.
22242         (tgamma_test): Likewise.
22243         (y0_test): Likewise.
22244         (y1_test): Likewise.
22245         (yn_test): Likewise.
22247 2012-03-27  Anton Blanchard  <anton@samba.org>
22249         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22250         MAP_HUGETLB.
22251         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22252         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22253         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22255 2012-03-27  David S. Miller  <davem@davemloft.net>
22257         * conform/Makefile: Run run-conformtest.sh using $(BASH).
22259         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22260         have-as-vis3 check.
22262 2012-03-27  Andreas Jaeger  <aj@suse.de>
22264         * sysdeps/x86_64/elf/configure.in: Moved to ...
22265         * sysdeps/x86_64/configure.in: ... here.
22266         * sysdeps/x86_64/elf/start.S: Moved to ...
22267         * sysdeps/x86_64/start.S: ... here.
22268         * sysdeps/x86_64/elf/configure: Delete.
22270         * sysdeps/x86_64/configure.in: Merge contents from
22271         sysdeps/i386/configure.in (without i686 check).
22273         * sysdeps/i386/elf/Versions: Merge into ...
22274         * sysdeps/i386/Versions: ... this.
22275         * sysdeps/i386/elf/Versions: Delete file.
22276         * sysdeps/i386/elf/start.S: Moved to ...
22277         * sysdeps/i386/start.S: ...here.
22278         * sysdeps/i386/elf/configure.in: Merge into...
22279         * sysdeps/i386/configure.in: ...here.
22280         * sysdeps/i386/elf/configure.in: Delete file.
22281         * sysdeps/i386/elf/configure: Delete file.
22283         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22284         * debug/backtracesyms.c: ... here.
22285         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22286         * debug/backtracesymsfd.c: ... here.
22287         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22288         * sysdeps/generic/ifunc-sel.h: ... here.
22290         * sysdeps/unix/i386/start.c: Delete file.
22291         * sysdeps/unix/sparc/start.c: Delete file.
22292         * sysdeps/unix/start.c: Delete file.
22294         * sysdeps/sh/elf/configure.in: Moved to ...
22295         * sysdeps/sh/configure.in: ... here.
22296         * sysdeps/sh/elf/start.S: Moved to ...
22297         * sysdeps/sh/start.S: ... here.
22298         * sysdeps/sh/elf/configure: Delete file.
22300         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22301         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22302         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22303         * sysdeps/powerpc/powerpc64/entry.h: ... here.
22304         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22305         * sysdeps/powerpc/powerpc64/start.S: here.
22306         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22307         * sysdeps/powerpc/powerpc64/Makefile: ... this.
22308         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22309         * sysdeps/powerpc/powerpc64/configure.in: ... this.
22310         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22312         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22313         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22314         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22315         * sysdeps/powerpc/powerpc32/start.S: ... here.
22316         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22317         * sysdeps/powerpc/powerpc32/configure.in: ... this.
22318         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22320         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22321         * sysdeps/powerpc/ifunc-sel.h: ... here.
22322         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22323         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22325         * sysdeps/sparc/elf/configure.in: Moved to ...
22326         * sysdeps/sparc/configure.in: ... here.
22327         * sysdeps/sparc/elf/configure: Delete file.
22328         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22329         * sysdeps/sparc/sparc32/start.S: ... here.
22330         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22331         * sysdeps/sparc/sparc64/start.S: ... here.
22332         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22333         * sysdeps/sparc/sparc32/Makefile: ... this.
22334         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22335         * sysdeps/sparc/sparc64/Makefile: ... this.
22337         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22338         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22339         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22340         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22341         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22342         * sysdeps/s390/s390-32/setjmp.S: ... here.
22343         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22344         * sysdeps/s390/s390-32/configure.in: ... here.
22345         * sysdeps/s390/s390-32/elf/configure: Delete file.
22346         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22347         * sysdeps/s390/s390-32/start.S: ... here.
22349         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22350         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22351         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22352         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22353         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22354         * sysdeps/s390/s390-64/setjmp.S: ... here.
22355         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22356         * sysdeps/s390/s390-64/configure.in: ... here
22357         * sysdeps/s390/s390-64/elf/configure: Delete file.
22358         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22359         * sysdeps/s390/s390-64/start.S: ... here.
22360         * sysdeps/s390/s390-64/elf/configure: Delete.
22362         * configure.in: Remove support for elf directories in sysdeps.
22364         * configure: Regenerated.
22365         * sysdeps/i386/configure: Regenerated.
22366         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22367         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22368         * sysdeps/s390/s390-32/configure: Regenerated.
22369         * sysdeps/s390/s390-64/configure: Regenerated.
22370         * sysdeps/sh/configure: Regenerated.
22371         * sysdeps/sparc/configure: Regenerated.
22372         * sysdeps/x86_64/configure: Regenerated.
22374 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
22376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22378         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22379         denormal result into account.
22381 2012-03-25  Roland McGrath  <roland@hack.frob.com>
22383         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22384         Reported by Allan McRae <allan@archlinux.org>.
22386 2012-03-23  Jeff Law  <law@redhat.com>
22388         * nss/getnssent.c (__nss_getent): Fix typo.
22390 2012-03-23  David S. Miller  <davem@davemloft.net>
22392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22394 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
22396         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22397         to pad to uint64_t for each field.
22398         (dl_tls_index): Replace unsigned long with uint64_t.
22400 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
22401         Paul Pluzhnikov  <ppluzhnikov@google.com>
22403         [BZ #6528]
22404         * grp/Makefile (otherlibs): Don't set it.
22405         * inet/Makefile (otherlibs): Likewise.
22406         * login/Makefile (otherlibs): Likewise.
22407         * nscd/Makefile (otherlibs): Likewise.
22408         * posix/Makefile (otherlibs): Likewise.
22409         * pwd/Makefile (otherlibs): Likewise.
22410         * rt/Makefile (otherlibs): Likewise.
22411         * sunrpc/Makefile (otherlibs): Likewise.
22412         * nss/Makefile (otherlibs): Likewise.
22413         Add libnss_files to routines and static-only-routines.
22414         ($(objpfx)getent): Remove rule.
22415         * resolv/Makefile: Add libnss_dns and libresolv to routines and
22416         static-only-routines.
22418 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22420         [BZ #13892]
22421         * math/s_cexp.c: Include <float.h>.
22422         (__cexp): Handle exp result overflowing not necessarily
22423         overflowing both real and imaginary parts of result.
22424         * math/s_cexpf.c: Likewise.
22425         * math/s_cexpl.c: Likewise.
22426         * math/libm-test.inc (cexp_test): Add more tests.
22427         * sysdeps/i386/fpu/libm-test-ulps: Update.
22428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22430 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22432         * include/link.h (ELFW): New macro.
22433         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22434         Replace ELF64_R_TYPE with ELFW(R_TYPE).
22436 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22438         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22439         with uint64_t.
22441 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22443         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22444         declaration.
22445         (struct La_x32_retval): Likewise.
22447 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22449         * sysdeps/x86_64/preconfigure.in: New file.
22450         * sysdeps/x86_64/preconfigure: New generated file.
22452 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22454         [BZ #13824]
22455         * math/e_exp2l.c: Include <float.h>.
22456         (__ieee754_exp2l): Handle overflow and underflow cases
22457         separately.  Only pass fractional part of argument to
22458         __ieee754_expl.
22459         * math/libm-test.inc (exp2_test): Add more tests.
22461         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22462         negating x to take absolute value.
22463         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22464         Likewise.
22465         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22466         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22467         Likewise.
22468         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22469         computing low part if x was negated.
22470         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22472 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22474         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22475         la_x32_gnu_pltexit.
22476         (pltexit): Cast int_retval to ptrdiff_t.
22477         * elf/tst-auditmod3b.c: Likewise.
22478         * elf/tst-auditmod4b.c: Likewise.
22479         * elf/tst-auditmod5b.c: Likewise.
22480         * elf/tst-auditmod6b.c: Likewise.
22481         * elf/tst-auditmod6c.c: Likewise.
22482         * elf/tst-auditmod7b.c: Likewise.
22484         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22485         and x32_gnu_pltexit.
22487         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22488         __ELF_NATIVE_CLASS.
22489         (La_x32_regs): New macro.
22490         (La_x32_retval): Likewise.
22491         (la_x32_gnu_pltenter): New function prototype.
22492         (la_x32_gnu_pltexit): Likewise.
22494 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
22496         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22497         exponent.
22499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22501         * configure.in (libc_cv_cc_nofma): Check for option to disable
22502         generation of FMA instructions.
22503         * configure: Regenerate.
22504         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22505         * sysdeps/ieee754/dbl-64/Makefile: New file.
22506         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22507         Remove brandred-fma4.
22508         (CFLAGS-brandred-fma4.c): Remove.
22509         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22510         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22511         define.
22512         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22513         define.
22515 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22517         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22518         LLONG_MAX != LONG_MAX.
22519         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22520         (_fitoa_word): Likewise.
22521         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22522         LLONG_MAX != LONG_MAX.
22523         * stdio-common/_itowa.h: Include <_itoa.h>.
22524         (_itowa_word): Use _ITOA_WORD_TYPE on value.
22525         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
22526         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
22527         only if not defined.
22528         (_ITOA_WORD_TYPE): Likewise.
22529         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22530         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22532 2012-03-21  David S. Miller  <davem@davemloft.net>
22534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22536 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22538         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22539         of x86_64 when setting libc_cv_slibdir, libdir and
22540         libc_cv_localedir.
22541         * sysdeps/unix/sysv/linux/configure: Regenerated.
22543 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22545         * manual/lang.texi (Old Varargs): Remove section.
22546         (How Variadic): Update menu.
22547         (va_start): Do not mention varargs.h.
22549 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22550             Joseph Myers  <joseph@codesourcery.com>
22552         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22553         link test.
22554         * configure: Regenerated.
22556 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22558         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22559         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22560         conformtest.pl
22562 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22564         * NOTES: Remove.
22565         * Makefile (files-for-dist): Remove NOTES.
22566         (NOTES): Remove rule.
22567         * README: Don't refer to NOTES.
22568         * manual/creature.texi: Don't include macros.texi.
22569         * manual/intro.texi (creature.texi): Remove comment referring to
22570         NOTES.
22572         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22573         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22574         * configure: Regenerated.
22575         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22576         LIBC_TRY_CC_OPTION.
22577         (libc_cv_as_i686): Likewise.
22578         (libc_cv_cc_avx): Likewise.
22579         (libc_cv_cc_sse2avx): Likewise.
22580         (libc_cv_cc_fma4): Likewise.
22581         (libc_cv_cc_novzeroupper): Likewise.
22582         * sysdeps/i386/configure: Regenerated.
22584         [BZ #13883]
22585         * sysdeps/i386/fpu/s_cexp.S: Remove.
22586         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22587         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22588         * math/libm-test.inc (cexp_test): Add more tests.
22589         * sysdeps/i386/fpu/libm-test-ulps: Update.
22590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22592 2012-03-21  Allan McRae  <allan@archlinux.org>
22594         * timezone/Makefile: Do not install iso3166.tab and zone.tab
22596 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22598         [BZ #13871]
22599         * math/w_exp2.c: Do not include <float.h>.
22600         (o_threshold, u_threshold): Remove.
22601         (__exp2): Calculate result before checking finiteness and calling
22602         __kernel_standard.
22603         * math/w_exp2f.c: Likewise.
22604         * math/w_exp2l.c: Likewise.
22605         * math/libm-test.inc (exp2_test): Require overflow exception for
22606         1e6 input.
22608         [BZ #3866]
22609         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22610         range of signed 64-bit integers before using fistpll.  Remove
22611         checks for whether integers fit in mantissa bits.
22612         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22613         the range of signed 32-bit integers before using fistpl.  Remove
22614         checks for whether integers fit in mantissa bits.
22615         * sysdeps/i386/fpu/e_powl.S (p64): New object.
22616         (__ieee754_powl): Test for y outside the range of signed 64-bit
22617         integers before using fistpll.  Reduce 64-bit values to 63-bit
22618         ones as needed.
22619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22620         divide-by-zero is raised for zero to large negative powers.
22621         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22622         (__ieee754_powl): Test for y outside the range of signed 64-bit
22623         integers before using fistpll.  Reduce 64-bit values to 63-bit
22624         ones as needed.
22625         * math/libm-test.inc (pow_test): Add more tests.
22627 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22629         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22630         <stdio-common/_itoa.h>.
22631         * debug/segfault.c: Likewise.
22632         * elf/dl-cache.c: Likewise.
22633         * elf/dl-minimal.c: Likewise.
22634         * elf/dl-misc.c: Likewise.
22635         * elf/dl-sysdep.c: Likewise.
22636         * elf/dl-version.c: Likewise.
22637         * elf/rtld.c: Likewise.
22638         * hurd/hurdsock.c: Likewise.
22639         * hurd/lookup-retry.c: Likewise.
22640         * malloc/malloc.c: Likewise.
22641         * malloc/mtrace.c: Likewise.
22642         * nscd/nscd_getgr_r.c: Likewise.
22643         * nscd/nscd_getpw_r.c: Likewise.
22644         * nscd/nscd_getserv_r.c: Likewise.
22645         * posix/getopt_init.c: Likewise.
22646         * posix/wordexp.c: Likewise.
22647         * stdio-common/_itoa.c: Likewise.
22648         * stdio-common/printf_fphex.c: Likewise.
22649         * stdio-common/vfprintf.c: Likewise.
22650         * string/_strerror.c: Likewise.
22651         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22652         * sysdeps/i386/i686/hp-timing.h: Likewise.
22653         * sysdeps/mach/_strerror.c: Likewise.
22654         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22655         * sysdeps/mach/hurd/sethostid.c: Likewise.
22656         * sysdeps/mach/hurd/xmknodat.c: Likewise.
22657         * sysdeps/mach/xpg-strerror.c: Likewise.
22658         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22659         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22660         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22661         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22662         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22663         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22664         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22665         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22666         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22667         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22668         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22669         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22670         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22671         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22672         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22673         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22674         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22675         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22676         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22677         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22678         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22680         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22682         * stdio-common/_itoa.h: Moved to ...
22683         * sysdeps/generic/_itoa.h: Here.
22685         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22687         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22688         instead of "_itoa.h" and "_itowa.h".
22689         * stdio-common/vfprintf.: Likewise.
22691 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22693         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22694         <bits/wordsize.h>.
22695         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22696         (__signbit): Likwise.
22697         (llrintf): Likwise.
22698         (llrint): Likwise.
22700 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22702         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22703         __WORDSIZE != 64.
22705 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
22707         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22708         OVERFLOW_EXCEPTION_OK.
22709         * math/libm-test.inc ("Philosophy"): Update comment about
22710         exception testing.
22711         (OVERFLOW_EXCEPTION): Define.
22712         (OVERFLOW_EXCEPTION_OK): Likewise.
22713         (INVALID_EXCEPTION_OK): Renumber.
22714         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22715         (IGNORE_ZERO_INF_SIGN): Likewise.
22716         (test_exceptions): Handle FE_OVERFLOW.
22717         (exp10_test): Expect overflow exceptions.
22718         (exp2_test): Likewise.
22719         (expm1_test): Likewise.
22720         (nextafter_test): Likewise.
22721         (pow_test): Likewise.
22722         (scalbn_test): Likewise.
22723         (scalbln_test): Likewise.
22725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22727         * sysdeps/x86_64/bits/atomic.h
22728         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22729         64bit integer.
22730         (atomic_exchange_acq): Likewise.
22731         (__arch_exchange_and_add_body): Likewise.
22732         (__arch_add_body): Likewise.
22733         (atomic_add_negative): Likewise.
22734         (atomic_add_zero): Likewise.
22736 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22738         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22739         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22741 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22743         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22744         Check __x86_64__ instead of __WORDSIZE.
22746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22748         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22750 2012-03-19  David S. Miller  <davem@davemloft.net>
22752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22754         * sysdeps/sparc/fpu/fenv_private.h: New file.
22755         * sysdeps/sparc/fpu/math_private.h: Use it.
22756         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22757         Remove.
22758         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22759         (libc_feholdexcept_setroundl): Remove.
22760         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22761         Remove.
22762         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22763         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22767         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22768         int64_t instead of long int.
22769         (INSERT_WORDS64): Likwise.
22771 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22773         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22774         _Unwind_GetCFA return to _Unwind_Ptr first.
22776 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
22778         [BZ #13629]
22779         * math/s_clog.c: Include <float.h>.
22780         (__clog): Scale large or subnormal inputs.
22781         * math/s_clogf.c: Likewise.
22782         * math/s_clogl.c: Likewise.
22783         * math/s_clog10.c: Include <float.h>.
22784         (M_LOG10_2): Define.
22785         (__clog10): Scale large or subnormal inputs.
22786         * math/s_clog10f.c: Likewise.
22787         * math/s_clog10l.c: Likewise.
22788         * math/libm-test.inc (clog_test): Add more tests.
22789         (clog10_test): Likewise.
22790         * sysdeps/i386/fpu/libm-test-ulps: Update.
22791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22793         [BZ #11451]
22794         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22795         x and y.
22796         * math/libm-test.inc (atan2_test): Add another test.
22798         * Makerules (common-objdir-compile): Remove.
22799         * sysdeps/unix/Makefile (config-generated): Do not add
22800         $(unix-generated) to variable.
22801         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22802         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22803         Remove rule.
22804         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22805         Likewise.
22806         [generic bits/local_lim.h] (before-compile): Do not append to
22807         variable.
22808         [generic bits/local_lim.h] (common-generated): Likewise.
22809         [generic sys/param.h] (before-compile): Do not append to variable.
22810         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22811         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22812         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22813         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22814         include.
22815         [generic sys/param.h] (sys/param.h-includes): Remove variable.
22816         [generic sys/param.h] (sys/param.h-includes): Remove rule.
22817         [generic sys/param.h] ($(addprefix
22818         $(common-objpfx),$(sys/param.h-includes))): Likewise.
22819         [generic sys/param.h] (common-generated): Do not append to
22820         variable.
22821         [generic sys/param.h] (sysdep_headers): Likewise.
22822         [generic bits/errno.h] (before-compile): Do not append to
22823         variable.
22824         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22825         rule.
22826         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22827         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22828         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22829         [generic bits/errno.h] (common-generated): Do not append to
22830         variable.
22831         [generic bits/ioctls.h] (before-compile): Do not append to
22832         variable.
22833         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22834         rule.
22835         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22836         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22837         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22838         rule.
22839         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22840         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22841         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22842         [generic bits/ioctls.h] (common-generated): Do not append to
22843         variable.
22844         [generic sys/syscall.h] (syscall.h): Remove variable.
22845         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22846         rule.
22847         [generic sys/syscall.h] (before-compile): Do not append to
22848         variable.
22849         [generic sys/syscall.h] (common-generated): Likewise.
22850         * sysdeps/unix/errnos-tmpl.c: Remove file.
22851         * sysdeps/unix/errnos.awk: Likewise.
22852         * sysdeps/unix/ioctls-tmpl.c: Likewise.
22853         * sysdeps/unix/ioctls.awk: Likewise.
22854         * sysdeps/unix/mk-local_lim.c: Likewise.
22855         * sysdeps/unix/snarf-ioctls: Likewise.
22857 2012-03-19  Richard Henderson  <rth@twiddle.net>
22859         * sysdeps/i386/fpu/fenv_private.h: New file.
22860         * sysdeps/i386/fpu/math_private.h: Use it.
22861         (math_opt_barrier, math_force_eval): Remove.
22862         (libc_feholdexcept_setround_53bit): Remove.
22863         (libc_feupdateenv_53bit): Remove.
22864         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22865         (math_opt_barrier, math_force_eval): Remove.
22866         (libc_feholdexcept): Remove.
22867         (libc_feholdexcept_setround): Remove.
22868         (libc_fetestexcept, libc_fesetenv): Remove.
22869         (libc_feupdateenv_test): Remove.
22870         (libc_feupdateenv, libc_feholdsetround): Remove.
22871         (libc_feresetround): Remove.
22873         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22874         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22876         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22877         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22878         (libc_feupdateenv_testl): New.
22879         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22880         (libc_feupdateenv_testf): New.
22881         (libc_feupdateenv): Use libc_feupdateenv_test.
22882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22883         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22885         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22886         (libc_feholdsetroundf, libc_feholdsetroundl): New.
22887         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22888         (libc_feresetround_noex): New.
22889         (libc_feresetround_noexf): New.
22890         (libc_feresetround_noexl): New.
22891         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22892         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22893         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22894         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22895         SET_RESTORE_ROUND.
22896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22898         (__cos): Likewise.
22899         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22900         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22901         SET_RESTORE_ROUND_NOEX.
22902         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22903         SET_RESTORE_ROUND_NOEXF.
22904         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22905         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22906         (libc_feholdsetroundf): New.
22907         (libc_feresetround, libc_feresetroundf): New.
22909         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22910         (libc_feholdexcept_setround_53bit): Convert from macro to function.
22911         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
22913         * sysdeps/generic/math_private.h: Include <fenv.h>.
22914         (default_libc_feholdexcept): New.
22915         (default_libc_feholdexcept_setround): New.
22916         (default_libc_fesetenv, default_libc_feupdateenv): New.
22917         (libc_feholdexcept): Only define if undefined.
22918         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22919         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22920         (libc_feholdexcept_setroundl): Likewise.
22921         (libc_feholdexcept_setround_53bit): Likewise.
22922         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22923         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22924         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22925         (libc_feupdateenv_53bit): Likewise.
22926         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22927         (libc_feholdexcept): Convert from macro to inline function.
22928         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22929         (libc_fesetenv, libc_feupdateenv): Likewise.
22931         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22932         not previously defined.
22933         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22934         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22935         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22936         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22937         * sysdeps/ieee754/flt-32/math_private.h: New file.
22938         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22939         math_private.h below SET_FLOAT_WORD.
22940         (__isnan, __isinf_ns, __finite): Remove.
22941         (__isnanf, __isinf_nsf, __finitef): Remove.
22943 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
22945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22947 2012-03-17  David S. Miller  <davem@davemloft.net>
22949         [BZ #6471]
22950         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22951         for 2.16.
22953 2012-03-16  David S. Miller  <davem@davemloft.net>
22955         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22956         warnings.
22958         [BZ #6471]
22959         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22960         properly.
22961         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22962         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22963         sysdep_routines when subdir is sysvipc.
22964         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22965         __getshmlba helper.
22967         * sysdeps/sparc/fpu/libm-test/ulps: Update.
22969 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22971         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22972         [__LP64__].
22974 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22976         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22977         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22978         (__lround): Renamed to ...
22979         (__llround): This.  Replace long int with long long int.
22980         Define lround functions as aliases of llround functions.
22981         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22983 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22985         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22986         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
22987         adresses to uintptr_t.  Replace "long int" and "unsigned long
22988         int" with "greg_t" on va_arg.
22990 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22992         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22993         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22995         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22996         Move e_machine check before EI_CLASS check.  Handle x32
22997         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22998         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22999         SKIP_EM_IA_64 and include
23000         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23002         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23003         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23004         (add_system_dir): New macro.
23006         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23007         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23009 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23011         [BZ #2551]
23012         [BZ #2552]
23013         [BZ #2553]
23014         [BZ #2554]
23015         [BZ #2562]
23016         [BZ #2563]
23017         [BZ #2565]
23018         [BZ #2566]
23019         [BZ #2576]
23020         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23021         (y0): Likewise.
23022         * math/w_j0f.c (j0f): Likewise.
23023         (y0f): Likewise.
23024         * math/w_j0l.c (__j0l): Likewise.
23025         (__y0l): Likewise.
23026         * math/w_j1.c (j1): Likewise.
23027         (y1): Likewise.
23028         * math/w_j1f.c (j1f): Likewise.
23029         (y1f): Likewise.
23030         * math/w_j1l.c (__j1l): Likewise.
23031         (__y1l): Likewise.
23032         * math/w_jn.c (jn): Likewise.
23033         (yn): Likewise.
23034         * math/w_jnf.c (jnf): Likewise.
23035         (ynf): Likewise.
23036         * math/w_jnl.c (__jnl): Likewise.
23037         (__ynl): Likewise.
23038         * math/libm-test.inc (j0_test): Add more tests.
23039         (j1_test): Likewise.
23040         (jn_test): Likewise.  Add trailing semicolon to existing test.
23041         (y0_test): Likewise.
23042         (y1_test): Likewise.
23043         * sysdeps/i386/fpu/libm-test-ulps: Update.
23044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23046         [BZ #13851]
23047         [BZ #13854]
23048         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23049         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23050         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23051         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23052         (__tanl): Set errno for infinite argument.
23053         * sysdeps/i386/fpu/mptan.c: Remove.
23054         * sysdeps/i386/fpu/s_tan.S: Likewise.
23055         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23056         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23057         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23058         * math/libm-test.inc (tan_test): Add more tests and enable more
23059         tests for double and long double.
23060         * sysdeps/i386/fpu/libm-test-ulps: Update.
23061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23063 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23065         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23066         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23068 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23070         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23071         * configure.in: Use it for both main tree and add-ons.
23072         * configure: Regenerated.
23074 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23076         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23078 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23080         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23081         in comment.
23083         [BZ #13851]
23084         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23085         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23086         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23087         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23088         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23089         infinite argument.
23090         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23092         != 0 for prec == 2.
23093         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23094         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23095         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23096         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23097         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23098         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23099         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23100         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23101         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23102         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23103         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23104         * math/libm-test.inc (cos_test): Add more tests and enable more
23105         tests for long double.
23106         (sin_test): Likewise.
23107         (sincos_test): Likewise.
23108         * sysdeps/i386/fpu/libm-test-ulps: Update.
23109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23111 2012-03-16  David S. Miller  <davem@davemloft.net>
23113         * sysdeps/sparc/fpu/math_private.h: New file.
23115 2012-03-15  David S. Miller  <davem@davemloft.net>
23117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23118         file.
23119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23121         file.
23122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23128         sysdep routines.
23129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23131         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23132         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23134         * sysdeps/sparc/sparc-ifunc.h: New file.
23135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23136         sparc-ifunc.h
23137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23139         Likewise.
23140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23141         Likewise.
23142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23146         Likewise.
23147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23152         Likewise.
23153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23154         Likewise.
23155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23161         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23162         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23167         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23173         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23174         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23175         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23176         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23177         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23178         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23180 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23182         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23183         scaling.
23184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23186 2012-03-15  Andreas Jaeger  <aj@suse.de>
23188         [BZ #13852]
23189         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23190         ieee754/flt-32 implementation for sin, cos and sincos.
23191         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23192         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23193         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23194         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23195         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23196         ieee754/flt-32 implementation for tan.
23198         * math/libm-test.inc (cos_test): Enable some large input tests for
23199         float as well
23200         (sin_test): Likewise.
23201         (sincos_test): Likewise.
23202         (tan_test): Add tests for large input.
23204         * sysdeps/i386/fpu/libm-test-ulps: Update.
23206 2012-03-15  Andreas Jaeger  <aj@suse.de>
23208         [BZ #13658]
23209         * math/libm-test.inc (cos_test): Add more test cases.
23210         (sin_test): Likewise.
23211         (sincos_test): Likewise.
23213 2012-03-15  Andreas Jaeger  <aj@suse.de>
23215         [BZ #13837]
23216         * math/libm-test.inc (cos_test): Add a test case for large input
23217         value.
23218         (sin_test): Likewise.
23219         (sincos_test): Likewise.
23221 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23222         Joseph Myers  <joseph@codesourcery.com>
23224         [BZ #13658]
23225         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23226         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23227         * sysdeps/i386/fpu/branred.c: Likewise.
23228         * sysdeps/i386/fpu/dosincos.c: Likewise.
23229         * sysdeps/i386/fpu/mpa.c: Likewise.
23230         * sysdeps/i386/fpu/s_cos.S: Likewise.
23231         * sysdeps/i386/fpu/s_sin.S: Likewise.
23232         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23233         * sysdeps/i386/fpu/sincos32.c: Likewise.
23235         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23236         Define.
23237         (libc_feupdateenv_53bit): Define.
23238         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23239         Define.
23240         (libc_feupdateenv_53bit): Define.
23242         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23243         53 bit (without extend i386 double precision).
23245         * math/libm-test.inc (sincos_test): Add tests for large input.
23246         (sin): Likewise.
23247         (cos): Likewise.
23249         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23251 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23255 2012-03-15  David S. Miller  <davem@davemloft.net>
23257         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23258         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23259         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23260         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23273         file.
23274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23276         file.
23277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23279         file.
23280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23282         file.
23283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23284         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23285         fmin/fmax sysdep routines.
23286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23288 2012-03-14  David S. Miller  <davem@davemloft.net>
23290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23294         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23295         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23296         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23297         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23302         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23303         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23304         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23310         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23311         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23314         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23315         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23316         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23319         routines.
23320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23321         file.
23322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23324         file.
23325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23327         file.
23328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23330         file.
23331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23333         file.
23334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23336         file.
23337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23338         file.
23339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23340         file.
23341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23342         file.
23343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23344         New file.
23345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23346         file.
23347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23348         file.
23349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23351         file.
23352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23354         file.
23355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23357         file.
23358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23360         VIS3 routines.
23362         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23363         New file.
23365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23367         * sysdeps/sparc/configure.in: New file.
23368         * sysdeps/sparc/configure: Generate.
23369         * configure.in (libc_cv_sparc_as_vis3): Substitute.
23370         * configure: Regenerate.
23371         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23372         * config.make.in (have-as-vis3): New.
23373         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23374         available use -Av9d instead of -Av9a.
23375         * sysdeps/sparc/sparc64/Makefile: Likewise.
23376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23378         New file.
23379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23380         file.
23381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23382         New file.
23383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23384         file.
23385         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23386         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23391         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23392         fzeros/fnegs to load 0x80000000 into a float register instead of
23393         using the stack.
23394         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23396 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23399         bits/syscall.h.
23400         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23401         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23402         ($(inst_includedir)/bits/syscall.h): Remove rule.
23403         ($(objpfx)bits/syscall.d): Include instead of
23404         $(objpfx)syscall-list.d.
23405         (generated): Change syscall-list.h and syscall-list.d to
23406         bits/syscall.h and bits/syscall.d.
23408 2012-03-14  Roland McGrath  <roland@hack.frob.com>
23410         [BZ #13846]
23411         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23413 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23415         [BZ #13841]
23416         * math/s_csqrt.c: Include <float.h>.
23417         (__csqrt): Scale large or subnormal inputs.
23418         * math/s_csqrtf.c: Likewise.
23419         * math/s_csqrtl.c: Likewise.
23420         * math/libm-test.inc (csqrt_test): Add more tests.
23421         * sysdeps/i386/fpu/libm-test-ulps: Update.
23422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23424         [BZ #13840]
23425         * math/libm-test.inc (hypot_test): Add more tests.
23427 2012-03-13  David S. Miller  <davem@davemloft.net>
23429         [BZ #13840]
23430         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23431         double-precision for the calculation instead of scaling.
23433 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
23435         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23436         manipulate bits before adding and subtracting TWO52[sx].
23437         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23438         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23439         Likewise.
23440         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23442 2012-03-13  David S. Miller  <davem@davemloft.net>
23444         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23445         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23447         rtld-global-offsets.h
23448         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23450         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23451         large parameters.
23453         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23455         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23456         'err' in the ifdef scope in which it is actually used.
23458         * nss/nss_db/db-init.c: Include string.h
23460 2012-03-12  David S. Miller  <davem@davemloft.net>
23462         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23463         masking out of the most significant byte of random value used.
23464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23465         Fix coding style in previous change.
23467         * sysdeps/unix/sysv/linux/kernel-features.h
23468         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23469         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23470         expression.
23471         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23472         later.
23474 2012-03-11  David S. Miller  <davem@davemloft.net>
23476         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23477         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23478         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23479         for 'resultvar' otherwise things get truncated on 64-bit.
23481         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23482         Fix masking out of the most significant byte of random value used.
23484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23486 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
23488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23490 2012-03-09  David S. Miller  <davem@davemloft.net>
23492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23493         variables with appropriate CPP guards.
23494         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23495         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
23496         on resulting framesize and the management of the outregs buffer for pltexit.
23497         Preserve floating point return values across _dl_call_pltexit call.
23498         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23499         framesize and the management of the outregs buffer for pltexit.
23500         Preserve floating point return values across _dl_call_pltexit
23501         call.
23502         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23503         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23504         (print_exit): Fix format string for return register value.
23506 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
23508         * sunrpc/Makefile (others): Add rpcgen.
23509         ($(objpfx)rpcgen): Remove special build rule and dependency on
23510         libc.
23511         * sunrpc/rpcgen.c: New file.
23513 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
23515         [BZ #13673]
23516         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23517         * stdio-common/bug-vfprintf-nargs.c: Likewise.
23518         * sysdeps/i386/crti.S: Likewise.
23519         * sysdeps/i386/crtn.S: Likewise.
23520         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23521         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23522         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23523         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23524         * sysdeps/sh/crti.S: Likewise.
23525         * sysdeps/sh/crtn.S: Likewise.
23526         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23528         [BZ #13673]
23529         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23530         with URL.
23531         * locale/programs/locfile-kw.gperf: Likewise.
23532         * locale/programs/charmap-kw.h: Regenerated.
23533         * locale/programs/locfile-kw.h: Likewise.
23535         [BZ #13673]
23536         * intl/plural.y: Replace FSF snail mail address with URL.
23537         * intl/plural.c: Regenerated.
23539 2012-03-09  Richard Henderson  <rth@twiddle.net>
23541         * include/math_private.h: Remove file.
23542         * math/math_private.h: Move file ...
23543         * sysdeps/generic/math_private.h: ... here.
23545         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23546         * sysdeps/powerpc/fpu/math_private.h: Likewise.
23547         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23549         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23550         and <math_private.h>.
23551         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23552         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23553         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23554         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23555         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23556         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23557         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23559         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23560         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23561         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23562         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23563         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23564         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23565         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23566         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23567         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23568         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23569         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23570         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23571         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23572         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23573         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23574         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23575         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23576         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23577         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23578         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23580         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23581         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23582         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23583         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23584         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23585         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23586         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23587         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23588         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23589         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23590         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23591         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23592         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23593         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23594         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23595         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23596         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23597         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23598         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23599         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23600         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23601         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23602         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23603         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23604         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23605         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23606         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23607         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23608         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23609         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23610         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23611         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23612         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23614         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23615         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23616         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23617         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23618         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23619         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23620         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23621         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23622         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23623         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23624         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23625         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23627         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23628         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23629         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23630         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23631         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23632         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23633         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23634         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23635         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23636         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23637         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23638         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23639         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23640         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23641         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23642         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23643         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23644         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23645         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23646         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23647         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23648         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23649         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23650         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23651         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23652         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23653         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23654         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23655         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23656         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23657         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23658         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23659         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23660         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23661         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23662         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23663         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23664         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23665         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23666         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23667         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23668         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23669         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23670         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23671         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23672         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23673         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23674         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23675         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23676         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23677         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23678         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23679         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23680         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23681         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23682         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23683         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23684         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23685         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23686         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23687         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23688         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23689         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23690         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23691         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23692         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23693         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23694         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23695         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23696         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23697         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23698         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23699         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23700         * sysdeps/ieee754/k_standard.c: Likewise.
23701         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23702         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23703         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23704         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23705         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23706         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23707         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23708         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23709         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23710         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23711         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23712         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23713         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23714         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23715         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23716         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23717         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23718         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23719         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23720         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23721         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23722         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23723         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23724         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23725         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23726         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23727         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23728         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23729         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23730         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23731         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23732         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23733         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23734         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23735         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23736         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23737         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23738         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23739         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23740         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23741         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23742         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23743         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23744         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23745         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23746         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23747         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23748         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23749         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23750         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23751         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23752         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23753         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23754         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23757         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23758         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23759         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23760         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23761         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23762         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23763         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23767         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23770         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23771         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23773         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23774         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23775         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23776         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23777         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23778         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23779         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23780         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23781         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23782         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23783         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23784         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23785         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23786         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23787         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23788         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23789         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23790         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23791         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23792         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23793         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23794         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23795         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23796         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23797         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23798         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23799         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23800         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23802         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23803         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23804         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23805         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23806         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23807         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23808         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23809         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23810         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23811         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23812         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23813         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23814         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23815         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23816         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23817         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23818         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23819         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23820         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23821         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23822         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23823         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23824         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23825         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23826         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23827         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23828         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23829         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23830         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23831         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23832         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23833         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23834         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23835         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23836         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23837         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23838         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23839         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23840         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23841         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23842         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23843         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23844         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23845         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23846         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23847         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23848         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23849         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23850         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23851         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23852         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23853         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23854         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23855         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23856         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23857         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23858         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23859         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23860         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23861         * sysdeps/ieee754/s_lib_version.c: Likewise.
23862         * sysdeps/ieee754/s_matherr.c: Likewise.
23863         * sysdeps/ieee754/s_signgam.c: Likewise.
23864         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23865         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23866         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23867         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23868         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23869         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23870         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23871         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23872         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23873         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23874         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23875         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23876         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23877         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23878         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23879         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23880         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23881         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23882         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23883         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23886 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
23888         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23889         * sunrpc/rpc_main.c: Likewise.
23890         * sunrpc/rpc_svcout.c: Likewise.
23892 2012-03-09  David S. Miller  <davem@davemloft.net>
23894         * include/math_private.h: New file.
23896 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
23898         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23899         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23900         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23901         from <bits/socket_type.h>.
23902         (enum __socket_type): Don't define here.
23903         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23905         bits/socket_type.h.
23907         [BZ #13566]
23908         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23909         checking __USE_GNU.
23911         * Makerules ($(inst_includedir)/%.h): New rule.
23912         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23913         (install-others): Remove variable setting.
23914         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23916 2012-03-08  Richard Henderson  <rth@twiddle.net>
23918         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23919         from macro to inline function; merge with the
23920         !__LIBC_INTERNAL_MATH_INLINES version.
23921         (__ieee754_sqrtf): Likewise.
23923         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23924         to inline function.
23925         (__rintf, __floor, __floorf): Likewise.
23927         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23928         macro to inline function.
23929         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23931         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23932         not <math/math_private.h>.
23934 2012-03-08  David S. Miller  <davem@davemloft.net>
23936         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23937         copyright year.
23938         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23940 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
23942         * resolv/gai_misc.c (handle_requests): Fix struct timespec
23943         normalization.
23944         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23945         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23947 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
23949         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
23950         be defined individually, they must be defined as a block.  Define
23951         S for printing a string instead of hidint the different by using a
23952         macro for adding the 'l'.
23953         * stdio-common/tst-fphex-wide.c: Adjust.
23955 2012-03-07  Marek Polacek  <polacek@redhat.com>
23957         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23959 2012-03-08  Marek Polacek  <polacek@redhat.com>
23961         [BZ #13806]
23962         * stdio-common/Makefile (tests): Add tst-fphex-wide.
23963         * stdio-common/tst-fphex.c: Define a few macros to make the
23964         test reusable.  Use them.
23965         * stdio-common/tst-fphex-wide.c: New file.
23967 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
23969         [BZ #6911]
23970         * manual/macros.texi (gnusystems): New macro.
23971         (nongnusystems): Likewise.
23972         (gnulinuxhurdsystems): Likewise.
23973         (gnuhurdsystems): Likewise..
23974         (gnulinuxsystems): Likewise.
23975         * manual/charset.texi: Use new macros or @theglibc{} to refer to
23976         variants of the GNU system, not "GNU system".
23977         * manual/conf.texi: Likewise.
23978         * manual/errno.texi: Likewise.  Update example of errno macro
23979         expansion.
23980         * manual/filesys.texi: Likewise.
23981         (getumask): Document as specific to GNU/Hurd.
23982         * manual/install.texi: Likewise.  Reword some references to
23983         GNU/Linux.
23984         * manual/intro.texi: Likewise.
23985         * manual/io.texi: Likewise.
23986         (File Name Portability): Detail which constraints are inapplicable
23987         to all GNU systems and which are only inapplicable to GNU/Hurd.
23988         * manual/job.texi: Likewise.
23989         * manual/llio.texi: Likewise.
23990         (O_NOCTTY): Document as present on GNU/Linux.
23991         * manual/maint.texi: Likewise.
23992         * manual/memory.texi: Likewise.
23993         * manual/pattern.texi: Likewise.
23994         * manual/pipe.texi: Likewise.
23995         * manual/process.texi: Likewise.
23996         * manual/resource.texi: Likewise.
23997         (RUSAGE_CHILDREN): Remove statement about specifying a particular
23998         child on GNU/Hurd.
23999         * manual/setjmp.texi: Likewise.
24000         * manual/signal.texi: Likewise.
24001         * manual/startup.texi: Likewise.
24002         * manual/stdio.texi: Likewise.
24003         * manual/terminal.texi: Likewise.
24004         (ONLCR): Document as POSIX.
24005         (OXTABS): Document availability on GNU/Linux as XTABS.
24006         (ONOEOT): Document availability separately from other bits.
24007         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24008         * manual/time.texi: Likewise.
24009         * manual/users.texi: Likewise.
24010         * INSTALL: Regenerated.
24011         * sysdeps/gnu/errlist.c: Regenerated.
24013         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24014         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24015         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24016         puts.
24017         * configure: Regenerated.
24019 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24021         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24022         default includes instead of AC_HEADER_CHECK.
24023         * sysdeps/i386/configure: Regenerated.
24025         [BZ #10716]
24026         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24027         * math/s_cacoshf.c (__cacoshf): Likewise.
24028         * math/s_cacoshl.c (__cacoshl): Likewise.
24029         * math/s_casinh.c (__casinh): Set signs of result from argument.
24030         * math/s_casinhf.c (__casinhf): Likewise.
24031         * math/s_casinhl.c (__casinhl): Likewise.
24032         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24033         (casinh_test): Add more tests.
24034         * sysdeps/i386/fpu/libm-test-ulps: Update.
24035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24037 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24039         * po/zh_TW.po: Update from translation team.
24041         * login/Makefile (distribute): Remove variable.
24042         * catgets/Makefile: Likewise.
24043         * mach/Makefile: Likewise.
24044         * malloc/Makefile: Likewise.
24045         * misc/Makefile: Likewise.
24046         * iconv/Makefile: Likewise.
24047         * nscd/Makefile: Likewise.
24048         * hurd/Makefile: Likewise.
24049         * manual/Makefile: Likewise.
24050         * locale/Makefile: Likewise.
24051         * intl/Makefile: Likewise.
24052         * conform/Makefile: Likewise.
24053         * nss/Makefile: Likewise.
24054         * time/Makefile: Likewise.
24055         * soft-fp/Makefile: Likewise.
24056         * dirent/Makefile: Likewise.
24057         * gmon/Makefile: Likewise.
24058         * po/Makefile: Likewise.
24059         * rt/Makefile: Likewise.
24060         * socket/Makefile: Likewise.
24061         * math/Makefile: Likewise.
24062         * signal/Makefile: Likewise.
24063         * debug/Makefile: Likewise.
24064         * elf/Makefile: Likewise.
24065         * timezone/Makefile: Likewise.
24066         * stdlib/Makefile: Likewise.
24067         * iconvdata/Makefile: Likewise.
24068         * sunrpc/Makefile: Likewise.
24069         * io/Makefile: Likewise.
24070         * argp/Makefile: Likewise.
24071         * inet/Makefile: Likewise.
24072         * hesiod/Makefile: Likewise.
24073         * grp/Makefile: Likewise.
24074         * csu/Makefile: Likewise.
24075         * wctype/Makefile: Likewise.
24076         * crypt/Makefile: Likewise.
24077         * libio/Makefile: Likewise.
24078         * string/Makefile: Likewise.
24079         * nis/Makefile: Likewise.
24080         * resolv/Makefile: Likewise.
24081         * stdio-common/Makefile: Likewise.
24082         * wcsmbs/Makefile: Likewise.
24083         * dlfcn/Makefile: Likewise.
24084         * posix/Makefile: Likewise.
24086         [BZ #6959]
24087         * timezone/Makefile: Don't install timezone files, just the programs
24088         and scripts.
24090 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24092         * nss/databases.def: Add missing gshadow entry.
24094         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24096 2012-03-06  Marek Polacek  <polacek@redhat.com>
24098         [BZ #13726]
24099         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24100         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24101         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24102         * stdio-common/tst-long-dbl-fphex.c: New file.
24104 2012-03-06  David S. Miller  <davem@davemloft.net>
24106         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24107         (set_obp_int): New function.
24108         (get_obp_int): New function.
24109         (__get_clockfreq_via_dev_openprom): Likewise.
24110         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24111         Avoid unused variable warnings on 'val' and use builtin_expect.
24112         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24113         __builtin_expect.
24114         (INLINE_CLONE_SYSCALL): Likewise.
24116 2012-03-05  David S. Miller  <davem@davemloft.net>
24118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24120 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24124         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24125         only for |x| >= 40.
24126         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24128 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24131         Replace gettimeofday with __vdso_gettimeofday.
24133         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24134         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24135         __vdso_clock_gettime and __vdso_getcpu.
24137         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24138         time with __vdso_time.
24140 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24142         * manual/lang.texi (size_t): Note types to which size_t may be
24143         equivalent with the GNU C Library, but do not describe when
24144         differences between them are significant.
24146 2012-03-05  Andreas Jaeger  <aj@suse.de>
24148         * sysdeps/i386/fpu/libm-test-ulps: Update.
24150 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24152         [BZ #3976]
24153         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24154         (__ieee754_pow): Save and restore rounding mode and use
24155         round-to-nearest for main computations.
24156         * math/libm-test.inc (pow_test_tonearest): New function.
24157         (pow_test_towardzero): Likewise.
24158         (pow_test_downward): Likewise.
24159         (pow_test_upward): Likewise.
24160         (main): Call the new functions.
24161         * sysdeps/i386/fpu/libm-test-ulps: Update.
24162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24164         [BZ #3976]
24165         * math/libm-test.inc (cosh_test_tonearest): New function.
24166         (cosh_test_towardzero): Likewise.
24167         (cosh_test_downward): Likewise.
24168         (cosh_test_upward): Likewise.
24169         (sinh_test_tonearest): Likewise.
24170         (sinh_test_towardzero): Likewise.
24171         (sinh_test_downward): Likewise.
24172         (sinh_test_upward): Likewise.
24173         (main): Call the new functions.
24174         * sysdeps/i386/fpu/libm-test-ulps: Update.
24175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24177 2012-03-05  Tom de Vries  <tom@codesourcery.com>
24179         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24180         default stack guard is set in last bytes.
24181         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24183 2012-03-05  Kees Cook  <keescook@chromium.org>
24185         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24187         [BZ #13656]
24188         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24189         possibly allocate from heap instead of stack.
24190         * stdio-common/bug-vfprintf-nargs.c: New file.
24191         * stdio-common/Makefile (tests): Add nargs overflow test.
24193 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24197 2012-03-03  Marek Polacek  <polacek@redhat.com>
24199         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24200         * math/math_private.h: Likewise.
24201         * stdlib/tst-strtod.c: Likewise.
24202         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24203         * sysdeps/x86_64/bits/atomic.h: Likewise.
24205 2012-03-02  David S. Miller  <davem@davemloft.net>
24207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24211         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24212         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24213         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24214         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24216 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24218         [BZ #13792]
24219         * manual/examples/README: New file, says the example source files
24220         can be used under GPL>=2.
24221         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24222         line containing just "*/".
24223         * manual/examples/add.c: Add copyright header (GPL>=2).
24224         * manual/examples/argp-ex1.c: Likewise.
24225         * manual/examples/argp-ex2.c: Likewise.
24226         * manual/examples/argp-ex3.c: Likewise.
24227         * manual/examples/argp-ex4.c: Likewise.
24228         * manual/examples/atexit.c: Likewise.
24229         * manual/examples/db.c: Likewise.
24230         * manual/examples/dir.c: Likewise.
24231         * manual/examples/dir2.c: Likewise.
24232         * manual/examples/execinfo.c: Likewise.
24233         * manual/examples/filecli.c: Likewise.
24234         * manual/examples/filesrv.c: Likewise.
24235         * manual/examples/fmtmsgexpl.c: Likewise.
24236         * manual/examples/genpass.c: Likewise.
24237         * manual/examples/inetcli.c: Likewise.
24238         * manual/examples/inetsrv.c: Likewise.
24239         * manual/examples/isockad.c: Likewise.
24240         * manual/examples/longopt.c: Likewise.
24241         * manual/examples/memopen.c: Likewise.
24242         * manual/examples/memstrm.c: Likewise.
24243         * manual/examples/mkfsock.c: Likewise.
24244         * manual/examples/mkisock.c: Likewise.
24245         * manual/examples/mygetpass.c: Likewise.
24246         * manual/examples/pipe.c: Likewise.
24247         * manual/examples/popen.c: Likewise.
24248         * manual/examples/rprintf.c: Likewise.
24249         * manual/examples/search.c: Likewise.
24250         * manual/examples/select.c: Likewise.
24251         * manual/examples/setjmp.c: Likewise.
24252         * manual/examples/sigh1.c: Likewise.
24253         * manual/examples/sigusr.c: Likewise.
24254         * manual/examples/stpcpy.c: Likewise.
24255         * manual/examples/strdupa.c: Likewise.
24256         * manual/examples/strftim.c: Likewise.
24257         * manual/examples/strncat.c: Likewise.
24258         * manual/examples/subopt.c: Likewise.
24259         * manual/examples/swapcontext.c: Likewise.
24260         * manual/examples/termios.c: Likewise.
24261         * manual/examples/testopt.c: Likewise.
24262         * manual/examples/testpass.c: Likewise.
24263         * manual/examples/timeval_subtract.c: Likewise.
24265         [BZ #13792]
24266         * manual/time.texi (Elapsed Time): Move timeval_subtract example
24267         function to ...
24268         * manual/timeval_subtract.c.texi: ... here, new file.
24270 2012-03-02  David S. Miller  <davem@davemloft.net>
24272         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24274 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
24276         [BZ #3976]
24277         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24278         (__sin): Save and restore rounding mode and use round-to-nearest
24279         for all computations.
24280         (__cos): Save and restore rounding mode and use round-to-nearest
24281         for all computations.
24282         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24283         <fenv.h>.
24284         (tan): Save and restore rounding mode and use round-to-nearest for
24285         all computations.
24286         * math/libm-test.inc (cos_test_tonearest): New function.
24287         (cos_test_towardzero): Likewise.
24288         (cos_test_downward): Likewise.
24289         (cos_test_upward): Likewise.
24290         (sin_test_tonearest): Likewise.
24291         (sin_test_towardzero): Likewise.
24292         (sin_test_downward): Likewise.
24293         (sin_test_upward): Likewise.
24294         (tan_test_tonearest): Likewise.
24295         (tan_test_towardzero): Likewise.
24296         (tan_test_downward): Likewise.
24297         (tan_test_upward): Likewise.
24298         (main): Call the new functions.
24299         * sysdeps/i386/fpu/libm-test-ulps: Update.
24300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24302         [BZ #10135]
24303         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24304         small n, then large n, before computing and testing k+n.
24305         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24306         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24307         Likewise.
24308         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24309         Likewise.
24310         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24311         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24312         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24313         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24314         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24315         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24316         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24317         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24318         * math/libm-test.inc (scalbn_test): Add more tests.
24319         (scalbln_test): Likewise.
24321         * manual/filesys.texi (mode_t): Describe constraints on size and
24322         signedness, not exact equivalence to a particular type.
24323         (ino_t): Likewise.
24324         (ino64_t): Likewise.
24325         (dev_t): Likewise.
24326         (nlink_t): Likewise.
24327         (blkcnt_t): Likewise.
24328         (blkcnt64_t): Likewise.
24329         * manual/llio.texi (off_t): Likewise.
24331         [BZ #3976]
24332         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24333         (__ieee754_exp): Save and restore rounding mode and use
24334         round-to-nearest for all computations.
24335         * math/libm-test.inc (exp_test_tonearest): New function.
24336         (exp_test_towardzero): Likewise.
24337         (exp_test_downward): Likewise.
24338         (exp_test_upward): Likewise.
24339         (main): Call the new functions.
24340         * sysdeps/i386/fpu/libm-test-ulps: Update.
24341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24343 2012-03-01  Chris Demetriou  <cgd@google.com>
24345         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24346         have predictable order.
24348 2012-03-01  David S. Miller  <davem@davemloft.net>
24350         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24352         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24353         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24354         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24355         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24357         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24358         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24359         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24361         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24362         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24363         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24364         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24365         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24369         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24370         * sysdeps/sparc/fpu/libm-test-ulps: to here.
24371         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24373         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24374         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24375         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24376         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24377         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24378         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24379         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24380         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24381         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24382         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24383         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24384         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24386         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24387         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24389         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24390         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24391         * sysdeps/sparc/elf/configure: Regenerated.
24393 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
24395         * configure.in (AS, LD): Require binutils 2.20 or later.
24396         * configure: Regenerated.
24397         * manual/install.texi (Tools for Compilation): Give binutils 2.20
24398         as required minimum version.
24399         * INSTALL: Regenerated.
24401         [BZ #2541]
24402         [BZ #4108]
24403         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24404         before squaring exponent.
24405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24406         bottom long double and 27 bits of top long double before squaring
24407         exponent.
24408         * math/libm-test.inc (erfc_test): Add more tests.
24409         * sysdeps/i386/fpu/libm-test-ulps: Update.
24410         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24413 2012-03-01  Kai Tietz  <ktietz@redhat.com>
24415         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24416         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24417         containing bit-fields.
24418         * soft-fp/extended.h (_FP_UNION_E): Likewise.
24419         * soft-fp/single.h (_FP_UNION_S): Likewise.
24420         * soft-fp/double.h (_FP_UNION_D): Likewise.
24422 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #13786]
24425         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24426         not include ../strcmp.S.
24427         [USE_AS_STRNCASECMP_L]: Likewise.
24428         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24429         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24430         * sysdeps/i386/i686/multiarch/strncase_l-c.c
24431         (__strncasecmp_l_ia32): Define as alias to
24432         __strncasecmp_l_nonascii.
24434         [BZ #5794]
24435         * math/libm-test.inc (expm1_test): Add test for bug 5794.
24436         * sysdeps/i386/fpu/libm-test-ulps: Update.
24437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24439         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24442 2012-02-29  Jeff Law  <law@redhat.com>
24444         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24445         out of bounds read.
24447 2012-02-29  Marek Polacek  <polacek@redhat.com>
24449         [BZ #13706]
24450         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24451         * elf/Makefile: Add rules to run tst-unused-dep.out.
24453 2012-02-28  David S. Miller  <davem@davemloft.net>
24455         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24456         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24457         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24458         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24459         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24460         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24462 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24464         * math/libm-test.inc (llround_test): Move one test from
24465         lround_test.  Use TEST_f_L in moved test.
24466         (lround_test): Move misplaced test to llround_test.  Add testcase
24467         from bug 2561.
24469 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
24471         * sysdeps/x86_64/fpu/e_expf.S: New file.
24472         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24474 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
24476         [BZ #13637]
24477         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24478         of remain_len that may cause incomplete multi-byte character and
24479         false match.
24480         * posix/bug-regex33.c: New file.
24481         * posix/Makefile (tests): Add bug-regex33.
24483 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
24485         * manual/macros.texi: New file.
24486         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24487         * manual/libc.texinfo: Include macros.texi.
24488         * manual/creatute.texi: Likewise.
24489         * manual/install.texi: Likewise.
24490         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24491         @glibcadj{} in references to the GNU C Library.
24492         * manual/charset.texi: Likewise.
24493         * manual/conf.texi: Likewise.
24494         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
24495         when not using those macros.
24496         * manual/creature.texi: Likewise.
24497         * manual/crypt.texi: Likewise.
24498         * manual/errno.texi: Likewise.
24499         * manual/filesys.texi: Likewise.
24500         * manual/header.texi: Likewise.
24501         * manual/install.texi: Likewise.
24502         * manual/intro.texi: Likewise.
24503         * manual/io.texi: Likewise.
24504         * manual/job.texi: Likewise.
24505         * manual/lang.texi: Likewise.
24506         * manual/libc.texiinfo: Likewise.
24507         * manual/llio.texi: Likewise.
24508         * manual/locale.texi: Likewise.
24509         * manual/maint.texi: Likewise.
24510         * manual/math.texi: Likewise.
24511         * manual/memory.texi: Likewise.
24512         * manual/message.texi: Likewise.
24513         * manual/nss.texi: Likewise.
24514         * manual/pattern.texi: Likewise.
24515         * manual/process.texi: Likewise.
24516         * manual/resource.texi: Likewise.
24517         * manual/search.texi: Likewise.
24518         * manual/setjmp.texi: Likewise.
24519         * manual/signal.texi: Likewise.
24520         * manual/socket.texi: Likewise.
24521         * manual/startup.texi: Likewise.
24522         * manual/stdio.texi: Likewise.
24523         * manual/string.texi: Likewise.
24524         * manual/sysinfo.texi: Likewise.
24525         * manual/syslog.texi: Likewise.
24526         * manual/terminal.texi: Likewise.
24527         * manual/time.texi: Likewise.
24528         * manual/users.texi: Likewise.
24529         * INSTALL: Regenerated.
24530         * NOTES: Regenerated.
24531         * sysdeps/gnu/errlist.c: Regenerated.
24533 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
24535         * include/dirent.h: Include <dirstream.h> before
24536         <dirent/dirent.h>.
24538 2012-02-28  David S. Miller  <davem@davemloft.net>
24540         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24541         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24542         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24543         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24545 2012-02-27  David S. Miller  <davem@davemloft.net>
24547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24549         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24550         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24553         frame pointer instead of stack pointer relative arg slot.
24554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24555         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24556         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24558 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
24560         [BZ #3992]
24561         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24563 2012-02-27  David S. Miller  <davem@davemloft.net>
24565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24569         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24570         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24571         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24572         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24574 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24576         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24577         later.  Allow versions 5-9.
24578         * configure: Regenerated.
24579         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24580         required minimum version and 4.6 as recommended version.  Do not
24581         mention bugs in GCC 2.7 and 2.8.
24582         * INSTALL: Regenerated.
24584 2012-02-27  David S. Miller  <davem@davemloft.net>
24586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24590         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24591         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24592         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24593         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24596         manipulate bits before adding and subtracting TWO112[sx].
24597         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24599 2012-02-27  Roland McGrath  <roland@hack.frob.com>
24601         [BZ #13775]
24602         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24603         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24604         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24605         being in POSIX, because they are in 1003.1-2008.
24607         * rt/tst-aio.c: Include <fcntl.h>.
24608         * rt/tst-aio7.c: Likewise.
24609         * rt/tst-aio64.c: Likewise.
24611         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24613 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24615         * manual/install.texi (--with-headers): Describe headers as
24616         interface headers, not private headers.
24617         (Specific advice for GNU/Linux systems): Describe use of headers
24618         from "make headers_install", not private headers from older
24619         kernels.
24620         * INSTALL: Regenerated.
24621         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24622         Change to 2.6.19.
24623         * sysdeps/unix/sysv/linux/configure: Regenerated.
24625         * manual/llio.texi (fclean): Remove documentation.
24627         * manual/Makefile (libc-texi-generated): New variable.  Include
24628         version.texi.
24629         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24630         $(libc-texi-generated), not duplicated list of files.
24631         (version.texi, stamp-version): New rules.
24632         (realclean): Remove $(libc-texi-generated), not individual files
24633         from that list.  Do not remove dir-add.texinfo.
24634         * manual/libc.texinfo: Comment out uses of edition numbers and
24635         references to printed manual.  Remove last-updated dates.
24636         (EDITION): Comment out.
24637         (ISBN): Likewise.
24638         (VERSION, UPDATED): Remove.
24639         (version.texi): Include.
24641 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
24643         * sysdeps/posix/spawni.c: Include <signal.h>.
24644         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24645         * sysdeps/pthread/aio_fsync.c: Likewise.
24647 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
24649         * conform/Makefile (tests): Run only when not cross-compiling and
24650         when fast-check is not defined.
24652         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24653         * conform/data/limits.h-data: Fixes for POSIX2008.
24654         * conform/run-conformtest.sh: Run all tests.
24655         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24656         headers.
24657         * include/bits/dlfcn.h: Likewise.
24658         * include/langinfo.h: Likewise.
24659         * include/monetary.h: Likewise.
24660         * include/sys/poll.h: Likewise.
24662         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24663         for __USE_GNU.
24664         * posix/spawn.h: Define __need_sigset_t.
24665         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24666         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24667         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
24668         to get sigevent_t only.
24669         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24670         only for __USE_GNU.
24671         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24672         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24673         process_vm_writev only for __USE_GNU.
24674         * termios/termios.h: Declare tcgetsid also for POSIX2008.
24676         * conform/Makefile: For now ignore errors from run-conformtest.
24677         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
24678         POSIX to avoid namespace pollution.  Don't prepend headers.
24679         * conform/data/aio.h-data: Fixes for POSIX testing.
24680         * conform/data/fcntl.h-data: Likewise.
24681         * conform/data/glob.h-data: Likewise.
24682         * conform/data/grp.h-data: Likewise.
24683         * conform/data/pthread.h-data: Likewise.
24684         * conform/data/pwd.h-data: Likewise.
24685         * conform/data/signal.h-data: Likewise.
24686         * conform/data/spawn.h-data: Likewise.
24687         * conform/data/stdio.h-data: Likewise.
24688         * conform/data/stdlib.h-data: Likewise.
24689         * conform/data/stropts.h-data: Likewise.
24690         * conform/data/sys/mman.h-data: Likewise.
24691         * conform/data/sys/stat.h-data: Likewise.
24692         * conform/data/sys/types.h-data: Likewise.
24693         * conform/data/sys/wait.h-data: Likewise.
24694         * conform/data/time.h-data: Likewise.
24695         * conform/data/unistd.h-data: Likewise.
24696         * conform/data/utime.h-data: Likewise.
24698         * io/sys/stat.h: fchmod was always in POSIX.
24699         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24700         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24701         * rt/aio.h: Define __need_timespec before including <time.h>.
24702         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24703         struct.  Add forward declaration of pthread_attr_t and use it in
24704         sigevent.
24705         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24707         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24708         always remove CLK_TCK definition.
24710 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
24712         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24714 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
24716         * conform/run-conformtest.sh: New file.
24717         * conform/Makefile: Run run-conformtest for tests.
24718         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
24719         support.
24721         * conform/data/uchar.h-data: New file.
24722         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24723         * conform/data/arpa/inet.h-data: Likewise.
24724         * conform/data/assert.h-data: Likewise.
24725         * conform/data/complex.h-data: Likewise.
24726         * conform/data/cpio.h-data: Likewise.
24727         * conform/data/ctype.h-data: Likewise.
24728         * conform/data/dirent.h-data: Likewise.
24729         * conform/data/dlfcn.h-data: Likewise.
24730         * conform/data/errno.h-data: Likewise.
24731         * conform/data/fcntl.h-data: Likewise.
24732         * conform/data/float.h-data: Likewise.
24733         * conform/data/fmtmsg.h-data: Likewise.
24734         * conform/data/fnmatch.h-data: Likewise.
24735         * conform/data/ftw.h-data: Likewise.
24736         * conform/data/glob.h-data: Likewise.
24737         * conform/data/grp.h-data: Likewise.
24738         * conform/data/iconv.h-data: Likewise.
24739         * conform/data/inttypes.h-data: Likewise.
24740         * conform/data/langinfo.h-data: Likewise.
24741         * conform/data/libgen.h-data: Likewise.
24742         * conform/data/limits.h-data: Likewise.
24743         * conform/data/locale.h-data: Likewise.
24744         * conform/data/math.h-data: Likewise.
24745         * conform/data/monetary.h-data: Likewise.
24746         * conform/data/mqueue.h-data: Likewise.
24747         * conform/data/ndbm.h-data: Likewise.
24748         * conform/data/net/if.h-data: Likewise.
24749         * conform/data/netdb.h-data: Likewise.
24750         * conform/data/netinet/in.h-data: Likewise.
24751         * conform/data/nl_types.h-data: Likewise.
24752         * conform/data/poll.h-data: Likewise.
24753         * conform/data/pthread.h-data: Likewise.
24754         * conform/data/pwd.h-data: Likewise.
24755         * conform/data/regex.h-data: Likewise.
24756         * conform/data/sched.h-data: Likewise.
24757         * conform/data/search.h-data: Likewise.
24758         * conform/data/semaphore.h-data: Likewise.
24759         * conform/data/setjmp.h-data: Likewise.
24760         * conform/data/signal.h-data: Likewise.
24761         * conform/data/spawn.h-data: Likewise.
24762         * conform/data/stdarg.h-data: Likewise.
24763         * conform/data/stdio.h-data: Likewise.
24764         * conform/data/stdlib.h-data: Likewise.
24765         * conform/data/string.h-data: Likewise.
24766         * conform/data/strings.h-data: Likewise.
24767         * conform/data/stropts.h-data: Likewise.
24768         * conform/data/sys/ipc.h-data: Likewise.
24769         * conform/data/sys/mman.h-data: Likewise.
24770         * conform/data/sys/msg.h-data: Likewise.
24771         * conform/data/sys/resource.h-data: Likewise.
24772         * conform/data/sys/select.h-data: Likewise.
24773         * conform/data/sys/sem.h-data: Likewise.
24774         * conform/data/sys/shm.h-data: Likewise.
24775         * conform/data/sys/socket.h-data: Likewise.
24776         * conform/data/sys/stat.h-data: Likewise.
24777         * conform/data/sys/statvfs.h-data: Likewise.
24778         * conform/data/sys/time.h-data: Likewise.
24779         * conform/data/sys/timeb.h-data: Likewise.
24780         * conform/data/sys/times.h-data: Likewise.
24781         * conform/data/sys/types.h-data: Likewise.
24782         * conform/data/sys/uio.h-data: Likewise.
24783         * conform/data/sys/un.h-data: Likewise.
24784         * conform/data/sys/utsname.h-data: Likewise.
24785         * conform/data/sys/wait.h-data: Likewise.
24786         * conform/data/syslog.h-data: Likewise.
24787         * conform/data/tar.h-data: Likewise.
24788         * conform/data/termios.h-data: Likewise.
24789         * conform/data/utime.h-data: Likewise.
24790         * conform/data/utmpx.h-data: Likewise.
24791         * conform/data/varargs.h-data: Likewise.
24792         * conform/data/wchar.h-data: Likewise.
24793         * conform/data/wctype.h-data: Likewise.
24794         * conform/data/wordexp.h-data: Likewise.
24796         * include/stropts.h: New file.
24797         * include/uchar.h: New file.
24798         * include/aio.h: Changes to allow conformtest.pl to use the headers.
24799         * include/assert.h: Likewise.
24800         * include/ctype.h: Likewise.
24801         * include/dirent.h: Likewise.
24802         * include/dlfcn.h: Likewise.
24803         * include/fcntl.h: Likewise.
24804         * include/fnmatch.h: Likewise.
24805         * include/glob.h: Likewise.
24806         * include/grp.h: Likewise.
24807         * include/libio.h: Likewise.
24808         * include/locale.h: Likewise.
24809         * include/math.h: Likewise.
24810         * include/net/if.h: Likewise.
24811         * include/netdb.h: Likewise.
24812         * include/netinet/in.h: Likewise.
24813         * include/pthread.h: Likewise.
24814         * include/pwd.h: Likewise.
24815         * include/regex.h: Likewise.
24816         * include/sched.h: Likewise.
24817         * include/search.h: Likewise.
24818         * include/setjmp.h: Likewise.
24819         * include/signal.h: Likewise.
24820         * include/stdio.h: Likewise.
24821         * include/stdlib.h: Likewise.
24822         * include/string.h: Likewise.
24823         * include/sys/cdefs.h: Likewise.
24824         * include/sys/mman.h: Likewise.
24825         * include/sys/msg.h: Likewise.
24826         * include/sys/resource.h: Likewise.
24827         * include/sys/select.h: Likewise.
24828         * include/sys/socket.h: Likewise.
24829         * include/sys/stat.h: Likewise.
24830         * include/sys/statvfs.h: Likewise.
24831         * include/sys/time.h: Likewise.
24832         * include/sys/times.h: Likewise.
24833         * include/sys/uio.h: Likewise.
24834         * include/sys/utsname.h: Likewise.
24835         * include/sys/wait.h: Likewise.
24836         * include/termios.h: Likewise.
24837         * include/time.h: Likewise.
24838         * include/ulimit.h: Likewise.
24839         * include/unistd.h: Likewise.
24840         * include/utime.h: Likewise.
24841         * include/wchar.h: Likewise.
24842         * include/wctype.h: Likewise.
24843         * include/wordexp.h: Likewise.
24845         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24847         * time/time.h: TIME_UTC must be a macro.
24848         Make timespec_get available for ISO C11 only as well.
24850 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
24852         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24853         Reported by Peng Haitao <penght@cn.fujitsu.com>.
24855 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24857         * configure.in: Use -o not -a in test for unsupported multi-arch.
24859 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24861         * manual/texinfo.tex: Update to version 2012-01-19.16.
24863 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24865         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24867 2012-02-24  Roland McGrath  <roland@hack.frob.com>
24869         [BZ #13738]
24870         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24871         * manual/fdl-1.3.texi: New file.
24872         * manual/fdl-1.1.texi: File removed.
24874         [BZ #13738]
24875         * manual/libc.texinfo (FDL_VERSION): New @set.
24876         Use it for mention of FDL in cover text.
24877         (Documentation License): Use it in @include file name.
24879 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24880             Roland McGrath  <roland@hack.frob.com>
24882         [BZ #5461]
24883         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24884         not LONG_LONG_MAX and LONG_LONG_MIN.
24885         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24886         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
24887         name.
24888         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24890 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24892         [BZ #2547]
24893         [BZ #11365]
24894         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24895         manipulate bits before adding and subtracting TWO23[sx].
24896         * math/libm-test.inc (nearbyint_test): Add more tests.
24898 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24900         [BZ #2548]
24901         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24902         bits before adding and subtracting TWO23[sx].
24903         * math/libm-test.inc (rint_test): Add more tests.
24904         (rint_test_tonearest): Likewise.
24905         (rint_test_towardzero): Likewise.
24906         (rint_test_downward): Likewise.
24907         (rint_test_upward: Likewise.
24909 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24911         [BZ #10110]
24912         * include/stdc-predef.h: New file.  Extracted from features.h.
24913         * include/features.h: Include stdc-predef.h.
24914         * Makefile (headers): Add stdc-predef.h.
24915         * CONFORMANCE (Compiler limitations): Update.
24917 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
24919         * manual/libc.texinfo (VERSION, UPDATED): Revert.
24921 2012-02-21  David S. Miller  <davem@davemloft.net>
24923         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24924         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24926 2012-02-20  David S. Miller  <davem@davemloft.net>
24928         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24929         using a normal save/restore sequence, rather than allocating a
24930         dummy stack frame just to store a frame pointer and restore.
24931         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24933 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24935         * manual/install.texi: Fix stray word in line-wrapped comment.
24937 2012-02-20  David S. Miller  <davem@davemloft.net>
24939         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24940         both binutils and gcc support GOTDATA.
24942         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24943         "rd %pc" in the PIC register setup sequences.
24945         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24946         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24947         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24948         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24949         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24950         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24951         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24952         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24954         (SYSCALL_ERROR_HANDLER): Likewise.
24955         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24956         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24958         (SYSCALL_ERROR_HANDLER): Likewise.
24960         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24961         (HAVE_GCC_GOTDATA): New.
24962         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24963         relocation support in both binutils and gcc.
24964         * sysdeps/sparc/elf/configure: Regenerate.
24966         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24967         * sysdeps/sparc/sparc32/elf/configure: Delete.
24968         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24969         * sysdeps/sparc/sparc64/elf/configure: Delete.
24970         * sysdeps/sparc/elf/configure.in: New file.
24971         * sysdeps/sparc/elf/configure: Generate.
24973         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24974         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24975         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24976         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24977         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24979 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24981         * manual/install.texi: Do not mention specific glibc version
24982         numbers.
24983         * manual/libc.texinfo (VERSION, UPDATED): Update.
24984         (@copying): Use @copyright{} and range of years.
24986 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
24988         [BZ #13695]
24989         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24990         [crti.S not in sysdirs] (generated): Do not append.
24991         [crti.S not in sysdirs] (omit-deps): Likewise.
24992         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24993         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24994         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24995         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24996         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24997         Likewise.
24998         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24999         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25000         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25001         * csu/defs.awk: Remove file.
25002         * sysdeps/generic/initfini.c: Likewise.
25003         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25004         variable.
25005         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25006         Likewise.
25008 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25010         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25011         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25012         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25013         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25014         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25015         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25016         <bits/epoll.h>.
25017         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25018         (__EPOLL_PACKED): Define to empty if not defined by
25019         <bits/epoll.h>.
25020         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25021         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25022         bits/epoll.h.
25024 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25026         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25027         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25028         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25029         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25030         <bits/timerfd.h>.
25031         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25033         bits/timerfd.h.
25035 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25037         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25038         in C locale.
25039         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25040         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25041         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25044 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25047         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25049 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25051         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25052         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25053         defined.
25054         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25055         Likewise.
25056         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25057         entry for 2.16.
25059 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25061         * math/w_acos.c: Use non-signaling floating-point comparisons.
25062         * math/w_acosf.c: Likewise.
25063         * math/w_acosh.c: Likewise.
25064         * math/w_acoshf.c: Likewise.
25065         * math/w_acoshl.c: Likewise.
25066         * math/w_acosl.c: Likewise.
25067         * math/w_asin.c: Likewise.
25068         * math/w_asinf.c: Likewise.
25069         * math/w_asinl.c: Likewise.
25070         * math/w_atanh.c: Likewise.
25071         * math/w_atanhf.c: Likewise.
25072         * math/w_atanhl.c: Likewise.
25073         * math/w_exp2.c: Likewise.
25074         * math/w_exp2f.c: Likewise.
25075         * math/w_exp2l.c: Likewise.
25076         * math/w_j0.c: Likewise.
25077         * math/w_j0f.c: Likewise.
25078         * math/w_j0l.c: Likewise.
25079         * math/w_j1.c: Likewise.
25080         * math/w_j1f.c: Likewise.
25081         * math/w_j1l.c: Likewise.
25082         * math/w_jn.c: Likewise.
25083         * math/w_jnf.c: Likewise.
25084         * math/w_log.c: Likewise.
25085         * math/w_log10.c: Likewise.
25086         * math/w_log10f.c: Likewise.
25087         * math/w_log10l.c: Likewise.
25088         * math/w_log2.c: Likewise.
25089         * math/w_log2f.c: Likewise.
25090         * math/w_log2l.c: Likewise.
25091         * math/w_logf.c: Likewise.
25092         * math/w_logl.c: Likewise.
25093         * math/w_sqrt.c: Likewise.
25094         * math/w_sqrtf.c: Likewise.
25095         * math/w_sqrtl.c: Likewise.
25096         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25097         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25098         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25099         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25100         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25102 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25104         [BZ #9739]
25105         * manual/string.texi (strnlen): Use correct parameter name in
25106         equivalent expression.
25108 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25110         [BZ #11174]
25111         * manual/users.texi (seteuid): Consistently use neweuid for
25112         argument name.
25114 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25116         [BZ #13704]
25117         * manual/nss.texi (Services in the NSS configuration): Correct
25118         list of services in example configuration file.
25120 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25122         [BZ #11322]
25123         * manual/arith.texi: Remove statements about negative zero
25124         behaving identically to zero.
25126 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25128         [BZ #5993]
25129         * manual/install.texi: Do not document upgrading from libc5.
25131 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25133         [BZ #4596]
25134         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25136 2012-02-18  David S. Miller  <davem@davemloft.net>
25138         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25139         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25140         %o7 across the call.
25141         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25142         instead.
25143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25144         SETUP_PIC_REG_LEAF.
25145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25146         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25147         * sysdeps/sparc/crtn.S: Likewise.
25149 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
25151         * aout/Makefile: Remove.
25153 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
25155         [BZ #13058]
25156         * manual/examples/argp-ex1.c (main): Format definition in GNU
25157         style.
25158         * manual/examples/argp-ex2.c (main): Likewise.
25159         * manual/examples/argp-ex3.c (main): Likewise.
25160         * manual/examples/argp-ex4.c (main): Likewise.
25161         * manual/examples/longopt.c (main): Use new-style prototype
25162         definition.
25163         * manual/examples/strncat.c (main): Specify return type and use
25164         (void) for arguments.
25165         * manual/examples/subopt.c (main): Use char **argv argument.
25167 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25169         [BZ #5077]
25170         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25171         rounding modes.
25173 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
25175         [BZ #6907]
25176         * manual/string.texi (strchr): Change when strchrnul is
25177         recommended.
25179 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
25181         [BZ #174]
25182         * manual/locale.texi (setlocale): Document LOCPATH.
25184 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25186         [BZ #10210]
25187         * manual/process.texi (execle): Move @dots{} before last argument.
25189 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25191         [BZ #12047]
25192         * manual/charset.texi (Generic Charset Conversion): Fix typo
25193         (LC_TYPE -> LC_CTYPE).
25195 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25197         [BZ #5805]
25198         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25199         (scalbnf): Likewise.
25200         (scalbnl): Likewise.
25201         (scalbln): Likewise.
25202         (scalblnf): Likewise.
25203         (scalblnl): Likewise.
25204         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25205         (vwarnx): Likewise.
25206         (verr): Likewise.
25207         (verrx): Likewise.
25208         * manual/filesys.texi (telldir): Use braces around return type.
25209         * manual/llio.texi (mmap): Add space after comma.
25210         (mmap64): Likewise.
25211         * manual/math.texi (jn): Use @var{} on parameter names.
25212         (jnf): Likewise.
25213         (jnl): Likewise.
25214         (yn): Likewise.
25215         (ynf): Likewise.
25216         (ynl): Likewise.
25217         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25218         line.
25219         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25220         "...".
25221         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25222         (sched_get_priority_max): Likewise.
25223         * manual/signal.texi (sigvec): Add space after comma.
25224         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25225         names.
25226         (if_indextoname): Likewise.
25227         (if_freenameindex): Likewise.
25228         (sendto): Use ',' instead of '.' in prototype.
25229         * manual/startup.texi (syscall): Use @dots{} instead of literal
25230         "...".
25231         * manual/stdio.texi (__fpending): Separate initial words of
25232         paragraph from @deftypefun line.
25233         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25234         "...".
25235         (vsyslog): Use @var{} on parameter names.
25236         * manual/terminal.texi (stty): Use @var{} on parameter names.
25237         * manual/users.texi (getutmp): Use @var{} on parameter names.
25238         (getutmpx): Likewise.
25240 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25242         [BZ #6884]
25243         * manual/stdio.texi (fopen): Fix typos in description of
25244         ",ccs=STRING".
25246 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
25248         [BZ #4026]
25249         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25250         get clock_id definition.
25252 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
25254         [BZ #4822]
25255         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25256         (madvise): Cast every argument to void on its own.
25258 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25260         [BZ #9902]
25261         * manual/startup.texi (Exit Status): Fix typo.
25263 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25265         [BZ #10140]
25266         * manual/examples/argp-ex1.c: Include <stdlib.h>.
25267         * manual/examples/argp-ex2.c: Likewise.
25268         * manual/examples/argp-ex3.c: Likewise.
25270 2012-02-16  Richard Henderson  <rth@redhat.com>
25272         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25273         * sysdeps/s390/s390-32/initfini.c: Remove.
25274         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25275         * sysdeps/s390/s390-64/initfini.c: Remove.
25277 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25279         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25280         compiler output for sysdeps/generic/initfini.c.
25281         * sysdeps/sh/elf/initfini.c: Remove file.
25283 2012-02-16  David S. Miller  <davem@davemloft.net>
25285         [BZ #11494]
25286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25288         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25289         * sysdeps/sparc/crti.S: New file.
25290         * sysdeps/sparc/crtn.S: New file.
25291         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25292         * sysdeps/sparc/sparc64/Makefile: Likewise.
25294 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
25296         [BZ #3335]
25297         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25299 2012-02-15  Roland McGrath  <roland@hack.frob.com>
25301         [BZ #4822]
25302         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25304         * mach/devstream.c (cookie_io_functions_t): Macro removed.
25305         (write, read, close): Likewise.
25306         Patch by Aurelien Jarno <aurelien@aurel32.net>.
25308 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
25310         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25311         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25312         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25313         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25314         <bits/signalfd.h>.
25315         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25317         bits/signalfd.h.
25319 2012-02-14  Marek Polacek  <polacek@redhat.com>
25321         * sysdeps/x86_64/crti.S: New file.
25322         * sysdeps/x86_64/crtn.S: New file.
25323         * sysdeps/x86_64/elf/initfini.c: Remove file.
25325 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25327         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25328         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25329         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25330         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25331         <bits/inotify.h>.
25332         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25334         bits/inotify.h.
25336 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25338         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25339         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25340         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25341         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25342         <bits/eventfd.h>.
25343         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25344         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25345         bits/eventfd.h.
25347 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
25349         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25350         __feraiseexcept instead of feraiseexcept.
25352         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25353         nanosleep invocations.
25354         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25355         strings, and add error checking for a nanosleep invocations.
25357 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
25359         Replace FSF snail mail address with URLs, as per GNU coding standards.
25360         Most of the snail mail addresses were wrong anyway, and omitting
25361         them makes the source code easier to maintain.  Almost all of the
25362         changes are to license notices and to locale LC_IDENTIFICATION
25363         addresses, except for this one:
25364         * manual/libc.texinfo: In "Published by", give the FSF's URL,
25365         not its snail mail address.
25367 2012-02-09  Richard Henderson  <rth@twiddle.net>
25369         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25370         of kernel-features.h.
25372         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25374 2012-02-08  Marek Polacek  <polacek@redhat.com>
25376         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25377         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25378         * sysdeps/gnu/_G_config.h: Likewise.
25379         * sysdeps/generic/_G_config.h: Likewise.
25381 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
25383         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25384         tests.
25385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25387         * sysdeps/powerpc/powerpc32/crti.S: New file.
25388         * sysdeps/powerpc/powerpc32/crtn.S: New file.
25389         * sysdeps/powerpc/powerpc64/crti.S: New file.
25390         * sysdeps/powerpc/powerpc64/crtn.S: New file.
25392         * Makeconfig (have-initfini): Don't set.
25393         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25394         * configure.in (nopic_initfini): Don't substitute.
25395         * config.h.in (HAVE_INITFINI): Don't #undef.
25396         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25397         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25399 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
25401         Support crti.S and crtn.S provided directly by architectures.
25402         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25403         [crti.S in sysdirs] (omit-deps): Likewise.
25404         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25405         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25406         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25407         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25408         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25409         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25410         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25411         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25412         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25413         compiler output for sysdeps/generic/initfini.c.
25414         * sysdeps/i386/elf/Makefile: Remove file.
25415         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25417 2012-02-07  Marek Polacek  <polacek@redhat.com>
25419         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25420         * sysdeps/gnu/_G_config.h: Likewise.
25421         * sysdeps/mach/hurd/_G_config.h: Likewise.
25423 2012-02-07  Marek Polacek  <polacek@redhat.com>
25425         * math/Makefile (tests): Add tst-CMPLX2.
25426         * math/tst-CMPLX2.c: New file.
25428 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
25430         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25432         * math/libm-test.inc (jn_test): Add missing L suffix.
25434 2012-02-06  Marek Polacek  <polacek@redhat.com>
25436         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25437         * sysdeps/i386/fpu/e_powf.S: Likewise.
25438         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25439         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25440         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25441         * sysdeps/i386/fpu/e_pow.S: Likewise.
25442         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25443         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25444         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25445         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25446         * sysdeps/i386/fpu/e_log2.S: Likewise.
25447         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25448         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25449         * sysdeps/i386/fpu/e_powl.S: Likewise.
25450         * sysdeps/i386/fpu/s_log1p.S: Likewise.
25451         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25452         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25453         * sysdeps/i386/fpu/e_logl.S: Likewise.
25454         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25455         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25456         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25457         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25458         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25459         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25460         * sysdeps/i386/fpu/e_log.S: Likewise.
25461         * sysdeps/i386/fpu/s_cexp.S: Likewise.
25462         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25463         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25464         * sysdeps/i386/fpu/e_logf.S: Likewise.
25465         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25466         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25467         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25468         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25469         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25470         * sysdeps/i386/fpu/e_log10.S: Likewise.
25471         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25472         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25473         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25474         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25475         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25476         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25477         * sysdeps/i386/asm-syntax.h: Likewise.
25478         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25479         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25480         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25481         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25482         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25483         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25484         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25485         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25486         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25487         * sysdeps/powerpc/sysdep.h: Likewise.
25488         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25489         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25491 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25493         [BZ #411]
25494         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25496 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25498         * sysdeps/i386/sysdep.h: Include <features.h>.
25499         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25500         version.
25502 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
25504         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25505         Define.
25506         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25507         LOAD_PIC_REG_STR.
25509 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25511         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25512         (SETUP_PIC_REG): Use GET_PC_THUNK.
25513         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25514         macro.
25516 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25518         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25519         for non-PIC compilation.
25520         (SETUP_PIC_REG): Add .p2align directive.
25521         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25522         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25523         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25524         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25525         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25526         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25527         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25528         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25529         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25530         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25531         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25532         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25533         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25534         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25535         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25536         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25537         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25538         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25539         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25540         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25541         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25542         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25543         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25544         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25545         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25546         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25547         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25548         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25549         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25550         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25551         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25552         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25553         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25554         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25555         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25556         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25557         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25558         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25559         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25560         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25561         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25563 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25565         * math/tst-CMPLX.c: Include <stdio.h>.
25567 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
25569         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25570         float.
25571         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25572         * sysdeps/sparc/bits/mathdef.h: Likewise.
25574 2012-01-31  Marek Polacek  <polacek@redhat.com>
25576         * libio/libio.h: Don't define _PARAMS.
25577         * locale/programs/config.h: Don't define PARAMS.
25578         * stdlib/strtol_l.c: Likewise.
25579         (__strtol_l): Remove PARAMS from the prototype.
25581 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
25583         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
25584         names.  Just use the correct names.  Remove unnecessary wrapper
25585         functions.
25586         * malloc/arena.c: Likewise.
25587         * malloc/hooks.c: Likewise.
25589         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25590         ARENA_TEST says not to.  Simplify test for creation of a new arena.
25591         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25593 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
25595         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25596         into tail calls.
25597         (update_get_addr): New function.
25598         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25599         GET_ADDR_MODULE parameter.
25601 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25603         * crypt/cert.c: Remove __STDC__ conditionals.
25604         * crypt/crypt-entry.c: Likewise.
25605         * crypt/crypt_util.c: Likewise.
25606         * libio/filedoalloc.c: Likewise.
25607         * libio/fileops.c: Likewise.
25608         * libio/genops.c: Likewise.
25609         * libio/iofclose.c: Likewise.
25610         * libio/iofdopen.c: Likewise.
25611         * libio/iofopen.c: Likewise.
25612         * libio/iofopen64.c: Likewise.
25613         * libio/iogetdelim.c: Likewise.
25614         * libio/iopopen.c: Likewise.
25615         * libio/obprintf.c: Likewise.
25616         * libio/oldfileops.c: Likewise.
25617         * libio/oldiofclose.c: Likewise.
25618         * libio/oldiofdopen.c: Likewise.
25619         * libio/oldiofopen.c: Likewise.
25620         * libio/oldiopopen.c: Likewise.
25621         * libio/wfiledoalloc.c: Likewise.
25622         * libio/wgenops.c: Likewise.
25623         * locale/programs/xmalloc.c: Likewise.
25624         * misc/syslog.c: Likewise.
25625         * stdio-common/xbug.c: Likewise.
25626         * string/memchr.c: Likewise.
25627         * string/memcmp.c: Likewise.
25628         * string/memrchr.c: Likewise.
25629         * string/rawmemchr.c: Likewise.
25630         * sysdeps/posix/getcwd.c: Likewise.
25631         * time/strftime_l.c: Likewise.
25633 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25635         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25636         * config.make.in (config-cflags-sse2avx): Define.
25637         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25638         Fix typo.
25640 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
25642         * scripts/config.guess: Update from upstream config git repository.
25643         * scripts/config.sub: Likewise.
25645 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
25647         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25648         (EM_NUM): Update.
25649         (R_TILEPRO_*, R_TILEGX_*): New macros.
25651         * scripts/firstversions.awk: Fix bug in version range handling.
25653         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25655         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25657         * include/sys/epoll.h: New file.
25658         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25659         libc_hidden_def.
25661 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
25663         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25664         Avoid unnecessary __WORDSIZE == 64 test.
25665         (fmaxf): Use VEX format if possible.
25666         (fmax): Likewise.
25667         (fminf): Likewise.
25668         (fmin): Likewise.
25670         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25671         * math/math_private.h: Remove libc_fegetround* and
25672         libc_fesetround*.
25673         * sysdeps/i386/configure.in: Check for -msse2avx.
25674         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25675         also if SSE2AVX is defined.
25676         Remove libc_fegetround* and libc_fesetround*.
25677         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25678         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
25679         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25680         of HAS_YMM_USABLE.
25681         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25682         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25683         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25684         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25685         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25687         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25689 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25691         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25692         size is not set.
25693         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25695 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
25697         [BZ #13618]
25698         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25699         relocation.
25700         * Makeconfig (libm): Define.
25701         * elf/Makefile: Add rules to build and run tst-relsort1.
25702         * elf/tst-relsort1.c: New file.
25703         * elf/tst-relsort1mod1.c: New file.
25704         * elf/tst-relsort1mod2.c: New file.
25706 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
25708         * math/s_ldexp.c: Remove __STDC__ conditionals.
25709         * math/s_ldexpf.c: Likewise.
25710         * math/s_ldexpl.c: Likewise.
25711         * math/s_nextafter.c: Likewise.
25712         * math/s_nexttowardf.c: Likewise.
25713         * math/s_significand.c: Likewise.
25714         * math/s_significandf.c: Likewise.
25715         * math/s_significandl.c: Likewise.
25716         * math/w_jnl.c: Likewise.
25717         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25718         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25719         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25720         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25721         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25722         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25723         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25724         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25725         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25726         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25727         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25728         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25729         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25730         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25731         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25732         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25733         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25734         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25735         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25736         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25737         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25738         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25739         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25740         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25741         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25742         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25743         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25744         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25745         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25746         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25747         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25748         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25749         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25750         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25751         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25752         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25753         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25754         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25755         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25756         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25757         * sysdeps/ieee754/k_standard.c: Likewise.
25758         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25759         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25760         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25761         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25762         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25763         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25764         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25765         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25766         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25767         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25768         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25769         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25770         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25771         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25772         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25773         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25774         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25775         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25776         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25777         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25778         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25779         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25780         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25781         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25782         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25783         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25784         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25785         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25787         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25788         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25790         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25791         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25792         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25793         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25795         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25796         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25802         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25803         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25804         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25808         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25809         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25810         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25811         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25814         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25815         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25816         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25817         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25818         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25819         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25820         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25821         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25822         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25823         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25824         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25825         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25826         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25827         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25828         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25829         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25830         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25831         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25832         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25833         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25834         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25835         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25836         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25837         * sysdeps/ieee754/s_matherr.c: Likewise.
25838         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25839         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25840         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25841         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25843 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25845         * crypt/md5.h: Remove __STDC__ conditionals.
25846         * libio/libioP.h: Likewise.
25847         * locale/programs/config.h: Likewise.
25848         * sysdeps/generic/sysdep.h: Likewise.
25849         * sysdeps/i386/asm-syntax.h: Likewise.
25850         * sysdeps/s390/asm-syntax.h: Likewise.
25851         * sysdeps/unix/sysdep.h: Likewise.
25852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25855 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25857         * libio/libio.h: Remove __STDC__ conditionals.
25858         * malloc/obstack.h: Likewise.
25859         * math/complex.h: Likewise.
25860         * math/math.h: Likewise.
25861         * sysdeps/generic/_G_config.h: Likewise.
25862         * sysdeps/gnu/_G_config.h: Likewise.
25863         * sysdeps/mach/hurd/_G_config.h: Likewise.
25864         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25865         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25866         * sysdeps/sparc/bits/mathdef.h: Likewise.
25868 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
25870         [BZ #13583]
25871         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25872         Clean up HAS_* macros.
25873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25874         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25875         possible.
25876         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25877         HAS_AVX.
25878         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25879         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25880         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25881         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25882         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25884 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
25886         * elf/tst-unique3.cc (gets): Remove declaration.
25887         * elf/tst-unique3lib.cc (gets): Likewise.
25888         * elf/tst-unique3lib2.cc (gets): Likewise.
25889         * elf/tst-unique4.cc (gets): Likewise.
25891 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
25893         * include/stdio.h: Add C++ protection.  Add gets declarations and
25894         definitions.
25895         * debug/tst-chk1.c: Don't declare gets here.
25896         * stdio-common/tst-gets.c: Likewise.
25898 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
25900         * posix/glob: Remove directory.
25902 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
25904         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25906 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
25908         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25909         of the non-standard EPFNOSUPPORT.
25911 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25913         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25914         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25915         ANYWHERE set to 1 only on KERN_NO_SPACE error.
25917 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
25919         * wcsmbs/uchar.h: Test __STDC_VERSION__.
25921 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
25923         * nscd/aicache.c (addhstaiX): Do not cache negative results of
25924         transient errors.
25925         * nscd/grpcache.c (cache_addgr): Likewise.
25926         * nscd/hstcache.c (cache_addhst): Likewise.
25927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25928         * nscd/pwdcache.c (cache_addpw): Likewise.
25929         * nscd/servicescache.c (cache_addserv): Likewise.
25931 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
25933         * malloc/malloc.c: Various cleanups.
25934         * malloc/hooks.c: Likewise.
25936         * stdlib/Makefile (tests): Add bug-fmtmsg1.
25937         * stdlib/bug-fmtmsg1.c: New file.
25939         * stdlib/fmtmsg.c (init): Add missing unlock.
25940         Patch by Peng Haitao <penght@cn.fujitsu.com>.
25942 2012-01-12  Marek Polacek  <polacek@redhat.com>
25944         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25945         and _GNU_SOURCE.
25947 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
25949         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25950         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25951         macro to ensure uniqueness of label name.
25952         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25953         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25955 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
25957         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25959         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25960         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25961         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25964 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
25966         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25968         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25969         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25970         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25972         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25974         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25975         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25976         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25977         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25979         * math/bits/math-finite.h: Add ldexp support.
25981 2012-01-10  Marek Polacek  <polacek@redhat.com>
25983         * locale/programs/localedef.h (show_archive_content): Add noreturn
25984         attribute.
25986 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
25988         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25990 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
25992         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25994         * io/Makefile (headers): Add bits/poll2.h.
25996 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25999         typo #include statement.
26001 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26003         * include/sys/cdefs.h: Define __attribute_alloc_size.
26004         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26005         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26006         * elf/pldd.c: Likewise.
26007         * iconv/iconv_charmap.c: Likewise.
26008         * iconv/iconvconfig.c: Likewise.
26009         * iconv/strtab.c: Likewise.
26010         * locale/programs/locale.c: Likewise.
26011         * locale/programs/localedef.h: Likewise.
26012         * locale/programs/simple-hash.c: Likewise.
26013         * nscd/nscd.h: Likewise.
26014         * nss/makedb.c: Likewise.
26015         * sysdeps/generic/ldconfig.h: Likewise.
26016         * locale/programs/localedef.c: Remove xmalloc prototype.
26017         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26019 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26021         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26022         appropriate.
26024 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26026         * math/Makefile (tests): Add tst-CMPLX.
26027         * math/tst-CMPLX.c: New file.
26029         * math/complex.h (CMPLXL): Fix typo.
26031         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26032         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26033         GLIBC_2.16.
26034         * debug/tst-chk1.c: Add poll and ppoll tests.
26035         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26036         * include/sys/poll.h: Add hidden proto for ppoll.
26037         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26038         * sysdeps/mach/hurd/ppoll.c: Likewise.
26039         * io/ppoll.c: Likewise.
26040         * debug/poll_chk.c: New file.
26041         * debug/ppoll_chk.c: New file.
26042         * include/bits/poll2.h: New file.
26043         * io/bits/poll2.h: New file.
26045         [BZ #1350]
26046         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26048         * configure.in: static is always set to yes.  Remove.
26049         * config.make.in: Don't set build-static.
26050         * Makeconfig: Remove use of build-static.
26051         * dlfcn/Makefile: Likewise.
26052         * elf/Makefile: Likewise.
26053         * math/Makefile: Likewise.
26054         * misc/Makefile: Likewise.
26055         * nptl/Makefile: Likewise.
26056         * sysdeps/mach/hurd/Makefile: Likewise.
26058         * configure.in: PWD_P is not used anymore.
26059         * config.make.in: Remove PWD_P entry.
26061         * configure.in: Remove last remnants of RANLIB.
26062         No need to check for signed size_t anymore.
26063         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26064         and IA-64.
26065         Remove __builtin_expect test because we require at least gcc 3.4.
26066         * aclocal.m4: Likewise.
26068         * wcsmbs/mbrtoc16.c: Implement using towc function.
26069         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26070         * wcsmbs/wcsmbsload.c: Likewise.
26071         * iconv/gconv_simple.c: Likewise.
26072         * iconv/gconv_int.h: Likewise.
26073         * iconv/gconv_builtin.h: Likewise.
26074         * iconv/iconv_prog.c: Remove CHAR16 handling.
26076         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26078         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26080         * configure.in: Remove --with-elf and --enable-bounded options.
26081         Dont set base_machine for ia64.  More non-ELF conditions removed.
26082         Remove testing and setting of leading underscore information.
26083         * config.make.in (build-bounded): Set to no.
26084         * config.h.in: Remove NO_UNDERSCORES entry.
26085         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26086         them.
26087         * csu/start.c: Remove !NO_UNDERSCORE code.
26088         * locale/localeinfo.h: Likewise.
26089         * sysdeps/generic/machine-gmon.h: Likewise.
26090         * sysdeps/generic/sysdep.h: Likewise.
26091         * sysdeps/i386/sysdep.h: Likewise.
26092         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26093         * sysdeps/mach/sysdep.h: Likewise.
26094         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26095         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26096         * sysdeps/sh/sysdep.h: Likewise.
26097         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26098         * sysdeps/unix/i386/sysdep.S: Likewise.
26099         * sysdeps/unix/sparc/start.c: Likewise.
26100         * sysdeps/unix/sparc/sysdep.S: Likewise.
26101         * sysdeps/unix/sparc/sysdep.h: Likewise.
26102         * sysdeps/unix/start.c: Likewise.
26103         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26104         * sysdeps/x86_64/sysdep.h: Likewise.
26106 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26108         [BZ #13553]
26109         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26110         for non-gcc.
26111         * argp/argp-fmtstream.h: Use const instead __const.
26112         * argp/argp.h: Likewise.
26113         * assert/assert.h: Likewise.
26114         * bits/fenv.h: Likewise.
26115         * bits/sched.h: Likewise.
26116         * bits/sigset.h: Likewise.
26117         * bits/sigthread.h: Likewise.
26118         * catgets/nl_types.h: Likewise.
26119         * conform/data/pthread.h-data: Likewise.
26120         * crypt/crypt-private.h: Likewise.
26121         * crypt/crypt.h: Likewise.
26122         * crypt/crypt_util.c: Likewise.
26123         * ctype/ctype.h: Likewise.
26124         * debug/execinfo.h: Likewise.
26125         * debug/mbsnrtowcs_chk.c: Likewise.
26126         * debug/mbsrtowcs_chk.c: Likewise.
26127         * debug/wcsnrtombs_chk.c: Likewise.
26128         * debug/wcsrtombs_chk.c: Likewise.
26129         * debug/wcstombs_chk.c: Likewise.
26130         * dirent/dirent.h: Likewise.
26131         * dlfcn/dlfcn.h: Likewise.
26132         * elf/neededtest4.c: Likewise.
26133         * grp/grp.h: Likewise.
26134         * gshadow/gshadow.h: Likewise.
26135         * iconv/gconv.h: Likewise.
26136         * iconv/gconv_int.h: Likewise.
26137         * iconv/gconv_simple.c: Likewise.
26138         * iconv/iconv.h: Likewise.
26139         * iconv/loop.c: Likewise.
26140         * iconv/skeleton.c: Likewise.
26141         * include/aio.h: Likewise.
26142         * include/aliases.h: Likewise.
26143         * include/argz.h: Likewise.
26144         * include/arpa/inet.h: Likewise.
26145         * include/assert.h: Likewise.
26146         * include/dirent.h: Likewise.
26147         * include/dlfcn.h: Likewise.
26148         * include/execinfo.h: Likewise.
26149         * include/fcntl.h: Likewise.
26150         * include/fenv.h: Likewise.
26151         * include/glob.h: Likewise.
26152         * include/grp.h: Likewise.
26153         * include/libintl.h: Likewise.
26154         * include/mntent.h: Likewise.
26155         * include/netdb.h: Likewise.
26156         * include/pwd.h: Likewise.
26157         * include/rpc/netdb.h: Likewise.
26158         * include/sched.h: Likewise.
26159         * include/search.h: Likewise.
26160         * include/shadow.h: Likewise.
26161         * include/signal.h: Likewise.
26162         * include/stdio.h: Likewise.
26163         * include/stdlib.h: Likewise.
26164         * include/string.h: Likewise.
26165         * include/sys/socket.h: Likewise.
26166         * include/sys/stat.h: Likewise.
26167         * include/sys/statfs.h: Likewise.
26168         * include/sys/statvfs.h: Likewise.
26169         * include/sys/syslog.h: Likewise.
26170         * include/sys/time.h: Likewise.
26171         * include/sys/uio.h: Likewise.
26172         * include/time.h: Likewise.
26173         * include/unistd.h: Likewise.
26174         * include/utmp.h: Likewise.
26175         * include/wchar.h: Likewise.
26176         * include/wctype.h: Likewise.
26177         * inet/aliases.h: Likewise.
26178         * inet/arpa/inet.h: Likewise.
26179         * inet/netinet/ether.h: Likewise.
26180         * inet/netinet/in.h: Likewise.
26181         * intl/libintl.h: Likewise.
26182         * io/bits/fcntl2.h: Likewise.
26183         * io/fcntl.h: Likewise.
26184         * io/ftw.h: Likewise.
26185         * io/sys/poll.h: Likewise.
26186         * io/sys/stat.h: Likewise.
26187         * io/sys/statfs.h: Likewise.
26188         * io/sys/statvfs.h: Likewise.
26189         * io/utime.h: Likewise.
26190         * libio/bits/stdio.h: Likewise.
26191         * libio/bits/stdio2.h: Likewise.
26192         * libio/libio.h: Likewise.
26193         * libio/libioP.h: Likewise.
26194         * libio/stdio.h: Likewise.
26195         * locale/lc-ctype.c: Likewise.
26196         * locale/locale.h: Likewise.
26197         * login/utmp.h: Likewise.
26198         * malloc/arena.c: Likewise.
26199         * malloc/malloc.c: Likewise.
26200         * malloc/malloc.h: Likewise.
26201         * malloc/mcheck.c: Likewise.
26202         * malloc/mtrace.c: Likewise.
26203         * math/bits/mathcalls.h: Likewise.
26204         * math/fenv.h: Likewise.
26205         * math/math_private.h: Likewise.
26206         * misc/bits/error.h: Likewise.
26207         * misc/bits/syslog.h: Likewise.
26208         * misc/err.h: Likewise.
26209         * misc/error.h: Likewise.
26210         * misc/fstab.h: Likewise.
26211         * misc/mntent.h: Likewise.
26212         * misc/regexp.h: Likewise.
26213         * misc/search.h: Likewise.
26214         * misc/sgtty.h: Likewise.
26215         * misc/sys/mman.h: Likewise.
26216         * misc/sys/syslog.h: Likewise.
26217         * misc/sys/uio.h: Likewise.
26218         * misc/sys/xattr.h: Likewise.
26219         * misc/ttyent.h: Likewise.
26220         * nis/rpcsvc/ypclnt.h: Likewise.
26221         * nss/nss.h: Likewise.
26222         * posix/bits/unistd.h: Likewise.
26223         * posix/fnmatch.h: Likewise.
26224         * posix/glob.h: Likewise.
26225         * posix/sched.h: Likewise.
26226         * posix/spawn.h: Likewise.
26227         * posix/sys/wait.h: Likewise.
26228         * posix/unistd.h: Likewise.
26229         * posix/wordexp.h: Likewise.
26230         * pwd/pwd.h: Likewise.
26231         * resolv/netdb.h: Likewise.
26232         * resource/sys/resource.h: Likewise.
26233         * rt/aio.h: Likewise.
26234         * rt/bits/mqueue2.h: Likewise.
26235         * rt/mqueue.h: Likewise.
26236         * shadow/shadow.h: Likewise.
26237         * signal/signal.h: Likewise.
26238         * socket/send.c: Likewise.
26239         * socket/sendto.c: Likewise.
26240         * socket/sys/socket.h: Likewise.
26241         * stdio-common/printf.h: Likewise.
26242         * stdlib/bits/stdlib.h: Likewise.
26243         * stdlib/fmtmsg.h: Likewise.
26244         * stdlib/monetary.h: Likewise.
26245         * stdlib/stdlib.h: Likewise.
26246         * stdlib/ucontext.h: Likewise.
26247         * streams/stropts.h: Likewise.
26248         * string/argz.h: Likewise.
26249         * string/bits/string2.h: Likewise.
26250         * string/string.h: Likewise.
26251         * string/strings.h: Likewise.
26252         * sunrpc/rpc/auth.h: Likewise.
26253         * sunrpc/rpc/auth_des.h: Likewise.
26254         * sunrpc/rpc/clnt.h: Likewise.
26255         * sunrpc/rpc/netdb.h: Likewise.
26256         * sunrpc/rpc/pmap_clnt.h: Likewise.
26257         * sunrpc/rpc/xdr.h: Likewise.
26258         * sysdeps/generic/inttypes.h: Likewise.
26259         * sysdeps/generic/net/if.h: Likewise.
26260         * sysdeps/generic/sys/swap.h: Likewise.
26261         * sysdeps/gnu/net/if.h: Likewise.
26262         * sysdeps/gnu/utmpx.h: Likewise.
26263         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26264         * sysdeps/i386/i486/bits/string.h: Likewise.
26265         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26266         * sysdeps/s390/bits/string.h: Likewise.
26267         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26268         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26269         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26270         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26271         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26272         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26273         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26274         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26275         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26276         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26277         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26278         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26279         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26280         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26281         * sysdeps/unix/sysv/linux/readv.c: Likewise.
26282         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26283         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26284         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26285         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26286         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26287         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26288         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26289         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26290         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26291         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26292         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26293         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26294         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26295         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26296         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26297         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26298         * sysvipc/sys/ipc.h: Likewise.
26299         * sysvipc/sys/msg.h: Likewise.
26300         * sysvipc/sys/sem.h: Likewise.
26301         * sysvipc/sys/shm.h: Likewise.
26302         * termios/termios.h: Likewise.
26303         * time/sys/time.h: Likewise.
26304         * time/time.h: Likewise.
26305         * wcsmbs/bits/wchar2.h: Likewise.
26306         * wcsmbs/uchar.h: Likewise.
26307         * wcsmbs/wchar.h: Likewise.
26308         * wctype/wctype.h: Likewise.
26310         [BZ #13551]
26311         * Makeconfig: Remove all but ELF support including AIX support.
26312         * Makerules: Likewise.
26313         * config.h.in: Likewise.
26314         * config.make.in: Likewise.
26315         * configure: Likewise.
26316         * configure.in: Likewise.
26317         * csu/Makefile: Likewise.
26318         * csu/version.c: Likewise.
26319         * debug/Makefile: Likewise.
26320         * dlfcn/Makefile: Likewise.
26321         * elf/Makefile: Likewise.
26322         * extra-lib.mk: Likewise.
26323         * iconv/Makefile: Likewise.
26324         * include/libc-symbols.h: Likewise.
26325         * include/shlib-compat.h: Likewise.
26326         * resolv/Makefile: Likewise.
26327         * resolv/res_libc.c: Likewise.
26328         * rt/Makefile: Likewise.
26329         * sysdeps/i386/asm-syntax.h: Likewise.
26330         * sysdeps/i386/sysdep.h: Likewise.
26331         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26332         * sysdeps/mach/sysdep.h: Likewise.
26333         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26334         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26335         * sysdeps/s390/asm-syntax.h: Likewise.
26336         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26337         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26338         * sysdeps/sh/sysdep.h: Likewise.
26339         * sysdeps/unix/sparc/sysdep.h: Likewise.
26340         * sysdeps/wordsize-32/divdi3.c: Likewise.
26341         * sysdeps/x86_64/sysdep.h: Likewise.
26343         * argp/Versions: Remove _argp_unlock_xxx.
26345         [BZ #13559]
26346         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
26347         * abilist/libBrokenLocale.abilist: Likewise.
26348         * abilist/libanl.abilist: Likewise.
26349         * abilist/libc.abilist: Likewise.
26350         * abilist/libcrypt.abilist: Likewise.
26351         * abilist/libdl.abilist: Likewise.
26352         * abilist/libm.abilist: Likewise.
26353         * abilist/libnsl.abilist: Likewise.
26354         * abilist/libpthread.abilist: Likewise.
26355         * abilist/libresolv.abilist: Likewise.
26356         * abilist/librt.abilist: Likewise.
26357         * abilist/libthread_db.abilist: Likewise.
26358         * abilist/libutil.abilist: Likewise.
26359         * abilist/libnss_db.abilist: New file.
26361         * scripts/abilist.awk: Add support for indirect functions.
26363         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26365         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26367         * shlib-versions: Remove entries for ports architectures.
26369         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
26370         files in ports.
26371         * elf/stackguard-macros.h: Remove support for IA-64.
26372         * elf/tst-auditmod1.c: Likewise.
26373         * sysdeps/generic/ldsodefs.h: Likewise.
26375         * sysdeps/unix/sysv/linux/configure.in: Ports should define
26376         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26377         configure files.
26379         [BZ #13552]
26380         * configure.in: Remove --enable-omitfp support.
26381         * FAQ.in: Adjust.
26382         * config.make.in: Likewise.
26383         * Makeconfig: Likewise.
26384         * manual/install.texi: Likewise.
26386         In case anyone cares, the IA-64 architecture could move to ports.
26387         * sysdeps/ia64/*: Removed.
26388         * sysdeps/unix/sysv/linux/ia64/*: Removed.
26389         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26391         [BZ #13555]
26392         * configure.in: Remove entries for unsupported architectures.
26394         [BZ #13533]
26395         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26396         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
26397         routines.
26398         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26399         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26400         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
26401         fall back to using wcrtomb.
26402         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26403         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
26404         renaming.
26405         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26406         * wcsmbs/tst-c16c32-1.c: New file.
26408         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26409         local variable.
26411         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26413         * elf/tst-unique3.cc: Add explicit declaration of gets.
26414         * elf/tst-unique3lib.cc: Likewise.
26415         * elf/tst-unique3lib2.cc: Likewise.
26416         * elf/tst-unique4.cc: Likewise.
26418         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26420 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
26422         [BZ #13566]
26423         * assert/assert.h (static_assert): Don't define for C++.
26424         * libio/stdio.h (gets): Do declare for C++ <= C++11.
26425         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26427 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
26429         * iconv/loop.c (single loop): Fix assertion in storing of
26430         remaining bytes.
26432         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26434 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
26436         * posix/getconf.c: Update copyright year.
26437         * nss/getent.c: Likewise.
26438         * nss/makedb.c: Likewise.
26439         * iconv/iconvconfig.c: Likewise.
26440         * iconv/iconv_prog.c: Likewise.
26441         * elf/ldconfig.c: Likewise.
26442         * elf/pldd.c: Likewise.
26443         * elf/sotruss.ksh: Likewise.
26444         * catgets/gencat.c: Likewise.
26445         * csu/version.c: Likewise.
26446         * elf/ldd.bash.in: Likewise.
26447         * elf/sprof.c (print_version): Likewise.
26448         * locale/programs/locale.c: Likewise.
26449         * locale/programs/localedef.c: Likewise.
26450         * login/programs/pt_chown.c: Likewise.
26451         * nscd/nscd.c (print_version): Likewise.
26452         * debug/xtrace.sh: Likewise.
26453         * malloc/memusage.sh: Likewise.
26454         * malloc/mtrace.pl: Likewise.
26455         * debug/catchsegv.sh: Likewise.
26457 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
26459         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26460         pure attribute.
26462 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
26464         [BZ #13533]
26465         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26466         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26467         transformations.
26468         * iconv/gconv_int.h: Likewise.
26469         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26470         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26471         from libc for GLIBC_2.16.
26472         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26473         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26474         * wcsmbs/uchar.h: Really define mbstate_t.
26475         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26476         * wcsmbs/c16rtomb.c: New file.
26477         * wcsmbs/mbrtoc16.c: New file.
26478         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26479         for C/POSIX locale.
26480         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26481         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26483         * wcsmbs/wchar.h: Add missing __restrict.
26485 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26487         [BZ #13532]
26488         * time/Makefile (routines): Add timespec_get.
26489         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26490         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
26491         timespec for ISO C11.
26492         * time/timespec_get.c: New file.
26493         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26494         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26496         [BZ #13531]
26497         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26498         * stdlib/stdlib.h: Declare aligned_alloc.
26499         * Versions.def: Add GLIBC_2.16 for libc.
26500         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26502         [BZ 13527]
26503         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26504         ISO C11.
26506         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26507         code.
26509         [BZ #13528]
26510         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26512         [BZ #13529]
26513         * assert/assert.h (static_assert): Define.
26515         * version.h: Update for 2.16 development version.
26517         [BZ #13526]
26518         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26519         _ISOC11_SOURCE.
26521         * version.h (RELEASE): Bump for 2.15 release.
26522         * include/features.h (__GLIBC_MINOR__): Bump to 15.
26524         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26525         Patch by Marek Polacek <mpolacek@redhat.com>.
26527         * bits/byteswap.h: Protect long long constants with __extension__.
26528         * sysdeps/i386/bits/byteswap.h: Likewise.
26529         * sysdeps/ia64/bits/byteswap.h: Likewise.
26530         * sysdeps/s390/bits/byteswap.h: Likewise.
26531         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26533 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26535         [BZ #13540]
26536         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26537         destination buffer.
26538         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26540 2011-12-23  Marek Polacek  <polacek@redhat.com>
26542         * elf/dl-addr.c (determine_info): Add inline keyword.
26543         * elf/tst-auditmod4b.c (check_avx): Likewise.
26544         * elf/tst-auditmod6b.c (check_avx): Likewise.
26545         * elf/tst-auditmod6c.c (check_avx): Likewise.
26546         * elf/tst-auditmod7b.c (check_avx): Likewise.
26548 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26550         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26551         !__SSE_MATH__.
26553 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26555         [BZ #13540]
26556         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26557         processing for last bytes.
26559 2011-08-06  Bruno Haible  <bruno@clisp.org>
26561         [BZ #13061]
26562         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26563         U+0385, not to U+1FEE.
26565         [BZ #13062]
26566         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26567         entry for U+00A5 U+0301.
26569 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26571         [BZ #13166]
26572         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26573         buffer for the output is too small.
26575         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26576         optimization.
26578         [BZ #13185]
26579         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26580         SSE flags if possible.
26582 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26584         [BZ #13540]
26585         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26586         processing for last bytes.
26588 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
26590         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26591         (syscall-list-default-options, syscall-list-default-condition)
26592         (syscall-list-includes): Define.
26593         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26594         list of ABIs and options and #if conditions for each ABI.  Do not
26595         handle common syscalls between ABIs specially.
26596         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26597         Remove.
26598         (syscall-list-variants, syscall-list-32bit-options)
26599         (syscall-list-32bit-condition, syscall-list-64bit-options)
26600         (syscall-list-64bit-condition): Define.
26601         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26602         (syscall-list-variants, syscall-list-32bit-options)
26603         (syscall-list-32bit-condition, syscall-list-64bit-options)
26604         (syscall-list-64bit-condition): Define.
26605         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26606         Remove.
26607         (syscall-list-variants, syscall-list-32bit-options)
26608         (syscall-list-32bit-condition, syscall-list-64bit-options)
26609         (syscall-list-64bit-condition): Define.
26610         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26611         Remove.
26612         (syscall-list-variants, syscall-list-32bit-options)
26613         (syscall-list-32bit-condition, syscall-list-64bit-options)
26614         (syscall-list-64bit-condition): Define.
26616 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26618         * locale/iso-639.def: Add brx entry.
26620         [BZ #13328]
26621         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26622         Proposed by Mariusz_Cukr <marcukr@op.pl>.
26624         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26625         __feraiseexcept_renamed.
26627 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26629         [BZ #13538]
26630         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26631         EPOLLET with unsigned values.
26632         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26633         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26635         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26636         to large cancellation.
26637         * math/s_cacoshf.c: Likewise.
26638         * math/s_cacoshl.c: Likewise.
26640 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
26642         [BZ #13305]
26643         [BZ #12786]
26644         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26645         * math/s_cacoshf.c: Likewise.
26646         * math/s_cacoshl.c: Likewise.
26648 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26650         [BZ #13439]
26651         * iconv/gconv.h: Define __GCONV_SWAP.
26652         * iconvdata/unicode.c: The swap bit must be stored in __flags.
26653         * iconvdata/utf-16.c: Likewise.
26654         * iconvdata/utf-32.c: Likewise.
26656 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26658         [BZ #13524]
26659         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26660         numerator after shifting it by one limb.
26662 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
26664         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26665         under [__USE_EXTERN_INLINES].
26667 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26669         [BZ #13446]
26670         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26672 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26674         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26675         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26676         optimized code.
26677         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26678         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26679         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26680         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26681         for strncasecmp/strncasecmp_l compilation.
26682         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26683         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26685 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
26687         [BZ #13484]
26688         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26689         of __asm__.
26691 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26693         [BZ #13506]
26694         * time/tzfile.c (__tzfile_read): Check values from file header.
26696 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26698         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26699         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26700         * powerpc/powerpc32/dl-start.S: Likewise.
26701         * powerpc/powerpc32/elf/start.S: Likewise.
26702         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26703         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26704         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26705         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26706         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26707         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26708         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26709         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26710         * powerpc/powerpc32/fpu/s_round.S: Likewise.
26711         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26712         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26713         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26714         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26715         * powerpc/powerpc32/memset.S: Likewise.
26716         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26717         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26718         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26719         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26720         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26721         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26722         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26723         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26724         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26725         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26726         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26727         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26728         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26730 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26732         * math/libm-test.inc: Added more nearbyint tests.
26733         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26734         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26735         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26736         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26738 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
26740         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26741         FD_CLOEXEC.
26743 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26745         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26746         Add wcscpy-ssse3 wcscpy-c.
26747         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26748         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26749         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26750         * sysdeps/x86_64/wcschr.S: New file.
26751         * sysdeps/x86_64/wcsrchr.S: New file.
26752         * string/test-strcmp.c: Remove checking of wcscmp function for
26753         wrong alignments.
26754         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26755         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26756         wcsrchr-sse2 wcsrchr-c.
26757         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26758         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26759         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26760         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26761         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26762         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26763         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26764         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26765         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26766         * wcsmbc/wcschr.c (WCSCHR): New macro.
26768 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26770         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26771         * wcsmbs/test-wcsrchr.c: New file.
26772         * string/test-strrchr.c: Add wcsrchr support.
26773         (WIDE): New macro.
26774         * wcsmbs/test-wcscpy.c: New file.
26775         * string/test-strcpy.c: Add wcscpy support.
26776         (WIDE): New macro.
26778 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
26780         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26781         the inner loop.
26783 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
26785         [BZ #13472]
26786         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26788 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
26790         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26791         Minor optimizations.
26793         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26794         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26795         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26797 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
26799         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26800         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26801         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26802         for gcc to avoid warnings.
26803         * inet/Makefile (tests): Add tst-checks.
26804         * inet/tst-checks.c: New file.
26806         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26807         warning.
26809         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26810         __wmemcmp_sse2.
26812         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26813         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26815         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26817 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
26819         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26820         problem.
26822         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26824 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
26826         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26827         conditional on GCC version.
26828         (__arch_compare_and_exchange_val_8_acq)
26829         (__arch_compare_and_exchange_val_16_acq)
26830         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26831         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26832         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26834 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
26836         * sysdeps/sh/backtrace.c: New file.
26838 2011-12-02  Andreas Schwab  <schwab@redhat.com>
26840         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
26841         parenthesis.
26843 2011-12-01  Andreas Schwab  <schwab@redhat.com>
26845         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26846         falling back to utime.
26848 2011-11-30  Andreas Schwab  <schwab@redhat.com>
26850         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26851         expectations for float.
26853 2011-11-29  Andreas Schwab  <schwab@redhat.com>
26855         * locale/weight.h (findidx): Add parameter len.
26856         * locale/weightwc.h (findidx): Likewise.
26857         * posix/fnmatch_loop.c (FCT): Adjust caller.
26858         * posix/regcomp.c (build_equiv_class): Likewise.
26859         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26860         * posix/regexec.c (check_node_accept_bytes): Likewise.
26861         * string/strcoll_l.c (STRCOLL): Likewise.
26862         * string/strxfrm_l.c (STRXFRM): Likewise.
26864 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
26866         * Makefile.in: Remove CVSOPT handling.
26867         * configure.in: Remove use of AC_REVISION.
26868         * iconvdata/Makefile (distribute): No need to filter out CVS.
26869         * scripts/list-sources.sh: Remove CVS, subversion and monotone
26870         handling.
26872 2011-11-16  Andreas Schwab  <schwab@redhat.com>
26874         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26875         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26876         [USE_AS_STRNCASECMP_L]: Likewise.
26877         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26878         NO_TLS_DIRECT_SEG_REFS.
26879         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26880         Fix argument offsets for non-PIC.
26881         [USE_AS_STRNCASECMP_L]: Likewise.
26882         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26883         NO_TLS_DIRECT_SEG_REFS.
26885 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
26887         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26888         O_CLOEXEC.
26889         * locale/loadlocale.c (_nl_load_locale): Likewise.
26891 2011-11-15  Andreas Schwab  <schwab@redhat.com>
26893         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26894         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26895         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26896         (SYSCALL_GETTIME): Set errno on error.
26898         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26899         count references to noai6ai_cached.
26901 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
26903         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26905         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26906         FD_CLOEXEC for /proc/self/maps.
26908         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26909         FD_CLOEXEC for /proc/meminfo.
26911         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26912         gai.conf.
26914         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
26915         FD_CLOEXEC for given file.
26917         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26919         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26920         FD_CLOEXEC for /etc/hosts.
26921         (_gethtent): Likewise.
26923         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26925         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26926         cancellation and set FD_CLOEXEC for /etc/netgroup.
26928         * nss/nss_files/files-key.c (search): Don't allow cancellation when
26929         reading /etc/publickey.
26931         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26932         allow cancellation when reading /etc/group.
26934         * nss/nss_files/files-alias.c (internal_setent): Don't allow
26935         cancellation.
26936         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
26938         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26939         when using data file.
26941         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26943         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26944         (write_nis_obj): Use "c" and "e" in fopen.
26946         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26948         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26950         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26952         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26954         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26955         locale.alias.
26957         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26959         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26961         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26963         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26964         file parsing and set FD_CLOEXEC.
26966 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26968         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26970 2011-11-14  Andreas Schwab  <schwab@redhat.com>
26972         * malloc/arena.c (arena_get2): Don't call reused_arena when
26973         _int_new_arena failed.
26975 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
26977         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26978         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26979         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26980         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26981         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26982         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26983         to compile strcasecmp and strncasecmp.
26984         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26985         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26987         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26989 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
26991         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26992         locale-defines.sym to gen-as-const-headers.
26993         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26994         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26995         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26996         to compile strcasecmp and strncasecmp.
26997         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26998         strcasecmp_l and strncasecmp_l.
26999         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27000         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27001         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27002         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27003         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27004         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27005         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27006         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27007         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27008         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27009         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27011 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27013         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27014         result of SYSDEP_GETTIME_CPU to retval.
27015         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27016         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27018         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27019         variable.
27021         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27022         mantissa words.
27023         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27025         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27026         from unused variable.
27028         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27029         DWARF definitions.
27030         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27031         for assembling.
27033         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27034         over namespaces.
27036         * sunrpc/rpc_prot.c (rejected): Fix case value.
27038         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27039         unsigned long long int to avoid warnings in shift.
27041         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27042         of use of trans.
27043         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27044         variable tmp.
27046         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27047         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27048         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27050         * nis/nis_table.c (nis_list): Use variable of correct type for
27051         result of __follow_path call.
27053 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27055         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27056         of math functions ceil, trunc, floor, round, and sqrt, when
27057         avaliable on the platform.
27058         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27059         name clash.
27060         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27061         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27062         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27064 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27066         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27067         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27069 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27071         * include/unistd.h: Fix __readlink return type.
27072         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27074 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27076         * stdlib/ucontext.h: Undo last change for makecontext.
27078 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27080         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27082         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27083         * setjmp/setjmp.h: Mark functions as non-leaf.
27084         * setjmp/bits/setjmp2.h: Likewise.
27085         * stdlib/ucontext.h: Likewise.
27087 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27089         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27090         (reused_arena): Don't check arena limit.
27091         (arena_get2): Atomically check arena limit.
27093 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27095         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27096         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27099         instructions.
27101 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27103         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27104         handler when locking.
27106         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27107         Fix size of allocated buffer.
27109 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27111         [BZ #10103]
27112         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27113         declarations for long double functions.
27114         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27116         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27118 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27120         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27121         installed.
27123         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27124         is disabled.
27126 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27128         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27130 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27132         * include/alloca.h (stackinfo_alloca_round): Define.
27133         (extend_alloca): Use it.
27134         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27135         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27136         here.
27138         * scripts/check-local-headers.sh: Ignore libaudit.h.
27140         * nscd/Makefile (extra-objs): Make recursively expanded.
27142 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27144         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27145         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27147         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27148         * posix/tst-rfc3484-2.c: Likewise.
27149         * posix/tst-rfc3484-3.c: Likewise.
27151         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27152         process_vm_writev.
27153         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27154         process_vm_writev.
27155         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27156         process_vm_writev from libc using GLIBC_2.15 version.
27158         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27160 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
27162         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27163         stack usage.
27165 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
27167         [BZ #13367]
27168         * nss/getent.c (initgroups_keys): Show error message in case no group
27169         names are given.
27171         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27172         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27173         __bump_nl_timestamp.
27174         * nscd/connections (nscd_init): When host database is served open
27175         netlink socket and request notification about configuration changes.
27176         (main_loop_poll): Track netlink file descriptor and bump timestamp
27177         in case data becomes available.
27178         (main_loop_epoll): Likewise.
27179         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27180         (database_pers_head): Add extra_data fileds.
27181         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27182         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27183         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27184         Adjust caller.
27185         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27186         in6ai data, call __free_in6ai.
27187         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27188         Add -DHAVE_NETLINK.
27189         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27190         interface information.  Reuse previous data if netlink timestamp
27191         is not changed.
27192         (__bump_nl_timestamp): New function.
27193         (__free_in6ai): New function.
27195 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27197         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27198         close_not_cancel_no_status here.
27199         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27201 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27203         [BZ #13276]
27204         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27205         return value.
27207         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27208         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27209         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27211 2011-07-03  Andreas Jaeger  <aj@suse.de>
27213         [BZ #10709]
27214         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27215         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27216         * math/libm-test.inc (sin_test): Add test case.
27218 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27220         [BZ #13337]
27221         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27222         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27224         * elf/chroot_canon.c (chroot_canon): Cleanups.
27226         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27228         [BZ #13335]
27229         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27230         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27232         * string/test-strchr.c: Make usable for strchrnul testing.
27233         * string/test-strchrnul.c: New file.
27234         * string/Makefile (strop-tests): Add strchrnul.
27236         * po/it.po: Update from translation team.
27237         * po/es.po: Likewise.
27239 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
27241         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27242         the three constants needed as parameters.  Drop the others.
27243         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27244         __m128i_strloadu_tolower.
27245         Create and initialize variable zero and use it in all the places
27246         where _mm_setzero_si128 was used.
27248         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27249         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27250         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27251         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27252         anymore.
27253         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27254         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27255         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27256         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27257         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27258         __mpranred, __mptan.
27259         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27260         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27261         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27262         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27263         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27264         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27265         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27266         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27267         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27269 2011-10-28  Andreas Schwab  <schwab@redhat.com>
27271         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27272         redefine if SHARED.
27273         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27275         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27276         wide char related routines to wcsmbs subdir.
27278 2011-10-27  Andreas Schwab  <schwab@redhat.com>
27280         [BZ #13344]
27281         * misc/sys/cdefs.h (__THROWNL): Define.
27282         * posix/unistd.h: Use __THREADNL instead of __THREAD
27283         for memory synchronization functions.
27285 2011-10-26  Roland McGrath  <roland@hack.frob.com>
27287         [BZ #13349]
27288         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27289         doesn't exist.
27290         * manual/stdio.texi (Obstack Streams): Node removed.
27292 2011-10-26  Andreas Schwab  <schwab@redhat.com>
27294         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27295         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27296         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27298         * math/math_private.h (math_force_eval): Allow non-addressable
27299         arguments.
27300         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27302 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27304         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27305         file is not needed.
27307         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27308         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27309         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27310         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27311         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27312         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27313         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27314         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27315         Add AVX variants.
27316         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27317         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27318         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27319         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27320         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27321         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27322         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27323         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27324         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27325         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27326         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27327         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27328         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27329         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27330         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27331         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27332         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27333         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27334         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27336         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27337         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
27339         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27340         place.  Use VEX encoding when compiling for AVX.
27342 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27344         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27345         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27347         * string/test-strchr.c (do_test): Don't generate NUL bytes.
27349 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27351         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27352         useless if() expression.
27353         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27354         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27355         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27356         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27357         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27358         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27359         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27360         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27361         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27362         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27363         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27364         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27365         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27366         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27367         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27368         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27369         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27370         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27371         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27373         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27375 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27377         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27378         condition.
27379         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27381 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27383         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27384         .text section.  Avoid duplicate constants.
27385         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27387         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27389         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27391         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27392         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27393         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27394         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27395         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27396         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27397         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27398         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27399         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27400         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27401         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27402         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27403         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27404         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27405         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27406         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27407         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27408         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27409         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27410         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27411         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27412         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27413         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27414         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27415         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27416         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27417         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27418         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27419         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27420         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27421         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27422         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27423         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27424         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27425         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27426         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27427         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27428         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27429         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27431 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
27433         * sysdeps/x86_64/dla.h: Move to ...
27434         * sysdeps/x86_64/fpu/dla.h: ...here.
27435         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27436         situations.  Use __builtin_fma only for gcc 4.6 and up.
27438         * config.make.in: Add have-mfma4 entry.
27439         * configure.in: Substitute libc_cv_cc_fma4.
27440         * math/Makefile (dbl-only-routines): Add sincostab.
27441         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27442         Use __sincostab not sincos.
27443         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27444         name is a macro.
27445         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27446         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27447         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
27449         using __copysign.
27450         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
27451         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
27452         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27453         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27454         and __inv.
27455         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27456         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27457         __copysign.
27458         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
27459         define aliases when function name is a macro.
27460         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27461         sysdeps/ieee754/dbl-64/sincos.tbl.
27462         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27463         fma4-enabled routines.
27464         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27465         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27466         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27467         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27468         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27469         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27470         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27471         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27472         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27473         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27474         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27475         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27476         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27477         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27478         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27479         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27480         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27481         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27482         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27483         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27484         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27485         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27486         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27487         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27488         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27489         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27490         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27491         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27492         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27493         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27495         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27496         rename.
27497         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27500         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27502         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27503         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27504         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27506 2011-10-24  Andreas Schwab  <schwab@redhat.com>
27508         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27510 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27512         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27514         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27515         prediction.
27516         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27518         * string/strnlen.c: Don't define STRNLEN, reverse logic.
27519         Remove unused variable magic_bits.
27520         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27522         * string/strnlen.c: Define and use STRNLEN macro.
27523         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27524         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27525         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27526         * wcsmbs/wcslen.c: Define and use WCSLEN.
27527         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27528         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27529         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27530         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27531         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27532         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27533         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27535 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27538         strnlen-sse2-no-bsf.
27539         Rename strlen-no-bsf to strlen-sse2-no-bsf.
27540         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27541         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27542         Add strnlen support.
27543         (USE_AS_STRNLEN): New macro.
27544         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27545         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27546         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27547         * sysdeps/x86_64/wcslen.S: New file.
27549 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
27551         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27552         XMM-moves are used for copying on small sizes.
27554 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27556         * wcsmbs/Makefile (strop-tests): Add wcschr.
27557         * wcsmbs/test-wcschr.c: New file.
27558         * string/test-strchr.c: Update.
27559         Add wcschr support.
27560         (WIDE): New macro.
27562 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27564         * wcsmbs/Makefile (strop-tests): Add wcslen.
27565         * wcsmbs/test-wcslen.c: New file.
27566         * string/test-strlen.c: Update.
27567         Add wcslen support.
27568         (WIDE): New macro.
27570 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27572         * po/it.po: Update from translation team.
27574 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27576         * sysdeps/x86_64/wcscmp.S: Update.
27577         Fix wrong comparison semantics.
27578         wcscmp shall use signed comparison not unsigned.
27579         Don't use substraction to avoid overflow bug.
27580         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27581         * wcsmbc/wcscmp.c: Likewise.
27582         * string/test-strcmp.c: Likewise.
27583         Add new tests to check cases with negative values.
27585 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27587         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27588         * sysdeps/x86_64/dla.h: ...here.  New file.
27589         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27590         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27591         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27592         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27593         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27594         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27596         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27599 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
27601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27602         __ynl_finite aliases.
27604 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27608         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27609         define DLA_FMA.
27610         [DLA_FMA] (EMULV): Use DLA_FMA.
27611         [DLA_FMA] (MUL12): Use EMULV.
27612         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27613         that are not needed.
27614         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27615         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27616         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27617         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27618         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27619         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27620         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27622 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
27624         * math/s_nan.c: Undef __nan.
27625         * math/s_nanf.c: Undef __nanf.
27626         * math/s_nanl.c: Undef __nanl.
27627         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27628         "math_private.h".
27630 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27632         * math/s_catan.c: Add branch predictions.
27633         * math/s_catanf.c: Likewise.
27634         * math/s_catanh.c: Likewise.
27635         * math/s_catanhf.c: Likewise.
27636         * math/s_catanhl.c: Likewise.
27637         * math/s_catanl.c: Likewise.
27638         * math/s_cexp.c: Likewise.
27639         * math/s_cexpf.c: Likewise.
27640         * math/s_cexpl.c: Likewise.
27641         * math/s_clog.c: Likewise.
27642         * math/s_clog10.c: Likewise.
27643         * math/s_clog10f.c: Likewise.
27644         * math/s_clog10l.c: Likewise.
27645         * math/s_clogf.c: Likewise.
27646         * math/s_clogl.c: Likewise.
27647         * math/s_csqrt.c: Likewise.
27648         * math/s_csqrtf.c: Likewise.
27649         * math/s_csqrtl.c: Likewise.
27650         * math/s_ctanf.c: Likewise.
27651         * math/s_ctanh.c: Likewise.
27652         * math/s_ctanhf.c: Likewise.
27653         * math/s_ctanhl.c: Likewise.
27654         * math/s_ctanl.c: Likewise.
27656         * math/math_private.h: Define __nan, __nanf, __nanl.
27657         * math/s_cacosh.c: Include <math_private.h>.
27658         * math/s_cacoshl.c: Likewise.
27659         * math/s_casinh.c: Likewise.
27660         * math/s_casinhf.c: Likewise.
27661         * math/s_casinhl.c: Likewise.
27662         * math/s_ccos.c: Rely entire on ccosh.
27663         * math/s_ccosf.c: Rely entire on ccoshf.
27664         * math/s_ccosl.c: Rely entirely on ccoshl.
27665         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
27666         Remove tests for FE_INVALID.
27667         * math/s_ccoshf.c: Likewise.
27668         * math/s_ccoshl.c: Likewise.
27669         * math/s_csin.c: Likewise.
27670         * math/s_csinf.c: Likewise.
27671         * math/s_csinh.c Likewise.
27672         * math/s_csinhf.c: Likewise.
27673         * math/s_csinhl.c: Likewise.
27674         * math/s_csinl.c: Likewise.
27675         * math/s_ctan.c: Likewise.
27676         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27677         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27678         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27680 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
27682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27683         compilation problems.
27685         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27686         __builtin_expect.
27688 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
27690         * sysdeps/i386/configure.in: Test for -mfma4 option.
27691         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27692         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27693         COMMON_CPUID_INDEX_80000001.
27694         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27695         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27696         use it if FMA3 is not supported.
27697         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27699         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27700         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27702 2011-10-20  Andreas Schwab  <schwab@redhat.com>
27704         [BZ #12892]
27705         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27706         it would create a cycle with a link time dependency.
27708 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
27710         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27711         instruction.
27712         * string/Makefile (strop-tests): Add rawmemchr.
27713         * string/test-rawmemchr.c: New file.
27715         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27716         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
27717         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
27718         when compiling str{,n}casecmp and when AVX is available.  Hook up
27719         new optimized code in initializers.
27721 2011-10-19  Andreas Schwab  <schwab@redhat.com>
27723         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27724         __feraiseexcept instead of feraiseexcept.
27726 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
27728         * math/math_private.h: Define defaults for libc_fetestexcept and
27729         libc_feupdateenv.
27730         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27731         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27732         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27733         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27734         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27735         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27736         libc_fetestexcept and libc_feupdateenv.
27738         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27739         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27740         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27741         * sysdeps/x86_64/fpu/math_private.h: Define special version of
27742         libc_feholdexcept_setround.
27744         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27745         Add s_nearbyint-c and s_nearbyintf-c.
27746         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27747         nearbyintf inlines.
27748         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27749         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27750         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27751         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27753         * math/math_private.h: Define defaults for libc_fegetround,
27754         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27755         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27756         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27757         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27758         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27759         standard functions.
27760         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27761         Remove comments and hacks for old compiler versions.
27762         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27763         libc_fegetround, libc_fesetround, libc_feholdexcept, and
27764         libc_feholdexceptl.
27766 2011-10-18  Andreas Schwab  <schwab@redhat.com>
27768         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27769         (__feraiseexcept_renamed): Add __NTH.
27770         (feraiseexcept): Add __NTH.  Rename local variables to fix
27771         namespace violations.
27773 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
27775         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27777         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27779         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27780         recently added interfaces.
27781         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27783         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27784         about macro parameter expansion.
27786         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27787         __NO_MATH_INLINES is defined.  Cleanups.
27789         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27790         and __floorf is target has SSE4.1.
27791         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27792         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27793         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27794         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27796         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27797         name.
27798         (floorf): Likewise.
27800         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27802 2011-10-17  Andreas Schwab  <schwab@redhat.com>
27804         * misc/sys/cdefs.h: Fix last change.
27806         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27807         database lookup.
27809 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
27811         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27813         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27814         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27815         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27816         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27817         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27818         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27819         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27820         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27821         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27822         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27823         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27824         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27825         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27826         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27827         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27828         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27829         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27830         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27831         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27832         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27833         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27834         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27836         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27837         ceil, ceilf, floor, floorf.
27839         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27840         Perform IRELATIVE relocations last.
27842         * elf/do-rel.h: Add another parameter nrelative, replacing the
27843         local variable with the same name.  Change name of the function
27844         to end in Rel or Rela (uppercase).
27845         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27846         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
27847         elf_dynamic_do_##reloc function.
27849 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
27851         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27852         is sufficient, at least on modern CPUs.
27854         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27856         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27857         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27859         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27860         __expl_finite.
27861         * math/bits/math-finite.h: Add entries for exp.
27862         * math/e_expl.c: Add __*_finite alias.
27863         * sysdeps/i386/fpu/e_exp.S: Likewise.
27864         * sysdeps/i386/fpu/e_expf.S: Likewise.
27865         * sysdeps/i386/fpu/e_expl.c: Likewise.
27866         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27867         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27868         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27869         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27870         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27871         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27872         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27874         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27875         is sufficient, at least on modern CPUs.
27877         * ctype/ctype-info.c (__ctype_init): Define.
27878         * include/ctype.h (__ctype_init): Declare.
27879         (__ctype_b_loc): The variable is always initialized.
27880         (__ctype_toupper_loc): Likewise.
27881         (__ctype_tolower_loc): Likewise.
27882         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27883         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27885 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
27887         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27889         * configure.in: Also look in $cxxmachine/include for C++ system
27890         headers.
27892 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27894         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27895         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27896         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27897         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
27898         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27899         (USE_AS_WMEMCMP): New macro.
27900         Fixing indents.
27901         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27902         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27903         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27904         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27906         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27907         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27908         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27909         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27910         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27911         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27912         (USE_AS_WMEMCMP): New macro.
27913         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27914         * sysdeps/string/test-memcmp.c: Update.
27915         Fix simple_wmemcmp.
27916         Add new tests.
27917         * wcsmbs/wmemcmp.c: Update.
27918         (WMEMCMP): New macro.
27919         Fix overflow bug.
27921 2011-10-12  Andreas Jaeger  <aj@suse.de>
27923         [BZ #13268]
27924         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27926 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
27928         * libio/iofwide.c (do_length): Avoid warning.
27930         * ctype/ctype.h (__isctype_f): Add missing __THROW.
27932 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
27934         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27936         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27937         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27938         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27939         * sysdeps/i386/i686/fpu/e_log.S: New file.
27940         * sysdeps/i386/i686/fpu/e_logf.S: New file.
27941         * sysdeps/i386/i686/fpu/e_logl.S: New file.
27943         * ctype/ctype.h: Add support for inlined isXXX functions when
27944         compiling C++ code.
27946 2011-10-14  Andreas Schwab  <schwab@redhat.com>
27948         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27950         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27952 2011-10-13  Roland McGrath  <roland@hack.frob.com>
27954         [BZ #13291]
27955         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27957 2011-10-13  Andreas Schwab  <schwab@redhat.com>
27959         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27960         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27961         feraiseexcept.
27963         * sysdeps/x86_64/memrchr.S: Check for zero size.
27965         * string/stratcliff.c: Add memrchr tests.
27967 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27969         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27970         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27971         rawmemchr-sse2 rawmemchr-sse2-bsf.
27972         * sysdeps/i386/i686/multiarch/memchr.S: New file.
27973         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27974         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27975         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27976         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27977         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27978         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27979         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27980         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27981         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27982         * string/memrchr.c (MEMRCHR): New macro.
27984 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
27986         Add integration with gcc's -ffinite-math-only and optimize wrapper
27987         functions in libm.
27988         * Versions.def: Define GLIBC_2.15 version for libm.
27989         * math/Makefile (headers): Add bits/math-finite.h.
27990         * math/bits/math-finite.h: New file.
27991         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27992         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27993         * math/e_acoshl.c: Add __*_finite alias.
27994         * math/e_acosl.c: Likewise.
27995         * math/e_asinl.c: Likewise.
27996         * math/e_atan2l.c: Likewise.
27997         * math/e_atanhl.c: Likewise.
27998         * math/e_coshl.c: Likewise.
27999         * math/e_exp10.c: Likewise.
28000         * math/e_exp10f.c: Likewise.
28001         * math/e_exp10l.c: Likewise.
28002         * math/e_exp2l.c: Likewise.
28003         * math/e_fmodl.c: Likewise.
28004         * math/e_gammal_r.c: Likewise.
28005         * math/e_hypotl.c: Likewise.
28006         * math/e_j0l.c: Likewise.
28007         * math/e_j1l.c: Likewise.
28008         * math/e_jnl.c: Likewise.
28009         * math/e_lgammal_r.c: Likewise.
28010         * math/e_log10l.c: Likewise.
28011         * math/e_log2l.c: Likewise.
28012         * math/e_logl.c: Likewise.
28013         * math/e_powl.c: Likewise.
28014         * math/e_sinhl.c: Likewise.
28015         * math/e_sqrtl.c: Likewise.
28016         * math/e_scalb.c: Completely rewritten and optimized.
28017         * math/e_scalbf.c: Likewise.
28018         * math/e_scalbl.c: Likewise.
28019         * math/w_acos.c: Likewise.
28020         * math/w_acosf.c: Likewise.
28021         * math/w_acosl.c: Likewise.
28022         * math/w_acosh.c: Likewise.
28023         * math/w_acoshf.c: Likewise.
28024         * math/w_acoshl.c: Likewise.
28025         * math/w_asin.c: Likewise.
28026         * math/w_asinf.c: Likewise.
28027         * math/w_asinl.c: Likewise.
28028         * math/w_atan2.c: Likewise.
28029         * math/w_atan2f.c: Likewise.
28030         * math/w_atan2l.c: Likewise.
28031         * math/w_atanh.c: Likewise.
28032         * math/w_atanhf.c: Likewise.
28033         * math/w_atanhl.c: Likewise.
28034         * math/w_exp10.c: Likewise.
28035         * math/w_exp10f.c: Likewise.
28036         * math/w_exp10l.c: Likewise.
28037         * math/w_fmod.c: Likewise.
28038         * math/w_fmodf.c: Likewise.
28039         * math/w_fmodl.c: Likewise.
28040         * math/w_j0.c: Likewise.
28041         * math/w_j0f.c: Likewise.
28042         * math/w_j0l.c: Likewise.
28043         * math/w_j1.c: Likewise.
28044         * math/w_j1f.c: Likewise.
28045         * math/w_j1l.c: Likewise.
28046         * math/w_jn.c: Likewise.
28047         * math/w_jnf.c: Likewise.
28048         * math/w_log.c: Likewise.
28049         * math/w_logf.c: Likewise.
28050         * math/w_logl.c: Likewise.
28051         * math/w_log10.c: Likewise.
28052         * math/w_log10f.c: Likewise.
28053         * math/w_log10l.c: Likewise.
28054         * math/w_log2.c: Likewise.
28055         * math/w_log2f.c: Likewise.
28056         * math/w_log2l.c: Likewise.
28057         * math/w_pow.c: Likewise.
28058         * math/w_powf.c: Likewise.
28059         * math/w_powl.c: Likewise.
28060         * math/w_remainder.c: Likewise.
28061         * math/w_remainderf.c: Likewise.
28062         * math/w_remainderl.c: Likewise.
28063         * math/w_scalb.c: Likewise.
28064         * math/w_scalbf.c: Likewise.
28065         * math/w_scalbl.c: Likewise.
28066         * math/w_sqrt.c: Likewise.
28067         * math/w_sqrtf.c: Likewise.
28068         * math/w_sqrtl.c: Likewise.
28069         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28070         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28071         used.
28072         * math/math_private.h: Declare __kernel_standard_f.
28073         * math/w_cosh.c: Remove cruft and optimize a bit.
28074         * math/w_coshf.c: Likewise.
28075         * math/w_coshl.c: Likewise.
28076         * math/w_exp2.c: Likewise.
28077         * math/w_exp2f.c: Likewise.
28078         * math/w_exp2l.c: Likewise.
28079         * math/w_hypot.c: Likewise.
28080         * math/w_hypotf.c: Likewise.
28081         * math/w_hypotl.c: Likewise.
28082         * math/w_lgamma.c: Likewise.
28083         * math/w_lgamma_r.c: Likewise.
28084         * math/w_lgammaf.c: Likewise.
28085         * math/w_lgammaf_r.c: Likewise.
28086         * math/w_lgammal.c: Likewise.
28087         * math/w_lgammal_r.c: Likewise.
28088         * math/w_sinh.c: Likewise.
28089         * math/w_sinhf.c: Likewise.
28090         * math/w_sinhl.c: Likewise.
28091         * math/w_tgamma.c: Likewise.
28092         * math/w_tgammaf.c: Likewise.
28093         * math/w_tgammal.c: Likewise.
28094         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28095         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28096         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28097         Minor optimizations.  Pretty printing.  Remove cruft.
28098         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28099         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28100         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28101         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28102         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28103         * sysdeps/i386/fpu/e_asin.S: Likewise.
28104         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28105         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28106         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28107         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28108         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28109         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28110         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28111         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28112         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28113         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28114         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28115         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28116         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28117         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28118         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28119         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28120         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28121         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28122         * sysdeps/i386/fpu/e_log.S: Likewise.
28123         * sysdeps/i386/fpu/e_log10.S: Likewise.
28124         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28125         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28126         * sysdeps/i386/fpu/e_log2.S: Likewise.
28127         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28128         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28129         * sysdeps/i386/fpu/e_logf.S: Likewise.
28130         * sysdeps/i386/fpu/e_logl.S: Likewise.
28131         * sysdeps/i386/fpu/e_pow.S: Likewise.
28132         * sysdeps/i386/fpu/e_powf.S: Likewise.
28133         * sysdeps/i386/fpu/e_powl.S: Likewise.
28134         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28135         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28136         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28137         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28138         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28139         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28140         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28141         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28142         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28143         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28144         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28145         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28146         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28147         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28148         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28149         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28150         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28151         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28152         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28153         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28154         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28155         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28156         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28157         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28158         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28159         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28160         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28161         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28162         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28163         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28164         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28165         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28166         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28167         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28168         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28169         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28170         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28171         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28172         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28173         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28174         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28175         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28176         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28177         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28178         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28179         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28180         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28181         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28182         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28183         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28184         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28185         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28186         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28187         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28188         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28189         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28190         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28191         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28192         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28193         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28194         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28195         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28196         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28197         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28198         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28199         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28200         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28201         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28202         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28203         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28204         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28207         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28209         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28210         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28211         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28212         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28213         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28214         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28215         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28217         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28218         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28219         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28220         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28221         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28222         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28223         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28224         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28225         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28226         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28227         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28228         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28229         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28230         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28231         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28232         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28233         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28234         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28235         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28236         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28237         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28238         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28239         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28240         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28241         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28242         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28243         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28244         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28245         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28246         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28247         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28248         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28249         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28250         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28251         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28252         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28253         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
28254         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28255         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28256         (__isnanf): Likewise.
28257         (__isinf_ns): Likewise.
28258         (__isinf_nsf): Likewise.
28259         (__finite): Likewise.
28260         (__finitef): Likewise.
28261         (__ieee754_sqrt): Define as macro.
28262         (__ieee754_sqrtf): Define as macro.
28263         (__ieee754_sqrtl): Define as macro.
28264         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28265         inlined copy.
28266         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28267         __FINITE_MATH_ONLY__ consistent.
28268         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28270 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
28272         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28273         of rawmemchr.
28275         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28277 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
28279         * po/ja.po: Update from translation team.
28281 2011-10-08  Roland McGrath  <roland@hack.frob.com>
28283         * locale/programs/locarchive.c (prepare_address_space): New function.
28284         (create_archive, enlarge_archive, open_archive): Use it.
28286         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28287         inside [SHARED], where it is used.
28289         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28291         * nss/getent.c (netgroup_keys): Remove unused variable.
28292         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28294 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
28296         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28297         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28298         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28299         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28300         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28301         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28302         * math/Makefile (libm-calls): Add s_isinf_ns.
28303         * math/divtc3.c: Use __isinf_nsl instead of isinf.
28304         * math/multc3.c: Likewise.
28305         * math/s_casin.c: Likewise.
28306         * math/s_casinf.c: Likewise.
28307         * math/s_casinl.c: Likewise.
28308         * math/s_ccos.c: Likewise.
28309         * math/s_ccosf.c: Likewise.
28310         * math/s_ccosl.c: Likewise.
28311         * math/s_ctan.c: Likewise.
28312         * math/s_ctanf.c: Likewise.
28313         * math/s_ctanh.c: Likewise.
28314         * math/s_ctanhf.c: Likewise.
28315         * math/s_ctanhl.c: Likewise.
28316         * math/s_ctanl.c: Likewise.
28317         * math/w_fmod.c: Likewise.
28318         * math/w_fmodf.c: Likewise.
28319         * math/w_fmodl.c: Likewise.
28320         * math/w_remainder.c: Likewise.
28321         * math/w_remainderf.c: Likewise.
28322         * math/w_remainderl.c: Likewise.
28323         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28324         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28325         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28326         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28327         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28328         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28329         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28330         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28332         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28333         of the number.
28334         * stdio-common/printf_fphex.c: Likewise.
28335         * stdio-common/printf_size.c: Likewise.
28337         * math/e_exp10.c: Include math_private.h using <...> not "...".
28338         * math/e_exp10f.c: Likewise.
28339         * math/e_exp10l.c: Likewise.
28340         * math/e_exp2l.c: Likewise.
28341         * math/e_j0l.c: Likewise.
28342         * math/e_j1l.c: Likewise.
28343         * math/e_jnl.c: Likewise.
28344         * math/e_lgammal_r.c: Likewise.
28345         * math/e_rem_pio2l.c: Likewise.
28346         * math/e_scalb.c: Likewise.
28347         * math/e_scalbf.c: Likewise.
28348         * math/e_scalbl.c: Likewise.
28349         * math/k_cosl.c: Likewise.
28350         * math/k_sinl.c: Likewise.
28351         * math/k_tanl.c: Likewise.
28352         * math/s_cacoshf.c: Likewise.
28353         * math/s_catan.c: Likewise.
28354         * math/s_catanf.c: Likewise.
28355         * math/s_catanh.c: Likewise.
28356         * math/s_catanhf.c: Likewise.
28357         * math/s_catanhl.c: Likewise.
28358         * math/s_catanl.c: Likewise.
28359         * math/s_ccosh.c: Likewise.
28360         * math/s_ccoshf.c: Likewise.
28361         * math/s_ccoshl.c: Likewise.
28362         * math/s_cexp.c: Likewise.
28363         * math/s_cexpf.c: Likewise.
28364         * math/s_cexpl.c: Likewise.
28365         * math/s_clog.c: Likewise.
28366         * math/s_clog10.c: Likewise.
28367         * math/s_clog10f.c: Likewise.
28368         * math/s_clog10l.c: Likewise.
28369         * math/s_clogf.c: Likewise.
28370         * math/s_clogl.c: Likewise.
28371         * math/s_csin.c: Likewise.
28372         * math/s_csinf.c: Likewise.
28373         * math/s_csinh.c: Likewise.
28374         * math/s_csinhf.c: Likewise.
28375         * math/s_csinhl.c: Likewise.
28376         * math/s_csinl.c: Likewise.
28377         * math/s_csqrt.c: Likewise.
28378         * math/s_csqrtf.c: Likewise.
28379         * math/s_csqrtl.c: Likewise.
28380         * math/s_ctan.c: Likewise.
28381         * math/s_ctanf.c: Likewise.
28382         * math/s_ctanh.c: Likewise.
28383         * math/s_ctanhf.c: Likewise.
28384         * math/s_ctanhl.c: Likewise.
28385         * math/s_ctanl.c: Likewise.
28386         * math/s_ldexp.c: Likewise.
28387         * math/s_ldexpf.c: Likewise.
28388         * math/s_ldexpl.c: Likewise.
28389         * math/s_significand.c: Likewise.
28390         * math/s_significandf.c: Likewise.
28391         * math/s_significandl.c: Likewise.
28392         * math/w_acos.c: Likewise.
28393         * math/w_acosf.c: Likewise.
28394         * math/w_acosh.c: Likewise.
28395         * math/w_acoshf.c: Likewise.
28396         * math/w_acoshl.c: Likewise.
28397         * math/w_acosl.c: Likewise.
28398         * math/w_asin.c: Likewise.
28399         * math/w_asinf.c: Likewise.
28400         * math/w_asinl.c: Likewise.
28401         * math/w_atan2.c: Likewise.
28402         * math/w_atan2f.c: Likewise.
28403         * math/w_atan2l.c: Likewise.
28404         * math/w_atanh.c: Likewise.
28405         * math/w_atanhf.c: Likewise.
28406         * math/w_atanhl.c: Likewise.
28407         * math/w_cosh.c: Likewise.
28408         * math/w_coshf.c: Likewise.
28409         * math/w_coshl.c: Likewise.
28410         * math/w_dremf.c: Likewise.
28411         * math/w_exp10.c: Likewise.
28412         * math/w_exp10f.c: Likewise.
28413         * math/w_exp10l.c: Likewise.
28414         * math/w_exp2.c: Likewise.
28415         * math/w_exp2f.c: Likewise.
28416         * math/w_fmod.c: Likewise.
28417         * math/w_fmodf.c: Likewise.
28418         * math/w_fmodl.c: Likewise.
28419         * math/w_hypot.c: Likewise.
28420         * math/w_hypotf.c: Likewise.
28421         * math/w_hypotl.c: Likewise.
28422         * math/w_j0.c: Likewise.
28423         * math/w_j0f.c: Likewise.
28424         * math/w_j0l.c: Likewise.
28425         * math/w_j1.c: Likewise.
28426         * math/w_j1f.c: Likewise.
28427         * math/w_j1l.c: Likewise.
28428         * math/w_jn.c: Likewise.
28429         * math/w_jnf.c: Likewise.
28430         * math/w_jnl.c: Likewise.
28431         * math/w_lgamma.c: Likewise.
28432         * math/w_lgamma_r.c: Likewise.
28433         * math/w_lgammaf.c: Likewise.
28434         * math/w_lgammaf_r.c: Likewise.
28435         * math/w_lgammal.c: Likewise.
28436         * math/w_lgammal_r.c: Likewise.
28437         * math/w_log.c: Likewise.
28438         * math/w_log10.c: Likewise.
28439         * math/w_log10f.c: Likewise.
28440         * math/w_log10l.c: Likewise.
28441         * math/w_log2.c: Likewise.
28442         * math/w_log2f.c: Likewise.
28443         * math/w_log2l.c: Likewise.
28444         * math/w_logf.c: Likewise.
28445         * math/w_logl.c: Likewise.
28446         * math/w_pow.c: Likewise.
28447         * math/w_powf.c: Likewise.
28448         * math/w_powl.c: Likewise.
28449         * math/w_remainder.c: Likewise.
28450         * math/w_remainderf.c: Likewise.
28451         * math/w_remainderl.c: Likewise.
28452         * math/w_scalb.c: Likewise.
28453         * math/w_scalbf.c: Likewise.
28454         * math/w_scalbl.c: Likewise.
28455         * math/w_sinh.c: Likewise.
28456         * math/w_sinhf.c: Likewise.
28457         * math/w_sinhl.c: Likewise.
28458         * math/w_sqrt.c: Likewise.
28459         * math/w_sqrtf.c: Likewise.
28460         * math/w_sqrtl.c: Likewise.
28461         * math/w_tgamma.c: Likewise.
28462         * math/w_tgammaf.c: Likewise.
28463         * math/w_tgammal.c: Likewise.
28465         * po/ja.po: Update from translation team.
28467 2011-09-29  Andreas Jaeger  <aj@suse.de>
28469         [BZ #13179]
28470         * sunrpc/netname.c (netname2host): Fix logic.
28472         [BZ #6779]
28473         [BZ #6783]
28474         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28475         correctly.
28476         * math/w_remainder.c (__remainder): Likewise.
28477         * math/w_remainderf.c (__remainderf): Likewise.
28478         * math/libm-test.inc (remainder_test): Add test cases.
28480 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28482         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
28483         sdiv_qrnnd.
28485 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28487         * string/test-memcmp.c: Avoid unncessary #defines.
28488         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28490 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28492         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28493         Use new sse2 version for core i3 - i7 as it's faster
28494         than sse42 version.
28495         (bit_Prefer_PMINUB_for_stringop): New.
28496         * sysdeps/x86_64/rawmemchr.S: Update.
28497         Replace with faster SSE2 version.
28498         * sysdeps/x86_64/memrchr.S: New file.
28499         * sysdeps/x86_64/memchr.S: Update.
28500         Replace with faster SSE2 version.
28502 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
28504         * elf/dl-load.c (lose): Add cast to avoid warning.
28506 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28508         * po/ca.po: Update from translation team.
28510         * inet/getnetgrent_r.c: Hook up nscd.
28511         * nscd/Makefile (routines): Add nscd_netgroup.
28512         (nscd-modules): Add netgroupcache.
28513         (CFLAGS-netgroupcache.c): Define.
28514         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28515         (cache_search): Add const to second parameter.
28516         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28517         INNETGR.
28518         (dbs): Add netgrdb entry.
28519         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28520         (verify_persistent_db): Handle netgrdb.
28521         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28522         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28523         GETFDNETGR.
28524         (netgroup_response_header): Define.
28525         (innetgroup_response_header): Define.
28526         (datahead): Add netgroup_response_header and innetgroup_response_header
28527         elements.
28528         * nscd/nscd.conf: Add entries for netgroup cache.
28529         * nscd/nscd.h (dbtype): Add netgrdb.
28530         (_PATH_NSCD_NETGROUP_DB): Define.
28531         (netgroup_iov_disabled): Declare.
28532         (xmalloc, xcalloc, xrealloc): Move declarations here.
28533         (cache_search): Adjust prototype.
28534         Add netgroup-related prototypes.
28535         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28536         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28537         (__nscd_innetgr): Declare.
28538         * nscd/selinux.c (perms): Use access_vector_t as element type and
28539         add netgroup-related initializers.
28540         * nscd/netgroupcache.c: New file.
28541         * nscd/nscd_netgroup.c: New file.
28542         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28543         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28544         For four parameters use innetgr.
28545         * nss/nss_files/files-init.c: Add definition and callback for netgr.
28546         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28547         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28548         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28550         * nscd/connections.c (register_traced_file): Don't register file
28551         for disabled databases.
28553 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
28555         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28557         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28558         from tree and freeing node.
28560 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
28562         * nss/nsswitch.c (__nss_database_lookup): Handle
28563         nss_parse_service_list out of memory case.
28565 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
28567         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28568         out of memory case.
28570 2011-10-04  Andreas Schwab  <schwab@redhat.com>
28572         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28573         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28574         pass it down.
28575         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28576         elf_machine_rela, elf_machine_lazy_rel.
28577         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28578         (ELF_DYNAMIC_DO_REL): Likewise.
28579         (ELF_DYNAMIC_DO_RELA): Likewise.
28580         (ELF_DYNAMIC_RELOCATE): Likewise.
28581         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28582         to ELF_DYNAMIC_DO_REL.
28583         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28584         (dl_main): In trace mode always set __RTLD_NOIFUNC.
28585         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28586         elf_machine_rela.
28587         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28588         skip_ifunc, don't call ifunc function if non-zero.
28589         (elf_machine_rela): Likewise.
28590         (elf_machine_lazy_rel): Likewise.
28591         (elf_machine_lazy_rela): Likewise.
28592         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28593         (elf_machine_lazy_rel): Likewise.
28594         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28595         Likewise.
28596         (elf_machine_lazy_rel): Likewise.
28597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28598         Likewise.
28599         (elf_machine_lazy_rel): Likewise.
28600         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28601         (elf_machine_lazy_rel): Likewise.
28602         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28603         (elf_machine_lazy_rel): Likewise.
28604         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28605         (elf_machine_lazy_rel): Likewise.
28606         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28607         (elf_machine_lazy_rel): Likewise.
28608         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28609         (elf_machine_lazy_rel): Likewise.
28610         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28611         (elf_machine_lazy_rel): Likewise.
28613 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
28615         * nss/nss_files/files-init.c (_nss_files_init): Use static
28616         initialization for all the *_traced_file variables.
28618 2011-09-28  Andreas Schwab  <schwab@redhat.com>
28620         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28622 2011-09-27  Roland McGrath  <roland@hack.frob.com>
28624         [BZ #13226]
28625         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28627 2011-09-27  Andreas Schwab  <schwab@redhat.com>
28629         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28630         Reread the line before reparsing it.
28632 2011-09-26  Andreas Schwab  <schwab@redhat.com>
28634         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28636 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
28637             Maxim Kuvyrkov  <maxim@codesourcery.com>
28638             Joseph Myers  <joseph@codesourcery.com>
28640         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28641         if needed for __stack_chk_guard.
28643 2011-09-19  Roland McGrath  <roland@hack.frob.com>
28645         * sysdeps/posix/spawni.c (script_execute): Always define it.
28646         It will be optimized away if unused.
28647         (maybe_script_execute): New function.
28648         (__spawni): Call it.
28650         * Makerules: Don't include tls.make.
28651         (config-tls): Always set to thread.
28652         * tls.make.c: File removed.
28654 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
28656         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28657         * config.make.in (CPPFLAGS-config): New substituted variable.
28659 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28661         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28663         [BZ #13192]
28664         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28665         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28667 2011-09-15  Roland McGrath  <roland@hack.frob.com>
28669         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28670         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28671         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28672         (CALL_FAIL): Likewise.
28673         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28674         (CALL_FAIL): Macro removed.
28675         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28677 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28679         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28680         for __FINITE_MATH_ONLY__ == 1.
28682 2011-09-15  Andreas Schwab  <schwab@redhat.com>
28684         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28685         __ieee754_sqrt instead of sqrt.
28686         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28687         __ieee754_sqrtf instead of sqrtf.
28688         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28689         __floorf instead of floorf.
28690         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28691         __floorf, __truncf instead of floorf, truncf.
28693 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
28695         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28697         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28698         __extern_always_inline.
28699         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28700         32-bit.
28702 2011-09-14  Andreas Schwab  <schwab@redhat.com>
28704         * elf/rtld.c (dl_main): Also relocate in dependency order when
28705         doing symbol dependency testing.
28707 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
28709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28710         Always define `refsym'.
28712 2011-09-13  Andreas Schwab  <schwab@redhat.com>
28714         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28715         (__FD_ELT): Renamed from __FDELT.
28716         * misc/bits/select2.h (__FD_ELT): Likewise.
28717         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28718         __FD_MASK instead of __FDELT, __FDMASK.
28719         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28720         Likewise.
28721         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28722         Likewise.
28724         * elf/Makefile (gen-ldd): Fix pattern.
28726         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28727         (init_tls): Likewise.
28729 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
28731         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28733 2011-09-12  Andreas Schwab  <schwab@redhat.com>
28735         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28736         `struct cmsghdr *' instead of `void *'.
28737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28738         Likewise.
28740 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
28742         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28743         if non-absolute.
28744         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28745         ldd_rewrite_script.
28747 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
28749         * configure.in: Remove --with-tls option.
28750         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28751         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28752         out in case it is missing.
28753         * sysdeps/ia64/elf/configure.in: Likewise.
28754         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28755         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28756         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28757         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28758         * sysdeps/sh/elf/configure.in: Likewise.
28759         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28760         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28761         * sysdeps/x86_64/elf/configure.in: Likewise.
28762         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28763         * sysdeps/mach/hurd/tls.h: Likewise.
28765         [BZ #13067]
28766         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28768         [BZ #13090]
28769         * configure.in: Fix use of AC_INIT.
28771         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28773 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
28775         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28776         __set_errno.
28777         * malloc/hooks.c: Likewise.
28779         [BZ #11929]
28780         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
28781         variables statically.
28782         (narenas): Initialize.
28783         (list_lock): Initialize.
28784         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
28785         initializtion of main_arena and list_lock.  Small cleanups.
28786         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28787         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
28788         Add initializers to main_arena and mp_.
28789         (malloc_state): Remove pagesize member.  Change all users to use
28790         GLRO(dl_pagesize).
28792         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28793         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
28794         is always initialized.
28796         * malloc/malloc.c: Removed unused configurations and dead code.
28797         * malloc/arena.c: Likewise.
28798         * malloc/hooks.c: Likewise.
28799         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28801         * include/tls.h: Removed.  USE___THREAD must always be defined.
28802         * bits/libc-tsd.h: Don't handle !USE___THREAD.
28803         * elf/dl-libc.c: Likewise.
28804         * elf/dl-tsd.c: Likewise.
28805         * include/errno.h: Likewise.
28806         * include/netdb.h: Likewise.
28807         * include/resolv.h: Likewise.
28808         * inet/herrno-loc.c: Likewise.
28809         * inet/herrno.c: Likewise.
28810         * malloc/arena.c: Likewise.
28811         * malloc/hooks.c: Likewise.
28812         * malloc/malloc.c: Likewise.
28813         * resolv/res-state.c: Likewise.
28814         * resolv/res_libc.c: Likewise.
28815         * sysdeps/i386/dl-machine.h: Likewise.
28816         * sysdeps/ia64/dl-machine.h: Likewise.
28817         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28818         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28819         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28820         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28821         * sysdeps/sh/dl-machine.h: Likewise.
28822         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28823         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28824         * sysdeps/unix/i386/sysdep.S: Likewise.
28825         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28826         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28827         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28829         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28831         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28835         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28836         * sysdeps/x86_64/dl-machine.h: Likewise.
28837         * tls.make.c: Likewise.
28839         * configure.in: Remove --with-__thread option.  Make tests for
28840         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28841         tls_model attribute fail if no support is available.  Remove
28842         USE_IN_LIBIO.
28843         * Makeconfig: Adjust for dropped configure option.  All features are
28844         now mandatory.
28845         * Makerules: Likewise.
28846         * Versions.def: Likewise.
28847         * argp/argp-fmtstream.c: Likewise.
28848         * argp/argp-fmtstream.h: Likewise.
28849         * argp/argp-help.c: Likewise.
28850         * assert/assert.c: Likewise.
28851         * config.h.in: Likewise.
28852         * config.make.in: Likewise.
28853         * configure: Likewise.
28854         * configure.in: Likewise.
28855         * csu/Versions: Likewise.
28856         * csu/init.c: Likewise.
28857         * elf/tst-audit2.c: Likewise.
28858         * elf/tst-tls10.c: Likewise.
28859         * elf/tst-tls10.h: Likewise.
28860         * elf/tst-tls11.c: Likewise.
28861         * elf/tst-tls12.c: Likewise.
28862         * elf/tst-tls14.c: Likewise.
28863         * elf/tst-tlsmod11.c: Likewise.
28864         * elf/tst-tlsmod12.c: Likewise.
28865         * elf/tst-tlsmod13.c: Likewise.
28866         * elf/tst-tlsmod13a.c: Likewise.
28867         * elf/tst-tlsmod14a.c: Likewise.
28868         * elf/tst-tlsmod15b.c: Likewise.
28869         * elf/tst-tlsmod16a.c: Likewise.
28870         * elf/tst-tlsmod16b.c: Likewise.
28871         * elf/tst-tlsmod7.c: Likewise.
28872         * elf/tst-tlsmod8.c: Likewise.
28873         * elf/tst-tlsmod9.c: Likewise.
28874         * gmon/gmon.c: Likewise.
28875         * grp/fgetgrent_r.c: Likewise.
28876         * grp/putgrent.c: Likewise.
28877         * hurd/fopenport.c: Likewise.
28878         * include/libc-symbols.h: Likewise.
28879         * include/tls.h: Likewise.
28880         * intl/gettextP.h: Likewise.
28881         * intl/loadinfo.h: Likewise.
28882         * locale/global-locale.c: Likewise.
28883         * locale/localeinfo.h: Likewise.
28884         * mach/devstream.c: Likewise.
28885         * malloc/arena.c: Likewise.
28886         * malloc/set-freeres.c: Likewise.
28887         * misc/err.c: Likewise.
28888         * misc/getttyent.c: Likewise.
28889         * misc/mntent_r.c: Likewise.
28890         * posix/getopt.c: Likewise.
28891         * posix/wordexp.c: Likewise.
28892         * pwd/fgetpwent_r.c: Likewise.
28893         * resolv/Versions: Likewise.
28894         * resolv/res_hconf.c: Likewise.
28895         * shadow/fgetspent_r.c: Likewise.
28896         * shadow/putspent.c: Likewise.
28897         * stdio-common/printf_fphex.c: Likewise.
28898         * stdio-common/tmpfile.c: Likewise.
28899         * stdlib/abort.c: Likewise.
28900         * stdlib/fmtmsg.c: Likewise.
28901         * sunrpc/auth_unix.c: Likewise.
28902         * sunrpc/clnt_perr.c: Likewise.
28903         * sunrpc/clnt_tcp.c: Likewise.
28904         * sunrpc/clnt_udp.c: Likewise.
28905         * sunrpc/clnt_unix.c: Likewise.
28906         * sunrpc/openchild.c: Likewise.
28907         * sunrpc/svc_simple.c: Likewise.
28908         * sunrpc/svc_tcp.c: Likewise.
28909         * sunrpc/svc_udp.c: Likewise.
28910         * sunrpc/svc_unix.c: Likewise.
28911         * sunrpc/xdr.c: Likewise.
28912         * sunrpc/xdr_array.c: Likewise.
28913         * sunrpc/xdr_rec.c: Likewise.
28914         * sunrpc/xdr_ref.c: Likewise.
28915         * sunrpc/xdr_stdio.c: Likewise.
28917 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28919         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28921 2011-07-03  Andreas Jaeger  <aj@suse.de>
28923         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28924         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28925         regenerate with gen-libm-tests.pl.
28927 2010-05-12  Petr Baudis  <pasky@suse.cz>
28929         [BZ #11589]
28930         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28931         around j0() zero points by switching to j1().
28932         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28933         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28937 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28939         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28940         instead of 0.
28941         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28942         instead of 0.
28943         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28944         Patch in part by Pavel Roskin <proski@gnu.org>.
28946         [BZ #13138]
28947         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28948         realloc.
28949         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
28950         Free memory block if necessary.
28952         [BZ #12847]
28953         * libio/genops.c (INTDEF): For string streams the _lock pointer can
28954         be NULL.  Don't lock in this case.
28956 2011-09-09  Roland McGrath  <roland@hack.frob.com>
28958         * elf/elf.h (ELFOSABI_GNU): New macro.
28959         (ELFOSABI_LINUX): Define to that.
28961 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
28963         * string/strncat.c (strncat): Undef the symbol in case it has been
28964         defined in bits/string.h.
28966 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
28968         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28970         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28971         link map.
28973 2011-08-17  Andreas Jaeger  <aj@suse.de>
28975         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28977 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28978             Ian Lance Taylor  <iant@google.com>
28980         * math/libm-test.inc (lround_test): New testcase.
28981         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28983 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
28985         * Makefile: Remove support for automatic cvs check-ins.
28986         * Makerules: Likewise.
28987         * config.make.in: Likewise.
28988         * configure.in: Likewise.
28989         * intl/Makefile: Likewise.
28990         * locale/Makefile: Likewise.
28991         * po/Makefile: Likewise.
28992         * posix/Makefile: Likewise.
28993         * sysdeps/gnu/Makefile: Likewise.
28994         * sysdeps/mach/hurd/Makefile: Likewise.
28995         * sysdeps/sparc/sparc32/Makefile: Likewise.
28997         [BZ #13118]
28998         * posix/Makefile (bug-regex32-ENV): Define.
28999         Patch by John Stanley <jpsinthemix@verizon.net>.
29001         * misc/Makefile (headers): Add bits/select2.h.
29002         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29003         * misc/bits/select2.h: New file.
29004         * include/bits/select2.h: New file.
29005         * debug/Makefile (routines): Add fdelt_chk.
29006         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29007         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29008         FD_ISSET.
29009         * debug/fdelt_chk.c: New file.
29011         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29012         * wcsmbs/test-wmemcmp.c: Likewise.
29013         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29014         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29016 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29018         * string/Makefile (strop-tests): Add memcmp.
29019         * string/test-wmemcmp.c: New file.
29020         * string/test-memcmp.c: Add wmemcmp support.
29022 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29024         [BZ #13153]
29025         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29026         2011-07-19 change.
29028         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29029         garbage value in a __mach_port_mod_refs call in the cases of the
29030         task-self and thread-self ports.
29032 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29034         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29036 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29038         * elf/dl-load.c (lose): Check for non-null L.
29040 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29042         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29044         * elf/dl-libc.c (dlerror_run): Pass back error code from
29045         dl_catch_error.
29047         [BZ #13123]
29048         * elf/dl-load.c (lose): Free l_origin if it is valid.
29050         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29051         names.
29052         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29053         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29054         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29055         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29056         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29057         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29059 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29061         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29062         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29063         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29064         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29065         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29066         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29067         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29068         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29069         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29070         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29072 2011-08-15  Alan Modra  <amodra@gmail.com>
29074         [BZ #13092]
29075         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29076         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29077         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29078         ppc_mcount to static-only-routines.
29079         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29080         __mcount_internal.
29081         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29082         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29084 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29086         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29087         for finite and infinity parameters.
29089 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29091         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29092         and add nop instructions for throughput optimization.
29093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29095 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29097         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29098         aligned copy for power7 with vector-scalar instructions.
29099         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29101 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29104         AVX check.
29106 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29108         [BZ #13144]
29109         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29110         last change.
29112 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29114         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29115         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29116         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29117         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29118         clock_gettime.
29120 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29122         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29123         Forgot to demangle the pointer.
29125         * sysdeps/i386/sysdep.h: Define atom_text_section.
29126         * sysdeps/x86_64/sysdep.h: Likewise.
29127         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29128         section with atom_text_section.
29129         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29130         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29131         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29132         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29133         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29135         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29136         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29137         already be defined.  Change to take two parameters and don't assign
29138         result to variable.  Adjust all users.
29139         Define INTERNAL_GETTIME if not already defined.
29140         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29141         call.
29142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29143         HAVE_CLOCK_GETTIME_VSYSCALL.
29144         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29146         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29147         gettimeofday vsyscall, just use time.
29149 2011-09-06  Andreas Schwab  <schwab@redhat.com>
29151         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29152         <errno.h>.
29154 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29156         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29157         syscall on x86-64.
29158         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29159         syscall.
29160         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29161         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29162         syscall if possible.
29164 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29166         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29167         e_ident.  Don't pass to find_mapsXX.
29168         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29170 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29172         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29173         strchr-sse2-no-bsf strrchr-sse2-no-bsf
29174         * sysdeps/x86_64/multiarch/strchr.S: Update.
29175         Check bit_slow_BSF bit.
29176         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29177         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29178         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29180 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29182         [BZ #13134]
29183         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29184         before glibc 2.15.
29185         (tryshell): Define.
29186         (__spawni): Change last parameter to be flag.  Test
29187         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29188         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29189         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29190         * posix/spawni.c: Likewise.
29191         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29192         * posix/spawnp.c: Likewise.  Change normal version to use
29193         SPAWN_XFLAGS_USE_PATH.
29194         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29195         SPAWN_XFLAGS_TRY_SHELL.
29197         [BZ #13150]
29198         * posix/glob.h: Remove gcc 1.x support.
29200         [BZ #13068]
29201         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29203 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29205         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29206         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29207         strrchr-sse2-bsf
29208         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29209         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29210         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29211         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29212         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29213         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29215 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29217         * sysdeps/x86_64/wcscmp.S: New file.
29219         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29220         wcscmp-c wcscmp-sse2
29221         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29222         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29223         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29224         * wcsmbs/wcscmp.c: Allow renaming.
29226 2011-09-05  David S. Miller  <davem@davemloft.net>
29228         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29229         stack slot, rather than the struct return pointer slot.
29230         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29231         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29233         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29235 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29237         * po/ja.po: Update from translation team.
29239         [BZ #13144]
29240         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29241         kernel in 64-bit binaries.
29243 2011-09-01  David S. Miller  <davem@davemloft.net>
29245         * elf/elf.h (HWCAP_SPARC_*): Move to..
29246         * sysdeps/sparc/sysdep.h: this new file and add new values.
29247         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29248         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29249         _DL_HWCAP_COUNT to 24.
29250         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29251         entries.
29252         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29253         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29254         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29256         instead of magic constants.
29257         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29259 2011-08-31  David S. Miller  <davem@davemloft.net>
29261         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29263         Reimplement to do errno handling inline.
29264         (SYSCALL_ERROR_HANDLER): New macro.
29265         (__SYSCALL_STRING): Do not do errno handling in asm.
29266         (__CLONE_SYSCALL_STRING): Delete.
29267         (__INTERNAL_SYSCALL_STRING): Delete.
29268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29269         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29270         (PSEUDO): Reimplement to do errno handling inline.
29271         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29272         (SYSCALL_ERROR_HANDLER): New macro.
29273         (__SYSCALL_STRING): Do not do errno handling in asm.
29274         (__CLONE_SYSCALL_STRING): Delete.
29275         (__INTERNAL_SYSCALL_STRING): Delete.
29276         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29277         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29278         i386.
29279         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29280         (inline_syscall*): Add 'err' argument.
29281         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29282         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29283         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29284         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29286         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29287         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29289 2011-08-30  Andreas Schwab  <schwab@redhat.com>
29291         * elf/rtld.c (dl_main): Relocate objects in dependency order.
29293 2011-08-29  Jiri Olsa <jolsa@redhat.com>
29295         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29296         directive.
29298 2011-08-24  David S. Miller  <davem@davemloft.net>
29300         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29302 2011-08-24  Andreas Schwab  <schwab@redhat.com>
29304         * elf/Makefile: Add rules to build and run unload8 test.
29305         * elf/unload8.c: New file.
29306         * elf/unload8mod1.c: New file.
29307         * elf/unload8mod1x.c: New file.
29308         * elf/unload8mod2.c: New file.
29309         * elf/unload8mod3.c: New file.
29311         * elf/dl-close.c (_dl_close_worker): Reset private search list if
29312         it wasn't used.
29314 2011-08-23  David S. Miller  <davem@davemloft.net>
29316         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29317         subtract stack bias.
29318         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29319         %sp not %fp in calculations.
29320         (_JMPBUF_UNWINDS_ADJ): Likewise.
29322         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29323         (aio_suspend): Call it to force an exception region around the
29324         AIO_MISC_WAIT() invocation.
29326 2011-08-23  Andreas Schwab  <schwab@redhat.com>
29328         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29329         backslash.
29331 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
29333         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29334         protection macro.
29335         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29336         and <dl-machine.h>.
29337         (Elf64_FuncDesc): Remove.
29339 2011-08-22  David S. Miller  <davem@davemloft.net>
29341         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29342         sigaltstack check, add missing cfi directives.
29343         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29344         missing cfi directives, and sigaltstack handling.
29346 2011-08-16  Andreas Schwab  <schwab@redhat.com>
29348         [BZ #11724]
29349         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29350         object is seen twice.
29351         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29353         * elf/Makefile (distribute): Add tst-initorder2.c.
29354         (tests): Add tst-initorder2.
29355         (modules-names): Add tst-initorder2a tst-initorder2b
29356         tst-initorder2c tst-initorder2d.  Add rules to build them.
29357         ($(objpfx)tst-initorder2.out): New rule.
29358         * elf/tst-initorder2.c: New file.
29359         * elf/tst-initorder2.exp: New file.
29361 2011-08-22  Andreas Schwab  <schwab@redhat.com>
29363         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29365         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29366         dependencies back to end of function.
29368         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29369         $(elfobjdir)/ld.so.
29371 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
29373         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29374         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29375         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29376         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29377         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29378         of __vdso_gettimeofday.
29379         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29380         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
29381         attribute_hidden.
29382         (_libc_vdso_platform_setup): Remove initialization of
29383         __vdso_gettimeofday and __vdso_time.
29385 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29387         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29388         and fgetc_unlocked.
29389         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29390         getc_unlocked.
29392         * elf/dl-open.c (add_to_global): Report additions to the global scope
29393         for LD_DEBUG=scopes.
29394         (dl_open_worker): Also print scope of newly loaded dependencies.
29395         (_dl_show_scope): Indicate if there is no scope.
29397         [BZ #13114]
29398         * stdio-common/Makefile (tests): Add bug24.
29399         * stdio-common/bug24.c: New file.
29401 2011-08-19  Andreas Jaeger  <aj@suse.de>
29403         [BZ #13114]
29404         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29405         non-existant file when using close-on-exec mode.
29407 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29410         the very first instruction.
29412         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29413         the CFI state in the end.
29414         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29415         inclusion of dl-trampoline.h.
29416         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29418 2011-08-19  Andreas Schwab  <schwab@redhat.com>
29420         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29421         expectations for long double.
29423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29424         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29426 2011-08-14  David S. Miller  <davem@davemloft.net>
29428         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29429         artificual limit depends upon the system page size.
29431 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29433         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29434         * resolv/Makefile: Define CFLAGS-libresolv.
29436 2011-08-17  Andreas Schwab  <schwab@redhat.com>
29438         * nss/makedb.c (compute_tables): Make variables used in nested
29439         function static.
29441 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29443         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29444         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29445         if buffer was too small.
29447         * elf/pldd.c (main): Attach to all threads in the process.
29448         Rewrite /proc handling to use *at functions.
29450 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
29452         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29453         specifies first scope to show.
29454         (dl_open_worker): Update callers.  Move printing scope of new
29455         object to before the relocation.
29456         * elf/rtld.c (dl_main): Update _dl_show_scope call.
29457         * sysdeps/generic/ldsodefs.h: Update declaration.
29459         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29460         string for the scope number.
29462 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
29464         * nscd/servicescache.c (cache_addserv): Make sure written is always
29465         initialized.
29467 2011-08-14  Roland McGrath  <roland@hack.frob.com>
29469         * sysdeps/i386/i486/bits/atomic.h
29470         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29471         statement expression, so as to suppress "set but not used" warning.
29472         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29474         * string/strncat.c (STRNCAT): Use prototype definition.
29476         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29477         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29478         -Iprograms here.
29479         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29480         (localedef-modules): Add localedef.
29481         (locale-modules): Add locale.
29483         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29484         * elf/rtld.c (dl_main): Invert order of assignment in last change,
29485         to avoid a warning.
29487 2011-08-14  David S. Miller  <davem@davemloft.net>
29489         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29490         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29492 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
29494         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29495         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29496         * elf/rtld.c (dl_main): Set l_name of vDSO.
29497         Call _dl_show_scope when DL_DEBUG_SCOPES.
29498         (process_dl_debug): Recognize scopes flag and also set it for all.
29499         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29500         Declare _dl_show_scope.
29502         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29503         (do_dlopen): Pass caller_dlopen to dl_open.
29504         (__libc_dlopen_mode): Initialize caller_dlopen.
29506         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29507         of libc.  Make tolower call locale-independent.  Optimize a bit by
29508         using isdigit instead of isalnum.
29509         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29511 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
29513         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29514         was a dependency or dynamically loaded.
29516 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
29518         * intl/l10nflist.c: Allow architecture-specific pop function.
29519         * sysdeps/x86_64/l10nflist.c: New file.
29521         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29522         classification.
29524 2011-08-10  Andreas Schwab  <schwab@redhat.com>
29526         * include/dirent.h: Add libc_hidden_proto for scandirat and
29527         scandirat64.  Don't declare __scandirat64.
29528         * dirent/scandirat.c: Add libc_hidden_def.
29529         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29530         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29532 2011-08-10  David S. Miller  <davem@davemloft.net>
29534         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29535         enum.
29536         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29537         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29540 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
29542         * Versions.def [libc]: Add GLIBC_2.15.
29543         * dirent/Makefile (routines): Add scandirat and scandirat64.
29544         * dirent/Versions [libc]: Export scandirat and scandirat64 for
29545         GLIBC_2.15.
29546         * dirent/dirent.h: Declare scandirat and scandirat64.
29547         * dirent/scandirat.c: New file.
29548         * dirent/scandirat64.c: New file.
29549         * sysdeps/wordsize-64/scandirat.c: New file.
29550         * sysdeps/wordsize-64/scandirat64.c: New file.
29551         * dirent/opendir.c: Define opendirat.
29552         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
29553         using scandirat.
29554         * dirent/scandir64.c: Adjust for scandir.c change.
29555         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
29556         __scandirat64, and __scandir_cancel_handler.
29557         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
29558         additional parameter and use openat instead of open (outside of ld.so).
29559         Add new __opendir as wrapper around __opendirat.
29560         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29561         here without requiring old scandirat implementation.
29563 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
29565         * dirent/scandir.c (cancel_handler): Renamed to
29566         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
29567         defined.  Adjust users.
29568         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29569         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29571 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
29573         * string/test-string.h (IMPL): Use __STRING to expand name and then
29574         stringify it.
29576         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
29577         of cleanups.
29579 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29581         * string/Makefile: Update.
29582         (strop-tests): Append strncat.
29583         * string/test-wcscmp.c: New file.
29584         New comprehensive test for wcscmp.
29585         * string/test-strcmp.c: Update.
29586         (WIDE): New define.
29588 2011-07-22  Andreas Schwab  <schwab@redhat.com>
29590         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29591         line.
29593 2011-07-26  Andreas Schwab  <schwab@redhat.com>
29595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29596         encoding to ACE if AI_IDN.
29598 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
29600         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29601         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29603 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29605         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29606         Fix overflow bug in strncat.
29607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29609         * string/test-strncat.c: Update.
29610         Add new tests for checking overflow bugs.
29612 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29615         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29616         * sysdeps/i386/i686/multiarch/strcat.S: New file.
29617         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29618         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29619         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29620         * sysdeps/i386/i686/multiarch/strncat.S: New file.
29621         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29622         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29624         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29625         (USE_AS_STRCAT): Define.
29626         Add strcat and strncat support.
29627         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29629 2011-07-25  Andreas Schwab  <schwab@redhat.com>
29631         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29632         __n bigger than INT_MAX+1.
29633         (__strncmp_g): Likewise.
29635 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
29637         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29638         * libio/stido.h: Likewise.
29640         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29641         (AF_NFC): Define.
29642         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29643         (AF_NFC): Define.
29645         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29646         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29647         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29648         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29649         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29651         [BZ #13021]
29652         * scripts/test-installation.pl: Don't expect libnss_test1 to be
29653         installed.
29655         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29656         typo.
29657         (_dl_x86_64_save_sse): Likewise.
29659 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
29661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29662         OSXSAVE.
29663         (_dl_x86_64_save_sse): Likewise.
29665         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29667         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29669 2011-07-21  Andreas Schwab  <schwab@redhat.com>
29671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29672         change.
29673         (_dl_x86_64_save_sse): Use correct AVX check.
29675 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29677         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29678         bug in strncpy/strncat.
29679         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29681 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
29683         * string/tester.c (test_strcat): Add tests for different alignments
29684         of source and destination.
29685         (test_strncat): Likewise.
29687 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29689         [BZ #12852]
29690         * posix/glob.c (glob): Check passed in values before using them in
29691         expressions to avoid some overflows.
29692         (glob_in_dir): Likewise.
29694         [BZ #13007]
29695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29696         check for AVX enablement so that we don't crash with old kernels and
29697         new hardware.
29698         * elf/tst-audit4.c: Add same checks here.
29699         * elf/tst-audit6.c: Likewise.
29701         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29703 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
29705         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29707 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29709         * po/cs.po: Update from translation team.
29710         * po/bg.po: Likewise.
29712 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
29714         * misc/sys/cdefs.h: Add support for const attribute.
29715         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29716         to gnu_dev_{major,minor,makedev} functions.
29718 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
29720         * intl/dcigettext.c (get_output_charset): Add missing bracket.
29722 2011-07-20  Andreas Schwab  <schwab@redhat.com>
29724         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29725         strlen results.
29727 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29729         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29730         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29731         register in order to avoid conflicts with the soft frame pointer
29732         being held in r11 when necessary.
29733         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29734         (INTERNAL_VSYSCALL_NCS): Likewise.
29736 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
29738         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29739         * elf/dl-fini.c (_dl_fini): Adjust caller.
29740         * elf/dl-close.c (_dl_close_worker): Likewise.
29741         * sysdeps/generic/ldsodefs.h: Adjust declaration.
29743 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29745         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29746         "aux_cache->nlibs < 0".
29748         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29749         in the reload-count case.
29751 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29754         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29755         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29756         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29757         * sysdeps/x86_64/multiarch/strcat.S: New file.
29758         * sysdeps/x86_64/multiarch/strncat.S: New file.
29759         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29760         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29761         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29762         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29763         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29764         (USE_AS_STRCAT): Define.
29765         Add strcat and strncat support.
29766         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29767         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29768         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29769         * string/strncat.c: Update.
29770         (USE_AS_STRNCAT): Define.
29771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29772         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29773         and i7.
29774         * sysdeps/x86_64/multiarch/init-arch.h
29775         (bit_Prefer_PMINUB_for_stringop): New.
29776         (index_Prefer_PMINUB_for_stringop): Likewise.
29777         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29778         bit_Prefer_PMINUB_for_stringop.
29780 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29782         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29783         buffer64.
29784         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29785         of casting of buffer.
29786         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29787         buffer32 and buffer64.
29788         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29789         writes instead of casting of buffer.
29790         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29791         buffer32.
29792         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29793         casting of buffer.
29795 2011-07-19  Andreas Schwab  <schwab@redhat.com>
29797         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29799 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29801         * nscd/nscd.c (termination_handler): Don't do anything for a database
29802         if it has not yet been initialized.
29804 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29806         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29808 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29810         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29812 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29814         * po/nl.po: Update from translation team.
29815         * po/sv.po: Likewise.
29817 2011-07-16  Roland McGrath  <roland@hack.frob.com>
29819         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29820         now disallowed by GCC.
29822         * configure.in (use-default-link): Default to yes if a test -shared
29823         link meets our qualifications.
29824         * configure: Regenerated.
29826         * config.make.in (output-format): New variable.
29827         * configure.in: Check for ld --print-output-format support.
29828         * configure: Regenerated.
29829         * Makerules ($(common-objpfx)format.lds)
29830         [$(output-format) != unknown]: Just use $(output-format),
29831         instead of the linker-script munging.
29833 2011-07-14  Roland McGrath  <roland@hack.frob.com>
29835         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29836         of $(common-objpfx)shlib.lds.
29837         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29839         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29840         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29842         * configure.in (-z relro check): Adjust test code to add a large
29843         writable data section after it.
29844         * configure: Regenerated.
29846 2011-07-11  Roland McGrath  <roland@hack.frob.com>
29848         * configure.in (-z relro check): Fix test code to make the variable
29849         truly const.
29850         * configure: Regenerated.
29852 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
29854         * nscd/nscd.h (struct traced_file): Define.
29855         (struct database_dyn): Remove inotify_descr, reset_res, and filename
29856         elements.  Add traced_files.
29857         (inotify_fd): Declare.
29858         (register_traced_file): Declare.
29859         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29860         (inotify_fd): Export.
29861         (resolv_conf_descr): Remove.
29862         (nscd_init): Move inotify descriptor creation to main.
29863         Don't register files for notification here.
29864         (register_traced_file): New function.
29865         (invalidate_cache): Don't use reset_res to determine whether to call
29866         res_init, go through the list of registered files.
29867         (main_loop_poll): The inotify descriptors are now stored in the
29868         structures for the traced files.
29869         (main_loop_epoll): Likewise
29870         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
29871         to __nss_disable_nscd.
29872         * nscd/cache.c (prune_cache): There is no single inotify descriptor
29873         for a database anymore.  Check the records for all the registered
29874         files instead.
29875         * nss/Makefile (libnss_files-routines): Add files-init.
29876         (libnss_db-routines): Add db-init.
29877         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29878         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29879         * nss/nss_db/db-init.c: New file.
29880         * nss/nss_files/files-init.c: New file.
29881         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
29882         __nss_lookup_function.
29883         (__nss_lookup_function): Call nss_load_library.
29884         (nss_load_all_libraries): New function.
29885         (__nss_disable_nscd): Take parameter with callback function for files
29886         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
29887         used for the cached services.
29888         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29889         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29890         options for features to all the files in nscd.
29892         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29894 2011-07-10  Roland McGrath  <roland@hack.frob.com>
29896         * csu/elf-init.c (__libc_csu_init): Comment typo.
29898 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
29900         * po/pl.po: Update from translation team.
29901         * po/ja.po: Likewise.
29902         * po/ru.po: Likewise.
29903         * po/ko.po: Likewise.
29904         * po/fr.po: Likewise.
29906 2011-07-09  Roland McGrath  <roland@hack.frob.com>
29908         * configure.in (.ctors/.dtors header and trailer check):
29909         Use an empirical test on a built program.
29910         * configure: Regenerated.
29912         * configure.in (-z relro check): Use an empirical test on a built DSO.
29913         Detect, but do not require, on ia64.
29914         * configure: Regenerated.
29916         * configure.in (READELF): Find it with AC_CHECK_TOOL.
29917         Update tests that use readelf to use $READELF instead.
29918         * configure: Regenerated.
29920 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
29922         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29923         if the result is not used.
29925 2011-07-05  Andreas Jaeger  <aj@suse.de>
29927         [BZ#9696]
29928         * stdlib/tst-strtod.c: Add testcase.
29930 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
29932         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29933         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29934         The latter has a higher limit.  Take additional parameter to pass to
29935         the new function.
29936         (__pathconf): Pass file to __statfs_link_max.
29937         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29938         __statfs_link_max.
29939         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29940         __statfs_link_max.
29942         [BZ #12868]
29943         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29944         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29945         Handle Lustre.
29946         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29947         (__statfs_filesize_max): Likewise.
29948         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29950 2011-07-05  Andreas Jaeger  <aj@suse.de>
29952         * resolv/res_comp.c (dn_skipname): Remove unused variable.
29954 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
29956         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29957         `status' variable.
29958         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29959         Likewise.
29961 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
29963         * Makefile (strop-tests): Add strncat.
29964         * string/test-strncat.c: New file.
29966 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
29968         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29970 2011-06-21  Andreas Jaeger  <aj@suse.de>
29972         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29973         Copy rule from iconvdata/Makefile.
29975 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29977         [BZ #12922]
29978         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29979         but no long options are defined, just return 'W'.
29981 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
29983         [BZ #9696]
29984         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29986 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
29988         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29989         netgroups to read.
29990         (innetgr): Likewise.
29992 2011-07-05  Roland McGrath  <roland@hack.frob.com>
29994         * config.make.in (install_root): Default to $(DESTDIR).
29996 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
29998         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30000 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30002         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30004         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30005         containing directory rather than embedding absolute directory names.
30007         * scripts/check-local-headers.sh: Rewritten using awk.
30008         Match by word, not by line.  Print error messages for matches.
30009         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30011         * Makerules [shlib-lds-flags empty]:
30012         ($(common-objpfx)libc_pic.opts): New target.
30013         ($(common-objpfx)libc_pic.os.clean): New target.
30014         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30016         * config.make.in (OBJCOPY): New variable.
30017         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30018         * configure: Regenerated.
30020         * config.make.in (use-default-link): New variable.
30021         * configure.in (use_default_link): Grok --with-default-link to set it.
30022         * configure: Regenerated.
30023         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30024         (shlib-lds, shlib-lds-flags): Define to empty.
30026         * Makerules (shlib-lds): New variable.
30027         (shlib-lds-flags): New variable.
30028         (build-shlib, build-moduile, build-module-asneeded): Use it.
30029         ($(common-objpfx)libc.so): Use $(shlib-lds).
30030         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30031         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30033         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30034         DT_FLAGS/DT_FLAGS_1 with zero flags.
30036         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30037         linker script munging.
30039 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30041         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30042         as 128-bit value.
30043         * crypt/sha512.c (sha512_process_block): Perform total addition using
30044         128-bit if possible.
30045         (__sha512_finish_ctx): Likewise.
30046         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30047         as 64-bit value.
30048         * crypt/sha256.c (SWAP64): Define.
30049         (sha256_process_block): Perform total addition using 64-bit if
30050         possible.
30051         (__sha256_finish_ctx): Likewise.
30053 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30055         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30056         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30057         * nscd/hstcache.c (cache_addhst): Likewise.
30058         * nscd/grpcache.c (cache_addgr): Likewise.
30059         * nscd/aicache.c (addhstaiX): Likewise
30060         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30062 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30064         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30065         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30066         * nscd/hstcache.c (cache_addhst): Likewise.
30067         * nscd/grpcache.c (cache_addgr): Likewise.
30068         * nscd/aicache.c (addhstaiX): Likewise
30070 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30072         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30073         domain only when needed.
30075 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30078         is always restored.
30080 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30082         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30083         are re-adding the entry.
30084         * nscd/servicescache.c (cache_addserv): Likewise.
30086 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30088         * sysdeps/generic/dl-irel.h: fix protection against multiple
30089         inclusions.
30090         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30092 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30094         [BZ #12935]
30095         * malloc/memusage.sh: Fix quoting in message.
30096         * debug/xtrace.sh: Likewise.
30098         * configure.in: Remove support for --experimental-malloc option, make
30099         it the default.
30100         * config.make.in: Likewise.
30101         * malloc/Makefile: Likewise.
30103 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30105         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30106         two-byte characters.
30108 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30110         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30111         AC_CACHE_CHECK invocation.
30112         * configure: Regenerated.
30114         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30116 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30118         [BZ #12350]
30119         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30120         bit from old_res_options.
30122         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30124         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30125         value type for setfct.
30127 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30130         __gettimeofday instead of gettimeofday.
30132 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30134         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30136 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30138         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30140         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30141         info.
30143 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30146         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30147         strcpy-sse2-unaligned strncpy-sse2-unaligned
30148         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30149         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30150         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30151         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30152         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30154         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30155         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30156         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30157         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30158         (STRCPY): Support SSE2 and SSSE3 versions.
30160 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
30162         [BZ #12874]
30163         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30164         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30165         kernels which artificially limit size of requests.
30167 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30170         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30171         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30172         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30173         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30174         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30175         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30176         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30177         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30178         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30179         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30180         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30181         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30182         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30183         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30185         Enable unaligned load optimization for Intel Core i3, i5 and i7
30186         processors.
30187         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30188         Define.
30189         (index_Fast_Unaligned_Load): Define.
30190         (HAS_FAST_UNALIGNED_LOAD): Define.
30192 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30194         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30196 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30198         [BZ #12907]
30199         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30200         until it is clear that the information is realy needed.
30201         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30203 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30207 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30209         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30210         /sys/devices/system/cpu/online if it is usable.
30212         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30213         reading the information from the /proc filesystem to once a second.
30215 2011-06-21  Andreas Jaeger  <aj@suse.de>
30217         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30218         NULL after inclusion of kernel headers.
30220 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30222         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30223         calls to internal_setent.
30225         [BZ #12885]
30226         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30227         addresses using gethostbyname4_r ignore IPv4 addresses.
30229         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30230         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30232         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30234 2011-06-20  David S. Miller  <davem@davemloft.net>
30236         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30237         inclusions.
30238         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30240         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30241         (elf_irel): Use it.
30242         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30243         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30244         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30245         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30246         * sysdeps/x86_64/dl-irel.h: Likewise.
30248         * elf/dl-runtime.c: Use elf_ifunc_invoke.
30249         * elf/dl-sym.c: Likewise.
30251 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30253         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
30254         need to dereference resplen2.
30256 2011-06-14  Andreas Schwab  <schwab@redhat.com>
30258         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30260 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30262         * Makeconfig: Define vardbdir and inst_vardbdir.
30263         * nss/Makefile: Add rules to install db-Makefile.
30265         * nss/nss_db/db-XXX.c: Cleanup.
30267         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30268         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30269         GLIBC_PRIVATE.
30270         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30271         * nss/makedb.c: Implement -g option to specify that value strings
30272         are generated and should not be added to table iterated over for
30273         get*ent calls.
30274         * nss/nss_db/db-initgroups.c: New file.
30276         * nss/getent.c: Add support for initgroups lookups through getgrouplist
30277         interface.
30279         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30280         (internal_getgrouplist): Adjust to name change.
30281         Update use_initgroups_entry if this is not the first call.
30282         * nss/databases.def: Add initgroups entry.
30284         * nss/makedb.c (compute_tables): Check result of multiple hash table
30285         sizes to minimize maximum chain length.
30287 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
30289         * Versions.def: Add entry for libnss_db.
30290         * shlib-versions: Likewise.
30291         * nss/Makefile: Add rules to build libnss_db.
30292         * nss/Versions: Add libnss_db information.  Organize libnss_files
30293         entries better.
30294         * nss/db-Makefile: Add gshadow support.  Change rules for the new
30295         makedb progra.  Some minor improvements to generate smaller files.
30296         * nss/nss_db/nss_db.h: Move NSS database header data structures to
30297         here from...
30298         * nss/makedb.c: ...here.
30299         Improve database format to be smaller and require less memory at
30300         runtime.
30301         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
30302         db anymore.
30303         * nss/nss_db/db-netgrp.c: Likewise.
30304         * nss/nss_db/db-open.c: Likewise.
30305         * nss/nss_files/flies-XXX.x: Adjust comments.
30306         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30307         * nss/nss_files/files-grp.c: Likewise.
30308         * nss/nss_files/files-hosts.c: Likewise.
30309         * nss/nss_files/files-network.c: Likewise.
30310         * nss/nss_files/files-proto.c: Likewise.
30311         * nss/nss_files/files-pwd.c: Likewise.
30312         * nss/nss_files/files-rpc.c: Likewise.
30313         * nss/nss_files/files-service.c: Likewise.
30314         * nss/nss_files/files-sgrp.c: Likewise.
30315         * nss/nss_files/files-spwd.c: Likewise.
30316         * nss/nss_db/db-alias.c: Removed.
30317         * nss/nss_db/dummy-db.h: Removed.
30319 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
30321         * nss/makedb.c: Rewritten to not use database library.
30322         * nss/Makefile: Update to build new makedb program.
30324 2011-06-14  Andreas Jaeger  <aj@suse.de>
30326         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30327         memset declaration.
30329 2011-06-10  Andreas Schwab  <schwab@redhat.com>
30331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30332         tmpbuf.
30334 2011-06-10  Roland McGrath  <roland@hack.frob.com>
30336         * Makerules (shlib.lds): Fail if the linker script comes out empty.
30337         * elf/Makefile ($(objpfx)ld.so): Likewise.
30339         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30340         Don't list ld.so twice in dependencies.
30342         * posix/bug-regex31.c: Include <stdlib.h>.
30344         * nscd/hstcache.c (cache_addhst): Remove unused variable.
30346         * nis/nss_compat/compat-spwd.c
30347         (getspent_next_nss_netgr): Remove unused variable.
30348         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30350         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30351         nonmembers" output to use the right array.
30353         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30355         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30357         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30358         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30359         * catgets/gencat.c (read_input_file): Likewise.
30360         * locale/programs/locarchive.c (enlarge_archive): Likewise.
30362         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30363         variable definition inside #if's controlling its use.
30365         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30367         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30369         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30371         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30372         unreachable code.
30374         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30376         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30377         * configure: Regenerated.
30379         * Makerules: Revert last change.
30380         * elf/Makefile: Likewise.
30382 2011-06-09  Roland McGrath  <roland@hack.frob.com>
30384         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30385         * elf/Makefile ($(objpfx)librtld.os): Likewise.
30386         (reloc-link): Likewise.
30388 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
30390         * elf/Makefile: Add rules to build pldd.
30391         * elf/pldd.c: New file.
30392         * elf/pldd-xx.c: New file.
30394 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
30396         * version.h: Update for 2.15 development version.
30398 2011-06-07  David S. Miller  <davem@davemloft.net>
30400         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30401         ifuncs.
30402         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30403         elf_machine_lazy_rel): Likewise.
30404         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30405         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30406         elf_machine_lazy_rel): Likewise.
30407         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30408         dl_hwcap via passed in argument.
30409         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30410         Likewise.
30412 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30414         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
30416 2011-06-06  Roland McGrath  <roland@hack.frob.com>
30418         [BZ #12849]
30419         * manual/fdl-1.1.texi: New file, verbatim from:
30420         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30421         * manual/lgpl-2.1.texi: New file, verbatim from:
30422         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30423         * manual/Makefile (licenses): New variable, list those new file names.
30424         (texis): Use it.
30425         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30427         * manual/fdl.texi: File removed.
30428         * manual/lesser.texi: File removed.
30429         * manual/libc.texinfo (Copying, Documentation License):
30430         Use new @include file names, put @appendix directive before @include.
30432 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
30434         [BZ #12841]
30435         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30436         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30437         (mq_open): Add __NTH.
30439 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
30441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30442         Assume Intel Core i3/i5/i7 processor if AVX is available.
30444 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30447         typo.
30449 2011-05-31  Andreas Schwab  <schwab@redhat.com>
30451         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30452         memory.  Use alloca_account.  Fix memory leak when retrying.
30454 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30456         * version.h (RELEASE): Bump for 2.14 release.
30457         * include/features.h (__GLIBC_MINOR__): Bump to 14.
30459         * config.make.in (RANLIB): Remove entry.
30461 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
30463         * po/Makefile (po-sed-cmd): Add ksh to extensions.
30464         (libc.pot): Work around missing support for .ksh extension in xgettext.
30466         [BZ #12684]
30467         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30468         if both request failed.
30469         (send_dg): In case of server errors clear resplen or *resplen2.
30471         [BZ #12454]
30472         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30473         when there are multiple maps.
30474         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30475         (_dl_fini): Remove test here.
30477         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30479 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
30481         [BZ #12350]
30482         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30483         bit from old_res_options.
30484         (gaih_inet): Likewise.
30486         [BZ #11099]
30487         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30488         as signed.
30490         * resolv/res_init.c (res_setoptions): Make the code more compact.
30492         [BZ #11558]
30493         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30494         set RES_USEVC.
30496         [BZ #11634]
30497         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30499         * malloc/malloc.h: Mark malloc hook variables as deprecated.
30501         [BZ #11781]
30502         * malloc/malloc.h: Declare malloc hook variables as volatile.
30504         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30505         in last patch.
30507         [BZ #11799]
30508         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30509         raise in the comment.
30510         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30511         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30512         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30514 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
30516         [BZ #12811]
30517         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30518         grow the buffers more if it already has to be sufficient.
30519         (build_wcs_upper_buffer): Likewise.
30520         * posix/regexec.c (check_matching): Likewise.
30521         (clean_state_log_if_needed): Likewise.
30522         (extend_buffers): Don't enlarge buffers beyond size of the input
30523         buffer.
30524         Patches mostly by Emil Wojak <emil@wojak.eu>.
30525         * posix/bug-regex32.c: New file.
30526         * posix/Makefile (tests): Add bug-regex32.
30528         * locale/findlocale.c (_nl_find_locale): Return right away if
30529         _nl_explode_name failed.
30530         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30532         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30534         * debug/xtrace.sh: Unify messages.
30535         * malloc/memusage.sh: Likewise.
30537         [BZ #12813]
30538         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30539         time symbol from vDSO.  Substitute with vsyscall if not available.
30540         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30541         __vdso_time.
30543         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30544         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30545         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30546         Add sendmmsg and internal_sendmmsg.
30547         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30548         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30549         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30551         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30552         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30553         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30555 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
30557         [BZ #12813]
30558         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30559         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
30560         available.
30561         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30562         __vdso_getcpu.
30564         [BZ #12814]
30565         * iconvdata/Makefile (tests): Add bug-iconv9.
30566         * iconvdata/bug-iconv9.c: New file.
30568 2011-05-27  Andreas Schwab  <schwab@redhat.com>
30570         [BZ #12814]
30571         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30573 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
30575         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30576         (struct user_regs_struct): Change intcs field back to cs.
30578 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
30580         * po/ja.po: Update from translation team.
30582 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
30584         [BZ #12795]
30585         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30586         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30588 2011-05-20  Andreas Schwab  <schwab@redhat.com>
30590         * stdlib/longlong.h: Update from GCC.
30592 2011-05-23  Andreas Schwab  <schwab@redhat.com>
30594         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30595         parameter name.
30596         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30597         Add parameter name.
30598         (__sysconf): Pass it down.
30600 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
30602         [BZ #12671]
30603         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30604         some situations.
30605         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30606         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30607         add in in __libc_use_alloca calls.  Adjust callers.
30608         (glob): Use malloc in some situations.
30610         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30611         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30612         pltexit.
30614 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
30616         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30617         and CLOCK_BOOTTIME_ALARM.
30619         [BZ #12782]
30620         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30621         is returned.
30623         * string/_strerror.c (__strerror_r): Print negative errors as signed
30624         numbers.
30626         [BZ #12777]
30627         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30628         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30629         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30631         * configure.in: Fix typo in redirection and correct removal of test
30632         files in two cases.
30634         [BZ #12788]
30635         * locale/setlocale.c (new_composite_name): Fix test to check for
30636         identical name of all categories.
30638         [BZ #12792]
30639         * libio/filedoalloc.c (local_isatty): New function.
30640         (_IO_file_doallocate): Use local_isatty.
30641         * stdio-common/perror.c (perror): In case a new stream is used
30642         forward the stream error.
30643         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30644         error flag.
30646 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
30648         [BZ #11869]
30649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30650         alloca.
30651         * include/alloca.h (extend_alloca_account): Define.
30653         [BZ #11857]
30654         * posix/regex.h: Fix comments with documentation of user-accessible
30655         fields after compilation and describe correct free'ing of pattern
30656         after re_compile_pattern.
30657         Patch by Reuben Thomas <rrt@sc3d.org>.
30659 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
30661         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30662         and -mno-altivec to prevent the compiler from using Altivec and/or
30663         VSX instructions when the corresponding registers are not available.
30665 2011-05-19  Andreas Schwab  <schwab@redhat.com>
30667         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30669 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
30671         * libio/freopen.c (freopen): Use __dup2, not dup2.
30672         * libio/freopen64.c (freopen64): Likewise.
30674 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30676         [BZ #12775]
30677         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30678         * math/Makefile (tests): Add test-powl.
30679         (CFLAGS-test-powl.c): Define.
30680         * math/test-powl.c: New file.
30682 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30684         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30686 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
30688         [BZ #11837]
30689         * iconvdata/gb18030.c: Update to GB18020-2005.
30691 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
30693         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30694         RE_SYNTAX_POSIX_AWK): Update to match recent development.
30695         Patch by Aharon Robbins <arnold@skeeve.com>.
30697         [BZ #11892]
30698         * stdlib/putenv.c (putenv): Don't always create copy of the variable
30699         on the stack.
30701         [BZ #11895]
30702         * misc/pselect.c (__pselect): Handle timeout value errors hidden
30703         through underflows.
30705         [BZ #12766]
30706         * misc/error.c (error_at_line): Ensure file_name and old_file_name
30707         point to strings before performing equality test for error_one_per_line
30708         mode.
30710         [BZ #11697]
30711         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30713         [BZ #11820]
30714         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30715         (struct user_fpregs_struct): Avoid __uint*_t types.
30717         [BZ #6420]
30718         * malloc/mtrace.c (tr_where): Add additional parameter to point to
30719         symbol info.  Use it instead of calling _dl_addr locally.
30720         (lock_and_info): New function.
30721         (tr_freehook): Call lock_and_info and pass symbol info as additional
30722         parameter to tr_where.
30723         (tr_mallochook): Likewise.
30724         (tr_reallochook): Likewise.
30725         (tr_memalignhook): Likewise.
30727         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
30728         used and couldn't be at all thread-safe.
30730 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
30732         * libio/freopen.c (freopen): Don't close old file descriptor
30733         before the new one is opened.  Instead dup the new file descriptor
30734         to the old one after the new stream is created.
30735         * libio/freopen64.c (freopen64): Likewise.
30736         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30737         * libio/fileops.c (_IO_new_file_close_it): Handle new
30738         _IO_FLAGS2_NOCLOSE flag.
30739         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30740         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30741         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30742         _IO_FLAGS2_NOCLOSE flag.
30743         * include/unistd.h: Add hidden_proto for dup3.
30744         Define __have_dup3.
30745         * io/dup3.c: Define hidden symbol.
30746         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30748         [BZ #7101]
30749         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30750         when an incomplete long option is used.
30751         * posix/tst-getopt_long1.c: New file.
30752         * posix/Makefile (tests): Add tst-getopt_long1.
30754         [BZ #10138]
30755         * scripts/config.guess: Update from autoconf-2.68.
30756         * scripts/config.sub: Likewise.
30758         [BZ #10157]
30759         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30760         tests into ...
30761         (has_cpuclock): ...this.  New function.
30762         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30763         macro here based on has_cpuclock code.
30765         [BZ #10149]
30766         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30767         First byte (not low byte) is now always NUL.
30768         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30770         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30771         Use non-cancelable interfaces.
30773         [BZ #9809]
30774         * locale/iso-639.def: Add entry for Sorani.
30776         [BZ #11901]
30777         * include/stdlib.h: Move include protection to the right place.
30778         Define abort_msg_s.  Declare __abort_msg with it.
30779         * stdlib/abort.c (__abort_msg): Adjust type.
30780         * assert/assert.c (__assert_fail_base): New function.  Majority
30781         of code from __assert_fail.  Allocate memory for __abort_msg with
30782         mmap.
30783         (__assert_fail): Now call __assert_fail_base.
30784         * assert/assert-perr.c: Remove bulk of implementation.  Use
30785         __assert_fail_base.
30786         * include/assert.hL Declare __assert_fail_base.
30787         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30788         mmap.
30789         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30791 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
30793         [BZ #11952]
30794         [BZ #12453]
30795         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30796         until all modules are registered in the DTV.
30797         * elf/Makefile: Add rules to build and run tst-tls19.
30798         * elf/tst-tls19.c: New file.
30799         * elf/tst-tls19mod1.c: New file.
30800         * elf/tst-tls19mod2.c: New file.
30801         * elf/tst-tls19mod3.c: New file.
30802         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30804         [BZ #12083]
30805         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30806         correctly.
30808         [BZ #12601]
30809         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30810         two-byte sequence errors.
30811         * iconvdata/Makefile (tests): Add bug-iconv8.
30812         * iconvdata/bug-iconv8.c: New file.
30814         [BZ #12626]
30815         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30816         buf2 definition.
30818         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30820         [BZ #12432]
30821         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30822         (dummy_getcfa): New function.
30823         (init): Get _Unwind_GetCFA address, use dummy if not found.
30824         (backtrace_helper): In recursion check, also check whether CFA changes.
30825         (__backtrace): Completely initialize arg.
30827         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30828         storing incomplete byte sequence in state object.  Avoid testing for
30829         guaranteed too small input if we know there is enough data available.
30831 2011-05-11  Andreas Schwab  <schwab@redhat.com>
30833         * Makeconfig (+link-pie): Indent.
30834         * Rules (binaries-pie): Define if $(have-fpie) and
30835         $(build-shared).
30836         (binaries-shared): Also filter out $(binaries-pie).
30837         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30838         * nscd/Makefile (others-pie): Add nscd.
30839         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30840         ($(objpfx)nscd): Remove command override.
30841         * login/Makefile (others-pie): Add pt_chown.
30842         ($(objpfx)pt_chown): Remove command override.
30843         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30844         remove command overrides.
30846 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
30848         * libio/tst_putwc.c: Fix error messages.
30850         [BZ #12724]
30851         * libio/fileops.c (_IO_new_file_close_it): Always flush when
30852         currently writing and seek to current position when not.
30853         * libio/Makefile (tests): Add bug-fclose1.
30854         * libio/bug-fclose1.c: New file.
30856 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
30858         [BZ #12511]
30859         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30860         don't set DF_1_NODELETE here.
30861         (do_lookup_x): When entering new entry test for copy relocation
30862         and if necessary set DF_1_NODELETE flag.
30863         * elf/tst-unique4.cc: New file.
30864         * elf/tst-unique4.h: New file.
30865         * elf/tst-unique4lib.cc: New file.
30866         * elf/Makefile: Add rules to build and run tst-unique4.
30867         Patch by Piotr Bury <pbury@goahead.com>.
30869 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
30871         [BZ #12052]
30872         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30874         [BZ #12625]
30875         * misc/mntent_r.c (addmntent): Flush the stream after the output
30877         [BZ #12393]
30878         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30879         (is_trusted_path_normalize): Skip initial colon.  Append slash
30880         to empty buffer.  Duplicate is_trusted_path code but allow
30881         constructed patch to be prefix.
30882         (is_dst): Allow $ORIGIN followed by /.
30883         (_dl_dst_substitute): Correct clearing of check_for_trusted.
30884         Correct testing of result of is_trusted_path_normalize
30885         (decompose_rpath): Fix warning.
30887 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
30889         [BZ #11257]
30890         * grp/initgroups.c (internal_getgrouplist): When we found the service
30891         list through the initgroups entry in nsswitch.conf do not always
30892         continue on a successful lookup.  Don't always use the
30893         __nss_group_database value if it is set.
30894         * nss/nsswitch.conf (initgroups): Change action for successful db
30895         lookup to continue for compatibility.
30897 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
30899         [BZ #11532]
30900         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30901         and CP774 modules.
30902         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30903         and CP774 modules.
30904         * iconvdata/tst-tables.sh: Likewise.
30905         * iconvdata/cp770.c: New file.
30906         * iconvdata/cp771.c: New file.
30907         * iconvdata/cp772.c: New file.
30908         * iconvdata/cp773.c: New file.
30909         * iconvdata/cp774.c: New file.
30910         * iconvdata/testdata/CP770: New file.
30911         * iconvdata/testdata/CP770..UTF8: New file.
30912         * iconvdata/testdata/CP771: New file.
30913         * iconvdata/testdata/CP771..UTF8: New file.
30914         * iconvdata/testdata/CP772: New file.
30915         * iconvdata/testdata/CP772..UTF8: New file.
30916         * iconvdata/testdata/CP773: New file.
30917         * iconvdata/testdata/CP773..UTF8: New file.
30918         * iconvdata/testdata/CP774: New file.
30919         * iconvdata/testdata/CP774..UTF8: New file.
30921         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30922         END CHARMAP line.
30923         * iconvdata/gen-8bit-gap.sh: Likewise.
30924         * iconvdata/gen-8bit.sh: Likewise.
30926         * locale/iso-639.def: Add ary entry.
30928         [BZ #11258]
30929         * locale/C-translit.h.in: Add U20A1 transliteration.
30931         [BZ #12178]
30932         * locale/iso-639.def: Add wae entry.
30933         Patch by Kevin Bortis <bortis@translate-wae.ch>.
30935         [BZ #12545]
30936         * locale/programs/localedef.c (construct_output_path): Use ssize_t
30937         for n.
30939         [BZ #12711]
30940         * locale/C-translit.h.in: Add entry for U20B9.
30941         Patch by pravin.d.s@gmail.com.
30943 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
30945         [BZ #12713]
30946         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30947         ENAMETOOLONG use generic getcwd.
30948         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
30949         in rtld.  Use *stat64.
30950         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30951         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30952         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30953         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30954         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30955         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30956         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30957         __fstatat64 macros.
30958         * include/dirent.h: Add libc_hidden_proto for rewinddir.
30959         * dirent/rewinddir.c: Add libc_hidden_def.
30960         * sysdeps/mach/hurd/rewinddir.c: Likewise.
30961         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
30963         * include/dirent.h (__alloc_dir): Add flags parameter.
30964         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30965         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30966         __alloc_dir.
30967         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
30968         from fdopendir if O_CLOEXEC is already set.
30970 2011-03-15  Alan Modra  <amodra@gmail.com>
30972         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30973         l_tls_firstbyte_offset non-zero.  Save padding offset in
30974         l_tls_firstbyte_offset for later use.
30975         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30976         freeing static tls block.
30978 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
30980         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30981         where #ifdef was intended.  The intent is to prevent ARG_MAX from
30982         being defined by the kernel headers.
30984 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
30986         [BZ #12734]
30987         * resolv/resolv.h: Define RES_NOTLDQUERY.
30988         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30989         no-tld-query and set RES_NOTLDQUERY.
30990         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30991         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30992         modern BIND to search name as TLD unless forbidden.
30994 2011-05-07  Petr Baudis  <pasky@suse.cz>
30995             Ulrich Drepper  <drepper@gmail.com>
30997         [BZ #12393]
30998         * elf/dl-load.c (fillin_rpath): Move trusted path check...
30999         (is_trusted_path): ...to here.
31000         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31001         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31002         using is_trusted_path_normalize() in setuid scripts.
31004 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31006         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31007         __BEGIN/__END_DECLS.
31009 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31011         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31012         NSS_STATUS_NOTFOUND if no record was found.
31014 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31016         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31017         (headers-not-in-tirpc): Remove rpc/netdb.h
31018         * resolv/netdb.h: Revert last change.
31020 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31022         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31023         circular dependency between libgcc.a and libc.a.
31025 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31027         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31028         * nis/Makefile: Don't install rpcsvc/*.
31029         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31030         instead of <rpc/types.h>.
31031         (MAXHOSTNAMELEN): Define.
31033 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31035         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31037 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31039         [BZ #12714]
31040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31041         gethostbyname4_r when IPv6 results are possible.
31043 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31045         [BZ #12723]
31046         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31047         _PC_PIPE_BUF handling.
31049 2011-04-30  Bruno Haible  <bruno@clisp.org>
31051         [BZ #12717]
31052         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31053         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31054         to 'int'.
31055         * inet/getnameinfo.c (getnameinfo): Likewise.
31057 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31059         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31060         to groups setting in database lookup.
31061         * nss/nsswitch.conf: Add initgroups entry.
31063 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31065         [BZ #12685]
31066         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31067         mode string.
31068         Patch by Eric Blake <eblake@redhat.com>.
31070 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31072         * sunrpc/Makefile (need-export-routines): Add svc_run.
31073         (routines): Remove svc_run.
31074         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31075         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31076         * sunrpc/svc_run.c (svc_run): Likewise.
31077         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31079 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31081         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31082         problem in reallocation in last patch.
31084 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31086         * sunrpc/Makefile: Move inclusion of Rules.
31088 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31090         * nss/nss_files/files-initgroups.c: New file.
31091         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31092         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31093         _nss_files_initgroups_dyn.
31095 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31097         * elf/elf.h (R_ARM_IRELATIVE): Define.
31099 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31101         * po/ru.po: Update from translation team.
31103 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31105         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31106         dependencies.
31108 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31110         [BZ #12653]
31111         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31112         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31113         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31114         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31115         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31117 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31119         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31120         differing bytes.
31121         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31122         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31123         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31125 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31127         [BZ #12420]
31128         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31129         storing it.
31130         * stdlib/bug-getcontext.c: New file.
31131         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31133 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31135         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31136         instructions into .machine "z9-109".
31137         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31138         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31140 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31142         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31143         between environment variables and auxiliary vector.
31145 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31147         * Makefile: Add rules to build linkobj/libc.so.
31148         * include/libc-symbols.h: Define libc_hidden_nolink.
31149         * include/rpc/auth.h: Mark functions which are to be hidden.
31150         * include/rpc/auth_des.h: Likewise.
31151         * include/rpc/auth_unix.h: Likewise.
31152         * include/rpc/clnt.h: Likewise.
31153         * include/rpc/des_crypt.h: Likewise.
31154         * include/rpc/key_prot.h: Likewise.
31155         * include/rpc/pmap_clnt.h: Likewise.
31156         * include/rpc/pmap_prot.h: Likewise.
31157         * include/rpc/pmap_rmt.h: Likewise.
31158         * include/rpc/rpc_msg.h: Likewise.
31159         * include/rpc/svc.h: Likewise.
31160         * include/rpc/svc_auth.h: Likewise.
31161         * include/rpc/xdr.h: Likewise.
31162         * nis/Makefile: Link all DSOs against linkobj/libc.so.
31163         * nss/Makefile: Likewise.
31164         * sunrpc/Makefile: Don't install headers.  Build library with normal
31165         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
31166         * sunrpc/auth_des.c: Hide exported symbols by default, export some
31167         for the compat linking library.  Remove use of INTDEF/INTUSE.
31168         * sunrpc/auth_none.c: Likewise.
31169         * sunrpc/auth_unix.c: Likewise.
31170         * sunrpc/authdes_prot.c: Likewise.
31171         * sunrpc/authuxprot.c: Likewise.
31172         * sunrpc/clnt_gen.c: Likewise.
31173         * sunrpc/clnt_perr.c: Likewise.
31174         * sunrpc/clnt_raw.c: Likewise.
31175         * sunrpc/clnt_simp.c: Likewise.
31176         * sunrpc/clnt_tcp.c: Likewise.
31177         * sunrpc/clnt_udp.c: Likewise.
31178         * sunrpc/clnt_unix.c: Likewise.
31179         * sunrpc/des_crypt.c: Likewise.
31180         * sunrpc/des_soft.c: Likewise.
31181         * sunrpc/get_myaddr.c: Likewise.
31182         * sunrpc/key_call.c: Likewise.
31183         * sunrpc/key_prot.c: Likewise.
31184         * sunrpc/netname.c: Likewise.
31185         * sunrpc/pm_getmaps.c: Likewise.
31186         * sunrpc/pm_getport.c: Likewise.
31187         * sunrpc/pmap_clnt.c: Likewise.
31188         * sunrpc/pmap_prot.c: Likewise.
31189         * sunrpc/pmap_prot2.c: Likewise.
31190         * sunrpc/pmap_rmt.c: Likewise.
31191         * sunrpc/publickey.c: Likewise.
31192         * sunrpc/rpc_cmsg.c: Likewise.
31193         * sunrpc/rpc_common.c: Likewise.
31194         * sunrpc/rpc_dtable.c: Likewise.
31195         * sunrpc/rpc_prot.c: Likewise.
31196         * sunrpc/rpc_thread.c: Likewise.
31197         * sunrpc/rtime.c: Likewise.
31198         * sunrpc/svc.c: Likewise.
31199         * sunrpc/svc_auth.c: Likewise.
31200         * sunrpc/svc_authux.c: Likewise.
31201         * sunrpc/svc_raw.c: Likewise.
31202         * sunrpc/svc_run.c: Likewise.
31203         * sunrpc/svc_simple.c: Likewise.
31204         * sunrpc/svc_tcp.c: Likewise.
31205         * sunrpc/svc_udp.c: Likewise.
31206         * sunrpc/svc_unix.c: Likewise.
31207         * sunrpc/svcauth_des.c: Likewise.
31208         * sunrpc/xcrypt.c: Likewise.
31209         * sunrpc/xdr.c: Likewise.
31210         * sunrpc/xdr_array.c: Likewise.
31211         * sunrpc/xdr_float.c: Likewise.
31212         * sunrpc/xdr_intXX_t.c: Likewise.
31213         * sunrpc/xdr_mem.c: Likewise.
31214         * sunrpc/xdr_rec.c: Likewise.
31215         * sunrpc/xdr_ref.c: Likewise.
31216         * sunrpc/xdr_sizeof.c: Likewise.
31217         * sunrpc/xdr_stdio.c: Likewise.
31219 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31221         [BZ #12650]
31222         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31223         * sysdeps/ia64/dl-tls.h: Likewise.
31224         * sysdeps/powerpc/dl-tls.h: Likewise.
31225         * sysdeps/s390/dl-tls.h: Likewise.
31226         * sysdeps/sh/dl-tls.h: Likewise.
31227         * sysdeps/sparc/dl-tls.h: Likewise.
31228         * sysdeps/x86_64/dl-tls.h: Likewise.
31229         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31231 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31233         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31234         rpath element also skip the following colon.
31235         (expand_dynamic_string_token): Add is_path parameter and pass
31236         down to DL_DST_REQUIRED and _dl_dst_substitute.
31237         (decompose_rpath): Call expand_dynamic_string_token with
31238         non-zero is_path.  Ignore empty rpaths.
31239         (_dl_map_object_from_fd): Call expand_dynamic_string_token
31240         with zero is_path.
31242 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
31244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31245         Make cancelable.
31247 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
31249         [BZ #12655]
31250         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31251         Patch by Filipe David Manana <fdmanana@apache.org>.
31253 2011-04-07  Andreas Schwab  <schwab@redhat.com>
31255         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31256         Maintain aligned stack.
31257         (CHECK_RSP): Remove unused macro.
31259 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
31261         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31262         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31264 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
31266         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31268         * include/features.h: Mention __USE_XOPEN2K8 in comment.
31270 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
31272         [BZ #12518]
31273         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31274         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31275         * sysdeps/x86_64/memmove.c: New file.
31276         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31277         (memcpy): Renamed to ...
31278         (__new_memcpy): This.
31279         (memcpy): Provide GLIBC_2_14 memcpy.
31280         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31281         (memcpy): Provide GLIBC_2_2_5 memcpy.
31283 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31285         [BZ #12631]
31286         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31288 2011-03-30  Andreas Schwab  <schwab@redhat.com>
31290         * misc/syncfs.c: New file.
31291         * misc/Makefile (routines): Add syncfs.
31292         * posix/unistd.h: Declare syncfs.
31293         * sysdeps/unix/syscalls.list: Add syncfs.
31295 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31297         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31298         open_by_handle_at.
31299         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31300         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31301         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31302         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31304         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31305         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31307 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31310         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31311         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31313         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31315         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31317         * io/Makefile: Compile fallocate.c, fallocate64.c, and
31318         sync_file_range.c with -fexceptions.
31319         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31320         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31321         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31322         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31323         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31324         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31325         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31326         sync_file_range as cancellation point
31327         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
31328         now a wrapper around __call_sync_file_range with cancellation handling.
31329         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31330         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
31331         function name to __call_sync_file_range.
31332         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31333         Add call_sync_file_range.
31335 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31338         bits/timex.h.
31340 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31342         * iconv/iconv.h: Fix typo in comment.
31343         * io/fcntl.h: Likewise.
31344         * libio/stdio.h: Likewise.
31345         * posix/spawn.h: Likewise.
31346         * posix/unistd.h: Likewise.
31347         * stdlib/stdlib.h: Likewise.
31348         * time/time.h: Likewise.
31349         * wcsmbs/wchar.h: Likewise.
31351         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31352         open_by_handle): Add.
31353         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31354         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
31355         Augment a few comments.
31356         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31357         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31358         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31360         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31361         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31362         open_by_handle.
31364         * io/fcntl.h (AT_EMPTY_PATH): Define.
31366 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
31368         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31369         * sysdeps/unix/sysv/linux/bits/time.h: New file.
31370         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31371         to...
31372         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
31373         * Versions.def: Add GLIBC_2.14.
31374         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31375         Export.
31377 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
31379         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31380         round counter.
31381         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31383 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31385         [BZ #12597]
31386         * string/test-strncmp.c (do_page_test): New function.
31387         (check2): Likewise.
31388         (test_main): Call check2.
31389         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31391 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
31393         [BZ #12587]
31394         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31395         Handle cache information in CPU leaf 4.
31396         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31398 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
31400         [BZ #12583]
31401         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31402         character representation.
31403         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31405 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
31407         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31408         END(__isnan) to END(__isnanf) to match function entry point/label
31409         EALIGN(__isnanf,...).
31411 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
31413         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31415 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
31417         [BZ #12510]
31418         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31419         copy from the symbol referenced in the relocation to initialize the
31420         used variable.
31421         Patch by Piotr Bury <pbury@goahead.com>.
31422         * elf/Makefile: Add rules to build and tst-unique3.
31423         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31424         * elf/tst-unique3.cc: New file.
31425         * elf/tst-unique3.h: New file.
31426         * elf/tst-unique3lib.cc: New file.
31427         * elf/tst-unique3lib2.cc: New file.
31429         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31431 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
31433         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31434         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
31435         to _start.
31437 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
31439         * elf/dl-load.c (_dl_map_object): If we are looking for the first
31440         to-be-loaded object along a path to loader is ld.so.
31442 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31443             Ulrich Drepper  <drepper@gmail.com>
31445         * sysdeps/x86_64/memset.S: After aligning destination, code
31446         branches to different locations depending on the value of
31447         misalignment, when multiarch is enabled. Fix this.
31449 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31451         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31452         Set _x86_64_preferred_memory_instruction for AMD processsors.
31453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31454         Set bit_Prefer_SSE_for_memop for AMD processors.
31456 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
31458         * libio/fmemopen.c (fmemopen): Optimize a bit.
31460 2011-03-03  Andreas Schwab  <schwab@redhat.com>
31462         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31464 2011-03-03  Roland McGrath  <roland@redhat.com>
31466         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31468 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
31470         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31471         __bzero_ultra1 instead of __memset_ultra1.
31473 2011-02-23  Andreas Schwab  <schwab@redhat.com>
31474             Ulrich Drepper  <drepper@gmail.com>
31476         [BZ #12509]
31477         * include/link.h (struct link_map): Add l_orig_initfini.
31478         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31479         returning unsuccessfully.
31480         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31481         close of a file loaded at startup, restore the original l_initfini
31482         list.
31483         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31484         list, store the pointer.
31485         * elf/Makefile ($(objpfx)noload-mem): New rule.
31486         (noload-ENV): Define.
31487         (tests): Add $(objpfx)noload-mem.
31488         * elf/noload.c: Include <memcheck.h>.
31489         (main): Call mtrace.  Close all opened handles.
31491 2011-02-17  Andreas Schwab  <schwab@redhat.com>
31493         [BZ #12454]
31494         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31495         dependencies are missing.
31497 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31499         Fix __if_freereq crash: Unlike the generic version which uses free,
31500         Hurd needs munmap.
31501         * sysdeps/mach/hurd/ifreq.h: New file.
31503 2011-01-27  Petr Baudis  <pasky@suse.cz>
31504             Ulrich Drepper  <drepper@gmail.com>
31506         [BZ 12445]#
31507         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31508         to extend_alloca().
31509         * stdio-common/bug23.c: New file.
31510         * stdio-common/Makefile (tests): Add bug23.
31512 2010-09-28  Andreas Schwab  <schwab@redhat.com>
31513             Ulrich Drepper  <drepper@gmail.com>
31515         [BZ #12489]
31516         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31517         before performing relro protection.  At old place add assertion
31518         to make sure nothing changed.
31520 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
31521             Glauber de Oliveira Costa  <glommer@gmail.com>
31523         * elf/elf.h: Add new ARM TLS relocs.
31525 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
31527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31528         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31529         cast from r3.
31530         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
31531         'tests' variable.
31532         * sysdeps/wordsize-64/tst-writev.c: New file.
31534 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
31536         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31537         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31538         insns in _dl_start to prevent a TOC reference before relocs are
31539         resolved.
31541 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
31543         [BZ #12469]
31544         * Makeconfig: Remove RANLIB definition.
31545         * Makerules: Don't use RANLIB.
31546         * aclocal.m4: Remove ranlib test.
31547         * configure.in: No need to check for ranlib.
31548         * elf/rtld-Rules: Don't use RANLIB.
31550 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31552         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31553         protection macro.
31554         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31555         inclusion protection macro.
31557         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31558         SIGRTMIN and SIGRTMAX and print information in that case only when
31559         SIGRTMIN is defined.
31561 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
31563         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31564         arginfo fn returning -1.
31566         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31567         and thousands string is zero terminated.
31569 2011-02-03  Andreas Schwab  <schwab@redhat.com>
31571         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31572         sysdeps/unix/sysv/linux/bits/socket.h.
31574 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31576         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31577         (__CPU_COUNT): Remove old macros.
31578         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31579         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31580         (__CPU_ALLOC, __CPU_FREE): Add macros.
31581         (__sched_cpualloc, __sched_cpufree): Add declarations.
31583 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
31585         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31586         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31587         * nscd/aicache.c (addhstaiX): Return timeout of added value.
31588         (readdhstai): Return value of addhstaiX call.
31589         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31590         (addgrbyX): Return value returned by cache_addgr.
31591         (readdgrbyname): Return value returned by addgrbyX.
31592         (readdgrbygid): Likewise.
31593         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31594         (addpwbyX): Return value returned by cache_addpw.
31595         (readdpwbyname): Return value returned by addhstbyX.
31596         (readdpwbyuid): Likewise.
31597         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31598         (addservbyX): Return value returned by cache_addserv.
31599         (readdservbyname): Return value returned by addservbyX:
31600         (readdservbyport): Likewise.
31601         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31602         (addhstbyX): Return value returned by cache_addhst.
31603         (readdhstbyname): Return value returned by addhstbyX.
31604         (readdhstbyaddr): Likewise.
31605         (readdhstbynamev6): Likewise.
31606         (readdhstbyaddrv6): Likewise.
31607         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31608         (readdinitgroups): Return value returned by addinitgroupsX.
31609         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31610         (prune_cache): Keep track of timeout value of re-added entries.
31611         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31612         * nscd/nscd.h: Adjust prototypes of readd* functions.
31614 2011-02-04  Roland McGrath  <roland@redhat.com>
31616         * nis/nis_server.c (nis_servstate): Use the right name for 0.
31617         (nis_stats): Likewise.
31618         * nis/nis_modify.c (nis_modify): Likewise.
31619         * nis/nis_remove.c (nis_remove): Likewise.
31620         * nis/nis_add.c (nis_add): Likewise.
31622         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31624         * posix/fnmatch_loop.c: Add some consts.
31626         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31628 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
31630         [BZ #12460]
31631         * config.make.in (config-cflags-novzeroupper): Define.
31632         * configure.in: Substitute libc_cv_cc_novzeroupper.
31633         * elf/Makefile (AVX-CFLAGS): Define.
31634         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31635         (CFLAGS-tst-auditmod4a.c): Likewise.
31636         (CFLAGS-tst-auditmod4b.c): Likewise.
31637         (CFLAGS-tst-auditmod6b.c): Likewise.
31638         (CFLAGS-tst-auditmod6c.c): Likewise.
31639         (CFLAGS-tst-auditmod7b.c): Likewise.
31640         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31642 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
31644         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31645         function to the callback.
31646         Patch partly by Jiri Olsa <jolsa@redhat.com>.
31648 2011-02-02  Andreas Schwab  <schwab@redhat.com>
31650         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31651         of errno.
31653 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
31655         [BZ #11724]
31656         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31657         of constructors.
31658         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31659         of destructors.
31660         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31662         [BZ #11724]
31663         * elf/Makefile: Add rules to build and run new test.
31664         * elf/tst-initorder.c: New file.
31665         * elf/tst-initorder.exp: New file.
31666         * elf/tst-initordera1.c: New file.
31667         * elf/tst-initordera2.c: New file.
31668         * elf/tst-initordera3.c: New file.
31669         * elf/tst-initordera4.c: New file.
31670         * elf/tst-initorderb1.c: New file.
31671         * elf/tst-initorderb2.c: New file.
31672         * elf/tst-order-a1.c: New file.
31673         * elf/tst-order-a2.c: New file.
31674         * elf/tst-order-a3.c: New file.
31675         * elf/tst-order-a4.c: New file.
31676         * elf/tst-order-b1.c: New file.
31677         * elf/tst-order-b2.c: New file.
31678         * elf/tst-order-main.c: New file.
31679         New test case by George Gensure <werkt0@gmail.com>.
31681 2010-10-01  Andreas Schwab  <schwab@redhat.com>
31683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31684         decoding ACE if AI_CANONIDN.
31686 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
31688         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31690 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
31692         * version.h (RELEASE): Bump for 2.13 release.
31693         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31695         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31697         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31698         MADV_NOHUGEPAGE.
31699         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31700         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31701         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31702         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31703         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31704         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31706         * posix/getconf.c: Update copyright year.
31707         * catgets/gencat.c: Likewise.
31708         * csu/version.c: Likewise.
31709         * debug/catchsegv.sh: Likewise.
31710         * debug/xtrace.sh: Likewise.
31711         * elf/ldconfig.c: Likewise.
31712         * elf/ldd.bash.in: Likewise.
31713         * elf/sprof.c (print_version): Likewise.
31714         * iconv/iconv_prog.c: Likewise.
31715         * iconv/iconvconfig.c: Likewise.
31716         * locale/programs/locale.c: Likewise.
31717         * locale/programs/localedef.c: Likewise.
31718         * malloc/memusage.sh: Likewise.
31719         * malloc/mtrace.pl: Likewise.
31720         * nscd/nscd.c (print_version): Likewise.
31721         * nss/getent.c: Likewise.
31723         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31724         PF_CAIF, and PF_ALG.
31725         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31727 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
31729         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31730         (modules-names): Use them.
31731         (ifunc-test-modules, ifunc-pie-tests): Define.
31732         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31733         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31734         (test-extras): Likewise.
31735         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31736         $(compile-command.c).
31737         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31738         (all-built-dso): Define.
31739         (check-textrel.out, check-execstack.out): Depend on it.
31741         * configure.in: Don't override --enable-multi-arch.
31743 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
31745         [BZ #6812]
31746         * nscd/hstcache.c (tryagain): Define.
31747         (cache_addhst): Return tryagain not notfound for temporary errors.
31748         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31749         failed.
31751 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
31753         [BZ #10563]
31754         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31755         to make the syscall.
31756         * sysdeps/unix/sysv/linux/setgroups.c: New file.
31758         [BZ #12378]
31759         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31760         and fall back to matching as normal character if the string ends before
31761         the matching ']' is found.  This is what POSIX requires.
31762         * posix/testfnm.c: Adjust test result.
31763         * posix/globtest.sh: Adjust test result.  Add new test.
31764         * posix/tst-fnmatch.input: Likewise.
31765         * posix/tst-fnmatch2.c: Add new test.
31767 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
31769         * elf/Makefile (check-execstack): Revert last change.  Depend on
31770         check-execstack.h.
31771         (check-execstack.h): New target.
31772         (generated): Add check-execstack.h.
31773         * elf/check-execstack.c: Include "check-execstack.h".
31774         (main): Revert last change.
31775         (handle_file): Return zero if GNU_STACK is absent and
31776         DEFAULT_STACK_PERMS doesn't include PF_X.
31778 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
31780         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31781         in child fails because the descriptor is already closed.
31782         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31783         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31784         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31786         [BZ #12397]
31787         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31788         syscall.
31790         [BZ #10484]
31791         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31792         temporary buffer used to handle multi lookups locally.
31793         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31795 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31797         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31798         loader is ld.so.
31800 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
31802         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31803         alignment for SSE2.
31805 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31807         [BZ #12394]
31808         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31809         characters.  When rounding increased number of integer digits recompute
31810         number of groups.
31811         * stdio-common/tst-grouping.c: New file.
31812         * stdio-common/Makefile: Add rules to build and run tst-grouping.
31814 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
31816         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31817         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
31819         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31820         void.
31821         * bits/select.h: Likewise.
31823 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
31825         * po/ja.po: Update from translation team.
31827 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
31829         [BZ #11155]
31830         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31831         implementation just like for lxstat, fxstatat, et al.
31833 2010-12-27  Jim Meyering  <meyering@redhat.com>
31835         [BZ #12348]
31836         * posix/regexec.c (build_trtable): Return failure indication upon
31837         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
31839 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
31841         [BZ #12201]
31842         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31843         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31844         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31845         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31847         [BZ #12207]
31848         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31850         [BZ #12204]
31851         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31852         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31854 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
31856         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31857         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31858         script has SORT_BY_INIT_PRIORITY.
31859         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31860         NO_CTORS_DTORS_SECTIONS is defined.
31861         * elf/soinit.c: Likewise.
31862         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31863         NO_CTORS_DTORS_SECTIONS is defined.
31864         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31865         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31866         * sysdeps/sh/init-first.c: Likewise.
31867         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31869 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
31871         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31872         always use the slow path.
31874 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
31876         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31877         similar rule which adds the sysdep directories to the header search in
31878         order to pick up the correct platform stackinfo.h.
31879         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31880         perform test if it is, otherwise return successfully without testing.
31881         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31882         DEFAULT_STACK_PERMS define in stackinfo.h.
31883         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31884         defined in stackinfo.h.
31885         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31886         DEFAULT_STACK_PERMS defined in stackinfo.h.
31887         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31888         * sysdeps/ia64/stackinfo.h: Likewise.
31889         * sysdeps/s390/stackinfo.h: Likewise.
31890         * sysdeps/sh/stackinfo.h: Likewise.
31891         * sysdeps/sparc/stackinfo.h: Likewise.
31892         * sysdeps/x86_64/stackinfo.h: Likewise.
31893         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31894         PF_X for powerpc64.  Retain PF_X for powerpc32.
31896 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
31898         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31899         accurately.
31900         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31901         GETDENTS_64BIT_ALIGNED.
31903 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
31905         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31907 2010-12-10  Andreas Schwab  <schwab@redhat.com>
31909         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31910         _GNU_SOURCE.
31912         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31913         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31914         Remove __restrict.
31915         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31916         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31918 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
31920         [BZ #11655]
31921         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31922         are initialized.
31924 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
31926         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31928 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
31930         * po/it.po: Update from translation team.
31932 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
31934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31935         unused codes.
31937 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
31939         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31941 2010-11-24  Andreas Schwab  <schwab@redhat.com>
31943         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31944         specially.
31945         (gaih_getanswer_slice): Likewise.
31947 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
31949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31951 2010-05-31  Petr Baudis  <pasky@suse.cz>
31953         [BZ #11149]
31954         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31955         silently even in the chroot mode.
31957 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
31959         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31960         last patch a bit.  Pretty printing
31962 2010-05-31  Petr Baudis <pasky@suse.cz>
31964         [BZ #10085]
31965         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31966         initialization of skip_initgroups_dyn.
31968 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
31970         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31971         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31973 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
31975         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31977 2010-11-11  Andreas Schwab  <schwab@redhat.com>
31979         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31980         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31981         (tst-fnmatch-ENV): Set MALLOC_TRACE.
31982         ($(objpfx)tst-fnmatch-mem): New rule.
31983         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31984         * posix/tst-fnmatch.c (main): Call mtrace.
31986 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
31988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31989         Support Intel processor model 6 and model 0x2c.
31991 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
31993         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31994           signed comparison.
31996 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
31998         [BZ #12205]
31999         * string/test-strncasecmp.c (check_result): New function.
32000         (do_one_test): Use it.
32001         (check1): New function.
32002         (test_main): Use it.
32003         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32004         Support strcasecmp and strncasecmp.
32006 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32008         [BZ #12194]
32009         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32010         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32012 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32014         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32015         IFUNC support.
32016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32017         memset-x86-64.
32018         * sysdeps/x86_64/multiarch/bzero.S: New file.
32019         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32020         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32021         * sysdeps/x86_64/multiarch/memset.S: New file.
32022         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32024         Set bit_Prefer_SSE_for_memop for Intel processors.
32025         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32026         Define.
32027         (index_Prefer_SSE_for_memop): Define.
32028         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32030 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32032         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32033         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32035 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32037         [BZ #12191]
32038         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32039         (__x86_64_raw_data_cache_size_half): Likewise.
32040         (__x86_64_raw_shared_cache_size): Likewise.
32041         (__x86_64_raw_shared_cache_size_half): Likewise.
32043         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32044         (__x86_64_raw_data_cache_size_half): Likewise.
32045         (__x86_64_raw_shared_cache_size): Likewise.
32046         (__x86_64_raw_shared_cache_size_half): Likewise.
32047         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32048         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32049         and __x86_64_raw_shared_cache_size_half.  Round
32050         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32051         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32052         to multiple of 256 bytes.
32054 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32056         [BZ #12167]
32057         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32058         of inacessible symlinks.  Verify result of symlink before returning it.
32059         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32060         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32062 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32064         * math/math.h (isinf): Fix typo in comment.
32066 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32068         * po/da.po: Update from translation team.
32070 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32072         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32073         is added to the list.
32075 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32076             Ulrich Drepper  <drepper@gmail.com>
32078         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32079         the global list here.  Move code to...
32080         (_dl_add_to_namespace_list): ...here.  New function.
32081         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32082         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32083         * elf/dl-load.c (lose): Don't remove the element from the list.
32084         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32085         (_dl_map_object): Likewise.
32087 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32089         [BZ #12159]
32090         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32091         into all bytes of SSE register.
32092         Patch by Richard Li <richardpku@gmail.com>.
32094 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32096         [BZ #12140]
32097         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32098         perturbing.
32100 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32102         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32103         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32104         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32105         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32107         submachine.
32108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32110 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32112         * include/dlfcn.h (__RTLD_SECURE): Define.
32113         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32114         mode & __RTLD_SECURE instead.
32115         (open_path): Rename preloaded parameter to secure.
32116         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32117         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32118         * elf/dl-deps.c (openaux): Likewise.
32119         * elf/rtld.c (struct map_args): Remove is_preloaded.
32120         (map_doit): Don't use it.
32121         (dl_main): Likewise.
32122         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32123         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32125 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32127         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32128         (sysd-rules-targets): Remove duplicates.
32129         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32130         rtld-%.$o dependency.
32132 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32134         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32135         _dl_map_object do it.
32137 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32139         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32140         fast fma builtins, define the macros in the C99 standard.
32141         (FP_FAST_FMAF): Likewise.
32142         (FP_FAST_FMAL): Likewise.
32143         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32145         * bits/mathdef.h: Update copyright year.
32146         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32148 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
32150         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32151         builtins, define the macros in the C99 standard.
32152         (FP_FAST_FMAF): Likewise.
32153         (FP_FAST_FMAL): Likewise.
32154         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32155         multiply/add.
32156         (FP_FAST_FMAF): Likewise.
32158 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
32160         [BZ #3268]
32161         * math/libm-test.inc (fma_test): Some new testcases.
32162         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32163         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32164         y and infinite z.  Do multiplication by C already in long double.
32165         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32167         y and infinite z.  Do bitwise or of inexact bit into u.d.
32168         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32169         * sysdeps/i386/fpu/s_fmaf.S: Removed.
32170         * sysdeps/i386/fpu/s_fma.S: Removed.
32171         * sysdeps/i386/fpu/s_fmal.S: Removed.
32173 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
32175         [BZ #3268]
32176         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32177         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32178         computation is not scheduled after fetestexcept.  Fix value
32179         of minimum denormal long double.
32181 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
32183         [BZ #3268]
32184         * math/libm-test.inc (fma_test): Add some more tests.
32185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32186         correctly.
32188 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32190         * scripts/data/localplt-s390-linux-gnu.data: New file.
32191         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32193 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32195         [BZ #3268]
32196         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32197         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32198         instead of dbl-64.
32199         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32200         inlines.
32201         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32203         if one of x and y is very large and the other is subnormal.
32204         * sysdeps/s390/fpu/s_fmaf.c: New file.
32205         * sysdeps/s390/fpu/s_fma.c: New file.
32206         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32207         * sysdeps/powerpc/fpu/s_fma.S: New file.
32208         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32209         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32210         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32212 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32214         [BZ #3268]
32215         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32216         fma tests.
32217         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32218         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32219         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32220         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32221         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32222         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32223         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32225 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32227         [BZ #12078]
32228         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32229         * posix/bug-regex31.input: Add test case.
32231 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32233         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32234         * posix/bug-regex31.input: New file.
32236         [BZ #12078]
32237         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32238         (parse_sub_exp): Fix last change, use postorder.
32240         * posix/bug-regex31.c: New file.
32241         * posix/Makefile: Add rules to build and run bug-regex31.
32243         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32245         [BZ #12078]
32246         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32248         [BZ #12108]
32249         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32250         to have entries in sys_siglist.
32252         [BZ #12093]
32253         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32254         be NULL.
32256 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
32258         [BZ #3268]
32259         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32260         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32261         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32262         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32263         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32264         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32265         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32266         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32267         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32268         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32269         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32270         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32271         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32272         * math/ftestexcept.c (fetestexcept): Likewise.
32273         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32274         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32275         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32276         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32277         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32278         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32279         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32281 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32283         [BZ #12107]
32284         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32285         newline.
32287 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
32289         * string/bug-strstr1.c: New file.
32290         * string/Makefile: Add rules to build and run bug-strstr1.
32292 2010-10-05  Eric Blake  <eblake@redhat.com>
32294         [BZ #12092]
32295         * string/str-two-way.h (two_way_long_needle): Always clear memory
32296         when skipping input due to the shift table.
32298 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
32300         [BZ #12005]
32301         * malloc/mcheck.c: Handle large requests.
32303         [BZ #12077]
32304         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32305         for strncmp and strncasecmp.
32306         * string/stratcliff.c: Add tests for strcmp and strncmp.
32307         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32309 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32311         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32312         __set_fpscr.
32314 2010-09-30  Andreas Jaeger  <aj@suse.de>
32316         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32317         (CGROUP_SUPER_MAGIC): Define.
32318         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32319         Handle btrfs and cgroup file systems.
32320         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32321         Likewise.
32323 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
32325         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32326         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32328 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32330         [BZ #12067]
32331         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32332         trying to locate the ELF header.
32334 2010-09-27  Andreas Schwab  <schwab@redhat.com>
32336         [BZ #11611]
32337         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32338         Mask out sign-bit copies when constructing f_fsid.
32340 2010-09-24  Petr Baudis <pasky@suse.cz>
32342         * debug/stack_chk_fail_local.c: Add missing licence exception.
32343         * debug/warning-nop.c: Likewise.
32345 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
32347         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32348         implementing getdents64 using getdents syscall, set d_type if
32349         __ASSUME_GETDENTS32_D_TYPE.
32351 2010-09-16  Andreas Schwab  <schwab@redhat.com>
32353         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32354         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32356 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
32358         [BZ #12037]
32359         * posix/unistd.h: Undo change of feature selection for ftruncate from
32360         2010-01-11.
32362 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
32364         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32365         detection.
32367 2010-09-20  Andreas Schwab  <schwab@redhat.com>
32369         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32370         fanotify_mark.
32371         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32373 2010-09-14  Andreas Schwab  <schwab@redhat.com>
32375         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32376         variables after CHECK_SP call.
32377         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32379 2010-09-13  Andreas Schwab  <schwab@redhat.com>
32380             Ulrich Drepper  <drepper@redhat.com>
32382         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32383         re-relocationg ld.so.
32384         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32385         _dl_init_paths call.
32386         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
32387         here anymore.
32389 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
32391         * resolv/res_init.c (__res_vinit): Count the default server we added.
32393 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
32394             Ulrich Drepper  <drepper@redhat.com>
32396         [BZ #11968]
32397         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32398         (____longjmp_chk): Use %ebx for saving value across system call.
32399         Add unwind info.
32401 2010-09-06  Andreas Schwab  <schwab@redhat.com>
32403         * manual/Makefile: Don't mix pattern rules with normal rules.
32405 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32407         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32408         operation.
32409         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32410         * libio/iofopncook.c (_IO_cookie_init): Likewise.
32411         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32412         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32414         Likewise.
32416 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
32418         [BZ #11979]
32419         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32420         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32422 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
32424         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32425         * sysdeps/x86_64/addmul_1.S: Likewise.
32426         * sysdeps/x86_64/lshift.S: Likewise.
32427         * sysdeps/x86_64/mul_1.S: Likewise.
32428         * sysdeps/x86_64/rshift.S: Likewise.
32429         * sysdeps/x86_64/sub_n.S: Likewise.
32430         * sysdeps/x86_64/submul_1.S: Likewise.
32432 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32434         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32435         Define __sched_param instead of SCHED_* and sched_param when
32436         <bits/sched.h> is included with __need_schedparam defined.
32437         * bits/sched.h [__need_schedparam]
32438         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32439         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32440         (__defined_schedparam): Define to 1.
32441         (__sched_param): New structure, identical to sched_param.
32442         (__need_schedparam): Undefine.
32444 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
32446         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32447         (epoll_create1): Declare.
32449         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32451 2010-08-31  Andreas Schwab  <schwab@redhat.com>
32453         [BZ #7066]
32454         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32455         shifting retval into place.
32457 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
32459         * nis/rpcsvc/nis.h: Update copyright notice.
32460         * nis/rpcsvc/nis.x: Likewise.
32461         * nis/rpcsvc/nis_callback.h: Likewise.
32462         * nis/rpcsvc/nis_callback.x: Likewise.
32463         * nis/rpcsvc/nis_object.x: Likewise.
32464         * nis/rpcsvc/nis_tags.h: Likewise.
32465         * nis/rpcsvc/yp.h: Likewise.
32466         * nis/rpcsvc/yp.x: Likewise.
32467         * nis/rpcsvc/ypupd.h: Likewise.
32468         * nis/yp_xdr.c: Likewise.
32469         * nis/ypupdate_xdr.c: Likewise.
32471         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
32472         mainly the body of pmap_getport.  Add parameters to specify timeouts.
32473         (pmap_getport): Use __libc_rpc_getport.
32474         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32475         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32476         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32478 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
32480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32481         fanotify_mark.
32483 2010-08-27  Roland McGrath  <roland@redhat.com>
32485         * sysdeps/i386/i686/multiarch/Makefile
32486         (CFLAGS-varshift.c): New variable.
32488 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
32490         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32491         * sysdeps/i386/i686/multiarch/varshift.c: New file.
32493         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32495         * sysdeps/x86_64/strlen.S: Minimal code improvement.
32497 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32499         * sysdeps/x86_64/strlen.S: Unroll the loop.
32500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32501         strlen-sse2 strlen-sse2-bsf.
32502         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32503         __strlen_no_bsf if bit_Slow_BSF is set.
32504         (__strlen_sse42): Removed.
32505         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32506         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32508 2010-08-25  Roland McGrath  <roland@redhat.com>
32510         * sysdeps/x86_64/multiarch/varshift.S: File removed.
32511         * sysdeps/x86_64/multiarch/varshift.c: New file.
32512         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32513         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32514         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32515         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32517 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32520         strlen-sse2 strlen-sse2-bsf.
32521         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32522         __strlen_sse2_bsf if bit_Slow_BSF is unset.
32523         (__strlen_sse2): Removed.
32524         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32525         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32527         bit_Slow_BSF for Atom.
32528         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32529         (index_Slow_BSF): Define.
32530         (HAS_SLOW_BSF): Define.
32532 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
32534         [BZ #10851]
32535         * resolv/res_init.c (__res_vinit): When no server address at all
32536         is given default to loopback.
32538 2010-08-24  Roland McGrath  <roland@redhat.com>
32540         * configure.in: Remove config-name.h generation.
32541         * configure: Regenerated.
32542         * config-name.in: File removed.
32543         * scripts/config-uname.sh: New file.
32544         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32545         ($(objdir)config-name.h): New target.
32547         * sunrpc/rpc_parse.h: Avoid nested comment.
32549 2010-08-24  Richard Henderson  <rth@redhat.com>
32550             Ulrich Drepper  <drepper@redhat.com>
32551             H.J. Lu  <hongjiu.lu@intel.com>
32553         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32555         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32556         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
32557         _mm_alignr_epi8 with _mm_loadu_si128.
32558         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32559         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32560         (__m128i_shift_right): Removed.
32561         * sysdeps/i386/i686/multiarch/varshift.h: New file.
32562         * sysdeps/i386/i686/multiarch/varshift.S: New file.
32563         * sysdeps/x86_64/multiarch/varshift.h: New file.
32564         * sysdeps/x86_64/multiarch/varshift.S: New file.
32566 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
32568         * configure.in: Move assembler checks to before sysdep dir checking.
32570 2010-08-20  Petr Baudis  <pasky@suse.cz>
32572         * LICENSES: Sync the sunrpc license.
32574 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
32576         * sunrpc/auth_des.c: Update copyright notice once again.
32577         * sunrpc/auth_none.c: Likewise.
32578         * sunrpc/auth_unix.c: Likewise.
32579         * sunrpc/authdes_prot.c: Likewise.
32580         * sunrpc/authuxprot.c: Likewise.
32581         * sunrpc/bindrsvprt.c: Likewise.
32582         * sunrpc/clnt_gen.c: Likewise.
32583         * sunrpc/clnt_perr.c: Likewise.
32584         * sunrpc/clnt_raw.c: Likewise.
32585         * sunrpc/clnt_simp.c: Likewise.
32586         * sunrpc/clnt_tcp.c: Likewise.
32587         * sunrpc/clnt_udp.c: Likewise.
32588         * sunrpc/clnt_unix.c: Likewise.
32589         * sunrpc/des_crypt.c: Likewise.
32590         * sunrpc/des_soft.c: Likewise.
32591         * sunrpc/get_myaddr.c: Likewise.
32592         * sunrpc/getrpcport.c: Likewise.
32593         * sunrpc/key_call.c: Likewise.
32594         * sunrpc/key_prot.c: Likewise.
32595         * sunrpc/openchild.c: Likewise.
32596         * sunrpc/pm_getmaps.c: Likewise.
32597         * sunrpc/pm_getport.c: Likewise.
32598         * sunrpc/pmap_clnt.c: Likewise.
32599         * sunrpc/pmap_prot.c: Likewise.
32600         * sunrpc/pmap_prot2.c: Likewise.
32601         * sunrpc/pmap_rmt.c: Likewise.
32602         * sunrpc/rpc/auth.h: Likewise.
32603         * sunrpc/rpc/auth_unix.h: Likewise.
32604         * sunrpc/rpc/clnt.h: Likewise.
32605         * sunrpc/rpc/des_crypt.h: Likewise.
32606         * sunrpc/rpc/key_prot.h: Likewise.
32607         * sunrpc/rpc/netdb.h: Likewise.
32608         * sunrpc/rpc/pmap_clnt.h: Likewise.
32609         * sunrpc/rpc/pmap_prot.h: Likewise.
32610         * sunrpc/rpc/pmap_rmt.h: Likewise.
32611         * sunrpc/rpc/rpc.h: Likewise.
32612         * sunrpc/rpc/rpc_des.h: Likewise.
32613         * sunrpc/rpc/rpc_msg.h: Likewise.
32614         * sunrpc/rpc/svc.h: Likewise.
32615         * sunrpc/rpc/svc_auth.h: Likewise.
32616         * sunrpc/rpc/types.h: Likewise.
32617         * sunrpc/rpc/xdr.h: Likewise.
32618         * sunrpc/rpc_clntout.c: Likewise.
32619         * sunrpc/rpc_cmsg.c: Likewise.
32620         * sunrpc/rpc_common.c: Likewise.
32621         * sunrpc/rpc_cout.c: Likewise.
32622         * sunrpc/rpc_dtable.c: Likewise.
32623         * sunrpc/rpc_hout.c: Likewise.
32624         * sunrpc/rpc_main.c: Likewise.
32625         * sunrpc/rpc_parse.c: Likewise.
32626         * sunrpc/rpc_parse.h: Likewise.
32627         * sunrpc/rpc_prot.c: Likewise.
32628         * sunrpc/rpc_sample.c: Likewise.
32629         * sunrpc/rpc_scan.c: Likewise.
32630         * sunrpc/rpc_scan.h: Likewise.
32631         * sunrpc/rpc_svcout.c: Likewise.
32632         * sunrpc/rpc_tblout.c: Likewise.
32633         * sunrpc/rpc_util.c: Likewise.
32634         * sunrpc/rpc_util.h: Likewise.
32635         * sunrpc/rpcinfo.c: Likewise.
32636         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32637         * sunrpc/rpcsvc/key_prot.x: Likewise.
32638         * sunrpc/rpcsvc/klm_prot.x: Likewise.
32639         * sunrpc/rpcsvc/mount.x: Likewise.
32640         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32641         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32642         * sunrpc/rpcsvc/rex.x: Likewise.
32643         * sunrpc/rpcsvc/rstat.x: Likewise.
32644         * sunrpc/rpcsvc/rusers.x: Likewise.
32645         * sunrpc/rpcsvc/sm_inter.x: Likewise.
32646         * sunrpc/rpcsvc/spray.x: Likewise.
32647         * sunrpc/rpcsvc/yppasswd.x: Likewise.
32648         * sunrpc/rtime.c: Likewise.
32649         * sunrpc/svc.c: Likewise.
32650         * sunrpc/svc_auth.c: Likewise.
32651         * sunrpc/svc_authux.c: Likewise.
32652         * sunrpc/svc_raw.c: Likewise.
32653         * sunrpc/svc_run.c: Likewise.
32654         * sunrpc/svc_simple.c: Likewise.
32655         * sunrpc/svc_tcp.c: Likewise.
32656         * sunrpc/svc_udp.c: Likewise.
32657         * sunrpc/svc_unix.c: Likewise.
32658         * sunrpc/svcauth_des.c: Likewise.
32659         * sunrpc/xcrypt.c: Likewise.
32660         * sunrpc/xdr.c: Likewise.
32661         * sunrpc/xdr_array.c: Likewise.
32662         * sunrpc/xdr_float.c: Likewise.
32663         * sunrpc/xdr_mem.c: Likewise.
32664         * sunrpc/xdr_rec.c: Likewise.
32665         * sunrpc/xdr_ref.c: Likewise.
32666         * sunrpc/xdr_sizeof.c: Likewise.
32667         * sunrpc/xdr_stdio.c: Likewise.
32669         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32670         handling.
32672 2010-08-19  Andreas Schwab  <schwab@redhat.com>
32674         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32676 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
32678         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32679         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32680         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32681         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32682         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32683         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32684         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32685         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32686         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32687         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32688         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32689         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32690         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32691         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32693 2010-07-26  Anton Blanchard  <anton@samba.org>
32695         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32696         * malloc/arena.c (heap_trim): Likewise.
32698 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
32700         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32701         here.  Not...
32702         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32703         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32705 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32707         * sysdeps/i386/elf/Makefile: New file.
32709 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32711         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32712         from fanotify_init.
32713         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32714         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32716 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
32718         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32719         of strncasecmp_l.
32720         * sysdeps/multiarch/strcmp.S: Likewise.
32722 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
32724         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32725         strncase_l-nonascii.
32726         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32727         Add strncase_l-ssse3.
32728         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32729         * sysdeps/x86_64/strcmp.S: Likewise.
32730         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32731         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32732         * sysdeps/x86_64/strncase.S: New file.
32733         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32734         * sysdeps/x86_64/strncase_l.S: New file.
32735         * string/Makefile (strop-tests): Add strncasecmp.
32736         * string/test-strncasecmp.c: New file.
32738         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32739         warning.
32741         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32742         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32744 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32746         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32748 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
32750         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32751         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32752         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32754 2010-05-01  Alan Modra  <amodra@gmail.com>
32756         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32757         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32758         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32759         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32760         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32761         tidying.  Don't tail-call __sigjmp_save for static lib.
32762         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32763         save location.
32764         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32765         (CALL_MCOUNT): Add eh info, and nop after bl.
32766         (TAIL_CALL_SYSCALL_ERROR): New macro.
32767         (PSEUDO_RET): Use it.
32768         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32769         Correct save location of integer regs and cr.
32770         (_dl_profile_resolve): Correct cr save location.  Delete nops
32771         after bl when SHARED.  Reduce cfi size a little by better
32772         placement of cfi directives.
32773         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32774         make a stack frame.  Instead use parm save area as a temp.
32775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32776         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
32777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32778         Don't make a stack frame for parent, use parm save area.
32779         Increase child stack frame to 112 bytes.  Don't save unused reg,
32780         and adjust reg usage.  Set up cfi on error recovery and
32781         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32783         (__makecontext): Add dummy nop after jump to exit.
32784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32785         Use correct parm save area and cr save, reduce stack frame.
32786         Correct cfi for possible PSEUDO_RET frame setup.
32787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32788         Branch to local label emitted by PSEUDO_RET rather than
32789         __syscall_error.
32791 2010-08-12  Andreas Schwab  <schwab@redhat.com>
32793         [BZ #11904]
32794         * locale/programs/locale.c (print_assignment): New function.
32795         (show_locale_vars): Use it.
32797 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
32799         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32800         field.
32801         (struct statfs64): Likewise.
32802         (_STATFS_F_FLAGS): Define.
32803         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32804         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32805         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32806         (ST_VALID): Define locally.
32807         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32808         __statvfs_getflags, use the provided value.
32809         * sysdeps/unix/sysv/linux/kernel-features.h: Define
32810         __ASSUME_STATFS_F_FLAGS.
32812         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32814         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32815         Add sys/fanotify.h.
32816         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32817         fanotify_mask for GLIBC_2.13.
32818         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32819         fanotify_init and fanotify_mark.
32820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32821         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32823         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32824         Add prlimit.
32825         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32826         prlimit64 for GLIBC_2.13.
32827         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32828         prlimit64.
32829         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32830         syscall.
32831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32832         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32833         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32834         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
32836         add prlimit alias.
32837         * sysdeps/unix/sysv/linux/prlimit.c: New file.
32839         [BZ #11903]
32840         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32841         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32843         * nss/Makefile: Add rules to build and run tst-nss-test1.
32844         * shlib-versions: Add entry for libnss_test1.
32845         * nss/nss_test1.c: New file.
32846         * nss/tst-nss-test1.c: New file.
32848         * nss/nsswitch.c (__nss_database_custom): Define new variable.
32849         (__nss_configure_lookup): Set appropriate entry in
32850         __nss_configure_lookup to true.
32851         * nss/nsswitch.h: Define enum with indeces of databases in
32852         databases and __nss_database_custom arrays.  Declare
32853         __nss_database_custom.
32854         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32855         to avoid using nscd when custom rules are installed.
32856         * nss/getXXbyYY_r.c: Likewise.
32857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32859         * nss/nss_files/files-parse.c: Whitespace fixes.
32861 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
32863         [BZ #11883]
32864         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32865         * posix/fnmatch_loop.c: Likewise.
32867 2010-07-17  Andi Kleen  <ak@linux.intel.com>
32869         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32870         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32871         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32872         * Versions.def [GLIBC_2.13]: Add.
32874 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
32876         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32877         Also fail if tpwd after pwuid call is NULL.
32879 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32881         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32882         when converting to ms.
32884 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32886         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32887         EOPNOTSUPP errors with ENOTTY.
32888         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32889         EOPNOTSUPP errors with ENOTTY.
32891 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
32893         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32894         Add strcasecmp_l-ssse3.
32895         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32896         strcasecmp.
32897         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32898         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32899         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32901 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
32903         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32905         * string/Makefile (strop-tests): Add strcasecmp.
32906         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32907         strcasecmp_l-nonascii.
32908         (gen-as-const-headers): Add locale-defines.sym.
32909         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32910         * sysdeps/x86_64/strcasecmp.S: New file.
32911         * sysdeps/x86_64/strcasecmp_l.S: New file.
32912         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32913         * sysdeps/x86_64/locale-defines.sym: New file.
32914         * string/test-strcasecmp.c: New file.
32916         * string/test-strcasestr.c: Test both ends of the range of characters.
32917         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32919 2010-07-29  Roland McGrath  <roland@redhat.com>
32921         [BZ #11856]
32922         * manual/locale.texi (Yes-or-No Questions): Fix example code.
32924 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
32926         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32927         for ld.so.
32929 2010-07-27  Andreas Schwab  <schwab@redhat.com>
32931         * manual/memory.texi (Malloc Tunable Parameters): Document
32932         M_PERTURB.
32934 2010-07-26  Roland McGrath  <roland@redhat.com>
32936         [BZ #11840]
32937         * configure.in (-fgnu89-inline check): Set and substitute
32938         gnu89_inline, not libc_cv_gnu89_inline.
32939         * configure: Regenerated.
32940         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32942 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
32944         * string/test-strnlen.c: New file.
32945         * string/Makefile (strop-tests): Add strnlen.
32946         * string/tester.c (test_strnlen): Add a few more test cases.
32947         * string/tst-strlen.c: Better error reporting.
32949         * sysdeps/x86_64/strnlen.S: New file.
32951 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
32953         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32954         lower-latency instructions.
32956 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
32958         * string/test-strcasestr.c: New file.
32959         * string/test-strstr.c: New file.
32960         * string/Makefile (strop-tests): Add strstr and strcasestr.
32961         * string/str-two-way.h: Don't undefine MAX.
32962         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32964 2010-07-21  Andreas Schwab  <schwab@redhat.com>
32966         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32967         strcasestr-nonascii.
32968         (CFLAGS-strcasestr-nonascii.c): Define.
32969         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32970         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32971         Remove unused attribute.
32973 2010-07-20  Roland McGrath  <roland@redhat.com>
32975         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32976         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
32977         ld.so.cache was broken.  With it, there is no way to disable dsocaps
32978         like LD_HWCAP_MASK can disable hwcaps.
32980 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32982         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32984 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
32986         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32987         call in strcasestr.
32988         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32989         __strcasestr_sse42_nonascii.
32990         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32991         strcasestr-nonascii.c.
32992         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32994 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
32996         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32997         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32998         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32999         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33001 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33003         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33004         fcntl.
33006 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33008         [BZ #11577]
33009         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33010         dl_signal_cerror.
33012 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33014         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33015         _PC_PIPE_BUF using F_GETPIPE_SZ.
33017 2010-07-05  Roland McGrath  <roland@redhat.com>
33019         * manual/arith.texi (Rounding Functions): Fix rint description
33020         implicit in round description.
33022 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33024         * elf/Makefile: Fix linking for a few tests to make recent linker
33025         happy.
33027 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33029         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33030         $(common-objpfx)libc_nonshared.a.
33032 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33034         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33035         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33036         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33037         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33038         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33039         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33040         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33041         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33056         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33057         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33058         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33059         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33060         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33061         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33062         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33063         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33064         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33065         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33066         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33067         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33083 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33085         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33086         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33087         * string/memmove.c (memmove): Renamed to ...
33088         (MEMMOVE): ...this.  Default to memmove.
33089         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33090         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33091         (END_CHK): Define.
33092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33093         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33094         mempcpy-ssse3-back memmove-ssse3-back.
33095         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33096         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33097         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33098         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33099         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33100         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33101         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33102         * sysdeps/x86_64/multiarch/memmove.c: New file.
33103         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33104         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33105         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33106         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33107         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33108         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33109         Define.
33110         (index_Fast_Copy_Backward): Define.
33111         (HAS_ARCH_FEATURE): Define.
33112         (HAS_FAST_REP_STRING): Define.
33113         (HAS_FAST_COPY_BACKWARD): Define.
33115 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33117         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33118         Restore proper fallback handling.
33120 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33122         [BZ #11701]
33123         * posix/group_member.c (__group_member): Correct checking loop.
33125         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33126         OOM in getpwuid_r correctly.  Return error number when the caller
33127         should return, otherwise -1.
33128         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33129         call returning > 0 value.
33130         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33132 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33134         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33135         libc_nonshared.a from targets in modules-names.
33137 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33139         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33140         requires it.
33142 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33144         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33145         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33146         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33147         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33149 2010-06-02  Andreas Schwab  <schwab@redhat.com>
33151         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33153 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
33155         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33156         and F_GETPIPE_SZ.
33157         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33158         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33159         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33161         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33162         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33164 2010-06-14  Roland McGrath  <roland@redhat.com>
33166         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33168 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
33170         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33171         __REDIRECT followed by __THROW.
33172         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33173         * posix/getopt.h (getopt): Likewise.
33175 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33177         * hurd/lookup-at.c (__file_name_lookup_at): Accept
33178         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
33179         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33180         in AT_FLAGS.
33181         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33182         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33184 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33186         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33188 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33190         [BZ #11640]
33191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33192         Properly check family and model.
33194 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33196         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33198 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33200         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33202 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33204         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33205         symbol reference.
33207 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33209         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33210         symbol reference.
33212 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33214         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33215         and internal_recvmmsg.
33216         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33217         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33218         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33219         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33221         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33222         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33223         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33225 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33227         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33229 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33231         POWER7 optimizations.
33232         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33233         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33235 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33237         * version.h: Update for 2.13 development version.
33239 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
33241         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33242         exceptions.  Return 0.
33244 2010-05-07  Roland McGrath  <roland@redhat.com>
33246         * elf/ldconfig.c (main): Add a const.
33248 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
33250         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33251         (args_options): Add no-idn option.
33252         (ahosts_keys_int): Add idn_flags to ai_flags.
33253         (parse_option): Handle 'i' option to clear idn_flags.
33255         * malloc/malloc.c (_int_free): Possible race in the most recently
33256         added check.  Only act on the data if no current modification
33257         happened.
33259 See ChangeLog.17 for earlier changes.