S/390: Remove __tls_get_addr argument cast.
[platform/upstream/glibc.git] / ChangeLog
1 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2
3         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4         the first argument and return value of __tls_get_addr_internal.
5
6 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7
8         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10
11 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12
13         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14         * sysdeps/s390/rtld-global-offsets.sym: New file.
15         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16         GLIBC_2.19 symbol.
17         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20         ... this.
21         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23         ... this.
24         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25         Regenerate.
26         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27         Regenerate.
28         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
29         halfs of GPRs for high_gprs contexts.
30         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32         field.
33         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34         uc_flags field.
35         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36         64 bit versions:
37         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38         for high GPRs (uc_high_gprs) and for future extensions
39         (__reserved).
40         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41         for future extensions (__reserved).
42         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43         64 bit versions:
44         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45         SC_HIGHGPRS offset definition.
46         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
48
49 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50
51         * Versions.def: Add GLIBC_2.19 for libpthread.
52         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
53         siglongjmp for libpthread with GLIBC_2.19 symver.
54         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57         * sysdeps/s390/__longjmp.c: New file.
58         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
59         * sysdeps/s390/longjmp.c: New file.
60         * sysdeps/s390/setjmp.S: New file.
61         * sysdeps/s390/sigjmp.S: New file.
62         * sysdeps/s390/v1-longjmp.c: New file.
63         * sysdeps/s390/v1-setjmp.h: New file.
64         * sysdeps/s390/v1-sigjmp.c: New file.
65         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
66         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
67         GLIBC_2.19 version.
68         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
69         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
70         versioned symbols for ____longjmp_chk.
71         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
72         Likewise.
73         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
74         Regenerate.
75         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76         Regenerate.
77         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
78         Regenerate.
79         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80         Regenerate.
81         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
82         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
83         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
84         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
85         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
86         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
87         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
88         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
89         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
90         * sysdeps/s390/rtld-__longjmp.c: New file.
91         * sysdeps/s390/rtld-setjmp.S: New file.
92
93 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
94
95         [BZ #16400]
96         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
97         Return -__logl (x) for small positive arguments without evaluating
98         a polynomial.
99
100 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
101
102         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
103         Rename to ...
104         (__ptrace_peeksiginfo_args): ... this.
105         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
107         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
108
109 2014-01-06  Allan McRae  <allan@archlinux.org>
110
111         * inet/netinet/in.h: Fix typo in comment.
112
113 2014-01-05  Andreas Jaeger  <aj@suse.de>
114
115         * sysdeps/i386/fpu/libm-test-ulps: Update.
116
117 2014-01-05  Allan McRae  <allan@archlinux.org>
118
119         * po/libc.pot: Regenerated.
120
121         * malloc/memusagestat.c: Fix gettext call formatting.
122
123 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
124
125         * nscd/nscd.c: Improve usage() output.
126
127 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
128
129         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
130         * sysdeps/unix/sysv/linux/configure: Regenerated.
131         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
132         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
133
134 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
135
136         [BZ #16390]
137         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
138         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
139
140 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
141
142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
143         extra tokens at end of #undef directive.
144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
145         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
146         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
147
148 2014-01-03  Andrew Hunter  <ahh@google.com>
149
150         * elf/dl-open.c (dl_open_worker): New comment.
151         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
152         atomic_compare_and_exchange_bool_acq
153         (_dl_allocate_static_tls): Block signals.
154         * elf/dl-tls.c (allocate_and_init): Return void.
155         (_dl_update_slotinfo): Block signals, use atomic update.
156
157 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
158
159         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
160
161         * math/auto-libm-test-in: Mark various tests with
162         xfail-rounding:ldbl-128ibm.
163         * math/auto-libm-test-out: Regenerated.
164
165 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
166
167         [BZ #16386]
168         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
169         numbers with subnormal high part when calculating exponent.
170
171         [BZ #16385]
172         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
173         fabs.
174
175         [BZ #16384]
176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
177         M_LN2l.
178         (__ieee754_acoshl): Use __log1pl not __log1p.
179
180 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
181
182         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
183         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
184         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
185         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
186         Convert to GNU style.
187         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
188         mem2mem_check, mem2chunk_check, top_check, realloc_check,
189         memalign_check, __malloc_set_state): Likewise.
190         * malloc/mallocbug.c (main): Likewise.
191         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
192         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
193         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
194         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
195         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
196         * malloc/malloc.h: Likewise.
197         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
198         memalignhook, reallochook, mabort): Likewise.
199         * malloc/mcheck.h: Likewise.
200         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
201         mmap64, mremap, munmap, dest): Likewise.
202         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
203         * malloc/morecore.c (__default_morecore): Likewise.
204         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
205         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
206         _obstack_allocated_p, obstack_free, _obstack_memory_used,
207         print_and_abort): Likewise.
208         * malloc/obstack.h: Likewise.
209         * malloc/set-freeres.c (__libc_freeres): Likewise.
210         * malloc/tst-mallocstate.c (main): Likewise.
211         * malloc/tst-mtrace.c (main): Likewise.
212         * malloc/tst-realloc.c (do_test): Likewise.
213
214 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
215
216         [BZ #16366]
217         * nscd/netgroupcache.c (do_notfound): New function.
218         (addgetnetgrentX): Use it.
219
220         [BZ # 16365]
221         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
222         NSS_STATUS_NOTFOUND.
223
224 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
225
226         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
228
229 2014-01-01  Allan McRae  <allan@archlinux.org>
230
231         * scripts/update-copyrights: Update configure input file suffix.
232
233         * NEWS: Update copyright year.
234         * catgets/gencat.c: Likewise.
235         * csu/version.c: Likewise.
236         * debug/catchsegv.sh: Likewise.
237         * debug/pcprofiledump.c: Likewise.
238         * debug/xtrace.sh: Likewise.
239         * elf/ldconfig.c: Likewise.
240         * elf/ldd.bash.in: Likewise.
241         * elf/pldd.c: Likewise.
242         * elf/sotruss.ksh: Likewise.
243         * elf/sprof.c: Likewise.
244         * iconv/iconv_prog.c: Likewise.
245         * iconv/iconvconfig.c: Likewise.
246         * locale/programs/locale.c: Likewise.
247         * locale/programs/localedef.c: Likewise.
248         * login/programs/pt_chown.c: Likewise.
249         * malloc/memusage.sh: Likewise.
250         * malloc/memusagestat.c: Likewise.
251         * malloc/mtrace.pl: Likewise.
252         * manual/libc.texinfo: Likewise.
253         * nscd/nscd.c: Likewise.
254         * nss/getent.c: Likewise.
255         * nss/makedb.c: Likewise.
256         * posix/getconf.c: Likewise.
257         * scripts/test-installation.pl: Likewise.
258
259         * All files with FSF copyright notices: Update copyright dates
260         using scripts/update-copyrights.
261         * intl/plural.c: Regenerated.
262         * locale/programs/charmap-kw.h: Likewise.
263         * locale/programs/locfile-kw.h: Likewise.
264
265 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
266
267         * sysdeps/unix/sysv/linux/configure: Regenerated.
268         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
269         the linux/fanotify.h header.
270         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
271         HAVE_LINUX_FANOTIFY_H is defined.
272
273 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
274
275         * benchtests/cos-inputs: New inputs.
276         * benchtests/sin-inputs: Likewise.
277
278         * benchtests/atan-inputs: New inputs. Fix name of multiple
279         precision fallback inputs.
280
281         * benchtests/atanh-inputs: New inputs.
282         * benchtests/tanh-inputs: Likewise.
283
284         * benchtests/acosh-inputs: New inputs.
285         * benchtests/asinh-inputs: Likewise.
286
287         * benchtests/cosh-inputs: New inputs.
288         * benchtests/sinh-inputs: Likewise.
289
290         * benchtests/acos-inputs: Add more inputs.
291         * benchtests/asin-inputs: Likewise.
292
293 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
294
295         [BZ #16375]
296         * manual/arith.texi: Fix spelling.
297         * manual/charset.texi: Likewise.
298         * manual/errno.texi: Likewise.
299         * manual/filesys.texi: Likewise.
300         * manual/lang.texi: Likewise.
301         * manual/llio.texi: Likewise.
302         * manual/locale.texi: Likewise.
303         * manual/message.texi: Likewise.
304         * manual/resource.texi: Likewise.
305         * manual/search.texi: Likewise.
306         * manual/setjmp.texi: Likewise.
307         * manual/stdio.texi: Likewise.
308         * manual/string.texi: Likewise.
309         * manual/sysinfo.texi: Likewise.
310         * manual/time.texi: Likewise.
311
312 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
313
314         * po/sl.po: New file.
315
316 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
317
318         * .gitignore: Add core/.gdbinit/.gdb_history.
319
320 2013-12-27  Allan McRae  <allan@archlinux.org>
321
322         [BZ #16369]
323         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
324         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
325
326 2013-12-24  Brooks Moses  <bmoses@google.com>
327
328         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
329         all compilers that claim C++98 compliance, not just GCC.
330         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
331         Likewise.
332
333 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
334
335         * NEWS: Restore accidentally deleted bug-fix entries.
336
337 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
338             Ondřej Bílka  <neleai@seznam.cz>
339
340         [BZ #15073]
341         * malloc/malloc.c (_int_free): Perform sanity check only if we
342         have_lock.
343
344 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
345
346         [BZ #12986]
347         * manual/stdio.texi (String Input Conversions): Clarify that character
348         classes are not supported.
349
350 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
351
352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
353
354 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
355
356         [BZ #16337]
357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
358         Calculate results for small negative arguments directly rather
359         than using reflection formula with special underflow handling.
360
361         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
362         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
363         sysdeps/unix/bsd/bsd4.4/syscalls.list.
364         (fchflags): Likewise.
365         (revoke): Likewise.
366         (setlogin): Likewise.
367         (sigaltstack): Likewise.
368         (wait4): Likewise.
369         (sigblock): Remove.
370         (sigsetmask): Likewise.
371         (wait3): Likewise.
372         (waitpid): Likewise.
373         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
374         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
375         file.
376         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
377         * sysdeps/unix/bsd/Makefile: ... here.
378         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
379         * sysdeps/unix/bsd/Versions: ... here.
380         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
381         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
382         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
383         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
384         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
385         * sysdeps/unix/bsd/sigblock.c: ... here.
386         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
387         * sysdeps/unix/bsd/sigsetmask.c: ... here.
388         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
389         * sysdeps/unix/bsd/sigvec.c: ... here.
390         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
391         * sysdeps/unix/bsd/tcdrain.c: ... here.
392         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
393         * sysdeps/unix/bsd/tcgetattr.c: ... here.
394         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
395         * sysdeps/unix/bsd/tcsetattr.c: ... here.
396         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
397         * sysdeps/unix/bsd/wait.c: ... here.
398         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
399         * sysdeps/unix/bsd/wait3.c: ... here.
400         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
401         * sysdeps/unix/bsd/waitpid.c: ... here.
402
403 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
404
405         [BZ #16356]
406         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
407         round-to-nearest for [!USE_AS_EXPM1L].
408         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
409         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
410         more tests of exp and exp10.  Expect some exp10 tests to miss
411         exceptions or fail in directed rounding modes.
412         * math/auto-libm-test-out: Regenerated.
413         * math/libm-test.inc (exp10_tonearest_test_data): New array.
414         (exp10_test_tonearest): New function.
415         (exp10_towardzero_test_data): New array.
416         (exp10_test_towardzero): New function.
417         (exp10_downward_test_data): New array.
418         (exp10_test_downward): New function.
419         (exp10_upward_test_data): New array.
420         (exp10_test_upward): New function.
421         (main): Call the new functions.
422         * sysdeps/i386/fpu/libm-test-ulps: Update.
423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
424
425 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
426
427         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
428         asinh, atan, atan2, atanh, cbrt, cos and cosh.
429         * math/auto-libm-test-out: Regenerated.
430         * math/libm-test.inc (acosh_test_data): Add more tests.
431         (atanh_test_data): Likewise.
432         (ceil_test_data): Likewise.
433         (copysign_test_data): Likewise.
434         * sysdeps/i386/fpu/libm-test-ulps: Update.
435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
436
437         * timezone/checktab.awk: Update from tzcode 2013i.
438         * timezone/private.h: Likewise.
439         * timezone/scheck.c: Likewise.
440         * timezone/tzfile.h: Likewise.
441         * timezone/tzselect.ksh: Likewise.
442         * timezone/zdump.c: Likewise.
443         * timezone/zic.c: Likewise.
444
445         * math/auto-libm-test-in: Add tests of cpow.
446         * math/auto-libm-test-out: Regenerated.
447         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
448         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
449         mpc_cc_c.
450         (func_calc_desc): Add mpc_cc_c union field.
451         (test_functions): Add cpow.
452         (special_fill_2pi): New function.
453         (special_real_inputs): Add 2pi.
454         (calc_generic_results): Handle mpc_cc_c.
455         * sysdeps/i386/fpu/libm-test-ulps: Update.
456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
457
458         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
459         csqrt, ctan and ctanh.
460         * math/auto-libm-test-out: Regenerated.
461         * math/libm-test.inc (TEST_COND_x86_64): New macro.
462         (TEST_COND_x86): Likewise.
463         (ccos_test_data): Use AUTO_TESTS_c_c.
464         (ccosh_test_data): Likewise.
465         (cexp_test_data): Likewise.
466         (clog_test_data): Likewise.
467         (csqrt_test_data): Likewise.
468         (ctan_test_data): Likewise.
469         (ctan_tonearest_test_data): Likewise.
470         (ctan_towardzero_test_data): Likewise.
471         (ctan_downward_test_data): Likewise.
472         (ctan_upward_test_data): Likewise.
473         (ctanh_test_data): Likewise.
474         (ctanh_tonearest_test_data): Likewise.
475         (ctanh_towardzero_test_data): Likewise.
476         (ctanh_downward_test_data): Likewise.
477         (ctanh_upward_test_data): Likewise.
478         * math/gen-auto-libm-tests.c (func_calc_method): Add value
479         mpc_c_c.
480         (func_calc_desc): Add mpc_c_c union field.
481         (FUNC_mpc_c_c): New macro.
482         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
483         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
484         ctanh.
485         (special_fill_min_subnorm_p120): New function.
486         (special_real_inputs): Add min_subnorm_p120.
487         (calc_generic_results): Handle mpc_c_c.
488         * sysdeps/i386/fpu/libm-test-ulps: Update.
489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
490
491 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
492
493         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
494         do_sin_slow): New functions.
495         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
496         cslow2, csloww1, csloww2): Use the new functions.
497
498         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
499         Use M to change sign of result instead of X.  Assume X is
500         positive.
501         (csloww1): Likewise.
502         (__sin): Adjust.
503         (__cos): Adjust.
504
505         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
506         arguments A and DA.
507         (__sin): Adjust.
508         (__cos): Likewise.
509
510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
511         (__cos): Likewise.
512         (sloww1): Don't adjust sign of DX.
513         (csloww1): Likewise.
514         (sloww2): Use X directly and don't adjust sign of DX.
515         (csloww2): Likewise.
516
517 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
518
519         * math/auto-libm-test-in: Add tests of cabs and carg.
520         * math/auto-libm-test-out: Regenerated.
521         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
522         (carg_test_data): Likewise.
523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
524         mpc_c_f.
525         (func_calc_desc): Add mpc_c_f union field.
526         (test_functions): Add cabs and carg.
527         (calc_generic_results): Handle mpc_c_f.
528
529         * sysdeps/powerpc/powerpc32/libgcc-compat.S
530         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
531         as a macro and a compat symbol.
532         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
533         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
534         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
535         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
536         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
537         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
538         not use .hidden.
539         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
540         Likewise.
541         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
542         Likewise.
543         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
544         Likewise.
545         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
546         Likewise.
547         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
548         Likewise.
549         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
550         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
551         from GLIBC_2.3.2.
552
553 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
554
555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
556
557 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
558
559         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
560         (__signal_safe_memalign, __signal_safe_free): Use it.
561         (__signal_safe_realloc): Likewise.
562
563 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
564
565         * manual/texinfo.tex: Update to version 2013-11-26.10 with
566         trailing whitespace removed.
567         * scripts/config.guess: Update to version 2013-11-29.
568         * scripts/config.sub: Update to version 2013-10-01.
569
570         * math/auto-libm-test-in: Add tests of sincos.
571         * math/auto-libm-test-out: Regenerated.
572         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
573         * math/gen-auto-libm-tests.c (func_calc_method): Add value
574         mpfr_f_11.
575         (func_calc_desc): Add mpfr_f_11 union field.
576         (test_functions): Add sincos.
577         (calc_generic_results): Handle mpfr_f_11.
578         * sysdeps/i386/fpu/libm-test-ulps: Update.
579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
580
581 2013-12-19  Andreas Schwab  <schwab@suse.de>
582
583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
584         CALL_MCOUNT.
585         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
586         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
587         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
588
589 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
590
591         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
592         * sysdeps/i386/fpu/libm-test-ulps: Update.
593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
594
595         [BZ #16293]
596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
597         round-to-nearest mode when using frndint.
598         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
599         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
600         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
601         Likewise.
602         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
603         sinh test to fail.
604         * math/auto-libm-test-out: Regenerated.
605         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
606         (TEST_COND_x86): Likewise.
607         (expm1_tonearest_test_data): New array.
608         (expm1_test_tonearest): New function.
609         (expm1_towardzero_test_data): New array.
610         (expm1_test_towardzero): New function.
611         (expm1_downward_test_data): New array.
612         (expm1_test_downward): New function.
613         (expm1_upward_test_data): New array.
614         (expm1_test_upward): New function.
615         (main): Run the new test functions.
616         * sysdeps/i386/fpu/libm-test-ulps: Update.
617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
618
619         * include/features.h: Update comment documenting feature test
620         macros.  Mention _DEFAULT_SOURCE in comment.
621         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
622         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
623         _BSD_SOURCE and _SVID_SOURCE.
624         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
625         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
626         !_SVID_SOURCE]: Likewise.
627         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
628         (__USE_POSIX_IMPLICITLY): Define.
629         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
630         (_POSIX_SOURCE): Undefine and redefine.
631         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
632         (_POSIX_C_SOURCE): Likewise.
633         * manual/creature.texi (_DEFAULT_SOURCE): Document.
634         (Feature Test Macros): Update documentation of default features.
635
636 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
637
638         * benchtests/Makefile: Add bench-strtok.
639         * benchtests/bench-strtok.c: New file: strtok benchtest.
640
641 2013-12-19  Allan McRae  <allan@archlinux.org>
642
643         * manual/install.texi: Suppress menu for plain text output.
644         * INSTALL: Regenerated.
645
646 2013-12-18  Andrew Hunter  <ahh@google.com>
647
648         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
649         (__signal_safe_malloc, __signal_safe_free): Likewise.
650         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
651         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
652         (__signal_safe_memalign, __signal_safe_malloc): New function.
653         (__signal_safe_free, __signal_safe_realloc): Likewise.
654         (__signal_safe_calloc): Likewise.
655         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
656         functions.
657         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
658
659 2013-12-18  Andrew Hunter  <ahh@google.com>
660
661         * elf/Versions (ld): Add _dl_clear_dtv.
662         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
663         * elf/dl-tls.c (_dl_clear_dtv): New function.
664         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
665
666 2013-12-18  Andrew Hunter  <ahh@google.com>
667
668         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
669         (_dl_unmask_signals): Likewise.
670         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
671         (_dl_unmask_all_signals): Likewise.
672         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
673         (_dl_unmask_all_signals): Likewise.
674         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
675         (_dl_unmask_signals): Likewise.
676
677 2013-12-18  Brooks Moses  <bmoses@google.com>
678
679         [BZ #15846]
680         * misc/getauxval.c: Include errno.h.
681         (__getauxval): Set errno to ENOENT if the requested type is not
682         found.
683         * misc/sys/auxv.h (getauxval): Document that it may set errno;
684         don't declare with __attribute_const__.
685         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
686         * manual/startup.texi: Document that getauxval sets errno.
687
688 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
689
690         * math/auto-libm-test-in: Add tests of jn and yn.
691         * math/auto-libm-test-out: Regenerated.
692         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
693         (yn_test_data): Likewise.
694         * math/gen-auto-libm-tests.c (func_calc_method): Add value
695         mpfr_if_f.
696         (func_calc_desc): Add mpfr_if_f union field.
697         (FUNC_mpfr_if_f): New macro.
698         (test_functions): Add jn and yn.
699         (calc_generic_results): Assert type of second input for
700         mpfr_ff_f.  Handle mpfr_if_f.
701         (output_for_one_input_case): Disable all checking for arguments
702         fitting floating-point types in case of an integer argument.
703         * sysdeps/i386/fpu/libm-test-ulps: Update.
704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705
706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
707         Don't expect fegetround reference in libm.so.
708
709 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
710
711         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
712         $(config-cflags-nofma).
713
714 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
715
716         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
717         * math/auto-libm-test-out: Regenerated.
718
719         [BZ #16338]
720         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
721         to determine exponent and adjust argument to have exponent of -1.
722         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
723         log2.
724         * math/auto-libm-test-out: Regenerated.
725         * sysdeps/i386/fpu/libm-test-ulps: Update.
726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
727
728 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
729
730         * manual/probes.texi: Remove cases when per-thread arenas are
731         disabled.
732
733 2013-12-18  Andreas Schwab  <schwab@suse.de>
734
735         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
736         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
737         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
738         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
739         * sysdeps/i386/i686/multiarch/Makefile: Update.
740         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
741
742 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
743
744         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
745         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
746
747 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
748
749         Support TZ transition times < 00:00:00.
750         This is needed for version-3 tz-format files; it supports time
751         stamps past 2037 for America/Godthab (the only entry in the tz
752         database for which this change is relevant).
753         * manual/time.texi (TZ Variable): Document transition times
754         from -167:59:59 through -00:00:01.
755         * time/tzset.c (tz_rule): Time of day is now signed.
756         (__tzset_parse_tz): Parse negative time of day.
757
758         Document TZ transition times >= 25:00:00.
759         * manual/time.texi (TZ Variable): Document transition times from
760         25:00:00 through 167:59:59.  These are already supported, and this
761         support will help with version-3 tz-format files.
762
763         * manual/time.texi (TZ Variable): Modernize North America example
764         to reflect current (i.e., 2007-and-later) daylight saving rules.
765
766         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
767
768 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
769
770         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
771         * sysdeps/unix/bsd/bits/stat.h: Likewise.
772         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
774         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
775         * sysdeps/unix/bsd/bsdstat.h: Likewise.
776         * sysdeps/unix/bsd/clock.c: Likewise.
777         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
778         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
779         * sysdeps/unix/bsd/init-posix.c: Likewise.
780         * sysdeps/unix/bsd/poll.c: Likewise.
781         * sysdeps/unix/bsd/ptsname.c: Likewise.
782         * sysdeps/unix/bsd/seekdir.c: Likewise.
783         * sysdeps/unix/bsd/setegid.c: Likewise.
784         * sysdeps/unix/bsd/seteuid.c: Likewise.
785         * sysdeps/unix/bsd/setgid.c: Likewise.
786         * sysdeps/unix/bsd/setrgid.c: Likewise.
787         * sysdeps/unix/bsd/setruid.c: Likewise.
788         * sysdeps/unix/bsd/setsid.c: Likewise.
789         * sysdeps/unix/bsd/setuid.c: Likewise.
790         * sysdeps/unix/bsd/sigaction.c: Likewise.
791         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
792         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
793         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
794         * sysdeps/unix/bsd/telldir.c: Likewise.
795         * sysdeps/unix/bsd/times.c: Likewise.
796         * sysdeps/unix/bsd/usleep.c: Likewise.
797
798         * misc/Makefile (install-lib): Remove libbsd-compat.a.
799         ($(objpfx)libbsd-compat.a): Remove rule.
800
801         * include/features.h (__FAVOR_BSD): Do not define.
802         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
803         features conflicting with POSIX.
804         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
805         (_BSD_SOURCE): Remove description of not being a subset of other
806         feature test macros.
807         * manual/job.texi (getpgrp): Do not document BSD version.
808         (getpgid): Do not document by reference to BSD getpgrp.
809         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
810         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
811         * signal/signal.h [__FAVOR_BSD]: Likewise.
812         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
813         instead of making contents conditional on [__FAVOR_BSD].
814         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
815
816 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
817
818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
819
820 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
821
822         [BZ #16314]
823         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
824         values below 2**-450, not 2**-500.
825         * math/auto-libm-test-in: Don't allow spurious underflow from
826         hypot.
827         * math/auto-libm-test-out: Regenerated.
828
829         [BZ #16316]
830         [BZ #16330]
831         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
832         values of ha and hb and sort them after adjusting subnormal
833         arguments.
834         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
835         Likewise.
836         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
837         values of ea and eb and sort them after adjusting subnormal
838         arguments.
839         * math/auto-libm-test-in: Do not expect some hypot tests of
840         subnormals to fail.  Add more hypot tests.
841         * math/auto-libm-test-out: Regenerated.
842
843 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
844
845         [BZ #13304]
846         * sysdeps/sh/s_fma.c: New file.
847         * sysdeps/sh/s_fmaf.c: New file.
848         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
849         version.
850         * sysdeps/sh/Implies: Add sh/soft-fp.
851
852 2013-12-16  Roland McGrath  <roland@hack.frob.com>
853
854         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
855         level of indirection to members `objname', `errstring', `malloced'.
856         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
857         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
858         it as the __longjmp argument (just pass 1 instead).
859         (_dl_catch_error): Initialize C with argument pointers and address of
860         volatile local ERRCODE rather than copying values out of C at return.
861
862 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
863
864         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
865         * math/auto-libm-test-out: Regenerated.
866         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
867         (hypot_test_data): Likewise.
868         (pow_test_data): Likewise.
869         (pow_tonearest_test_data): Likewise.
870         * math/gen-auto-libm-tests.c (func_calc_method): Add value
871         mpfr_ff_f.
872         (func_calc_desc): Add mpfr_ff_f union field.
873         (FUNC_mpfr_ff_f): New macro.
874         (test_functions): Add atan2, hypot and pow.
875         (special_fill_min): New function.
876         (special_fill_minus_min): Likewise.
877         (special_fill_min_subnorm): Likewise.
878         (special_fill_minus_min_subnorm): Likewise.
879         (special_real_inputs): Add min, -min, min_subnorm and
880         -min_subnorm.
881         (calc_generic_results): Handle mpfr_ff_f.
882         * sysdeps/i386/fpu/libm-test-ulps: Update.
883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
884
885 2013-12-16  Will Newton  <will.newton@linaro.org>
886
887         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
888         (Aligned Memory Blocks): Add documentation for aligned_alloc
889         and suggest it as an alternative to posix_memalign.
890         (Hooks for Malloc): Document __memalign_hook is also called
891         for aligned_alloc.  (Summary of Malloc): Add summary for
892         aligned alloc.  Document __memalign_hook is also called
893         for aligned_alloc.
894
895 2013-12-16  Will Newton  <will.newton@linaro.org>
896
897         * manual/memory.texi (Malloc Examples): Clarify default
898         alignment documentation.  Suggest posix_memalign rather
899         than memalign or valloc.
900         (Aligned Memory Blocks): Remove suggestion to use memalign
901         or valloc.  Remove obsolete comment about BSD.
902         Document memalign errno values and mark the function obsolete.
903         Document posix_memalign returned error codes.  Mark valloc
904         as obsolete.  (Hooks for Malloc): __memalign_hook is also
905         called for posix_memalign and valloc.
906         (Summary of Malloc): Add posix_memalign to function summary.
907         __memalign_hook is also called for posix_memalign and valloc.
908
909 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
910
911         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
912         TAYLOR_SIN.
913         (__sin): Adjust.
914         (__cos): Likewise.
915         (sloww): Use mynumber union.  Expand ternary operator into
916         if-else statements.
917         (cslow): use mynumber union.
918
919 2013-12-16  Allan McRae  <allan@archlinux.org>
920
921         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
922         * configure: Regenerated.
923
924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
925
926         [BZ #14120]
927         * configure.ac: Added --enable-maintainer-mode. Check for
928         autoconf when enabled.
929         * configure: Regenerated.
930
931         * nscd/nscd.service: New file.
932         * nscd/nscd.tmpfiles: New file.
933
934 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
935
936         [BZ #12100]
937         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
938         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
939         * sysdeps/x86_64/multiarch/strstr.c: ... here.
940         (strstr): Add __strstr_sse2_unaligned ifunc.
941         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
942         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
943         (strcasestr): Remove __strcasestr_sse42 ifunc.
944         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
947
948 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
949
950         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
951         * sysdeps/sh/bits/fenv.h: ... here.
952         * sysdeps/sh/sh4/fpu/bits: Remove directory.
953
954 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
955
956         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
957
958 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
959
960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
961         hypotf multiarch implementations.
962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
965         multiarch hypot for PPC64.
966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
967         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
969         multiarch hypotf for PPC64.
970
971 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
972
973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
974         modff multiarch implementations.
975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
978         multiarch modf for PPC64.
979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
982         multiarch modff for PPC64.
983
984 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
985
986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
987         and logl multiarch implementations.
988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
991         multiarch logb for PPC64.
992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
995         multiarch logb for PPC64.
996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
999         multiarch logb for PPC64.
1000
1001 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1002
1003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1004         isinff multiarch implementation.
1005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1006         file.
1007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1009         multiarch isinf for PPC64.
1010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1011         file.
1012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1013         multiarch isinff for PPC64.
1014
1015 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1016
1017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1018         finitef multiarch implementation.
1019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1020         file.
1021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1023         multiarch finite for PPC64.
1024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1025         file.
1026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1027         multiarch finitef for PPC64.
1028
1029 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1030
1031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1032         lrint multiarch implementation.
1033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1034         file.
1035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1037         multiarch llrint for PPC64.
1038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1039         multiarch lrint for PPC64.
1040
1041 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1042
1043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1044         copysignf multiarch implementation.
1045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1046         file.
1047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1048         file.
1049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1050         multiarch copysign for PPC64.
1051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1052         multiarch copysignf for PPC64.
1053
1054 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1055
1056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1057         multiarch implementation.
1058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1059         file.
1060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1061         file.
1062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1063         file.
1064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1065         file.
1066         multiarch llround for PPC64.
1067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1068         multiarch trunc for PPC64.
1069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1070         multiarch truncf for PPC64.
1071
1072 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1073
1074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1075         multiarch implementation.
1076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1077         file.
1078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1079         file.
1080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1081         file.
1082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1083         file.
1084         multiarch llround for PPC64.
1085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1086         multiarch round for PPC64.
1087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1088         multiarch roundf for PPC64.
1089
1090 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1091
1092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1093         multiarch implementation.
1094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1095         file.
1096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1097         file.
1098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1099         file.
1100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1101         file.
1102         multiarch llround for PPC64.
1103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1104         multiarch floor for PPC64.
1105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1106         multiarch floorf for PPC64.
1107
1108 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1109
1110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1111         multiarch implementation.
1112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1113         file.
1114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1115         file.
1116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1117         file.
1118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1119         file.
1120         multiarch llround for PPC64.
1121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1122         multiarch ceil for PPC64.
1123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1124         multiarch ceilf for PPC64.
1125
1126 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1127
1128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1129         multiarch implementation.
1130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1131         file.
1132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1133         file.
1134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1135         file.
1136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1137         multiarch llround for PPC64.
1138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1139         multiarch lround for PPC64.
1140
1141 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1142
1143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1144         multiarch implementation.
1145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1148         file.
1149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1152         multiarch isnan for PPC64.
1153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1154         multiarch isnanf for PPC64.
1155
1156 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1157
1158         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1159         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1160         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1161         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1162         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1164
1165 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1166
1167         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1168         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1170         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1171
1172 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1173
1174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1175         multiarch implementations.
1176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1177         (__libc_ifunc_impl_list): Likewise.
1178         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1180         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1181         multiarch stpcpy for PPC64.
1182
1183 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1184
1185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1186         multiarch implementations.
1187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1188         (__libc_ifunc_impl_list): Likewise.
1189         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1190         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1191         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1192         multiarch strcpy for PPC64.
1193
1194 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1195
1196         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1197         redefine function name.
1198         (_wordcopy_fwd_dest_aligned): Likewise.
1199         (_wordcopy_bwd_aligned): Likewise.
1200         (_wordcopy_bwd_dest_aligned): Likewise.
1201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1202         multiarch implementations.
1203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1204         (__libc_ifunc_impl_list): Likewise.
1205         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1206         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1207         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1209         multiarch wcscpy for PPC64.
1210
1211 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1212
1213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1214         multiarch implementations.
1215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1216         (__libc_ifunc_impl_list): Likewise.
1217         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1218         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1221         multiarch wcscpy for PPC64.
1222
1223 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1224
1225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1226         multiarch implementations.
1227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1228         (__libc_ifunc_impl_list): Likewise.
1229         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1232         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1233         multiarch wcsrchr for PPC64.
1234
1235 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1236
1237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1238         multiarch implementations.
1239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1240         (__libc_ifunc_impl_list): Likewise.
1241         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1242         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1243         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1244         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1245         multiarch wcschr for PPC64.
1246
1247 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248
1249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1250         multiarch implementations.
1251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1252         (__libc_ifunc_impl_list): Likewise.
1253         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1254         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1255         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1256         multiarch strchrnul for PPC64.
1257
1258 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1259
1260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1261         implementations.
1262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1263         (__libc_ifunc_impl_list): Likewise.
1264         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1265         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1266         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1267         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1268         strchr for PPC64.
1269
1270 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1271
1272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1273         implementations.
1274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1275         (__libc_ifunc_impl_list): Likewise.
1276         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1277         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1278         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1279         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1280         strncmp for PPC64.
1281
1282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1283
1284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1285         multiarch implementations.
1286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1287         (__libc_ifunc_impl_list): Likewise.
1288         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1289         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1290         strncasecmp for PPC64.
1291         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1292         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1293         multiarch strncasecmp_l for PPC64.
1294
1295 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1296
1297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1298         multiarch implementations.
1299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1300         (__libc_ifunc_impl_list): Likewise.
1301         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1302         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1303         multiarch strcasecmp for PPC64.
1304         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1305         file.
1306         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1307         multiarch strcasecmp_l for PPC64.
1308
1309 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1310
1311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1312         implementations.
1313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1314         (__libc_ifunc_impl_list): Likewise.
1315         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1316         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1317         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1318         strnlen for PPC64.
1319
1320 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1321
1322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1323         implementations.
1324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1325         (__libc_ifunc_impl_list): Likewise.
1326         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1327         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1328         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1329         strlen for PPC64.
1330
1331 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1332
1333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1334         implementations.
1335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1336         (__libc_ifunc_impl_list): Likewise.
1337         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1338         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1339         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1340         rawmemrchr for PPC64.
1341
1342 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1343
1344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1345         implementation.
1346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1347         (__libc_ifunc_impl_list): Likewise.
1348         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1349         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1350         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1351         memrchr for PPC64.
1352
1353 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1354
1355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1356         implementation.
1357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1358         (__libc_ifunc_impl_list): Likewise.
1359         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1360         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1361         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1362         memchr for PPC64.
1363
1364 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1365
1366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1367         implementation.
1368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1369         (__libc_ifunc_impl_list): Likewise.
1370         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1371         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1372         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1373         mempcpy for PPC64.
1374
1375 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1376
1377         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1378         avoid cretion of __bzero symbol.
1379         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1380         Likewise.
1381         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1382         Likewise.
1383         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1384         Likewise.
1385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1386         multiarch implementations.
1387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1388         (__libc_ifunc_impl_list): Likewise.
1389         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1390         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1391         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1392         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1393         bzero for PPC32.
1394         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1395         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1396         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1397         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1398         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1399         memset for PPC64.
1400         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1401
1402 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1403
1404         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1406         implementations.
1407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1408         (__libc_ifunc_impl_list): Likewise.
1409         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1410         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1411         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1412         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1413         memcmp for PPC64.
1414
1415 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1416
1417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1418         multiarch for POWER/PPC64.
1419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1420         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1421         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1422         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1423         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1424         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1426         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1427         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1428         memcpy for PPC64.
1429
1430 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1431
1432         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1433         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1434         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1435         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1436         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1437         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1438         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1439         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1440         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1441         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1442         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1443         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1444         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1445         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1446         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1454
1455 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1456
1457         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1458
1459 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1460
1461         * benchtests/Makefile (bench): Add exp2 and log2.
1462         (LDLIBS-bench-exp2): Add -lm.
1463         (LDLIBS-bench-log2): Likewise.
1464         * benchtests/exp2-inputs: New inputs file.
1465         * benchtests/log2-inputs: New inputs file.
1466         * benchtests/log-inputs: Add new inputs.
1467         * benchtests/tan-inputs: Likewise.
1468
1469 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1470
1471         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1472         definition...
1473         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1474         csloww1, csloww2): ... from here.
1475
1476         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1477         instead of structures.
1478         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1479         (POLYNOMIAL): Likewise.
1480         (TAYLOR_SLOW): Likewise.
1481         (__sin): Likewise.
1482         (__cos): Likewise.
1483         (slow1): Likewise.
1484         (slow2): Likewise.
1485         (sloww): Likewise.
1486         (sloww1); Likewise.
1487         (sloww2): Likewise.
1488         (bsloww1): Likewise.
1489         (bsloww2): Likewise.
1490         (cslow2): Likewise.
1491         (csloww): Likewise.
1492         (csloww1): Likewise.
1493         (csloww2): Likewise.
1494
1495 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1496
1497         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1498         (__malloc_assert, __libc_realloc, __libc_calloc,
1499         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1500         memcpy and memset.
1501         * malloc/hooks.c (realloc_check): Likewise.
1502
1503 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1504
1505         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1506         * malloc/arena.c: Remove PER_THREAD conditional.
1507         [!PER_THREAD]: Remove code.
1508         (ptmalloc_unlock_all2): Likewise.
1509         (ptmalloc_init): Likewise.
1510         (_int_new_arena): Likewise.
1511         (arena_get2): Likewise.
1512         * malloc/hooks.c (__malloc_get_state): Likewise.
1513         (__malloc_set_state): Likewise.
1514         * malloc/malloc.c: Likewise.
1515         (struct malloc_state): Likewise.
1516         (struct malloc_par): Likewise.
1517         (__libc_realloc): Likewise.
1518         (__libc_mallopt): Likewise.
1519
1520 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1521
1522         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1523
1524 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1525
1526         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1527         macro to a function.  Check for zero perturb_byte.
1528         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1529
1530 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1531
1532         * malloc/malloc.c: (force_reg): Remove.
1533         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1534         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1535         force_reg by atomic_forced_read.
1536         * malloc/arena.c (ptmalloc_init): Likewise.
1537         * malloc/hooks.c (top_check): Likewise.
1538
1539 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1540
1541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1542
1543 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1544
1545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1546
1547 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1548
1549         * math/auto-libm-test-in: Add tests of lgamma.
1550         * math/auto-libm-test-out: Regenerated.
1551         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1552         (M_LOG_2_SQRT_PIl): Likewise.
1553         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1554         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1555         mpfr_f_f1.
1556         (func_calc_desc): Add mpfr_f_f1 union field.
1557         (ARGS1): New macro.
1558         (ARGS2): Likewise.
1559         (ARGS3): Likewise.
1560         (ARGS4): Likewise.
1561         (RET1): Likewise.
1562         (RET2): Likewise.
1563         (CALC): Likewise.
1564         (FUNC): Likewise.
1565         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1566         (test_functions): Add lgamma.
1567         (calc_generic_results): Handle mpfr_f_f1.
1568         * sysdeps/i386/fpu/libm-test-ulps: Update.
1569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1570
1571 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1572
1573         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1574         __mpn_add_n for PowerPC64/POWER7.
1575         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1576         __mpn_sub_n for PowerPC64/POWER7.
1577
1578 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1579
1580         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1581         __mpn_addmul_1 for PowerPC64.
1582         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1583         __mpn_submul_1 for PowerPC64.
1584         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1585         for PowerPC64.
1586         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1587         for PowerPC64.
1588
1589 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1590
1591         [BZ #15089]
1592         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1593
1594 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1595
1596         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1597
1598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1599
1600         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1601         add multiarch folders.
1602         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1603         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1604         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1605         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1606         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1607         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1608         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1609         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1610         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1611         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1612         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1619
1620 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1621
1622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1623         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1625         New file.
1626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1627         New file.
1628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1629         multiarch __ieee754_hypot for PowerPC32.
1630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1631         New file.
1632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1633         New file.
1634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1635         multiarch __ieee754_hypotf for PowerPC32.
1636
1637 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1638
1639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1640         long_double_symbol only if __logbl is defined.
1641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1642         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1643         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1644         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1645         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1646         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1647         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1648         path for implementation.
1649         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1650         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1652         logb, and logbl multiarch implementations for PowerPC32.
1653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1654         file.
1655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1656         file.
1657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1658         multiarch logb for PowerPC32.
1659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1660         file.
1661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1662         file.
1663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1664         multiarch logbf for PowerPC32.
1665         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1667         file.
1668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1669         multiarch logbl implementation for PowerPC32.
1670
1671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1672
1673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1674         and modff multiarch implementations.
1675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1676         New file.
1677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1678         New file.
1679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1680         multiarch modf for PowerPC32.
1681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1682         New file.
1683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1684         New file.
1685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1686         multiarch modff for PowerPC32.
1687
1688 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1689
1690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1691         and lrintf multiarch implementations.
1692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1693         New file.
1694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1695         New file.
1696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1697         multiarch lrint for PowerPC32.
1698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1699         file: multiarch lrintf for PowerPC32.
1700
1701 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1702
1703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1704         and lroundf multiarch implementations.
1705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1706         New file.
1707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1708         New file.
1709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1710         New file.
1711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1712         multiarch lround for PowerPC32.
1713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1714         file: multiarch lroundf for PowerPC32.
1715
1716 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1717
1718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1719         copysign and copysignf multiarch implementations.
1720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1721         New file.
1722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1723         New file.
1724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1725         file: multiarch copysign for PowerPC32.
1726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1727         file: multiarch copysignf for PowerPC32.
1728
1729 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1730
1731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1732         and truncf multiarch implementations.
1733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1734         New file.
1735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1736         file.
1737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1738         multiarch trunc for PowerPC32.
1739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1740         New file.
1741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1742         New file.
1743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1744         multiarch truncf for PowerPC32.
1745
1746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1747
1748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1749         and roundf multiarch implementations.
1750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1751         New file.
1752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1753         file.
1754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1755         multiarch round for PowerPC32.
1756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1757         New file.
1758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1759         New file.
1760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1761         multiarch roundf for PowerPC32.
1762
1763 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1764
1765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1766         and floorf multiarch implementations.
1767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1768         New file.
1769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1770         file.
1771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1772         multiarch floor for PowerPC32.
1773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1774         New file.
1775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1776         New file.
1777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1778         multiarch floorf for PowerPC32.
1779
1780 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1781
1782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1783         and ceilf multiarch implementations.
1784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1785         New file.
1786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1787         file.
1788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1789         multiarch ceil for PowerPC32.
1790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1791         New file.
1792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1793         file.
1794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1795         multiarch ceilf for PowerPC32.
1796
1797 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1798
1799         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1800         is defined.
1801         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1802         FINITEF is defined.
1803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1804         and finitef multiarch implementations.
1805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1806         New file.
1807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1808         file.
1809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1810         multiarch finite for PowerPC32.
1811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1812         New file.
1813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1814         file: multiarch finitef for PowerPC32.
1815
1816 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1817
1818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1819         and isinff multiarch implementations.
1820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1821         file.
1822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1823         file.
1824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1825         multiarch isinf for PowerPC32.
1826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1827         New file.
1828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1829         multiarch isinff for PowerPC32.
1830
1831 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1832
1833         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1834         alias when __isnan is defined.
1835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1836         and isnanf multiarch implementations.
1837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1838         file.
1839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1840         file.
1841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1842         file.
1843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1844         file.
1845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1846         multiarch isnan for PowerPC32.
1847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1848         New file.
1849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1850         New file.
1851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1852         multiarch isnanf for PowerPC32.
1853
1854 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1855
1856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1857         and sqrtf multiarch implementations.
1858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1859         file.
1860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1861         file.
1862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1863         multiarch sqrt for PowerPC32.
1864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1865         file.
1866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1867         file.
1868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1869         multiarch sqrtf for PowerPC32.
1870
1871 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1872
1873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1874         and llroundf multiarch implementations.
1875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1876         New file.
1877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1878         New file.
1879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1880         New file.
1881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1882         file: multiarch llround for PowerPC32.
1883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1884         file: multiarch llroundf for PowerPC32.
1885
1886 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1887
1888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1889         multiarch PowerPC32 fpu implementations.
1890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1891         New file.
1892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1893         New file.
1894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1895         multiarch llrint for PowerPC32.
1896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1897         New file.
1898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1899         New file.
1900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1901         file.
1902
1903 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1904
1905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1906
1907 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1908
1909         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1910         file.
1911         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1912         file.
1913         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1914         file.
1915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1916         multiarch wordcopy for PPC32.
1917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1918         wordcopy objects.
1919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1920         (__libc_ifunc_impl_list): Likewise.
1921         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1922         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1923         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1924         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1925         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1926         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1927
1928 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1929
1930         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1932         file.
1933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1934         file.
1935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1936         file.
1937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1938         multiarch wcscpy for PPC32.
1939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1940         multiarch objects.
1941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1942         (__libc_ifunc_impl_list): Likewise.
1943         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1944         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1945         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1946         sysdeps/powerpc/power6/wcscpy.c.
1947
1948 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1949
1950         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1952         file.
1953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1954         file.
1955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1956         file.
1957         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1958         multiarch wcsrchr for PPC32.
1959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1960         multiarch objects.
1961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1962         (__libc_ifunc_impl_list): Likewise.
1963         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1964         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1965         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1966         sysdeps/powerpc/power6/wcsrchr.c.
1967
1968 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1969
1970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1971         file.
1972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1973         file.
1974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1976         multiarch wcschr for PPc32.
1977         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1978         multiarch objects.
1979         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1980         (__libc_ifunc_impl_list): Likewise.
1981         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1982         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1983         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1984         sysdeps/powerpc/power6/wcschr.c.
1985
1986 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1987
1988         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1989         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1990         file.
1991         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1992         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1993         file: multiarch strchr for PPC32.
1994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1995         multiarch objects.
1996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1997         (__libc_ifunc_impl_list): Likewise.
1998
1999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2000
2001         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2002         name.
2003         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2004         file.
2005         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2006         file.
2007         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2008         multiarch strchrnul for PPC32.
2009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2010         multiarch objects.
2011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2012         (__libc_ifunc_impl_list): Likewise.
2013
2014 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2015
2016         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2017         file.
2018         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2019         multiarch strncasecmp for PPC32.
2020         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2021         file.
2022         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2023         multiarch strncasecmp_l for PPC32.
2024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2025         strncasecmp multiarch objects.
2026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2027         (__libc_ifunc_impl_list): Likewise.
2028
2029 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2030
2031         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2032         file.
2033         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2034         multiarch strncasecmp for PPC32.
2035         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2036         New file.
2037         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2038         multiarch strcasecmp_l for PPC32.
2039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2040         multiarch objects.
2041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2042         (__libc_ifunc_impl_list): Likewise.
2043
2044 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2045
2046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2047         file.
2048         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2049         file.
2050         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2051         multiarch strncmp for PPC32.
2052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2053         multiarch objects.
2054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2055         (__libc_ifunc_impl_list): Likewise.
2056
2057 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2058
2059         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2060         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2061         file.
2062         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2063         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2065         multiarch objects.
2066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2067         (__libc_ifunc_impl_list): Likewise.
2068
2069 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2070
2071         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2072         file.
2073         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2074         file.
2075         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2077         multiarch objects.
2078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2079         (__libc_ifunc_impl_list): Likewise.
2080
2081 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2082
2083         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2084         file.
2085         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2086         file.
2087         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2088         multiarch rawmemchr for PPC32.
2089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2090         multiarch objects.
2091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2092         (__libc_ifunc_impl_list): Likewise.
2093
2094 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2095
2096         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2097         file.
2098         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2099         file.
2100         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2101         file: memrchr multiarch for PPC32.
2102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2103         multiarch objects.
2104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2105         (__libc_ifunc_impl_list): Likewise.
2106
2107 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2108
2109         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2110         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2111         file.
2112         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2113         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2114         multiarch memchr for PPC32.
2115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2116         multiarch objects.
2117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2118         (__libc_ifunc_impl_list): Likewise.
2119
2120 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2121
2122         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2123         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2124         file.
2125         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2126         file.
2127         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2128         file: multiarch mempcpy for PPC32.
2129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2130         multiarch objects.
2131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2132         (__libc_ifunc_impl_list): Likewise.
2133
2134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2135
2136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2137         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2138         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2139         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2140         multiarch bzero for PPC32.
2141         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2142         file.
2143         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2144         file.
2145         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2146         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2147         file: multiarch memset for PPC32.
2148         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2150         memset multiarch objects.
2151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2152         (__libc_ifunc_impl_list): Likewise.
2153
2154 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2155
2156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2157         file.
2158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2159         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2160         memcmp for PPC32.
2161         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2163         multiarch objects.
2164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2165         (__libc_ifunc_impl_list): Likewise.
2166
2167 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2168
2169         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2171         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2172         file.
2173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2174         file.
2175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2176         file.
2177         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2178         multiarch memcpy for PPC32.
2179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2180         multiarch objects.
2181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2182         (__libc_ifunc_impl_list): Likewise.
2183
2184 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2185
2186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2187         support multiarch for POWER/PPC32.
2188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2189         Likewise.
2190         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2192         Implies file to make multiarch folder appers before the fpu and
2193         default folder for power4 configuration.
2194
2195 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2196
2197         * scripts/bench.pl: Append volatile keyword to type.
2198
2199 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2200
2201         * sysdeps/sh/sotruss-lib.c: New file.
2202         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2203
2204 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2205
2206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2207
2208 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2209
2210         [BZ #6810]
2211         * math/w_tgamma.c: Include <errno.h>.
2212         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2213         * math/w_tgammaf.c: Include <errno.h>.
2214         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2215         * math/w_tgammal.c: Include <errno.h>.
2216         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2217         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2218         underflow.  Add more tgamma tests.
2219         * math/auto-libm-test-out: Regenerated.
2220         * sysdeps/i386/fpu/libm-test-ulps: Update.
2221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2222
2223         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2224         sin, sinh, tan, tanh, tgamma, y0 and y1.
2225         * math/auto-libm-test-out: Regenerated.
2226         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2227         (TEST_COND_x86): Likewise.
2228         (M_E2l): Remove macro.
2229         (M_E3l): Likewise.
2230         (M_2_SQRT_PIl): Likewise.
2231         (M_SQRT_PIl): Likewise.
2232         (M_1_DIV_El): Likewise.
2233         (log_test_data): Use AUTO_TESTS_f_f.
2234         (log10_test_data): Likewise.
2235         (log1p_test_data): Likewise.
2236         (log2_test_data): Likewise.
2237         (sin_test_data): Likewise.
2238         (sin_tonearest_test_data): Likewise.
2239         (sin_towardzero_test_data): Likewise.
2240         (sin_downward_test_data): Likewise.
2241         (sin_upward_test_data): Likewise.
2242         (sinh_test_data): Likewise.
2243         (sinh_tonearest_test_data): Likewise.
2244         (sinh_towardzero_test_data): Likewise.
2245         (sinh_downward_test_data): Likewise.
2246         (sinh_upward_test_data): Likewise.
2247         (tan_test_data): Likewise.
2248         (tan_tonearest_test_data): Likewise.
2249         (tan_towardzero_test_data): Likewise.
2250         (tan_downward_test_data): Likewise.
2251         (tan_upward_test_data): Likewise.
2252         (tanh_test_data): Likewise.
2253         (tgamma_test_data): Likewise.
2254         (y0_test_data): Likewise.
2255         (y1_test_data): Likewise.
2256         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2257         (special_real_inputs): Add pi/4.
2258         * sysdeps/i386/fpu/libm-test-ulps: Update.
2259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2260
2261 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2262
2263         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2264         "longjmp_target" static probes.
2265         (__longjmp): Rename to __longjmp_symbol.
2266         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2267         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2268         on which longjmp to generate.
2269         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2270         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2271         probe.
2272         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2273         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2274         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2275         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2276         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2277         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2279         __longjmp_symbol based on which __longjmp to generate.
2280         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2281         probe.
2282         (setjmp): Rename to setjmp_symbol.
2283         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2284         (_setjmp): Rename to _setjmp_symbol.
2285         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2286         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2287         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2288         which setjmp to generate.
2289         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2290         "longjmp_target" static probes.
2291
2292 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2293
2294         * benchtests/README: Add note about output arguments.
2295         * benchtests/bench-sincos.c: Remove file.
2296         * benchtests/sincos-inputs: New file.
2297         * scripts/bench.pl: Identify output arguments and define
2298         static variables for them.
2299
2300         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2301
2302         [BZ #15941]
2303         * Makefile (INSTALL): Add install-plain.texi as the primary
2304         dependency.
2305         * manual/install-plain.texi: New file.
2306         * manual/install.texi: Include node directive only for
2307         non-plaintext output.
2308
2309 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2310
2311         * stdlib/longlong.h: Update from GCC.
2312
2313         [BZ #6807]
2314         [BZ #15901]
2315         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2316         * math/w_j0f.c (y0f): Likewise.
2317         * math/w_j0l.c (__y0l): Likewise.
2318         * math/w_j1.c (y1): Likewise.
2319         * math/w_j1f.c (y1f): Likewise.
2320         * math/w_j1l.c (__y1l): Likewise
2321         * math/w_jn.c (yn): Likewise.
2322         * math/w_jnf.c (ynf): Likewise.
2323         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2324         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2325         value for Bessel function domain errors outside _SVID_ mode.
2326         Adjust sign of return value for yn (negative integer, 0).
2327         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2328         by zero in return for negative x and set sign appropriately for
2329         negative n.
2330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2331         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2332         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2333         expectations in error cases.
2334         (y1_test_data): Likewise.
2335         (yn_test_data): Likewise.
2336         * sysdeps/i386/fpu/libm-test-ulps: Update.
2337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2338
2339 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2340
2341         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2342         "64" to "64-v1".  Add "64-v2".
2343         (abi-64-options): Rename to ...
2344         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2345         (abi-64-condition): Rename to ...
2346         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2347         (abi-64-ld-soname): Rename to ...
2348         (abi-64-v1-ld-soname): ... this.
2349         (abi-64-v2-options): Define.
2350         (abi-64-v2-condition): Likewise.
2351         (abi-64-v2-ld-soname): Likewise.
2352         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2353         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2357
2358 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2359             Alan Modra  <amodra@gmail.com>
2360
2361         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2362         New versions for use with the ELFv2 ABI.
2363         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2364         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2365         declaration.
2366         (struct La_ppc64v2_retval): Likewise.
2367         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2368         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2369         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2370         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2371         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2372         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2373         Do not save or restore CR.
2374         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2375         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2376         return values for ELFv2 ABI.  Fix location of FPR return registers.
2377         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2378         updated values for _CALL_ELF == 2.
2379         (La_regs, La_retval, int_retval): Likewise.
2380
2381 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2382
2383         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2384         (FRAME_MIN_SIZE_PARM): Likewise.
2385         (FRAME_BACKCHAIN): Likewise.
2386         (FRAME_CR_SAVE): Likewise.
2387         (FRAME_LR_SAVE): Likewise.
2388         (FRAME_TOC_SAVE): Likewise.
2389         (FRAME_PARM_SAVE): Likewise.
2390         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2391         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2392         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2393         (call_mcount_parm_offset): New macro.
2394         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2395         (PROF): Use symbolic stack frame offsets.
2396         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2397         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2398         Redefine in terms of FRAME_MIN_SIZE.
2399         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2400         (_dl_profile_resolve): Likewise.  Update comment.
2401         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2402         symbols stack frame offsets.
2403         (__sigsetjmp): Likewise.
2404         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2405         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2406         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2407         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2408
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2410         (FRAME_BACKCHAIN): Remove.
2411         (FRAME_CR_SAVE): Likewise.
2412         (FRAME_LR_SAVE): Likewise.
2413         (FRAME_COMPILER_DW): Likewise.
2414         (FRAME_LINKER_DW): Likewise.
2415         (FRAME_TOC_SAVE): Likewise.
2416         (FRAME_PARM_SAVE): Likewise.
2417         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2418         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2419         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2421         (CHECK_SP): Use symbolic stack frame offsets.
2422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2423         zone" instead of caller's parameter save area for temp storage.
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2425         Likewise.  Also, use symbolic stack frame offsets.
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2427         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2428         our own stack frame instead of the caller's.
2429         (__socket): Use symbolic stack frame offsets.
2430
2431 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2432             Alan Modra  <amodra@gmail.com>
2433
2434         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2435         Define.
2436         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2437         PPC64_LOCAL_ENTRY_OFFSET): Define.
2438         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2439         New function.
2440         (elf_machine_fixup_plt): Call it.
2441         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2442         reloc arguments.
2443         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2444         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2445         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2446         r2 before calling target.
2447
2448 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2449             Alan Modra  <amodra@gmail.com>
2450
2451         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2452         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2453         versions of macros to support ELFv2 ABI.
2454         (LOCALENTRY): New macro.
2455         (ENTRY, EALIGN): Use it.
2456         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2457         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2458         fall through into ENTRY entry point.
2459         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2460         Only define if _CALL_ELF != 2.
2461
2462         (elf_machine_matches_host): Verify ABI version matches.
2463         (RTLD_START): Use LOCALENTRY.
2464         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2465         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2466         (PLT_ENTRY_WORDS): New macro.
2467         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2468         (elf_machine_runtime_setup): Support ELFv2 ABI.
2469         (elf_machine_fixup_plt): Likewise.
2470         (elf_machine_plt_conflict): Likewise.
2471         (resolve_ifunc): Likewise.
2472         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2473         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2474         Likewise.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2476         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2478         (makecontext): Support ELFv2 ABI.
2479         * elf/elf.h (EF_PPC64_ABI): Define.
2480
2481 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2482
2483         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2484         New assembler macro.
2485         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2486         [ASSEMBLER] (ENTRY): ... but instead here ...
2487         [ASSEMBLER] (EALIGN): ... and here.
2488         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2489         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2490         [!ASSEMBLER] (ENTRY_2): Use it.
2491         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2492         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2493         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2494         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2495         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2497         Use PPC64_LOAD_FUNCPTR.
2498
2499 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2500
2501         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2502
2503 2013-12-04  Alan Modra  <amodra@gmail.com>
2504
2505         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2506         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2507         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2508         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2509
2510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2511         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2512         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2513         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2514         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2515         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2516
2517 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2518
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2520         (__makecontext): Fix incorrect CFI when backtracing out of
2521         context created via makecontext.
2522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2523         (__setcontext): Fix incorrect CFI during switch to new context.
2524         (__novec_setcontext): Likewise.
2525
2526 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2527
2528         [BZ #4772]
2529         * time/strptime_l.c (__strptime_internal): Allow modifiers
2530         in strptime.
2531         * time/tst-strptime.c (day_tests): Add testcase.
2532
2533
2534 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2535
2536         * scripts/bench.pl: Skip over blank lines.
2537
2538 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2539
2540         [BZ #926]
2541         * manual/time.texi (Calendar Time): Clarify what timezone functions
2542         use.
2543
2544 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2545
2546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2547
2548 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2549
2550         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2551         implementation.
2552         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2553         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2554         * debug/memset_chk.c (__memset_chk): Likewise.
2555         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2556         * debug/strncpy_chk.c: Likewise.
2557
2558 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2559
2560         [BZ #15268]
2561         [BZ #15425]
2562         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2563         (__ieee754_exp): For possibly underflowing results, check size of
2564         result and force underflow exception if required.
2565         * math/auto-libm-test-in: Add more tests of exp.
2566         * math/auto-libm-test-out: Regenerated.
2567         * sysdeps/i386/fpu/libm-test-ulps: Update.
2568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569
2570         [BZ #16283]
2571         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2572         * math/w_exp2f.c (__exp2f): Likewise.
2573         * math/w_exp2l.c (__exp2l): Likewise.
2574         * math/auto-libm-test-in: Do not allow missing errno on exp2
2575         underflow.
2576         * math/auto-libm-test-out: Regenerated.
2577
2578 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2579
2580         [BZ #16274]
2581         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2582         handle filename validation.
2583         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2584         (do_open): Delete.
2585
2586 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2587
2588         [BZ #6786]
2589         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2590         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2591         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2592         <float.h>.
2593         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2594         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2595         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2596         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2597         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2598         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2599         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2600         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2601         Add more erfc tests.
2602         * math/auto-libm-test-out: Regenerated.
2603         * sysdeps/i386/fpu/libm-test-ulps: Update.
2604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2605
2606         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2607         exp2, expm1, j0 and j1.
2608         * math/auto-libm-test-out: Regenerated.
2609         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2610         (erfc_test_data): Likewise.
2611         (exp_test_data): Likewise.
2612         (exp_tonearest_test_data): Likewise.
2613         (exp_towardzero_test_data): Likewise.
2614         (exp_downward_test_data): Likewise.
2615         (exp_upward_test_data): Likewise.
2616         (exp10_test_data): Likewise.
2617         (exp2_test_data): Likewise.
2618         (expm1_test_data): Likewise.
2619         (j0_test_data): Likewise.
2620         (j1_test_data): Likewise.
2621         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2622         (input_flag_type): Add flag_xfail_rounding.
2623         (input_flags): Add xfail-rounding.
2624         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2625         (output_for_one_input_case): Handle flag_xfail_rounding.
2626         * sysdeps/i386/fpu/libm-test-ulps: Update.
2627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2628
2629 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2630
2631         [BZ #16289]
2632         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2633         division by 0.
2634
2635 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2636
2637         [BZ #16195]
2638         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2639         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2640         (STAP_PROBE0): New macro.
2641         (STAP_PROBE1): Likewise.
2642         (STAP_PROBE2): Likewise.
2643         (STAP_PROBE3): Likewise.
2644         (STAP_PROBE4): Likewise.
2645
2646 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2647
2648         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2649
2650 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2651
2652         * benchtests/Makefile (bench): Add sqrt.
2653         (LDLIBS-bench-sqrt): New.
2654         * benchtests/sqrt-input: New.
2655
2656 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2657
2658         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2659         (GAIH_EAI): Likewise.
2660         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2661         (gaih_inet): Likewise.
2662         (getaddrinfo): Don't use GAIH_EAI.
2663
2664         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2665         (struct gaih): Remove definition.
2666
2667 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2668
2669         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2670         Use HERRNOP directly.
2671
2672 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2673
2674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2675
2676 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2677
2678         * math/gen-auto-libm-tests.c (test_functions): Add more
2679         single-argument functions.
2680         (special_fill_pi_2): New function.
2681         (special_fill_minus_pi_2): Likewise.
2682         (special_fill_pi_6): Likewise.
2683         (special_fill_minus_pi_6): Likewise.
2684         (special_fill_pi_3): Likewise.
2685         (special_fill_2pi_3): Likewise.
2686         (special_fill_e): Likewise.
2687         (special_fill_1_e): Likewise.
2688         (special_fill_e_minus_1): Likewise.
2689         (special_real_inputs): Add more special inputs.
2690         (output_for_one_input_case): Do not require ERANGE on underflow to
2691         zero if round-to-nearest result does not underflow to zero, unless
2692         exact results required.
2693         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2694         atan, atanh, cbrt, cos and cosh.
2695         * math/auto-libm-test-out: Regenerated.
2696         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2697         (acos_tonearest_test_data): Likewise.
2698         (acos_towardzero_test_data): Likewise.
2699         (acos_downward_test_data): Likewise.
2700         (acos_upward_test_data): Likewise.
2701         (acosh_test_data): Likewise.
2702         (asin_test_data): Likewise.
2703         (asin_tonearest_test_data): Likewise.
2704         (asin_towardzero_test_data): Likewise.
2705         (asin_upward_test_data): Likewise.
2706         (asinh_test_data): Likewise.
2707         (atan_test_data): Likewise.
2708         (atanh_test_data): Likewise.
2709         (cbrt_test_data): Likewise.
2710         (cos_test_data): Likewise.
2711         (cos_tonearest_test_data): Likewise.
2712         (cos_towardzero_test_data): Likewise.
2713         (cos_downward_test_data): Likewise.
2714         (cos_upward_test_data): Likewise.
2715         (cosh_test_data): Likewise.
2716         (cosh_tonearest_test_data): Likewise.
2717         (cosh_towardzero_test_data): Likewise.
2718         (cosh_downward_test_data): Likewise.
2719         (cosh_upward_test_data): Likewise.
2720         * sysdeps/i386/fpu/libm-test-ulps: Update.
2721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2722
2723 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2724
2725         [BZ #6787]
2726         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2727         * math/w_exp10f.c (__exp10f): Likewise.
2728         * math/w_exp10l.c (__exp10l): Likewise.
2729         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2730         errno settings in existing tests.
2731
2732         [BZ #14032]
2733         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2734         precision control set to double precision.
2735         * sysdeps/i386/fpu/w_sqrt.c: New file.
2736         * math/auto-libm-test-in: Add more tests.
2737         * math/auto-libm-test-out: Update.
2738
2739         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2740         (sqrt_test_tonearest): New function.
2741         (sqrt_towardzero_test_data): New variable.
2742         (sqrt_test_towardzero): New function.
2743         (sqrt_downward_test_data): New variable.
2744         (sqrt_test_downward): New function.
2745         (sqrt_upward_test_data): New variable.
2746         (sqrt_test_upward): New function.
2747         (main): Call the new functions.
2748
2749         * math/gen-auto-libm-tests.c: New file.
2750         * math/auto-libm-test-in: Likewise.
2751         * math/auto-libm-test-out: New generated file.
2752         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2753         variables.
2754         (%beautify): Add generated representations of zero.
2755         (top level): Set $auto_input and call parse_auto_input.
2756         (beautify): Remove trailing "f" from hex float constants.
2757         (parse_args): Handle XFAIL_TEST.
2758         (convert_condition): New function.
2759         (or_value): Likewise.
2760         (or_cond_value): Likewise.
2761         (generate_testfile): Handle AUTO_TESTS_* lines.
2762         (parse_auto_input): New function.
2763         * math/libm-test.inc (XFAIL_TEST): New macro.
2764         (ERRNO_UNCHANGED): Update value.
2765         (ERRNO_EDOM): Likewise.
2766         (ERRNO_ERANGE): Likewise.
2767         (IGNORE_RESULT): Likewise.
2768         (TEST_COND_flt_32): New macro.
2769         (TEST_COND_dbl_64): Likewise.
2770         (TEST_COND_ldbl_96_intel): Likewise.
2771         (TEST_COND_ldbl_96_m68k): Likewise.
2772         (TEST_COND_ldbl_128): Likewise.
2773         (TEST_COND_ldbl_128ibm): Likewise.
2774         (TEST_COND_long32): Likewise.
2775         (TEST_COND_long64): Likewise.
2776         (TEST_COND_before_rounding): Likewise.
2777         (TEST_COND_after_rounding): Likewise.
2778         (enable_test): Handle XFAIL_TEST flag.
2779         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2780         with finite results.
2781         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2782         auto-libm-test-out.
2783
2784 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2785             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2786
2787         [BZ #16214]
2788         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2789         __tls_get_addr_internal instead of __tls_get_offset in order to
2790         avoid GOT pointer dependency.  Make rtld export
2791         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2792         __tls_get_addr since we are a __tls_get_offset platform.
2793         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2794         GOT pointer being set up before.
2795         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2796
2797 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2798
2799         * manual/math.texi (Errors in Math Functions): Document accuracy
2800         goals.
2801
2802         [BZ #15004]
2803         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2804         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2805         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2806         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2807         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2808         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2809         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2810         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2812         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2813         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2815         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2816         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2819
2820         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2821         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2822         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2823         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2824         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2825         Likewise.
2826         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2827         Likewise.
2828         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2829         Likewise.
2830         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2831         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2832         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2833         atomic-feupdateenv and flt-rounds.
2834         * sysdeps/powerpc/nofpu/Versions (libc): Add
2835         __atomic_feholdexcept, __atomic_feclearexcept,
2836         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2837         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2838         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2839         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2840         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2841         here.
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2843         Update.
2844
2845         * manual/arith.texi (FP Exceptions): Document that exceptions may
2846         not be raised when matherr is used.
2847         (Math Error Reporting): Document overflow in directed rounding
2848         modes.  Document that errno may not be set when finite values are
2849         returned on overflow.  Document intent to set errno on underflow
2850         only for underflow to zero.
2851
2852         [BZ #16271]
2853         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2854         round-to-nearest then adjust result for other rounding modes.
2855         * include/fenv.h (fegetround): Use libm_hidden_proto.
2856         * math/fegetround.c (fegetround): Use libm_hidden_def.
2857         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2858         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2859         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2860         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2861         Likewise.
2862         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2863         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2864         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2865         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2866
2867 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2868
2869         [BZ #16077]
2870         * nss/Versions (libnss_files): Add
2871         _nss_files_gethostbyname3_r.
2872         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2873         New function.
2874         (HOST_DB_LOOKUP): Remove macro.
2875         (_nss_files_gethostbyname_r): Implement function without the
2876         HOST_DB_LOOKUP macro.
2877         (_nss_files_gethostbyname2_r): Likewise.
2878
2879 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2880
2881         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2882
2883 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2884
2885         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2886         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2887         warning.
2888
2889 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2890
2891         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2892         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2893         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2894         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2895         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2896         __fe_nomask_env_priv and attribute_hidden.
2897         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2898         (libc_feupdateenv_test_ppc): Likewise.
2899         (libc_feresetround_ppc): Likewise.
2900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2901         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2902         compat_symbol macro.
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2904         (__fe_nomask_env): Likewise.
2905         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2906
2907 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2908
2909         * string/Makefile: Remove ifunc tests.
2910         * string/test-string.h: Define TEST_IFUNC.
2911         * string/test-bcopy-ifunc.c: Remove.
2912         * string/test-bzero-ifunc.c: Likewise.
2913         * string/test-memccpy-ifunc.c: Likewise.
2914         * string/test-memchr-ifunc.c: Likewise.
2915         * string/test-memcmp-ifunc.c: Likewise.
2916         * string/test-memcpy-ifunc.c: Likewise.
2917         * string/test-memmem-ifunc.c: Likewise.
2918         * string/test-memmove-ifunc.c: Likewise.
2919         * string/test-mempcpy-ifunc.c: Likewise.
2920         * string/test-memrchr-ifunc.c: Likewise.
2921         * string/test-memset-ifunc.c: Likewise.
2922         * string/test-rawmemchr-ifunc.c: Likewise.
2923         * string/test-stpcpy-ifunc.c: Likewise.
2924         * string/test-stpncpy-ifunc.c: Likewise.
2925         * string/test-strcasecmp-ifunc.c: Likewise.
2926         * string/test-strcasestr-ifunc.c: Likewise.
2927         * string/test-strcat-ifunc.c: Likewise.
2928         * string/test-strchr-ifunc.c: Likewise.
2929         * string/test-strchrnul-ifunc.c: Likewise.
2930         * string/test-strcmp-ifunc.c: Likewise.
2931         * string/test-strcpy-ifunc.c: Likewise.
2932         * string/test-strcspn-ifunc.c: Likewise.
2933         * string/test-strlen-ifunc.c: Likewise.
2934         * string/test-strncasecmp-ifunc.c: Likewise.
2935         * string/test-strncat-ifunc.c: Likewise.
2936         * string/test-strncmp-ifunc.c: Likewise.
2937         * string/test-strncpy-ifunc.c: Likewise.
2938         * string/test-strnlen-ifunc.c: Likewise.
2939         * string/test-strpbrk-ifunc.c: Likewise.
2940         * string/test-strrchr-ifunc.c: Likewise.
2941         * string/test-strspn-ifunc.c: Likewise.
2942         * string/test-strstr-ifunc.c: Likewise.
2943
2944 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2945
2946         * benchtests/Makefile: Remove ifunc tests.
2947         * benchtests/bench-string.h: Define TEST_IFUNC.
2948         * benchtests/bench-bcopy-ifunc.c: Remove.
2949         * benchtests/bench-bzero-ifunc.c: Likewise.
2950         * benchtests/bench-memccpy-ifunc.c: Likewise.
2951         * benchtests/bench-memchr-ifunc.c: Likewise.
2952         * benchtests/bench-memcmp-ifunc.c: Likewise.
2953         * benchtests/bench-memcpy-ifunc.c: Likewise.
2954         * benchtests/bench-memmem-ifunc.c: Likewise.
2955         * benchtests/bench-memmove-ifunc.c: Likewise.
2956         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2957         * benchtests/bench-memrchr-ifunc.c: Likewise.
2958         * benchtests/bench-memset-ifunc.c: Likewise.
2959         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2960         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2961         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2962         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2963         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2964         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2965         * benchtests/bench-strcat-ifunc.c: Likewise.
2966         * benchtests/bench-strchr-ifunc.c: Likewise.
2967         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2968         * benchtests/bench-strcmp-ifunc.c: Likewise.
2969         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2970         * benchtests/bench-strcpy-ifunc.c: Likewise.
2971         * benchtests/bench-strcspn-ifunc.c: Likewise.
2972         * benchtests/bench-strlen-ifunc.c: Likewise.
2973         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2974         * benchtests/bench-strncat-ifunc.c: Likewise.
2975         * benchtests/bench-strncmp-ifunc.c: Likewise.
2976         * benchtests/bench-strncpy-ifunc.c: Likewise.
2977         * benchtests/bench-strnlen-ifunc.c: Likewise.
2978         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2979         * benchtests/bench-strrchr-ifunc.c: Likewise.
2980         * benchtests/bench-strsep-ifunc.c: Likewise.
2981         * benchtests/bench-strspn-ifunc.c: Likewise.
2982         * benchtests/bench-strstr-ifunc.c: Likewise.
2983
2984 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2985
2986         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2987
2988 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2989
2990         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2991         * rt/aio.h: Likewise.
2992         * sysdeps/gnu/bits/utmp.h: Likewise.
2993         * sysdeps/gnu/bits/utmpx.h: Likewise.
2994         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2995         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2996         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2997         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2998         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2999         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3000         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3001         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3002         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3003         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3004         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3006         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3008         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3009         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3010         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3011         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3012         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3013         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3014         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3015         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3016         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3017         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3018         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3020         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3021         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3022         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3023         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3024         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3025         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3026         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3027         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3028         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3029         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3030         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3031         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3032         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3033         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3034         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3035         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3036
3037 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3038
3039         [BZ #16245]
3040         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3041         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3042
3043 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3044
3045         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3046         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3047         Likewise.
3048
3049 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3050
3051         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3052         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3053         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3054         (__fesetround): Remove define.
3055         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3056         rounding and exceptions handling.
3057         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3058         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3059         (__fe_nomask_env): Likewise.
3060         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3061         __fegetround instead of fegetround.
3062         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3063         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3064
3065 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3066
3067         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3068         it's there.
3069
3070         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3071
3072 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3073
3074         [BZ #11157]
3075         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3076         (encrypt_r): Likewise.
3077         * malloc/obstack.h (obstack_free): Likewise.
3078         * posix/unistd.h (encrypt): Likewise.
3079
3080 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3081
3082         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3083         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3084         DL_CALL_DT_FINI() that call the functions directly.
3085         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3086         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3087         * elf/dl-fini.c: Likewise.
3088
3089 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3090
3091         * malloc/hooks.c (memalign_check): Add alignment rounding.
3092         * malloc/malloc.c (_mid_memalign): New function.
3093         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3094         Implement by calling _mid_memalign.
3095         * manual/probes.texi (Memory Allocation Probes): Remove
3096         memory_valloc_retry and memory_pvalloc_retry.
3097
3098 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3099
3100         * locale/programs/locarchive.c (open_archive): Add const
3101         qualifier to ARCHIVEFNAME and copy default fname to
3102         DEFAULT_FNAME.
3103
3104         [BZ #15601]
3105         * libio/tst-widetext.input: Rename Oriya to Odia.
3106         * locale/iso-639.def: Likewise.
3107
3108         * manual/probes.texi (Mathematical Function Probes): Add
3109         documentation for sin, cos, asin and acos probes.
3110         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3111         (__sin32): Add slowasin probe.
3112         (__cos32): Add slowacos probe.
3113         (__mpsin): Add slowsin probe.
3114         (__mpcos): Add slowcos probe.
3115
3116 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3117
3118         [BZ #15483]
3119         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3120         thread-local __sim_exceptions_thread and global
3121         __sim_exceptions_global.
3122         (__sim_disabled_exceptions): Change to thread-local
3123         __sim_disabled_exceptions_thread and global
3124         __sim_disabled_exceptions_global.
3125         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3126         and global __sim_round_mode_global.
3127         (__simulate_exceptions): Use thread-local floating-point state and
3128         set global state from it as needed.
3129         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3130         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3131         __sim_round_mode_thread.
3132         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3133         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3134         and global __sim_exceptions_global.
3135         (__sim_disabled_exceptions): Change to thread-local
3136         __sim_disabled_exceptions_thread and global
3137         __sim_disabled_exceptions_global.
3138         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3139         and global __sim_round_mode_global.
3140         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3141         (SIM_SET_GLOBAL): Likewise.
3142         * sysdeps/powerpc/soft-fp/sfp-machine.h
3143         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3144         __sim_round_mode_thread.
3145         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3146         __sim_disabled_exceptions_thread.
3147         (__sim_exceptions): Change to __sim_exceptions_thread.
3148         (__sim_disabled_exceptions): Change to
3149         __sim_disabled_exceptions_thread.
3150         (__sim_round_mode): Change to __sim_round_mode_thread.
3151         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3152         thread-local floating-point state and set global state from it as
3153         needed.
3154         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3155         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3156         (__sim_disabled_exceptions): Remove extern declaration.
3157         (feenableexcept): Use thread-local floating-point state and set
3158         global state from it as needed.
3159         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3160         extern declaration.
3161         (__sim_disabled_exceptions): Likewise.
3162         (__sim_round_mode): Likewise.
3163         (__fegetenv): Use thread-local floating-point state.
3164         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3165         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3166         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3167         floating-point state and set global state from it as needed.
3168         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3169         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3170         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3171         Likewise.
3172         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3173         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3174         Likewise.
3175         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3176         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3177         Use __sim_round_mode_thread.
3178         * math/test-fenv-tls.c: New file.
3179         * math/Makefile (tests): Add test-fenv-tls.
3180         ($(objpfx)test-fenv-tls): Depend on
3181         $(common-objpfx)nptl/libpthread.so.
3182
3183 2013-11-19  Andreas Schwab  <schwab@suse.de>
3184
3185         * locale/programs/locale.c (show_info): Decode wordarray elements.
3186         * locale/categories.def (LC_MONETARY): Add element for
3187         _NL_MONETARY_CRNCYSTR.
3188         * locale/C-monetary.c (conversion_rate): New variable.
3189         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3190         element.
3191
3192 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3193
3194         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3195         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3196
3197 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3198
3199         * elf/Makefile (tst-auxv): New test.
3200         * elf/tst-auxv.c: New
3201         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3202
3203 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3204
3205         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3206         (hidden_proto): Caller changed.
3207         (hidden_tls_proto): New macro.
3208         (libc_hidden_tls_proto): Likewise.
3209         (rtld_hidden_tls_proto): Likewise.
3210         (libm_hidden_tls_proto): Likewise.
3211         (libresolv_hidden_tls_proto): Likewise.
3212         (librt_hidden_tls_proto): Likewise.
3213         (libdl_hidden_tls_proto): Likewise.
3214         (libnss_files_hidden_tls_proto): Likewise.
3215         (libnsl_hidden_tls_proto): Likewise.
3216         (libnss_nisplus_hidden_tls_proto): Likewise.
3217         (libutil_hidden_tls_proto): Likewise.
3218
3219 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3220
3221         [BZ #10253]
3222         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3223         (decompose_rpath): Defer expansion to fillin_rpath.
3224         (_dl_init_paths): Pass linkmap to fillin_rpath.
3225
3226 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3227
3228         * benchtests/Makefile: Add strsep.
3229         * benchtests/bench-strsep.c: New file: strsep benchtest.
3230         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3231
3232 2013-11-18  Andreas Schwab  <schwab@suse.de>
3233
3234         * locale/programs/locale.c (show_info) [case byte]: Check for
3235         '\377' instead of '\177'.
3236         * locale/C-monetary.c (not_available): Always use "\377".
3237         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3238         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3239         detect unavailable sign_posn locale elements.
3240         * locale/localeconv.c (__localeconv): For grouping and
3241         mon_grouping handle "\177" and "\377" like no grouping.
3242         (INT_ELEM): New macro.  Use it to set all numeric members.
3243         * locale/programs/ld-monetary.c (monetary_read)
3244         <tok_mon_grouping>: Normalize single -1 to the empty string.
3245         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3246         Likewise.
3247
3248 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3249
3250         [BZ #16055]
3251         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3252         when we match (nil).
3253         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3254
3255 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3256
3257         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3258         (NO_TEST_INLINE): Update value.
3259         (ERRNO_UNCHANGED): Likewise.
3260         (ERRNO_EDOM): Likewise.
3261         (ERRNO_ERANGE): Likewise.
3262         (IGNORE_RESULT): Likewise.
3263         (check_float_internal): Check signs of NaN results if
3264         TEST_NAN_SIGN used.
3265         (check_complex): Pass TEST_NAN_SIGN flag through to second
3266         check_float_internal call.
3267         (copysign_test_data): Add tests with quiet NaNs as second
3268         argument.  Use TEST_NAN_SIGN.
3269         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3270         TEST_NAN_SIGN.
3271         (signbit_test_data): Add tests of quiet NaN argument.
3272         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3273
3274         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3275         $ignore_result.
3276         (parse_args): Handle function results specified as IGNORE.
3277         * math/libm-test.inc (IGNORE_RESULT): New macro.
3278         (check_float_internal): Do not check numerical result if flag
3279         IGNORE_RESULT set.
3280         (check_complex): Pass through IGNORE_RESULT to second
3281         check_float_internal call.
3282         (check_int): Do not check numerical result if flag IGNORE_RESULT
3283         set.
3284         (check_long): Likewise.
3285         (check_bool): Likewise.
3286         (check_longlong): Likewise.
3287         (lrint_test_data): Add tests of infinite and NaN arguments.
3288         (lrint_tonearest_test_data): Likewise.
3289         (lrint_towardzero_test_data): Likewise.
3290         (lrint_downward_test_data): Likewise.
3291         (lrint_upward_test_data): Likewise.
3292         (llrint_test_data): Likewise.
3293         (llrint_tonearest_test_data): Likewise.
3294         (llrint_towardzero_test_data): Likewise.
3295         (llrint_downward_test_data): Likewise.
3296         (llrint_upward_test_data): Likewise.
3297         (lround_test_data): Likewise.
3298         (llround_test_data): Likewise.
3299
3300         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3301         (ERRNO_UNCHANGED): Update value.
3302         (ERRNO_EDOM): Likewise.
3303         (ERRNO_ERANGE): Likewise.
3304         (NO_TEST_INLINE_FLOAT): New macro.
3305         (NO_TEST_INLINE_DOUBLE): Likewise.
3306         (enable_test): New function.
3307         (RUN_TEST_f_f): Check enable_test before running test.
3308         (RUN_TEST_2_f): Likewise.
3309         (RUN_TEST_fff_f): Likewise.
3310         (RUN_TEST_c_f): Likewise.
3311         (RUN_TEST_f_f1): Likewise.
3312         (RUN_TEST_fF_f1): Likewise.
3313         (RUN_TEST_fI_f1): Likewise.
3314         (RUN_TEST_ffI_f1): Likewise.
3315         (RUN_TEST_c_c): Likewise.
3316         (RUN_TEST_cc_c): Likewise.
3317         (RUN_TEST_f_i): Likewise.
3318         (RUN_TEST_f_i_tg): Likewise.
3319         (RUN_TEST_ff_i_tg): Likewise.
3320         (RUN_TEST_f_b): Likewise.
3321         (RUN_TEST_f_b_tg): Likewise.
3322         (RUN_TEST_f_l): Likewise.
3323         (RUN_TEST_f_L): Likewise.
3324         (RUN_TEST_fFF_11): Likewise.
3325         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3326         conditionals.
3327         (cosh_test_data): Likewise.
3328         (exp_test_data): Likewise.
3329         (expm1_test_data): Likewise.
3330         (hypot_test_data): Likewise.
3331         (pow_test_data): Likewise.
3332         (sinh_test_data): Likewise.
3333         (tanh_test_data): Likewise.
3334         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3335         flags argument.
3336
3337         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3338         tests with quiet NaN input and output.
3339         (acosh_test_data): Likewise.
3340         (asin_test_data): Likewise.
3341         (asinh_test_data): Likewise.
3342         (atan_test_data): Likewise.
3343         (atanh_test_data): Likewise.
3344         (atan2_test_data): Likewise.
3345         (cbrt_test_data): Likewise.
3346         (cos_test_data): Likewise.
3347         (cosh_test_data): Likewise.
3348         (erf_test_data): Likewise.
3349         (erfc_test_data): Likewise.
3350         (exp_test_data): Likewise.
3351         (exp10_test_data): Likewise.
3352         (exp2_test_data): Likewise.
3353         (expm1_test_data): Likewise.
3354         (hypot_test_data): Likewise.
3355         (j0_test_data): Likewise.
3356         (j1_test_data): Likewise.
3357         (jn_test_data): Likewise.
3358         (lgamma_test_data): Likewise.
3359         (log_test_data): Likewise.
3360         (log10_test_data): Likewise.
3361         (log1p_test_data): Likewise.
3362         (log2_test_data): Likewise.
3363         (pow_test_data): Likewise.
3364         (scalb_test_data): Likewise.
3365         (sin_test_data): Likewise.
3366         (sincos_test_data): Likewise.
3367         (sinh_test_data): Likewise.
3368         (tan_test_data): Likewise.
3369         (tanh_test_data): Likewise.
3370         (tgamma_test_data): Likewise.
3371         (y0_test_data): Likewise.
3372         (y1_test_data): Likewise.
3373         (yn_test_data): Likewise.
3374
3375         [BZ #16167]
3376         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3377         argument being NaN and avoid computations with second argument in
3378         that case.
3379         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3380         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3381         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3382
3383 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3384
3385         * locale/iso-639.def: Add Chitwani Tharu (the).
3386
3387 2013-11-14  Andreas Schwab  <schwab@suse.de>
3388
3389         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3390         word instead of empty string.
3391
3392 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3393
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3395         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3397         (__fe_nomask_env): Likewise.
3398
3399 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3400
3401         * benchtests/bench-timing.h: Include time.h.
3402
3403 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3404
3405         [BZ #15997]
3406         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3407         to 3.4.0 for x32.
3408         * sysdeps/unix/sysv/linux/configure: Regenerated.
3409
3410 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3411
3412         [BZ #16151]
3413         * stdlib/strtod_l.c (round_and_return): Do not consider
3414         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3415         exponent one less than half the least subnormal exponent.
3416         * stdlib/test-strtod-round-data: Add more tests.
3417         * stdlib/tst-strtod-round.c (tests): Regenerated.
3418
3419 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3420
3421         [BZ #14143]
3422         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3423         (__fe_mask_env): Likewise.
3424         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3425         libm_hidden_proto and add function prototype.
3426         (__fe_mask_env): Add function prototype.
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3428         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3430         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3432         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3433
3434 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3435
3436         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3437         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3438
3439 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3440
3441         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3442         of htab_find_slot().
3443
3444 2013-11-11  David S. Miller  <davem@davemloft.net>
3445
3446         [BZ #16150]
3447         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3448         symbol in the non-vis3 case in static builds.
3449         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3450         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3451         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3452         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3453
3454 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3455
3456         [BZ #387]
3457         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3458         it is empty.
3459
3460 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3461
3462         * benchtests/Makefile: Add bench-strtod.
3463         * benchtests/bench-strtod.c: New file: strtod benchtest
3464
3465 2013-11-11  Andreas Schwab  <schwab@suse.de>
3466
3467         [BZ #16153]
3468         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3469         terminating NUL in key length.
3470
3471 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3472
3473         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3474         Add artificial ODP entry for vDSO symbol for PPC64.
3475         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3476         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3477
3478 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3479
3480         [BZ #15374]
3481         * nss/getent.c (services_keys): Recognize services starting with digit.
3482
3483 2013-11-06  David S. Miller  <davem@davemloft.net>
3484
3485         [BZ #15985]
3486         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3487         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3488
3489 2013-11-06  Will Newton  <will.newton@linaro.org>
3490
3491         * manual/memory.texi (Malloc Examples): Remove register
3492         keyword from examples.
3493
3494 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3495
3496         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3497
3498 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3499
3500         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3501         depending on [__GCC_IEC_559 > 0].
3502         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3503         depending on [__GCC_IEC_559_COMPLEX > 0].
3504
3505 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3506
3507         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3508         to iso-639.def.
3509
3510 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3511
3512         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3513
3514 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3515
3516         [BZ #16112]
3517         * malloc/malloc (malloc_info): Do not handle first bin as
3518         special case.
3519
3520 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3521
3522         * locale/iso-639.def: Add Central Nahuatl (nhn).
3523
3524 2013-11-01  Bruno Haible  <bruno@clisp.org>
3525
3526         [BZ #7003]
3527         * manual/math.texi (BSD Random): Specify range upper bound as
3528         in POSIX.
3529
3530 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3531
3532         * locale/iso-639.def: Add Meadow Mari (mhr).
3533
3534 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3535
3536         [BZ #14752], [BZ #15763]
3537         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3538         Validate name.
3539         * rt/tst_shm.c: Add test for escaping directory.
3540
3541 2013-10-31  Andreas Schwab  <schwab@suse.de>
3542
3543         [BZ #15917]
3544         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3545         followed by 'x' as part of digit sequence.
3546         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3547
3548 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3549
3550         [BZ #16037]
3551         * configure.ac: allow GNU Make 4.0 and greater.
3552         * configure: Regenerated.
3553
3554 2013-10-30  Will Newton  <will.newton@linaro.org>
3555
3556         [BZ #16038]
3557         * malloc/hooks.c (memalign_check): Limit alignment to the
3558         maximum representable power of two.
3559         * malloc/malloc.c (__libc_memalign): Likewise.
3560         * malloc/tst-memalign.c (do_test): Add test for very
3561         large alignment values.
3562         * malloc/tst-posix_memalign.c (do_test): Likewise.
3563
3564 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3565
3566         [BZ #11087]
3567         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3568         (munmap_chunk): Likewise.
3569         (mremap_chunk): Likewise.
3570
3571 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3572
3573         [BZ #15799]
3574         * stdlib/div.c (div): Remove obsolete code.
3575         * stdlib/ldiv.c (ldiv): Likewise.
3576         * stdlib/lldiv.c (lldiv): Likewise.
3577
3578 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3579
3580         [BZ #16071]
3581         * nss/nss_files/files-XXX.c (get_contents_ret): New
3582         enumerator.
3583         (get_contents): New function.
3584         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3585
3586 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3587
3588         * configure.in: Moved to ...
3589         * configure.ac: ... here. Change reference to configure.in
3590         to configure.ac.
3591         * sysdeps/arm/preconfigure.ac: ... here.
3592         configure.in to configure.ac.
3593         * sysdeps/gnu/configure.in: Moved to ...
3594         * sysdeps/gnu/configure.ac: ... here.
3595         * sysdeps/i386/configure.in: Moved to ...
3596         * sysdeps/i386/configure.ac: ... here.
3597         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3598         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3599         * sysdeps/mach/configure.in: Moved to ...
3600         * sysdeps/mach/configure.ac: ... here.
3601         * sysdeps/mach/hurd/configure.in: Moved to ...
3602         * sysdeps/mach/hurd/configure.ac: ... here.
3603         * sysdeps/powerpc/configure.in: Moved to ...
3604         * sysdeps/powerpc/configure.ac: ... here.
3605         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3606         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3607         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3608         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3609         * sysdeps/s390/s390-32/configure.in: Moved to ...
3610         * sysdeps/s390/s390-32/configure.ac: ... here.
3611         * sysdeps/s390/s390-64/configure.in: Moved to ...
3612         * sysdeps/s390/s390-64/configure.ac: ... here.
3613         * sysdeps/sh/configure.in: Moved to ...
3614         * sysdeps/sh/configure.ac: ... here.
3615         * sysdeps/sparc/configure.in: Moved to ...
3616         * sysdeps/sparc/configure.ac: ... here.
3617         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3618         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3619         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3620         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3621         * sysdeps/x86_64/configure.in: Moved to ...
3622         * sysdeps/x86_64/configure.ac: ... here.
3623         * sysdeps/x86_64/preconfigure.in: Moved to ...
3624         * sysdeps/x86_64/preconfigure.ac: ... here.
3625         * aclocal.m4: Change reference to configure.in to configure.ac.
3626         * config.h.in: Likewise.
3627         * manual/install.texi: Likewise.
3628         * manual/maint.texi: Likewise.
3629         * Makefile: Likewise.
3630         * malloc/Makefile: Likewise.
3631         * nscd/Makefile: Likewise.
3632         * Makeconfig: Change reference to configure.in and
3633         preconfigure.in to configure.ac and preconfigure.ac
3634         respectively.
3635         * INSTALL: Regenerated.
3636         * configure: Likewise.
3637         * sysdeps/gnu/configure: Likewise.
3638         * sysdeps/i386/configure: Likewise.
3639         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3640         * sysdeps/mach/configure: Likewise.
3641         * sysdeps/mach/hurd/configure: Likewise.
3642         * sysdeps/powerpc/configure: Likewise.
3643         * sysdeps/powerpc/powerpc32/configure: Likewise.
3644         * sysdeps/powerpc/powerpc64/configure: Likewise.
3645         * sysdeps/s390/s390-32/configure: Likewise.
3646         * sysdeps/s390/s390-64/configure: Likewise.
3647         * sysdeps/sh/configure: Likewise.
3648         * sysdeps/sparc/configure: Likewise.
3649         * sysdeps/unix/sysv/linux/configure: Likewise.
3650         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3651         * sysdeps/x86_64/configure: Likewise.
3652         * sysdeps/x86_64/preconfigure: Likewise.
3653
3654 2013-10-29  Andreas Schwab  <schwab@suse.de>
3655
3656         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3657
3658 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3659
3660         * benchtests/pow-inputs: Add new inputs.
3661
3662         * benchtests/exp-inputs: Add new inputs.
3663
3664         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3665         conditional check for return value.
3666         (__cos32): Likewise.
3667
3668 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3669
3670         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3671         to provide a boost for large inputs with word alignment.
3672         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3673         implementation based on optimized PPC64 strcpy.
3674         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3675         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3676         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3677         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3678
3679 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3680
3681         [BZ #2801]
3682         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3683
3684 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3685
3686         [BZ #14876]
3687         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3688         * time/tst-strptime.c (day_tests): Add testcase.
3689
3690 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3691
3692         [BZ #14029]
3693         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3694
3695 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3696
3697         [BZ #16074]
3698         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3699         MAP_FAILED on error.
3700
3701 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3702
3703         [BZ #16072]
3704         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3705         heap for large requests.
3706
3707 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3708
3709         [BZ #9954]
3710         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3711         result if the result has no associated interface.
3712         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3713         interface for all 127.X.Y.Z addresses.
3714
3715 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3716
3717         * locale/iso-639.def: Add Ligurian (lij)
3718
3719 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3720
3721         [BZ #15825]
3722         * sunrpc/rpc_main.c: Document rpcgen -5.
3723
3724 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3725
3726         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3727
3728 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3729
3730         [BZ #10278]
3731         * posix/glob.c: Match only directories when trailing slash is present.
3732         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3733         (main): Add testcase.
3734
3735 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3736
3737         [BZ #15670]
3738         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3739
3740 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3741
3742         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3743         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3744         AUTH_DES and cindex for FIPS 140-2.
3745         (DES Encryption): Add cindex FIPS 46-3.
3746
3747         * locale/locarchive.h (struct locarhandle): Add fname.
3748         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3749         if an optional argument was specified to --list-archive,
3750         otherwise NULL.
3751         * locale/programs/locarchive.c (show_archive_content): Take new
3752         argument fname and pass it via ah.fname to open_archive.
3753         * locale/programs/localedef.h: Update decl.
3754         (open_archive): If AH->fname is non-null, open that file
3755         rather than the default file name, and don't ignore ENOENT.
3756         (create_archive): Set AH.fname to NULL.
3757         (delete_locales_from_archive): Likewise.
3758         (add_locales_to_archive): Likewise.
3759         * locale/programs/locfile.c (write_all_categories): Likewise.
3760
3761 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3762             Aldy Hernandez  <aldyh@redhat.com>
3763
3764         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3765         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3766         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3767         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3768         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3769         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3770         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3771         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3772         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3773         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3774         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3775         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3776         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3777         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3778         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3779         Likewise.
3780         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3781         Likewise.
3782         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3783         Likewise.
3784         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3785         Likewise.
3786         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3787         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3788         Likewise.
3789         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3790         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3791         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3792         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3793         Likewise.
3794         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3795         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3796         * sysdeps/powerpc/preconfigure: Likewise.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3798         Likewise.
3799         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3800         Replace contents of file by #include of <fenv_libc.h>.
3801         * sysdeps/powerpc/soft-fp/sfp-machine.h
3802         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3803         and <sys/prctl.h>.
3804         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3805         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3806         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3807         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3808         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3809         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3811         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3812         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3813         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3814         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3815         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3817         Allow copysignl PLT reference to be missing.
3818
3819 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3820             Joseph Myers  <joseph@codesourcery.com
3821
3822         [BZ #15948]
3823         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3824         single character.
3825         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3826
3827 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3828
3829         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3830         * elf/tst-tls1.c: Likewise.
3831         * elf/tst-tls10.h: Likewise.
3832         * elf/tst-tls14.c: Likewise.
3833         * elf/tst-tls2.c: Likewise.
3834         * elf/tst-tls3.c: Likewise.
3835         * elf/tst-tls4.c: Likewise.
3836         * elf/tst-tls5.c: Likewise.
3837         * elf/tst-tls6.c: Likewise.
3838         * elf/tst-tls7.c: Likewise.
3839         * elf/tst-tls8.c: Likewise.
3840         * elf/tst-tls9.c: Likewise.
3841         * elf/tst-tlsmod1.c: Likewise.
3842         * elf/tst-tlsmod13.c: Likewise.
3843         * elf/tst-tlsmod13a.c: Likewise.
3844         * elf/tst-tlsmod14a.c: Likewise.
3845         * elf/tst-tlsmod16a.c: Likewise.
3846         * elf/tst-tlsmod16b.c: Likewise.
3847         * elf/tst-tlsmod2.c: Likewise.
3848         * elf/tst-tlsmod3.c: Likewise.
3849         * elf/tst-tlsmod4.c: Likewise.
3850         * elf/tst-tlsmod5.c: Likewise.
3851         * elf/tst-tlsmod6.c: Likewise.
3852
3853 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3854
3855         [BZ #12486]
3856         * malloc/malloc.c: remove checks for statistics.
3857
3858 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3859
3860         [BZ #15277]
3861         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3862         * inet/tst-network.c: Add testcase.
3863
3864 2013-10-17  Andreas Schwab  <schwab@suse.de>
3865
3866         [BZ #15218]
3867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3868         to determine canonical name.
3869
3870 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3871
3872         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3873         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3875         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3876         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3877         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3878         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3879         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3880         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3881         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3882         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3883         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3884         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3885         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3886         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3887         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3889         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3890         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3891         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3892         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3894         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3895         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3896         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3897         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3898         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3899         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3900         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3901         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3902         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3904         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3905         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3906         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3907         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3908         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3909         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3910         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3911         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3912         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3913         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3914         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3915         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3916         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3918         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3919         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3920         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3921         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3922         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3923         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3924         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3925         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3926         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3927         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3928         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3929         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3930
3931 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3932
3933         [BZ #16041]
3934         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3935         make result into a quiet NaN.
3936
3937 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3938
3939         * soft-fp/adddf3.c: Fix horizontal whitespace.
3940         * soft-fp/addsf3.c: Likewise.
3941         * soft-fp/addtf3.c: Likewise.
3942         * soft-fp/divdf3.c: Likewise.
3943         * soft-fp/divsf3.c: Likewise.
3944         * soft-fp/divtf3.c: Likewise.
3945         * soft-fp/double.h: Likewise.
3946         * soft-fp/eqdf2.c: Likewise.
3947         * soft-fp/eqsf2.c: Likewise.
3948         * soft-fp/eqtf2.c: Likewise.
3949         * soft-fp/extenddftf2.c: Likewise.
3950         * soft-fp/extended.h: Likewise.
3951         * soft-fp/extendsfdf2.c: Likewise.
3952         * soft-fp/extendsftf2.c: Likewise.
3953         * soft-fp/extendxftf2.c: Likewise.
3954         * soft-fp/fixdfdi.c: Likewise.
3955         * soft-fp/fixdfsi.c: Likewise.
3956         * soft-fp/fixdfti.c: Likewise.
3957         * soft-fp/fixsfdi.c: Likewise.
3958         * soft-fp/fixsfsi.c: Likewise.
3959         * soft-fp/fixsfti.c: Likewise.
3960         * soft-fp/fixtfdi.c: Likewise.
3961         * soft-fp/fixtfsi.c: Likewise.
3962         * soft-fp/fixtfti.c: Likewise.
3963         * soft-fp/fixunsdfdi.c: Likewise.
3964         * soft-fp/fixunsdfsi.c: Likewise.
3965         * soft-fp/fixunsdfti.c: Likewise.
3966         * soft-fp/fixunssfdi.c: Likewise.
3967         * soft-fp/fixunssfsi.c: Likewise.
3968         * soft-fp/fixunssfti.c: Likewise.
3969         * soft-fp/fixunstfdi.c: Likewise.
3970         * soft-fp/fixunstfsi.c: Likewise.
3971         * soft-fp/fixunstfti.c: Likewise.
3972         * soft-fp/floatdidf.c: Likewise.
3973         * soft-fp/floatdisf.c: Likewise.
3974         * soft-fp/floatditf.c: Likewise.
3975         * soft-fp/floatsidf.c: Likewise.
3976         * soft-fp/floatsisf.c: Likewise.
3977         * soft-fp/floatsitf.c: Likewise.
3978         * soft-fp/floattidf.c: Likewise.
3979         * soft-fp/floattisf.c: Likewise.
3980         * soft-fp/floattitf.c: Likewise.
3981         * soft-fp/floatundidf.c: Likewise.
3982         * soft-fp/floatundisf.c: Likewise.
3983         * soft-fp/floatunditf.c: Likewise.
3984         * soft-fp/floatunsidf.c: Likewise.
3985         * soft-fp/floatunsisf.c: Likewise.
3986         * soft-fp/floatunsitf.c: Likewise.
3987         * soft-fp/floatuntidf.c: Likewise.
3988         * soft-fp/floatuntisf.c: Likewise.
3989         * soft-fp/floatuntitf.c: Likewise.
3990         * soft-fp/fmadf4.c: Likewise.
3991         * soft-fp/fmasf4.c: Likewise.
3992         * soft-fp/fmatf4.c: Likewise.
3993         * soft-fp/gedf2.c: Likewise.
3994         * soft-fp/gesf2.c: Likewise.
3995         * soft-fp/getf2.c: Likewise.
3996         * soft-fp/ledf2.c: Likewise.
3997         * soft-fp/lesf2.c: Likewise.
3998         * soft-fp/letf2.c: Likewise.
3999         * soft-fp/muldf3.c: Likewise.
4000         * soft-fp/mulsf3.c: Likewise.
4001         * soft-fp/multf3.c: Likewise.
4002         * soft-fp/negdf2.c: Likewise.
4003         * soft-fp/negsf2.c: Likewise.
4004         * soft-fp/negtf2.c: Likewise.
4005         * soft-fp/op-1.h: Likewise.
4006         * soft-fp/op-2.h: Likewise.
4007         * soft-fp/op-4.h: Likewise.
4008         * soft-fp/op-8.h: Likewise.
4009         * soft-fp/op-common.h: Likewise.
4010         * soft-fp/quad.h: Likewise.
4011         * soft-fp/single.h: Likewise.
4012         * soft-fp/soft-fp.h: Likewise.
4013         * soft-fp/sqrtdf2.c: Likewise.
4014         * soft-fp/sqrtsf2.c: Likewise.
4015         * soft-fp/sqrttf2.c: Likewise.
4016         * soft-fp/subdf3.c: Likewise.
4017         * soft-fp/subsf3.c: Likewise.
4018         * soft-fp/subtf3.c: Likewise.
4019         * soft-fp/truncdfsf2.c: Likewise.
4020         * soft-fp/trunctfdf2.c: Likewise.
4021         * soft-fp/trunctfsf2.c: Likewise.
4022         * soft-fp/trunctfxf2.c: Likewise.
4023         * soft-fp/unorddf2.c: Likewise.
4024         * soft-fp/unordsf2.c: Likewise.
4025         * soft-fp/unordtf2.c: Likewise.
4026
4027 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4028
4029         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4030         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4031
4032 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4033
4034         * elf/dl-libc.c: Clear initfini list after freeing.
4035
4036 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4037
4038         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4039         * soft-fp/addsf3.c: Likewise.
4040         * soft-fp/addtf3.c: Likewise.
4041         * soft-fp/divdf3.c: Likewise.
4042         * soft-fp/divsf3.c: Likewise.
4043         * soft-fp/divtf3.c: Likewise.
4044         * soft-fp/double.h: Likewise.
4045         * soft-fp/eqdf2.c: Likewise.
4046         * soft-fp/eqsf2.c: Likewise.
4047         * soft-fp/eqtf2.c: Likewise.
4048         * soft-fp/extenddftf2.c: Likewise.
4049         * soft-fp/extended.h: Likewise.
4050         * soft-fp/extendsfdf2.c: Likewise.
4051         * soft-fp/extendsftf2.c: Likewise.
4052         * soft-fp/extendxftf2.c: Likewise.
4053         * soft-fp/fixdfdi.c: Likewise.
4054         * soft-fp/fixdfsi.c: Likewise.
4055         * soft-fp/fixdfti.c: Likewise.
4056         * soft-fp/fixsfdi.c: Likewise.
4057         * soft-fp/fixsfsi.c: Likewise.
4058         * soft-fp/fixsfti.c: Likewise.
4059         * soft-fp/fixtfdi.c: Likewise.
4060         * soft-fp/fixtfsi.c: Likewise.
4061         * soft-fp/fixtfti.c: Likewise.
4062         * soft-fp/fixunsdfdi.c: Likewise.
4063         * soft-fp/fixunsdfsi.c: Likewise.
4064         * soft-fp/fixunsdfti.c: Likewise.
4065         * soft-fp/fixunssfdi.c: Likewise.
4066         * soft-fp/fixunssfsi.c: Likewise.
4067         * soft-fp/fixunssfti.c: Likewise.
4068         * soft-fp/fixunstfdi.c: Likewise.
4069         * soft-fp/fixunstfsi.c: Likewise.
4070         * soft-fp/fixunstfti.c: Likewise.
4071         * soft-fp/floatdidf.c: Likewise.
4072         * soft-fp/floatdisf.c: Likewise.
4073         * soft-fp/floatditf.c: Likewise.
4074         * soft-fp/floatsidf.c: Likewise.
4075         * soft-fp/floatsisf.c: Likewise.
4076         * soft-fp/floatsitf.c: Likewise.
4077         * soft-fp/floattidf.c: Likewise.
4078         * soft-fp/floattisf.c: Likewise.
4079         * soft-fp/floattitf.c: Likewise.
4080         * soft-fp/floatundidf.c: Likewise.
4081         * soft-fp/floatundisf.c: Likewise.
4082         * soft-fp/floatunsidf.c: Likewise.
4083         * soft-fp/floatunsisf.c: Likewise.
4084         * soft-fp/floatuntidf.c: Likewise.
4085         * soft-fp/floatuntisf.c: Likewise.
4086         * soft-fp/floatuntitf.c: Likewise.
4087         * soft-fp/fmadf4.c: Likewise.
4088         * soft-fp/fmasf4.c: Likewise.
4089         * soft-fp/fmatf4.c: Likewise.
4090         * soft-fp/gedf2.c: Likewise.
4091         * soft-fp/gesf2.c: Likewise.
4092         * soft-fp/getf2.c: Likewise.
4093         * soft-fp/ledf2.c: Likewise.
4094         * soft-fp/lesf2.c: Likewise.
4095         * soft-fp/letf2.c: Likewise.
4096         * soft-fp/muldf3.c: Likewise.
4097         * soft-fp/mulsf3.c: Likewise.
4098         * soft-fp/multf3.c: Likewise.
4099         * soft-fp/negdf2.c: Likewise.
4100         * soft-fp/negsf2.c: Likewise.
4101         * soft-fp/negtf2.c: Likewise.
4102         * soft-fp/op-1.h: Likewise.
4103         * soft-fp/op-2.h: Likewise.
4104         * soft-fp/op-4.h: Likewise.
4105         * soft-fp/op-8.h: Likewise.
4106         * soft-fp/op-common.h: Likewise.
4107         * soft-fp/quad.h: Likewise.
4108         * soft-fp/single.h: Likewise.
4109         * soft-fp/soft-fp.h: Likewise.
4110         * soft-fp/sqrtdf2.c: Likewise.
4111         * soft-fp/sqrtsf2.c: Likewise.
4112         * soft-fp/sqrttf2.c: Likewise.
4113         * soft-fp/subdf3.c: Likewise.
4114         * soft-fp/subsf3.c: Likewise.
4115         * soft-fp/subtf3.c: Likewise.
4116         * soft-fp/truncdfsf2.c: Likewise.
4117         * soft-fp/trunctfdf2.c: Likewise.
4118         * soft-fp/trunctfsf2.c: Likewise.
4119         * soft-fp/trunctfxf2.c: Likewise.
4120         * soft-fp/unorddf2.c: Likewise.
4121         * soft-fp/unordsf2.c: Likewise.
4122         * soft-fp/unordtf2.c: Likewise.
4123
4124 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4125
4126         [BZ #15672]
4127         * misc/error.c (error_tail): Fix possible buffer overflow.
4128
4129 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4130
4131         [BZ #13028]
4132         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4133         address.
4134
4135 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4136
4137         [BZ #832]
4138         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4139         testing pipefail option.
4140
4141 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4142
4143         * soft-fp/double.h: Indent preprocessor directives inside #if.
4144         * soft-fp/extended.h: Likewise.
4145         * soft-fp/op-2.h: Likewise.
4146         * soft-fp/op-4.h: Likewise.
4147         * soft-fp/op-common.h: Likewise.
4148         * soft-fp/quad.h: Likewise.
4149         * soft-fp/single.h: Likewise.
4150         * soft-fp/soft-fp.h: Likewise.
4151
4152 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4153
4154         * iconv/iconv_prog.c: Fix typos.
4155         * stdio-common/psiginfo-data.h: Likewise.
4156
4157 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4158
4159         [BZ #15764]
4160         * locale/setlocale.c: Fix typo.
4161
4162 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4163
4164         [BZ #16036]
4165         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4166         signaling NaN arguments.
4167         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4168         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4169
4170         [BZ #14910]
4171         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4172         unordered operands.
4173         * soft-fp/gesf2.c (__gesf2): Likewise.
4174         * soft-fp/getf2.c (__getf2): Likewise.
4175         * soft-fp/ledf2.c (__ledf2): Likewise.
4176         * soft-fp/lesf2.c (__lesf2): Likewise.
4177         * soft-fp/letf2.c (__letf2): Likewise.
4178
4179         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4180         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4181         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4182         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4183         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4184         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4185         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4186         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4187         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4188         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4189         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4190         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4191         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4192         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4193         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4194         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4195         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4196         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4197         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4198         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4199         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4200         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4201         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4202         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4203         * soft-fp/floattidf.c (__floattidf): Likewise.
4204         * soft-fp/floattisf.c (__floattisf): Likewise.
4205         * soft-fp/floattitf.c (__floattitf): Likewise.
4206         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4207         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4208         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4209         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4210         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4211         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4212         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4213         * soft-fp/gesf2.c (__gesf2): Likewise.
4214         * soft-fp/getf2.c (__getf2): Likewise.
4215         * soft-fp/ledf2.c (__ledf2): Likewise.
4216         * soft-fp/lesf2.c (__lesf2): Likewise.
4217         * soft-fp/letf2.c (__letf2): Likewise.
4218
4219         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4220         Undefine and redefine.
4221         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4222         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4223         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4224         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4225         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4226         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4227         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4228         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4229         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4230         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4231         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4232         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4233         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4234         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4235         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4236
4237         [BZ #16032]
4238         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4239         without decrementing exponent if mantissa >= that for the
4240         denominator, not >.
4241         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4242         denominator, not >.  Decrement exponent in < case instead of
4243         incrementing in >= case.
4244         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4245         without decrementing exponent if mantissa >= that for the
4246         denominator, not >.
4247
4248         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4249         computing saturated result for unsigned overflow.
4250
4251 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4252             Jeff Law  <law@redhat.com>
4253
4254         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4255         (atan2Mp): Add systemtap probe marker.
4256         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4257         (__ieee754_log): Add systemtap probe marker.
4258         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4259         (atanMp): Add systemtap probe marker.
4260         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4261         (tanMp): Add systemtap probe marker.
4262         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4263         (__slowexp): Add systemtap probe marker.
4264         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4265         (__slowpow): Add systemtap probe marker.
4266         * manual/probes.texi: Document probes.
4267
4268 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4269
4270         [BZ #15362]
4271         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4272         written.
4273         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4274         written.
4275         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4276         written to buffer but not flushed.
4277         * libio/iofwrite_u.c:  Likewise.
4278         * libio/iopadn.c:  Return bytes returned even if EOF was
4279         encountered.
4280         * libio/iowpadn.c:  Likewise.
4281         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4282         if _IO_padn does not write the whole buffer.
4283         [!COMPILE_WPRINTF] (PAD): Likewise.
4284
4285 2013-10-10  David S. Miller  <davem@davemloft.net>
4286
4287         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4288         directory block.
4289
4290 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4291
4292         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4293         instead of FSF address.
4294         * soft-fp/fixdfti.c: Likewise.
4295         * soft-fp/fixsfti.c: Likewise.
4296         * soft-fp/fixtfti.c: Likewise.
4297         * soft-fp/fixunsdfti.c: Likewise.
4298         * soft-fp/fixunssfti.c: Likewise.
4299         * soft-fp/fixunstfti.c: Likewise.
4300         * soft-fp/floattidf.c: Likewise.
4301         * soft-fp/floattisf.c: Likewise.
4302         * soft-fp/floattitf.c: Likewise.
4303         * soft-fp/floatuntidf.c: Likewise.
4304         * soft-fp/floatuntisf.c: Likewise.
4305         * soft-fp/floatuntitf.c: Likewise.
4306         * soft-fp/trunctfxf2.c: Likewise.
4307
4308         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4309         * soft-fp/fixdfti.c: Likewise.
4310         * soft-fp/fixsfti.c: Likewise.
4311         * soft-fp/fixtfti.c: Likewise.
4312         * soft-fp/fixunsdfti.c: Likewise.
4313         * soft-fp/fixunssfti.c: Likewise.
4314         * soft-fp/fixunstfti.c: Likewise.
4315         * soft-fp/floattidf.c: Likewise.
4316         * soft-fp/floattisf.c: Likewise.
4317         * soft-fp/floattitf.c: Likewise.
4318         * soft-fp/floatuntidf.c: Likewise.
4319         * soft-fp/floatuntisf.c: Likewise.
4320         * soft-fp/floatuntitf.c: Likewise.
4321         * soft-fp/trunctfxf2.c: Likewise.
4322
4323 2013-10-10  David S. Miller  <davem@davemloft.net>
4324
4325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4326
4327 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4328
4329         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4330         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4331         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4332         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4333         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4334         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4335         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4336
4337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4338         for NaNs before doing comparisons on argument.
4339         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4340         Likewise.
4341
4342 2013-10-10  Will Newton  <will.newton@linaro.org>
4343
4344         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4345         passed to _int_memalign does not overflow.
4346
4347 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4348
4349         * scripts/bench.pl: Add include-sources directive.
4350         * benchtests/README: Update documentation.
4351
4352 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4353
4354         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4355         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4356         instead of FP_INIT_ROUNDMODE.
4357         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4358         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4359
4360         [BZ #16034]
4361         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4362         copy class of input value.
4363         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4364         not handle exceptions.
4365         * soft-fp/negsf2.c (__negsf2): Likewise.
4366         * soft-fp/negtf2.c (__negtf2): Likewise.
4367         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4368
4369 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4370
4371         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4372         semicolon.  From Linux kernel.
4373
4374 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4375
4376         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4377
4378 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4379
4380         [BZ #156]
4381         * manual/socket.texi: Added statement about buffer
4382         for gethostbyname2_r.
4383
4384 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4385
4386         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4387         Use .p2align directive instead, throughout.
4388         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4389         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4391         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4392         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4393         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4394         * sysdeps/x86_64/strchr.S: Likewise.
4395         * sysdeps/x86_64/strrchr.S: Likewise.
4396
4397 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4398
4399         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4400
4401         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4402
4403         * sysdeps/generic/math_private.h (__mpsin1): Remove
4404         declaration.
4405         (__mpcos1): Likewise.
4406         (__mpsin): New argument __range_reduce.
4407         (__mpcos): Likewise.
4408         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4409         (slow): Use __mpsin and __mpcos.
4410         (slow1): Likewise.
4411         (slow2): Likewise.
4412         (sloww): Likewise.
4413         (sloww1): Likewise.
4414         (sloww2): Likewise.
4415         (bsloww): Likewise.
4416         (bsloww1): Likewise.
4417         (bsloww2): Likewise.
4418         (cslow2): Likewise.
4419         (csloww): Likewise.
4420         (csloww1): Likewise.
4421         (csloww2): Likewise.
4422         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4423         range_reduce.  Merge in __mpsin1.
4424         (__mpcos): Likewise.
4425         (__mpsin1): Remove.
4426         (__mpcos1): Likewise.
4427
4428 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4429
4430         * locale/loadlocale.c (_nl_intern_locale_data): Use
4431         LOCFILE_ALIGNED_P.
4432         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4433         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4434         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4435         obstack data is appropriately aligned.
4436         (obstack_int32_grow_fast): Likewise.
4437         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4438         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4439         (add_locale_uint32_array): Likewise.
4440
4441 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4442
4443         * benchtests/Makefile: Remove ARGLIST and RET variables.
4444         ($(objpfx)bench-%.c): Pass only function name to the script.
4445         * benchtests/README: Update documentation.
4446         * benchtests/acos-inputs: Add new directives.
4447         * benchtests/acosh-inputs: Likewise.
4448         * benchtests/asin-inputs: Likewise.
4449         * benchtests/asinh-inputs: Likewise.
4450         * benchtests/atan-inputs: Likewise.
4451         * benchtests/atanh-inputs: Likewise.
4452         * benchtests/cos-inputs: Likewise.
4453         * benchtests/cosh-inputs: Likewise.
4454         * benchtests/exp-inputs: Likewise.
4455         * benchtests/log-inputs: Likewise.
4456         * benchtests/pow-inputs: Likewise.
4457         * benchtests/rint-inputs: Likewise.
4458         * benchtests/sin-inputs: Likewise.
4459         * benchtests/sinh-inputs: Likewise.
4460         * benchtests/tan-inputs: Likewise.
4461         * benchtests/tanh-inputs: Likewise.
4462         * scripts/bench.pl: Add support for new directives.
4463
4464 2013-10-07  Alan Modra  <amodra@gmail.com>
4465
4466         * README: Fix careless merge.
4467
4468 2013-10-05  Alan Modra  <amodra@gmail.com>
4469
4470         * NEWS: Mention powerpc64le support and bugs fixed.
4471         * README: Both big-endian and little-endian powerpc64 supported.
4472
4473 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4474
4475         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4476         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4477         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4478         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4479
4480 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4481
4482         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4483         match prototype.
4484
4485 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4486
4487         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4488         Move -mhard-float appending from
4489         ports/sysdeps/powerpc/powerpc32/Makefile.
4490         [$(with-fp) = yes] (ASFLAGS): Likewise.
4491         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4492         * sysdeps/powerpc/nofpu: Move directory from
4493         ports/sysdeps/powerpc/nofpu.
4494         * sysdeps/powerpc/soft-fp: Move directory from
4495         ports/sysdeps/powerpc/soft-fp.
4496         * sysdeps/powerpc/powerpc32/405: Move directory from
4497         ports/sysdeps/powerpc/powerpc32/405.
4498         * sysdeps/powerpc/powerpc32/440: Move directory from
4499         ports/sysdeps/powerpc/powerpc32/440.
4500         * sysdeps/powerpc/powerpc32/464: Move directory from
4501         ports/sysdeps/powerpc/powerpc32/464.
4502         * sysdeps/powerpc/powerpc32/476: Move directory from
4503         ports/sysdeps/powerpc/powerpc32/476.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4505         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4507         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4509         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4511         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4513         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4514         * README: Update for powerpc-*-linux-gnu software floating point
4515         support in libc.
4516
4517         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4518         case to powerpc/powerpc32*.
4519         * sysdeps/unix/sysv/linux/configure: Regenerated.
4520
4521         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4522         (_FPU_MASK_OM): Define as 0x04.
4523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4525         0x00c10080.
4526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4527         0x0000003c.
4528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4529
4530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4531         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4532         getcontext_e500.
4533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4534         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4535         setcontext_e500.
4536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4537         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4538         and setcontext_e500.
4539
4540 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4541
4542         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4543
4544 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4545
4546         * manual/threads.texi (Default Thread Attributes): Fix typo.
4547
4548 2013-10-04  Will Newton  <will.newton@linaro.org>
4549
4550         * malloc/Makefile: Add tst-memalign.
4551         * malloc/tst-memalign.c: New file.
4552
4553         * malloc/tst-posix_memalign.c: Add comments.
4554         (do_test): Add comments and call free on all potentially
4555         allocated pointers. Add space after cast.
4556
4557         * malloc/tst-pvalloc.c: Add comments.
4558         (do_test): Add comments and call free on all potentially
4559         allocated pointers. Remove duplicate check for NULL pointer.
4560         Add space after cast.
4561
4562         * malloc/tst-valloc.c: Add comments.
4563         (do_test): Add comments and call free on all potentially
4564         allocated pointers. Remove duplicate check for NULL pointer.
4565         Add space after cast.
4566
4567 2013-10-04  Alan Modra  <amodra@gmail.com>
4568
4569         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4570         Use stdint types in rather than __attribute__((mode())).
4571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4572
4573 2013-10-04  Alan Modra  <amodra@gmail.com>
4574
4575         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4576         Correct handling of unaligned relocs for little-endian.
4577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4578
4579 2013-10-04  Alan Modra  <amodra@gmail.com>
4580
4581         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4582         * configure: Regenerate.
4583         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4584         * shlib-versions: Likewise.
4585
4586 2013-10-04  Alan Modra  <amodra@gmail.com>
4587
4588         * string/tester.c (test_memrchr): Increment reported test cycle.
4589
4590 2013-10-04  Alan Modra  <amodra@gmail.com>
4591
4592         * string/test-memcpy.c (do_one_test): When reporting errors, print
4593         string address and don't overrun end of string.
4594
4595 2013-10-04  Alan Modra  <amodra@gmail.com>
4596
4597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4598         insrdi.  Make better use of reg selection to speed exit slightly.
4599         Schedule entry path a little better.  Remove useless "are we done"
4600         checks on entry to main loop.  Handle wrapping around zero address.
4601         Correct main loop count.  Handle single left-over word from main
4602         loop inline rather than by using loop_small.  Remove extra word
4603         case in loop_small caused by wrong loop count.  Add little-endian
4604         support.
4605         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4606         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4607         cache hint.
4608         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4609         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4610         support.  Avoid rlwimi.
4611         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4612
4613 2013-10-04  Alan Modra  <amodra@gmail.com>
4614
4615         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4616         insrdi.  Formatting.
4617         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4618         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4619         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4620         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4621         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4622         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4623
4624 2013-10-04  Alan Modra  <amodra@gmail.com>
4625
4626         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4627         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4628         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4629         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4630         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4631         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4632         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4633         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4634         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4635         use of regs.  Use power7 mtocrf.  Tidy function tails.
4636
4637 2013-10-04  Alan Modra  <amodra@gmail.com>
4638
4639         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4640         Formatting.  Consistently use rXXX register defines or rN defines.
4641         Use early exit labels that avoid restoring unused non-volatile regs.
4642         Make cr field use more consistent with rWORDn compares.  Rename
4643         regs used as shift registers for unaligned loop, using rN defines
4644         for short lifetime/multiple use regs.
4645         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4646         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4647         addi 1,1,64 to pop stack frame.  Simplify return value code.
4648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4649
4650 2013-10-04  Alan Modra  <amodra@gmail.com>
4651
4652         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4653         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4654         rather than rlwimi.
4655         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4656         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4657         little-endian support.  Correct typos.
4658         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4659         rather than rlwimi.
4660         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4661         in loop and entry code to keep "and." results.
4662         (strchr): Add little-endian support.  Comment.  Move cntlzd
4663         earlier in tail.
4664         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4665
4666 2013-10-04  Alan Modra  <amodra@gmail.com>
4667
4668         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4669         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4670         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4671         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4672
4673 2013-10-04  Alan Modra  <amodra@gmail.com>
4674
4675         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4676         (rTMP): Define as r11.
4677         (strcmp): Add little-endian support.  Optimise tail.
4678         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4679         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4680         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4681         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4682         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4683         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4684         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4685
4686 2013-10-04  Alan Modra  <amodra@gmail.com>
4687
4688         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4689         little-endian support.  Remove unnecessary "are we done" tests.
4690         Handle "s" wrapping around zero and extremely large "size".
4691         Correct main loop count.  Handle single left-over word from main
4692         loop inline rather than by using small_loop.  Correct comments.
4693         Delete "zero" tail, use "end_max" instead.
4694         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4695
4696 2013-10-04  Alan Modra  <amodra@gmail.com>
4697
4698         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4699         support.  Don't branch over align.
4700         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4701         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4702         support.  Rearrange tmp reg use to suit.  Comment.
4703         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4704
4705 2013-10-04  Alan Modra  <amodra@gmail.com>
4706
4707         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4708
4709 2013-10-04  Alan Modra  <amodra@gmail.com>
4710
4711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4712         conditional form of branch and link when obtaining pc.
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4714
4715 2013-10-04  Alan Modra  <amodra@gmail.com>
4716
4717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4718         HIWORD/LOWORD.
4719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4721
4722 2013-10-04  Alan Modra  <amodra@gmail.com>
4723
4724         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4725         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4726         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4727         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4728         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4729         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4730         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4731         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4732         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4733         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4734
4735 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4736             Alistair Popple <alistair@ozlabs.au.ibm.com>
4737             Alan Modra <amodra@gmail.com>
4738
4739         [BZ #15723]
4740         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4741         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4742         _dl_hwcap access for little-endian.
4743         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4744         destroy vmx regs when saving unaligned.
4745         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4746         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4747         destroy vmx regs when saving unaligned.
4748
4749 2013-10-04  Alan Modra  <amodra@gmail.com>
4750
4751         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4752         Don't use a union to pack hi/low value.
4753
4754 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4755
4756         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4757         for little-endian.
4758         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4759         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4760         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4761         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4762         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4763
4764 2013-10-04  Alan Modra  <amodra@gmail.com>
4765
4766         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4767         constants to usual value for .cst8 section, and remove redundant
4768         high address load.
4769         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4770         constant for 0x1p52.  Load little-endian words of double from
4771         correct stack offsets.
4772
4773 2013-10-04  Alan Modra  <amodra@gmail.com>
4774
4775         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4776         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4777         words of double from correct stack offsets.
4778         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4779         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4780         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4781         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4782         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4783         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4784         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4785         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4786         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4787         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4788         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4789         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4790         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4791         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4792         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4793         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4794         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4795
4796 2013-10-04  Alan Modra  <amodra@gmail.com>
4797
4798         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4799         64-bit int/double union.
4800         (_FPU_SETCW): Likewise.
4801         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4802         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4803
4804 2013-10-04  Alan Modra  <amodra@gmail.com>
4805
4806         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4807         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4808
4809 2013-10-04  Alan Modra  <amodra@gmail.com>
4810
4811         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4812         use vector int constants.
4813         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4814
4815 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4816
4817         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4818         array with long long.
4819         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4820         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4821         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4822         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4823         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4824         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4825         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4826         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4827         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4828         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4829         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4830         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4831         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4832
4833 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4834
4835         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4836         (__signbit): Likewise.  Correct for little-endian.
4837         (__signbitl): Call __signbit.
4838         (lrint): Correct for little-endian.
4839         (lrintf): Call lrint.
4840
4841 2013-10-04  Alan Modra  <amodra@gmail.com>
4842
4843         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4844         union 32-bit int array member with 64-bit int array.
4845         (t515, tm256): Double rather than long double.
4846         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4847
4848 2013-10-04  Alan Modra  <amodra@gmail.com>
4849
4850         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4851         Delete.
4852         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4853         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4854         version of math_ldbl.h.
4855
4856 2013-10-04  Alan Modra  <amodra@gmail.com>
4857
4858         [BZ #15734], [BZ #15735]
4859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4860         all uses of ieee875 long double macros and unions.  Simplify test
4861         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4862         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4863         normalize after ldbl_extract_mantissa, and don't add hidden bit
4864         already handled.  Don't treat low word of ieee854 mantissa like
4865         low word of IBM long double and mask off bit when testing for
4866         zero.
4867         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4868         all uses of ieee875 long double macros and unions.  Simplify tests
4869         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4870         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4871         two1022, instead use their values.  Recognise that tests for large
4872         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4873         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4874         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4875         test for 0.0L and nan.  Correct negation.
4876         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4877         ieee875 long double macros and unions.  Correct output for large
4878         magnitude x.  Correct absolute value calculation.
4879         (__erfcl): Likewise.
4880         * math/libm-test.inc: Add tests for errors discovered in IBM long
4881         double versions of fmodl, remainderl, erfl and erfcl.
4882
4883 2013-10-04  Alan Modra  <amodra@gmail.com>
4884
4885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4886         all uses of ieee854 long double macros and unions.  Simplify tests
4887         for long doubles that are fully specified by the high double.
4888         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4889         Likewise.
4890         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4891         Remove dead code too.
4892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4893         (__ieee754_ynl): Likewise.
4894         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4895         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4896         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4897         Remove dead code too.
4898         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4899         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4900         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4901         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4902         Simplify.
4903         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4904         Simplify.
4905         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4906         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4908         Comment on variable precision.
4909         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4910         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4911         Likewise.
4912         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4913         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4914         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4915         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4916         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4917
4918 2013-10-04  Alan Modra  <amodra@gmail.com>
4919
4920         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4921         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4922         all uses of ieee854 long double macros and unions.
4923         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4924         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4925         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4926         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4927         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4928         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4929         Likewise.
4930         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4931         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4932         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4933         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4934         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4935         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4936         Simplify sign and nan test too.
4937         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4938         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4939         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4940         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4941         Likewise.
4942         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4943         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4944         Likewise.
4945         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4946         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4947         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4948         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4949         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4950         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4951
4952 2013-10-04  Alan Modra  <amodra@gmail.com>
4953
4954         * stdio-common/printf_size.c (__printf_size): Don't use
4955         union ieee854_long_double in fpnum union.
4956         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4957         signbit macro to retrieve sign from long double.
4958         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4959         retrieve sign from long double.
4960         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4961         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4962         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4963         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4964         * math/test-misc.c (main): Don't use union ieee854_long_double.
4965
4966 2013-10-04  Alan Modra  <amodra@gmail.com>
4967
4968         [BZ #15680]
4969         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4970         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4971         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4972         calculation.  Remove unnecessary test for denormal exponent.
4973         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4974         Correct handling of denormals.  Avoid undefined shift behaviour.
4975         Correct normalisation of low mantissa when low double is denormal.
4976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4977         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4978         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4979         Correct normalisation of low mantissa.  Test for overflow of high
4980         mantissa and normalise.
4981         (ldbl_nearbyint): Use more readable constant for two52.
4982         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4983         (__mpn_construct_long_double): Fix test for overflow of high
4984         mantissa and correct normalisation.  Avoid undefined shift.
4985
4986 2013-10-04  Alan Modra  <amodra@gmail.com>
4987
4988         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4989         (union ibm_extended_long_double): Define as an array of ieee754_double.
4990         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4991         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4992         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4993         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4995         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4997         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4998         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4999         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5000         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5001
5002 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5003
5004         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5005         page size instead of calling getpagesize.
5006
5007         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5008         (LOCFILE_ALIGN_MASK): Likewise.
5009         (LOCFILE_ALIGN_UP): Likewise.
5010         (LOCFILE_ALIGNED_P): Likewise.
5011         * locale/programs/ld-collate.c (collate_output): Use the new
5012         macros instead of __alignof__ (int32_t).
5013         * locale/weight.h (findidx): Likewise.
5014
5015 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5016
5017         [BZ #431]
5018         * manual/string.texi: Fix strncat and wcsncat.
5019
5020 2013-10-03  Brooks Moses  <bmoses@google.com>
5021
5022         [BZ #15915]
5023         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5024         * Makerules: ...here, and adjust associated comments.
5025
5026 2013-10-02  Will Newton  <will.newton@linaro.org>
5027
5028         * malloc/Makefile: Add tst-pvalloc.
5029         * malloc/tst-pvalloc.c: New file.
5030
5031 2013-10-02  Will Newton  <will.newton@linaro.org>
5032
5033         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5034         improve test coverage.
5035
5036 2013-10-02  Will Newton  <will.newton@linaro.org>
5037
5038         * malloc/Makefile: Add tst-posix_memalign.
5039         * malloc/tst-posix_memalign.c: New file.
5040
5041 2013-10-01  Eric Blake  <eblake@redhat.com>
5042
5043         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5044         Use __THROWNL rather than __THROW on static functions.
5045
5046 2013-09-30  Petr Machata  <pmachata@redhat.com>
5047
5048         * elf/elf.h (R_AARCH64_ABS16): New macro.
5049         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5050         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5051         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5052         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5053         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5054         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5055         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5056         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5057         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5058         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5059         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5060         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5061         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5062         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5063         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5064         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5065         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5066         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5067         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5068         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5069         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5070         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5071         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5072         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5073         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5074         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5075         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5076         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5077         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5078         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5079         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5080         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5081         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5082         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5083         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5084         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5085         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5086         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5087         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5088         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5089         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5090         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5091         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5092         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5093         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5094         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5095         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5096         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5097         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5098         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5099         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5100         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5101         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5102         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5103         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5104         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5105         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5106         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5107         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5108         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5109         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5110         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5111         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5112         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5113         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5114         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5115         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5116         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5117         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5118         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5119         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5120         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5121         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5122         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5123         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5124         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5125         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5126         (R_AARCH64_TLSDESC_LDR): Likewise.
5127         (R_AARCH64_TLSDESC_ADD): Likewise.
5128         (R_AARCH64_TLSDESC_CALL): Likewise.
5129
5130 2013-09-30  Andreas Schwab  <schwab@suse.de>
5131
5132         [BZ #15048]
5133         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5134         the nss database lookup.
5135         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5137
5138 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5139
5140         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5141
5142 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5143
5144         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5145         ${Bash-specific parameter/pattern/string} parameter expansion.
5146         * sysdeps/unix/make-syscalls.sh: Likewise.
5147
5148 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5149
5150         * sysdeps/sh/stackguard-macros.h: New file.
5151
5152 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5153
5154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5156         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5157         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5158         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5159         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5160
5161 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5162
5163         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5164         Fix thread ID register.
5165
5166 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5167
5168         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5169         [POSIX || UNIX98]: Require rather than permitting all symbols from
5170         <time.h>.
5171         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5172         element of struct sched_param.
5173         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5174         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5175         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5176         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5177         constant.
5178
5179 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5180
5181         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5182         argument calculation.
5183
5184 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5185
5186         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5187         Expect macro.
5188         [POSIX] (pthread_attr_t): Do not require type.
5189         [POSIX] (pthread_cond_t): Likewise.
5190         [POSIX] (pthread_condattr_t): Likewise.
5191         [POSIX] (pthread_key_t): Likewise.
5192         [POSIX] (pthread_mutex_t): Likewise.
5193         [POSIX] (pthread_mutexattr_t): Likewise.
5194         [POSIX] (pthread_once_t): Likewise.
5195         [POSIX] (pthread_t): Likewise.
5196         [POSIX-based standards] (pthread_atfork): Expect function.
5197
5198 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5199             Richard Sandiford  <richard@codesourcery.com>
5200
5201         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5202         (swap_endianness_p): New extern variable.
5203         (set_big_endian): New inline function.
5204         (maybe_swap_uint32): Likewise.
5205         (maybe_swap_uint32_array): Likewise.
5206         (maybe_swap_uint32_obstack): Likewise.
5207         * locale/programs/locfile.c: Include <stdbool.h>.
5208         (swap_endianness_p): New variable.
5209         (add_locale_uint32): Call maybe_swap_uint32.
5210         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5211         (write_locale_data): Call maybe_swap_uint32_array.
5212         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5213         maybe_swap_uint32.
5214         (obstack_int32_grow_fast): Likewise.
5215         (output_weightwc): Call maybe_swap_uint32_obstack.
5216         (collate_output): Likewise.
5217         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5218         (OPT_LITTLE_ENDIAN): Likewise.
5219         (options): Add --little-endian and --big-endian options.
5220         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5221         * locale/programs/locarchive.c: Include "locfile.h".
5222         (GET): New macro.
5223         (SET): Likewise.
5224         (INC): Likewise.
5225         (create_archive): Use the new macros to access fields of
5226         structures directly mapped from or written to locale archives.
5227         (oldlocrecentcmp): Likewise.
5228         (enlarge_archive): Likewise.
5229         (insert_name): Likewise.
5230         (add_alias): Likewise.
5231         (add_locale): Likewise.
5232         (delete_locales_from_archive): Likewise.
5233         (show_archive_content): Likewise.
5234         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5235         locale data.
5236
5237 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5238
5239         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5240         http://www.gnu.org/doc/freemanuals.texi.
5241         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5242
5243 2013-09-24  Will Newton  <will.newton@linaro.org>
5244
5245         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5246         macro.
5247
5248 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5249
5250         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5251         unsigned char.
5252
5253 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5254
5255         * manual/threads.texi (POSIX Threads): Fix a typo.
5256
5257 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5258
5259         [BZ #14547]
5260         * string/tst-strcoll-overflow.c: New test case.
5261         * string/Makefile (xtests): Add tst-strcoll-overflow.
5262         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5263         cache if string sizes may cause integer overflow.
5264
5265         [BZ #14547]
5266         * string/strcoll_l.c (coll_seq): New members rule, idx,
5267         save_idx and back_us.
5268         (get_next_seq_nocache): New function.
5269         (do_compare_nocache): New function.
5270         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5271         when malloc fails.
5272
5273 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5274
5275         [BZ #15754]
5276         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5277         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5278         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5279
5280         [BZ #15754]
5281         * elf/Makefile (tests): Add tst-ptrguard1.
5282         (tests-static): Add tst-ptrguard1-static.
5283         (tst-ptrguard1-ARGS): Define.
5284         (tst-ptrguard1-static-ARGS): Define.
5285         * elf/tst-ptrguard1.c: New file.
5286         * elf/tst-ptrguard1-static.c: New file.
5287         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5288         * sysdeps/i386/stackguard-macros.h: Likewise.
5289         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5290         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5291         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5292         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5293         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5294         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5295
5296 2013-09-23  Hector Marco  <hecmargi@upv.es>
5297             Ismael Ripoll  <iripoll@disca.upv.es>
5298             Carlos O'Donell  <carlos@redhat.com>
5299
5300         [BZ #15754]
5301         * sysdeps/generic/stackguard-macros.h: Define
5302         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5303         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5304         Define __pointer_chk_guard_local.
5305         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5306         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5307
5308 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5309
5310         [BZ #15859]
5311         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5312
5313 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5314
5315         * include/string.h (__ffs): Declare as hidden.
5316         * string/ffs.c (__ffs): Define as hidden.
5317         * sysdeps/i386/ffs.c (__ffs): Likewise.
5318         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5319         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5320         * sysdeps/s390/ffs.c (__ffs): Likewise.
5321         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5322
5323 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5324
5325         * NEWS: Mention malloc probes.
5326
5327         * malloc/arena.c (new_heap): New memory_heap_new probe.
5328         (grow_heap): New memory_heap_more probe.
5329         (shrink_heap): New memory_heap_less probe.
5330         (heap_trim): New memory_heap_free probe.
5331         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5332         (systrim): New memory_sbrk_less probe.
5333         * manual/probes.texi: Document them.
5334
5335         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5336         * manual/probes.texi: Document it.
5337
5338         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5339         (__libc_realloc): Add memory_realloc_retry probe.
5340         (__libc_memalign): Add memory_memalign_retry probe.
5341         (__libc_valloc): Add memory_valloc_retry probe.
5342         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5343         (__libc_calloc): Add memory_calloc_retry probe.
5344         * manual/probes.texi: Document them.
5345
5346         * malloc/arena.c (get_free_list): Add probe
5347         memory_arena_reuse_free_list.
5348         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5349         and memory_arena_reuse.
5350         (arena_get2) [!PER_THREAD]: Likewise.
5351         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5352         memory_arena_reuse_realloc.
5353         * manual/probes.texi: Document them.
5354
5355         * malloc/malloc.c (__libc_free): Add
5356         memory_mallopt_free_dyn_thresholds probe.
5357         (__libc_mallopt): Add multiple memory_mallopt probes.
5358         * manual/probes.texi: Document them.
5359
5360         * malloc/malloc.c: Include stap-probe.h.
5361         (__libc_mallopt): Add memory_mallopt probe.
5362         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5363         * manual/probes.texi: New.
5364         * manual/Makefile (chapters): Add probes.
5365         * manual/threads.texi: Set next node.
5366
5367 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5368
5369         [BZ #15963, #13985]
5370         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5371         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5372         Add `Chinese' to `nan' entry name.
5373
5374 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5375
5376         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5377         (POLYNOMIAL): Likewise.
5378         (TAYLOR_SINCOS): Likewise.
5379         (TAYLOR_SLOW): Likewise.
5380         (__sin): Use TAYLOR_SINCOS.
5381         (__cos): Likewise.
5382         (slow): Use TAYLOR_SLOW.
5383         (sloww): Likewise.
5384         (bsloww): Likewise.
5385         (csloww): Likewise.
5386
5387 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5388
5389         * stdlib/strtod_l.c: Fix buffer overrun.
5390
5391 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5392
5393         * benchtests/Makefile (bench): Add sincos.
5394         * benchtests/bench-sincos.c: New file.
5395
5396         * math/libm-test.inc (cos_test_data): New test inputs.
5397         (sin_test_data): Likewise.
5398
5399         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5400         macro.
5401         (__sin): Use it.
5402         (__cos): Likewise.
5403         (slow1): Likewise.
5404         (slow2): Likewise.
5405         (sloww1): Likewise.
5406         (sloww2): Likewise.
5407         (bsloww1): Likewise.
5408         (bsloww2): Likewise.
5409         (cslow2): Likewise.
5410         (csloww1): Likewise.
5411         (csloww2): Likewise.
5412
5413         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5414         function.
5415         (__sin): Use it.
5416         (__cos): Likewise.
5417
5418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5419         gotos.
5420         (__cos): Likewise.
5421
5422 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5423
5424         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5425         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5426         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5427         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5428         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5429         * elf/cache.c (print_entry): Handle the new cache flags.
5430
5431 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5432             Aldy Hernandez  <aldyh@redhat.com>
5433
5434         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5435         Change condition to [_SOFT_FLOAT].
5436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5448         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5451         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5452         declaration.
5453
5454 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5455
5456         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5457         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5458         (__longjmp): Use LOAD_GP to load saved GPRs.
5459         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5460         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5461         (__sigsetjmp): Use SAVE_GP to save GPRs.
5462
5463         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5464         Do not append -msoft-float.
5465         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5466
5467 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5468
5469         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5470
5471 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5472
5473         [BZ #15966]
5474         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5475         (_FPU_GETCW): Use initial "__" on variable and field names but not
5476         on macro parameter name.
5477         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5478         parentheses around reference to macro parameter.
5479
5480 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5481
5482         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5483         prototype.
5484         (ctype_startup): Use uint32_t in cast and sizeof for
5485         ctype->charnames.
5486
5487 2013-09-11  Jia Liu  <proljc@gmail.com>
5488
5489         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5490         __daddr_t_defined.
5491         [__FreeBSD__]: Likewise.
5492
5493 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5494
5495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5496         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5497         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5498         (strchr): Remove __strchr_sse42 ifunc selection.
5499         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5500         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5501
5502 2013-09-11  Will Newton  <will.newton@linaro.org>
5503
5504         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5505         parameter to RES. Remove hardcoded 1000 value.
5506         * benchtests/bench-skeleton.c (main): Pass RES parameter
5507         to TIMING_INIT and multiply result by 1000.
5508
5509 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5510
5511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5512
5513 2013-09-11  Andreas Schwab  <schwab@suse.de>
5514
5515         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5516         if not defined.
5517         (O_TMPFILE) [__USE_GNU]: Define.
5518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5519         Define.
5520
5521 2013-09-11  Will Newton  <will.newton@linaro.org>
5522
5523         [BZ #15857]
5524         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5525         does not overflow.
5526
5527 2013-09-11  Will Newton  <will.newton@linaro.org>
5528
5529         [BZ #15856]
5530         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5531         does not overflow.
5532
5533 2013-09-11  Will Newton  <will.newton@linaro.org>
5534
5535         [BZ #15855]
5536         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5537         does not overflow.
5538
5539 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5540
5541         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5542         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5543         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5544         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5545         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5546
5547 2013-09-10  Allan McRae  <allan@archlinux.org>
5548
5549         [BZ #15748]
5550         * manual/arith.texi (Parsing of Floats): Clarify
5551         cross-reference.
5552
5553         [BZ #15849]
5554         * manual/install.texi (Running make install): Mention
5555         --enable-pt-chown.
5556         * INSTALL: Regenerated.
5557
5558 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5559
5560         * csu/init-first.c (_init): Remove the !SHARED condition around
5561         FPU control word initialization.
5562         * elf/dl-support.c (_dl_fpu_control): New variable.
5563         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5564         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5565         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5566         * math/test-fpucw-static.c: New file.
5567         * math/test-fpucw-ieee.c: New file.
5568         * math/test-fpucw-ieee-static.c: New file.
5569         * math/Makefile (tests): Add `test-fpucw-ieee' and
5570         `$(tests-static)'.
5571         (tests-static): New variable.
5572         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5573         dependency to...
5574         [($(build-shared),yes)]
5575         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5576         ... this.
5577         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5578         New dependency.
5579
5580 2013-09-09  Allan McRae  <allan@archlinux.org>
5581
5582         [BZ #15939]
5583         * manual/string.texi (Collation Functions): Fix typo in
5584         strcoll example.
5585         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5586
5587         [BZ #15893]
5588         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5589
5590         [BZ #15892]
5591         * libio/memstream.c (open_memstream): Fix memory leak.
5592         * libio/wmemstream.c (open_wmemstream): Likewise.
5593
5594         [BZ #15895]
5595         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5596
5597 2013-09-09  Will Newton  <will.newton@linaro.org>
5598
5599         * malloc/Makefile: Add tst-realloc to tests.
5600         * malloc/tst-realloc.c: New file.
5601
5602 2013-09-09  Allan McRae  <allan@archlinux.org>
5603
5604         [BZ #15844]
5605         * COPYING: Update from GNU website to fix FSF address.
5606         * COPYING.LIB: Likewise.
5607
5608 2013-09-06  David S. Miller  <davem@davemloft.net>
5609
5610         * po/zh_TW.po: Update Chinese (traditional) translation from
5611         translation project.
5612
5613 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5614             Joseph Myers  <joseph@codesourcery.com>
5615
5616         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5617         "localeinfo.h".
5618         (obstack_chunk_alloc): New macro.
5619         (obstack_chunk_free): Likewise.
5620         (record_offset): New function.
5621         (init_locale_data): Likewise.
5622         (align_locale_data): Likewise.
5623         (add_locale_empty): Likewise.
5624         (add_locale_raw_data): Likewise.
5625         (add_locale_raw_obstack): Likewise.
5626         (add_locale_string): Likewise.
5627         (add_locale_wstring): Likewise.
5628         (add_locale_uint32): Likewise.
5629         (add_locale_uint32_array): Likewise.
5630         (add_locale_char): Likewise.
5631         (start_locale_structure): Likewise.
5632         (end_locale_structure): Likewise.
5633         (start_locale_prelude): Likewise.
5634         (end_locale_prelude): Likewise.
5635         (write_locale_data): Take locale_file structure rather than an
5636         iovec.
5637         * locale/programs/locfile.h: Include "obstack.h".
5638         (struct locale_file): Change to store locale file contents instead
5639         of header.
5640         (init_locale_data): New prototype.
5641         (align_locale_data): Likewise.
5642         (add_locale_empty): Likewise.
5643         (add_locale_raw_data): Likewise.
5644         (add_locale_raw_obstack): Likewise.
5645         (add_locale_string): Likewise.
5646         (add_locale_wstring): Likewise.
5647         (add_locale_uint32): Likewise.
5648         (add_locale_uint32_array): Likewise.
5649         (add_locale_char): Likewise.
5650         (start_locale_structure): Likewise.
5651         (end_locale_structure): Likewise.
5652         (start_locale_prelude): Likewise.
5653         (end_locale_prelude): Likewise.
5654         (write_locale_data): Update prototype.
5655         * locale/programs/3level.h (struct TABLE): Remove result field.
5656         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5657         Use new locale_file interface.
5658         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5659         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5660         * locale/programs/ld-address.c (address_output): Use new
5661         locale_file interface.
5662         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5663         NO_ADD_LOCALE.
5664         (collate_finish): Don't call collseq_table_finalize.
5665         (collate_output): Use new locale_file interface.
5666         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5667         in file.
5668         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5669         (TABLE): Move defines earlier in file.
5670         (ELEMENT): Likewise.
5671         (DEFAULT): Likewise.
5672         (wctrans_table_add): Move macro and inline function earlier in
5673         file.
5674         (struct wctype_table): Move type earlier in file.
5675         (add_locale_wctype_table): New static prototype.
5676         (struct locale_ctype_t): Use logical types instead of struct iovec
5677         pointers for members.
5678         (ctype_output): Use new locale_file interface.
5679         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5680         new locale_file interface.
5681         (allocate_arrays): Update for use of new locale_file interface.
5682         * locale/programs/ld-identification.c (identification_output): Use
5683         new locale_file interface.
5684         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5685         * locale/programs/ld-messages.c (messages_output): Likewise.
5686         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5687         * locale/programs/ld-name.c (name_output): Likewise.
5688         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5689         * locale/programs/ld-paper.c (paper_output): Likewise.
5690         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5691         * locale/programs/ld-time.c (time_output): Likewise.
5692
5693 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5694
5695         * benchtests/Makefile: Add memrchr benchmark.
5696         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5697         benchmark as memrchr.
5698         * benchtests/bench-memrchr-ifunc.c: New file.
5699         * benchtests/bench-memrchr.c: New file.
5700
5701 2013-09-06   Will Newton  <will.newton@linaro.org>
5702
5703         * benchtests/Makefile (string-bench): Add memcpy.
5704
5705 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5706             Cong Wang  <amwang@redhat.com>
5707
5708         * sysdeps/unix/sysv/linux/bits/in.h
5709         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5710         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5711         before __USE_KERNEL_IPV6_DEFS uses.
5712         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5713         IPPROTO_BEETPH.
5714         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5715         sockaddr_in6, or ipv6_mreq.
5716
5717 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5718
5719         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5720         memory access for final bytes in some large inputs.
5721         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5722
5723 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5724
5725         * string/test-memrchr.c: New file.
5726         * string/test-memrchr-ifunc.c: New file.
5727         * string/Makefile: Add new memrchr testcase.
5728
5729 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5730
5731         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5732         fanotify_init returns EPERM.
5733
5734 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5735
5736         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5737         errors.
5738         (top level): Treat second token from macro or constant entries for
5739         allowed headers as allowed.
5740         * include/complex.h: Condition internal declarations on
5741         [!_ISOMAC].
5742         * include/fenv.h: Condition include of <stdbool.h> and internal
5743         declarations on [!_ISOMAC].
5744
5745 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5746
5747         [BZ #15923]
5748         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5749
5750 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5751
5752         * configure.in (--enable-versioning): Remove configure option.
5753         (libc_cv_asm_symver_directive): Remove configure test.
5754         (libc_cv_ld_version_script_option): Likewise.
5755         (VERSIONING): Remove variable and AC_SUBST.
5756         (DO_VERSIONING): Remove AC_DEFINE.
5757         * configure: Regenerated.
5758         * config.h.in (DO_VERSIONING): Remove macro.
5759         * Makerules [$(versioning) = yes]: Change conditionals to
5760         [$(build-shared) = yes].
5761         * config.make.in (versioning): Remove variable.
5762         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5763         [$(build-shared) = yes].
5764         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5765         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5766         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5767         [$(build-shared) = yes].
5768         * extra-lib.mk [$(versioning) = yes]: Likewise.
5769         * hurd/Makefile [$(versioning) = yes]: Likewise.
5770         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5771         [SHARED].
5772         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5773         [SHARED].
5774         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5775         [SHARED && !NO_HIDDEN].
5776         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5777         [SHARED].
5778         [SHARED && DO_VERSIONING]: Likewise..
5779         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5780         [$(build-shared) = yes].
5781         * manual/install.texi (--disable-versioning): Remove
5782         documentation.
5783         * INSTALL: Regenerated.
5784         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5785         to [SHARED].
5786         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5787         [$(build-shared) = yes].
5788         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5789         * sysdeps/i386/i686/multiarch/strstr-c.c
5790         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5791         [SHARED && !NO_HIDDEN].
5792         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5793         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5794         * sysdeps/powerpc/powerpc32/dl-machine.c
5795         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5796         * sysdeps/powerpc/powerpc32/sysdep.h
5797         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5798         to [SHARED && PIC && !NO_HIDDEN].
5799         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5800         conditional to [SHARED].
5801
5802 2013-09-04   Will Newton  <will.newton@linaro.org>
5803
5804         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5805         * benchtests/bench-string.h: Include bench-timing.h instead
5806         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5807         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5808         call to HP_TIMING_DIFF_INIT.
5809         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5810         instead of hp-timing.h macros.
5811         * benchtests/bench-memchr.c: Likewise.
5812         * benchtests/bench-memcmp.c: Likewise.
5813         * benchtests/bench-memcpy.c: Likewise.
5814         * benchtests/bench-memmem.c: Likewise.
5815         * benchtests/bench-memmove.c: Likewise.
5816         * benchtests/bench-memset.c: Likewise.
5817         * benchtests/bench-rawmemchr.c: Likewise.
5818         * benchtests/bench-strcasecmp.c: Likewise.
5819         * benchtests/bench-strcasestr.c: Likewise.
5820         * benchtests/bench-strcat.c: Likewise.
5821         * benchtests/bench-strchr.c: Likewise.
5822         * benchtests/bench-strcmp.c: Likewise.
5823         * benchtests/bench-strcpy.c: Likewise.
5824         * benchtests/bench-strcpy_chk.c: Likewise.
5825         * benchtests/bench-strlen.c: Likewise.
5826         * benchtests/bench-strncasecmp.c: Likewise.
5827         * benchtests/bench-strncat.c: Likewise.
5828         * benchtests/bench-strncmp.c: Likewise.
5829         * benchtests/bench-strncpy.c: Likewise.
5830         * benchtests/bench-strnlen.c: Likewise.
5831         * benchtests/bench-strpbrk.c: Likewise.
5832         * benchtests/bench-strrchr.c: Likewise.
5833         * benchtests/bench-strspn.c: Likewise.
5834         * benchtests/bench-strstr.c: Likewise.
5835
5836 2013-09-04  Will Newton  <will.newton@linaro.org>
5837
5838         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5839
5840 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5841
5842         [BZ #15427]
5843         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5844         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5845         * math/libm-test.inc (lgamma_test_data): Add more tests.
5846         * sysdeps/i386/fpu/libm-test-ulps: Update.
5847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5848
5849 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5850
5851         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5853         Add ifunc.
5854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5855         Add strcmp-sse2-unaligned
5856         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5857
5858 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5859
5860         * Versions.def (libc): Add GLIBC_2.19.
5861
5862 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5863
5864         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5865         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5866
5867 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5868
5869         [BZ #14155]
5870         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5871         intermediate calculations in recurrence.
5872         (__ieee754_ynf): Likewise.
5873         * math/libm-test.inc (jn_test_data): Do not allow spurious
5874         underflow exception.  Add more tests.
5875         (yn_test_data): Add more tests.
5876         * sysdeps/i386/fpu/libm-test-ulps: Update.
5877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5878
5879 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5880
5881         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5882
5883 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5884
5885         * csu/init-first.c: Fix then/than typos.
5886         * locale/programs/ld-collate.c: Likewise.
5887         * locale/programs/linereader.h: Likewise.
5888         * manual/charset.texi: Likewise.
5889         * manual/filesys.texi: Likewise.
5890         * manual/stdio.texi: Likewise.
5891         * manual/string.texi: Likewise.
5892         * stdlib/fmtmsg.c: Likewise.
5893         * sysdeps/i386/stpncpy.S: Likewise.
5894         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5895         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5896         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5897         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5898
5899 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5900
5901         * elf/dl-open.c: Fix typos.
5902         * iconvdata/gbbig5.c: Likewise.
5903         * iconvdata/iso-2022-jp.c: Likewise.
5904         * iconv/gconv_int.h: Likewise.
5905         * iconv/loop.c: Likewise.
5906         * nis/rpcsvc/nis.h: Likewise.
5907         * resolv/ns_name.c: Likewise.
5908         * stdio-common/vfscanf.c: Likewise.
5909         * streams/stropts.h: Likewise.
5910         * sunrpc/rpc_thread.c: Likewise.
5911         * sysdeps/i386/strpbrk.S: Likewise.
5912         * sysdeps/ieee754/k_standard.c: Likewise.
5913         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5914         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5915         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5916         * sysdeps/mach/hurd/profil.c: Likewise.
5917         * sysdeps/s390/dl-procinfo.h: Likewise.
5918         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5919         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5920         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5921         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5922         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5923
5924 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5925
5926         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5928
5929 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5930
5931         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5932         aix specific files.
5933         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5934         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5935         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5936         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5937         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5938         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5939         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5940         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5941
5942 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5943             Roland McGrath  <roland@hack.frob.com>
5944
5945         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5946         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5947
5948 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5949
5950         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5951         __executable_start symbol instead of _start.
5952
5953 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5954
5955         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5956         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5957         Move macros to...
5958         * sysdeps/gnu/ldsodefs.h: ... this new file.
5959
5960         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5961         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5962         instead of ELFOSABI_LINUX.
5963
5964         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5965         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5966         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5967         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5968         Likewise.
5969         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5970         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5971         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5972         Likewise.
5973         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5974         (ibm_extended_long_double): Add ieee_nan member.
5975         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5976         (do_test): New function.
5977
5978         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5979         TEST_TRUNC.
5980         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5981         functions, renamed from truncdfsf_test, trunctfsf_test,
5982         trunctfdf_test.
5983         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5984         functions.
5985         (do_test): Run all these.
5986
5987 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5988
5989         * argp/argp-help.c: Fix typos.
5990         * argp/argp-parse.c: Likewise.
5991         * debug/backtracesyms.c: Likewise.
5992         * elf/elf.h: Likewise.
5993         * malloc/malloc.c: Likewise.
5994         * nis/nis_print.c: Likewise.
5995         * resolv/res_comp.c: Likewise.
5996         * stdlib/stdlib.h: Likewise.
5997         * sunrpc/clnt_tcp.c: Likewise.
5998         * sunrpc/clnt_udp.c: Likewise.
5999         * sunrpc/clnt_unix.c: Likewise.
6000         * sysdeps/unix/bsd/ptsname.c: Likewise.
6001         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6002         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6004         Likewise.
6005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6006         Likewise.
6007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6008         Likewise.
6009         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6010
6011 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6012
6013         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6015
6016 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6017
6018         [BZ #15897]
6019         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6020         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6021         ($(objpfx)bug-dl-leaf): New rule.
6022         ($(objpfx)bug-dl-leaf.so): Likewise.
6023         ($(objpfx)bug-dl-leaf.out): Likewise.
6024         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6025         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6026         * dlfcn/bug-dl-leaf.c: New test.
6027         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6028         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6029         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6030         (dlclose): Likewise.
6031         (dlmopen): Likewise.
6032
6033 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6034
6035         * include/netdb.h [!_ISOMAC]:
6036         Don't include <tls.h>.
6037         (h_errno, __libc_h_errno): Move declaration and macros out of
6038         [_LIBC_REENTRANT].
6039
6040         * include/resolv.h [_RESOLV_H_]:
6041         Don't include <tls.h>.
6042         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6043         * resolv/res_libc.c: Don't include <tls.h>.
6044         (_res): Use __attribute__ ((nocommon)) in place of
6045         __attribute__ ((section (".bss"))).
6046
6047         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6048         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6049
6050         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6051
6052         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6053         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6054
6055         * resolv/res_mkquery.c: Include <sys/time.h>.
6056
6057         * inet/ifreq.c: Moved to ...
6058         * sysdeps/unix/ifreq.c: ... here.
6059         * inet/ifreq.c: New file, true stub version.
6060
6061         * socket/sa_len.c: New file.
6062         * socket/Makefile (aux): Add it.
6063         * sysdeps/unix/sysv/linux/Makefile
6064         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6065         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6066         and #include <socket/sa_len.c>.
6067         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6068         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6069
6070         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6071         * bits/socket.h: ... here.
6072
6073         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6074         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6075         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6076
6077 2013-08-27  Andreas Schwab  <schwab@suse.de>
6078
6079         [BZ #15736]
6080         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6081         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6082         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6083         * string/test-strcasecmp.c (test_main): Run tests in several
6084         locales.
6085         * string/test-strncasecmp.c (test_main): Likewise.
6086
6087         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6088         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6089         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6090         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6091         (__strncasecmp_ssse3) [PIC]: Likewise.
6092
6093 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6094
6095         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6096
6097         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6098         instead of explicitly declaring xdecrypt.
6099         * nis/nss_nis/nis-publickey.c: Likewise.
6100
6101 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6102
6103         [BZ #15890]
6104         * nscd/aicache.c: Include res_hconf.h.
6105         (addhstaiX): Initialize res_hconf.
6106
6107 2013-08-26  Andreas Schwab  <schwab@suse.de>
6108
6109         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6110         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6111
6112 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6113
6114         * nscd/aicache.c (addhstaiX): Fix indentation.
6115
6116 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6117
6118         * configure.ac: Quote $build_pt_chown test.
6119         * configure: Regenerated.
6120
6121 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6122
6123         [BZ #15532]
6124         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6125         * math/s_cexpf.c (__cexpf): Likewise.
6126         * math/s_cexpl.c (__cexpl): Likewise.
6127         * math/libm-test.inc (cexp_test_data): Correct expected return
6128         value for NaN + i0.  Add another test.
6129
6130 2013-08-22  David S. Miller  <davem@davemloft.net>
6131
6132         * po/ca.po: Update Catalan translation from translation project.
6133         * po/uk.po: Add Ukrainian translations from translation project.
6134
6135 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6136
6137         [BZ #15797]
6138         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6139         is infinite, not alongside NaN test.
6140         * math/s_fdimf.c (__fdimf): Likewise.
6141         * math/s_fdiml.c (__fdiml): Likewise.
6142         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6143         errno is unchanged.
6144
6145 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6146
6147         * argp/argp-help.c: Fix typos.
6148         * crypt/speeds.c: Likewise.
6149         * csu/check_fds.c: Likewise.
6150         * elf/dl-load.c: Likewise.
6151         * elf/dl-open.c: Likewise.
6152         * elf/reldep3.c: Likewise.
6153         * elf/reldep.c: Likewise.
6154         * elf/sprof.c: Likewise.
6155         * iconv/iconv_charmap.c: Likewise.
6156         * iconv/skeleton.c: Likewise.
6157         * iconv/strtab.c: Likewise.
6158         * io/lockf64.c: Likewise.
6159         * libio/libioP.h: Likewise.
6160         * resolv/gai_notify.c: Likewise.
6161         * resolv/ns_name.c: Likewise.
6162         * resolv/ns_samedomain.c: Likewise.
6163         * resolv/res_send.c: Likewise.
6164         * stdlib/random.c: Likewise.
6165         * sunrpc/rpc/xdr.h: Likewise.
6166         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6167         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6168         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6169         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6170         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6171         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6173         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6174         * sysdeps/mach/hurd/check_fds.c: Likewise.
6175         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6176         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6179         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6180         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6181         * sysdeps/pthread/aio_notify.c: Likewise.
6182         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6183         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6184         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6185         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6186         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6187
6188 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6189
6190         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6191         version if bit_Slow_SSE4_2 is set.
6192         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6193         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6194
6195 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6196
6197         [BZ #15867]
6198         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6199         trampoline stack frame information.
6200         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6202         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6203         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6204         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6205         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6206         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6207         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6208         sa_flags value.
6209         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6210         interrupting a syscall and set with option SA_SIGINFO.
6211
6212 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6213
6214         [BZ #15531]
6215         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6216         argument is infinite.
6217         * math/s_cprojf.c (__cprojf): Likewise.
6218         * math/s_cprojl.c (__cprojl): Likewise.
6219         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6220         * math/libm-test.inc (cproj_test_data): Add more tests.
6221
6222         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6223
6224         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6225         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6226         size.  Use __ffs to determine corresponding shift.
6227
6228 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6229             Roland McGrath  <roland@hack.frob.com>
6230
6231         * Makefile (INSTALL): Remove trailing blank lines from output of
6232         makeinfo.
6233
6234 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6235
6236         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6237         Align 32 bit compat elf_greg to 8 bytes.
6238
6239 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6240
6241         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6242
6243 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6244
6245         * string/strcoll_l.c (coll_seq): New structure.
6246         (get_next_seq_cached): New function.
6247         (get_next_seq): New function.
6248         (do_compare): New function.
6249         (STRCOLL): Use GNU style definition.  Simplify implementation
6250         by using get_next_seq, get_next_seq_cached and do_compare.
6251
6252 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6253
6254         [BZ #14699]
6255         CVE-2013-4237
6256         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6257         member.
6258         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6259         member.
6260         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6261         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6262         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6263         conditional.
6264         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6265         GETDENTS_64BIT_ALIGNED.
6266         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6267         * manual/filesys.texi (Reading/Closing Directory): Document
6268         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6269         strongly.
6270         * manual/conf.texi (Limits for Files): Add portability note to
6271         NAME_MAX, PATH_MAX.
6272         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6273
6274 2013-08-13  Andreas Schwab  <schwab@suse.de>
6275
6276         [BZ #15749]
6277         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6278         of fabs.
6279         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6280         LDBL_MAX_EXP >= 16384]: Add tests for it.
6281
6282 2013-08-12  David S. Miller  <davem@davemloft.net>
6283
6284         * version.h (RELEASE): Set to "development".
6285         (VERSION): Set to "2.18.90".
6286         * NEWS: Add 2.19 section.
6287
6288 2013-08-03  David S. Miller  <davem@davemloft.net>
6289
6290         * po/ko.po: Update Korean translation from translation project.
6291
6292 2013-08-01  David S. Miller  <davem@davemloft.net>
6293
6294         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6295         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6296         Bilka.
6297
6298 2013-07-30  David S. Miller  <davem@davemloft.net>
6299
6300         * po/fr.po: Update French translation from translation project.
6301
6302 2013-07-28  David S. Miller  <davem@davemloft.net>
6303
6304         * po/cs.po: Update Czech translation from translation project.
6305
6306         * po/sv.po: Update Swedish translation from translation project.
6307
6308 2013-07-27  David S. Miller  <davem@davemloft.net>
6309
6310         * po/eo.po: Update Esperanto translation from translation project.
6311
6312         * po/vi.po: Update Vietnamese translation from translation project.
6313
6314         * po/de.po: Update German translation from translation project.
6315
6316 2013-07-26  David S. Miller  <davem@davemloft.net>
6317
6318         * po/bg.po: Update Bulgarian translation from translation project.
6319
6320         * po/nl.po: Update Dutch translation from translation project.
6321         * po/pl.po: Update Polish translation from translation project.
6322         * po/ru.po: Update Russian translation from translation project.
6323
6324 2013-07-24  David S. Miller  <davem@davemloft.net>
6325
6326         * po/libc.pot: Update.
6327
6328 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6329
6330         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6331         variable page size.
6332         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6333         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6334         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6335
6336 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6337
6338         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6339
6340 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6341             Andreas Schwab  <schwab@suse.de>
6342             Roland McGrath  <roland@hack.frob.com>
6343             Joseph Myers  <joseph@codesourcery.com>
6344             Carlos O'Donell  <carlos@redhat.com>
6345
6346         [BZ #15755]
6347         * config.h.in: Define HAVE_PT_CHOWN.
6348         * config.make.in (build-pt-chown): New variable.
6349         * configure.in (--enable-pt_chown): New configure option.
6350         * configure: Regenerate.
6351         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6352         build-pt-chown is enabled.
6353         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6354         pt_chown to fix pty ownership.
6355         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6356         CLOSE_ALL_FDS.
6357         * manual/install.texi (Configuring and compiling): Mention
6358         --enable-pt_chown. Add @findex for grantpt.
6359         * INSTALL: Regenerate.
6360
6361 2013-07-20  David S. Miller  <davem@davemloft.net>
6362
6363         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6364         difference between 32-bit and 64-bit.
6365
6366 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6367
6368         [BZ #15711]
6369         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6370         Avoid system header dependency with -ffreestanding.
6371         ($(objpfx)bits/syscall%d): Likewise.
6372
6373 2013-07-13  David S. Miller  <davem@davemloft.net>
6374
6375         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6376         underflows from atanl/atan2l due to bug 15319.
6377         (casinh_test_data): Likewise.
6378
6379 2013-07-07  David S. Miller  <davem@davemloft.net>
6380
6381         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6382
6383 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6384
6385         * sysdeps/i386/fpu/libm-test-ulps: Update.
6386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6387
6388 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6389
6390         * configure.in (--enable-lock-elision): Fix message text.
6391         * INSTALL: Regenerate.
6392         * configure: Regenerate.
6393
6394 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6395
6396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6397
6398 2013-07-03  Andreas Jaeger  <aj@suse.de>
6399
6400         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6401         define.
6402         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6403         (ptrace_peeksiginfo_args): Add.
6404         (__ptrace_peeksiginfo_flags): Add.
6405         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6408
6409 2013-07-03  Allan McRae  <allan@archlinux.org>
6410
6411         * sysdeps/i386/fpu/libm-test-ulps: Update.
6412
6413 2013-07-02  David S. Miller  <davem@davemloft.net>
6414
6415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6416
6417 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6418
6419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6420
6421 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6422
6423         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6425
6426 2013-07-02  Andi Kleen <ak@linux.intel.com>
6427
6428         * config.h.in (ENABLE_LOCK_ELISION): Add.
6429         * configure.in (--enable-lock-elision): Add option.
6430         * manual/install.texi: Document --enable lock elision.
6431         * configure: Regenerate
6432         * INSTALL: Regenerate.
6433
6434 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6435
6436         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6437         SSE4.2 strcasecmp for libc.a.
6438         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6439
6440 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6441
6442         [BZ #13304]
6443         * soft-fp/op-common.h (_FP_FMA): New macro.
6444         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6445         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6446         (_FP_MUL_MEAT_1_imm): ... here.
6447         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6448         (_FP_MUL_MEAT_1_wide): ... here.
6449         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6450         (_FP_MUL_MEAT_1_hard): ... here.
6451         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6452         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6453         (_FP_MUL_MEAT_2_wide): ... here.
6454         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6455         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6456         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6457         (_FP_MUL_MEAT_2_gmp): ... here.
6458         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6459         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6460         (_FP_MUL_MEAT_4_wide): ... here.
6461         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6462         (_FP_MUL_MEAT_4_gmp): ... here.
6463         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6464         (_FP_WFRACBITS_DW_S): Likewise.
6465         (_FP_WFRACXBITS_DW_S): Likewise.
6466         (_FP_HIGHBIT_DW_S): Likewise.
6467         (FP_FMA_S): Likewise.
6468         (_FP_FRAC_HIGH_DW_S): Likewise.
6469         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6470         (_FP_WFRACBITS_DW_D): Likewise.
6471         (_FP_WFRACXBITS_DW_D): Likewise.
6472         (_FP_HIGHBIT_DW_D): Likewise.
6473         (FP_FMA_D): Likewise.
6474         (_FP_FRAC_HIGH_DW_D): Likewise.
6475         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6476         (_FP_WFRACBITS_DW_E): Likewise.
6477         (_FP_WFRACXBITS_DW_E): Likewise.
6478         (_FP_HIGHBIT_DW_E): Likewise.
6479         (FP_FMA_E): Likewise.
6480         (_FP_FRAC_HIGH_DW_E): Likewise.
6481         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6482         (_FP_WFRACBITS_DW_Q): Likewise.
6483         (_FP_WFRACXBITS_DW_Q): Likewise.
6484         (_FP_HIGHBIT_DW_Q): Likewise.
6485         (FP_FMA_Q): Likewise.
6486         (_FP_FRAC_HIGH_DW_Q): Likewise.
6487         * soft-fp/fmasf4.c: New file.
6488         * soft-fp/fmadf4.c: Likewise.
6489         * soft-fp/fmatf4.c: Likewise.
6490
6491 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6492
6493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6494         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6495         Silvermont.
6496         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6497         macro.
6498         (index_Slow_SSE4_2): Likewise.
6499         (index_Prefer_PMINUB_for_stringop): Likewise.
6500         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6501         bit_Slow_SSE4_2 is set.
6502         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6503         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6504
6505 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6506
6507         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6508         rtld_global._dl_hwcap2.
6509         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6510         POWER8.
6511         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6512         POWER8 feature descriptions defined in _dl_hwcap2.
6513         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6514         string handling for POWER8 feature bits.
6515         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6516         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6517         _dl_powerpc_cap_flags.
6518         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6519         * sysdeps/powerpc/rtld-global-offsets.sym
6520         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6521         _dl_hwcap2 in the rtld_global_ro structure.
6522
6523 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6524
6525         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6526         hardware capabilities in support of AT_HWCAP2.
6527         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6528         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6529         GLRO(dl_hwcap2).
6530         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6531         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6532         explicitly the unknown a_type display mechanism is used.
6533         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6534         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6535         struct member.
6536         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6537         to macro prototype for AT_HWCAP2 support.
6538         * sysdeps/i386/dl-procinfo.h: Likewise.
6539         * sysdeps/s390/dl-procinfo.h: Likewise.
6540         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6541         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6542         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6543         return -1 for unknown a_type display fallback.
6544         * sysdeps/sparc/dl-procinfo.h: Likewise.
6545         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6546         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6547
6548 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6549
6550         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6551         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6552
6553 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6554
6555         [BZ #12492]
6556         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6557         mprotect making __stack_prot writable.
6558
6559 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6560             Joseph Myers  <joseph@codesourcery.com>
6561
6562         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6563         as being properly aligned.
6564
6565 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6566
6567         * dlfcn/modstatic5.c: New file.
6568         * dlfcn/tststatic5.c: New file.
6569         * dlfcn/Makefile (tests): Add tststatic5.
6570         (tests-static): Likewise.
6571         (modules-names): Add modstatic5.
6572         (tststatic5-ENV): New variable.
6573         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6574
6575         [BZ #15022]
6576         * elf/dl-support.c (_dl_main_map): New variable.
6577         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6578         (_dl_nns, _dl_load_adds): Set to 1.
6579         (_dl_initial_searchlist): Refer to _dl_main_map.
6580         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6581         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6582         call to _dl_get_origin.
6583         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6584         around call_map.
6585         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6586         * dlfcn/modstatic3.c: New file.
6587         * dlfcn/tststatic3.c: New file.
6588         * dlfcn/tststatic4.c: New file.
6589         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6590         (tests-static): Likewise.
6591         (modules-names): Add modstatic3.
6592         (tststatic3-ENV, tststatic4-ENV): New variables.
6593         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6594         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6595
6596 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6597
6598         * configure.in (CC): Require GCC version 4.4 or later.
6599         * configure: Regenerated.
6600         * manual/install.texi (Tools for Compilation): Update GCC version
6601         requirement.
6602         * INSTALL: Regenerated.
6603
6604 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6605
6606         [BZ #15674]
6607         * string/test-memcmp.c (check2): New.
6608         (main): Call check2.
6609
6610         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6611
6612 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6613
6614         [BZ #15022]
6615         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6616         over to...
6617         (dl_open_worker) [!SHARED]: ... here.
6618
6619 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6620
6621         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6622
6623 2013-06-25  Richard Henderson  <rth@redhat.com>
6624
6625         * locale/programs/locarchive.c: Include <libc-internal.h>
6626
6627 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6628
6629         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6630         trailing whitespace removed.
6631
6632 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6633
6634         [BZ #10283]
6635         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6636         * locale/programs/locarchive.c: Include libc-mmap.h.
6637         (prepare_address_space): Take two new outputs (the mmap base and len).
6638         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6639         values.
6640         (create_archive): Declare new mmap base and len values for
6641         prepare_address_space, and store the result in ah.
6642         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6643         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6644         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6645         Declare new mmap base and len values for
6646         prepare_address_space, and store the result in new_ah.
6647         (open_archive): Declare new mmap base and len values for
6648         prepare_address_space, and store the result in ah.
6649         (close_archive): If ah->mmap_base is not NULL, use that and
6650         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6651         * sysdeps/generic/libc-mmap.h: New file.
6652
6653 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6654
6655         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6656         (ALIGN_UP): Likewise.
6657         (PTR_ALIGN_DOWN): Likewise.
6658         (PTR_ALIGN_UP): Likewise.
6659
6660 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6661
6662         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6663         entry mapped to PPC_PLATFORM_POWER8.
6664         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6665         POWER8.
6666         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6667         (_dl_string_platform): Add case for exporting platform position for
6668         POWER8.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6670         search path to sysdeps/powerpc/powerpc32/power8 directory.
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6672         search path to sysdeps/powerpc/powerpc64/power8 directory.
6673         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6674         power7 directories.
6675         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6676         power7 directories.
6677
6678 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679
6680         * INSTALL: Regenerate.
6681
6682         * nscd/connections.c (nscd_init): Fix comment.
6683
6684 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6685
6686         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6687
6688         [BZ #15667]
6689         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6690         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6691
6692 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6693
6694         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6695         DL_DST_REQ_STATIC.
6696         (DL_DST_REQ_STATIC): Remove macro.
6697
6698 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6699
6700         [BZ #7006]
6701         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6702         with a shift of 0 bits.
6703
6704 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6705
6706         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6707         $(tststatic-ENV).
6708
6709 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6710
6711         [BZ #15655]
6712         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6713
6714 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6715
6716         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6717         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6718         accepts -fno-tree-loop-distribute-patterns.
6719         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6720         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6721         recursive call.
6722         * string/memset.c (memset): Likewise.
6723         * string/test-memmove.c (simple_memmove): Disable loop transformation
6724         to library calls.
6725         * string/test-memset.c (simple_memset): Likewise.
6726         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6727         * benchtests/bench-memset.c (simple_memset): Likewise.
6728         * configure: Regenerated.
6729
6730 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6731
6732         * math/test-misc.c (main): Ignore fesetround failure when failures
6733         of subsequent rounding tests would be ignored.
6734
6735         [BZ #15654]
6736         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6737         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6738         * math/fegetenv.c (__fegetenv): Return 0.
6739         * math/fegetexcept.c (fegetexcept): Return 0.
6740         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6741         FE_TONEAREST.
6742         * math/feholdexcpt.c (feholdexcept): Return 0.
6743         * math/fesetenv.c (__fesetenv): Return 0.
6744         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6745         argument FE_TONEAREST.
6746         * math/feupdateenv.c (__feupdateenv): Return 0.
6747         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6748
6749 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6750
6751         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6752         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6753         ($(objpfx)rtld-%.os rules): Use them.
6754
6755 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6756
6757         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6758         fields.
6759
6760 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6761
6762         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6763         length of target pattern, then descending length of dependency pattern.
6764         * configure.in (AWK): Require gawk 3.1.2 or newer.
6765         * manual/install.texi (Tools for Compilation): Say that we do.
6766         * configure: Regenerated.
6767
6768         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6769         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6770         * scripts/sysd-rules.awk: ... this new script.
6771         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6772         than a glob-style pattern.
6773
6774 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6775
6776         * math/test-misc.c (main): Do not treat incorrectly rounded
6777         conversions as failure unless ROUNDING_TESTS passes.
6778
6779 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6780
6781         [BZ #15631]
6782         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6783         restore exception state around main square root computation, then
6784         check for inexactness explicitly.
6785
6786         * math/libm-test.inc (fma_test_data): Add another test.
6787
6788 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6789
6790         * manual/threads.texi (Non-POSIX Extensions): New document
6791         node.  Document pthread_getattr_default_np and
6792         pthread_setattr_default_np.
6793
6794         * Versions.def (libpthread): Add GLIBC_2.18.
6795         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6797         Likewise.
6798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6799         Likewise.
6800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6801         Likewise.
6802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6803         Likewise.
6804         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6805         Likewise.
6806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6807         Likewise.
6808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6809         Likewise.
6810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6811         Likewise.
6812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6813         Likewise.
6814
6815 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6816
6817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6818         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6819
6820 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6821             H.J. Lu  <hjl.tools@gmail.com>
6822
6823         [BZ #15627]
6824         * sysdeps/x86_64/rtld-memset.c: Remove file.
6825         * sysdeps/x86_64/rtld-memset.S: New file.
6826
6827 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6828
6829         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6830         (test_in_one_mode): Take arguments for whether the rounding mode
6831         is supported for each floating-point type.
6832         (do_test): Pass new arguments to test_in_one_mode using
6833         ROUNDING_TESTS.
6834
6835 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6836
6837         * posix/tst-waitid.c (do_test): Distinguish different instances of
6838         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6839         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6840         before entering the kernel for waitpid.
6841
6842 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6843
6844         * NEWS: Fix note on clock function precision.  Text by Roland
6845         McGrath.
6846
6847 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6848
6849         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6850         it into place only when and if the sanity check passes.
6851
6852 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6853
6854         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6855         output for whether conversion result is exact.  Take argument
6856         indicating whether type is IBM long double.
6857         (round_for_all): Change need_exact field to ibm_ld.
6858         * stdlib/tst-strtod-round.c (struct exactness): New type.
6859         (struct test): Change bool ld_ok field to struct exactness exact.
6860         (TEST): Update all definitions for change to field.
6861         (tests): Regenerate array contents.
6862         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6863         field value.  Check for IBM long double here.
6864         (do_test): Update calls to test_in_one_mode.
6865
6866 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6867
6868         [BZ #12515]
6869         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6870         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6871
6872 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6873
6874         [BZ #15605]
6875         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6876         generated by the compiler on loop optimizations.
6877         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6878         general definitions.
6879
6880 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6881
6882         * math/bug-nextafter.c: Include <math-tests.h>.
6883         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6884         the relevant type.
6885         * math/bug-nexttoward.c: Include <math-tests.h>.
6886         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6887         the relevant type.
6888         * math/test-misc.c: Include <math-tests.h>.
6889         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6890         the relevant type.
6891
6892 2013-06-12  Andreas Jaeger  <aj@suse.de>
6893
6894         * po/ia.po: Update Interlingua translation from translation
6895         project.
6896
6897 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6898
6899         * include/fenv.h: Include stdbool.h.
6900         (struct rm_ctx): New structure.
6901         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6902         Define macro.
6903         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6904         (SET_RESTORE_ROUNDF): Likewise.
6905         (SET_RESTORE_ROUNDL): Likewise.
6906         (SET_RESTORE_ROUND_NOEX): Likewise.
6907         (SET_RESTORE_ROUND_NOEXF): Likewise.
6908         (SET_RESTORE_ROUND_NOEXL): Likewise.
6909         (SET_RESTORE_ROUND_53BIT): Likewise.
6910         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6911         (libc_feresetround_noexf_ctx): Likewise.
6912         (libc_feresetround_noexl_ctx): Likewise.
6913         (libc_feholdsetround_53bit_ctx): Likewise.
6914         (libc_feresetround_53bit_ctx): Likewise.
6915         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6916         (libc_feholdexcept_setround_sse_ctx): New function.
6917         (libc_fesetenv_sse_ctx): Likewise.
6918         (libc_feupdateenv_sse_ctx): Likewise.
6919         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6920         (libc_feholdexcept_setround_387_ctx): Likewise.
6921         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6922         (libc_feholdsetround_387_prec_ctx): Likewise.
6923         (libc_feholdsetround_387_ctx): Likewise.
6924         (libc_feholdsetround_387_53bit_ctx): Likewise.
6925         (libc_feholdsetround_sse_ctx): Likewise.
6926         (libc_feresetround_sse_ctx): Likewise.
6927         (libc_feresetround_387_ctx): Likewise.
6928         (libc_feupdateenv_387_ctx): Likewise.
6929         (libc_feholdexcept_setroundf_ctx): Define macro.
6930         (libc_fesetenvf_ctx): Likewise.
6931         (libc_feupdateenvf_ctx): Likewise.
6932         (libc_feholdsetroundf_ctx): Likewise.
6933         (libc_feresetroundf_ctx): Likewise.
6934         (libc_feholdexcept_setround_ctx): Likewise.
6935         (libc_fesetenv_ctx): Likewise.
6936         (libc_feupdateenv_ctx): Likewise.
6937         (libc_feholdsetround_ctx): Likewise.
6938         (libc_feresetround_ctx): Likewise.
6939         (libc_feholdexcept_setroundl_ctx): Likewise.
6940         (libc_feupdateenvl_ctx): Likewise.
6941         (libc_feholdsetroundl_ctx): Likewise.
6942         (libc_feresetroundl_ctx): Likewise.
6943         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6944         (libc_feresetround_53bit_ctx): Likewise.
6945
6946 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6947
6948         * locale/iso-639.def: Convert to UTF-8.
6949
6950 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6951
6952         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6953         (EXCEPTION_TESTS_double): Likewise.
6954         (EXCEPTION_TESTS_long_double): Likewise.
6955         (EXCEPTION_TESTS): Likewise.
6956         * math/libm-test.inc (test_exceptions): Only test exceptions if
6957         EXCEPTION_TESTS (FLOAT).
6958
6959 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6960
6961         * benchtests/Makefile (string-bench): Add strcpy_chk and
6962         stpcpy_chk.
6963         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6964         * benchtests/bench-stpcpy_chk.c: New file.
6965         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6966         * benchtests/bench-strcpy_chk.c: New file.
6967         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6968         code.
6969         (do_test): Likewise.
6970
6971 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6972
6973         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6974         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6975         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6976         with tabs where appropriate.
6977         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6978         dl-procinfo.h.
6979         [PPC_PLATFORM_PPC440]: Likewise.
6980         [PPC_PLATFORM_PPC464]: Likewise.
6981         [PPC_PLATFORM_PPC476]: Likewise.
6982         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6983         ppc464, and ppc476 platform strings merging from ports/
6984         dl-procinfo.h.
6985
6986 2013-06-11  Andreas Schwab  <schwab@suse.de>
6987
6988         [BZ #14991]
6989         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6990         (from_ucs4_idx): Regenerate.
6991         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6992         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6993         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6994         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6995         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6996         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6997         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6998         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6999         from FROM_LOOP and TO_LOOP specific macros.
7000         (BODY): Handle combining characters.
7001         * iconvdata/BIG5HKSCS.irreversible: Update.
7002         * iconvdata/BIG5HKSCS.precomposed: New file.
7003         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7004         characters.
7005         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7006
7007 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7008
7009         * include/sys/time.h: Fix indentation and add copyright header.
7010
7011         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7012         (do_test): Likewise.
7013         * string/test-memchr.c (do_one_test): Likewise.
7014         (do_test): Likewise.
7015         * string/test-memcmp.c (do_one_test): Likewise.
7016         (do_test): Likewise.
7017         * string/test-memcpy.c (do_one_test): Likewise.
7018         (do_test): Likewise.
7019         * string/test-memmem.c (do_one_test): Likewise.
7020         (do_test): Likewise.
7021         (do_random_tests): Likewise.
7022         * string/test-memmove.c (do_one_test): Likewise.
7023         (do_test): Likewise.
7024         * string/test-memset.c (do_one_test): Likewise.
7025         (do_test): Likewise.
7026         * string/test-rawmemchr.c (do_one_test): Likewise.
7027         (do_test): Likewise.
7028         * string/test-strcasecmp.c (do_one_test): Likewise.
7029         (do_test): Likewise.
7030         * string/test-strcasestr.c (do_one_test): Likewise.
7031         (do_test): Likewise.
7032         * string/test-strcat.c (do_one_test): Likewise.
7033         (do_test): Likewise.
7034         * string/test-strchr.c (do_one_test): Likewise.
7035         (do_test): Likewise.
7036         * string/test-strcmp.c (do_one_test): Likewise.
7037         (do_test): Likewise.
7038         * string/test-strcpy.c (do_one_test): Likewise.
7039         (do_test): Likewise.
7040         * string/test-string.h: Likewise.
7041         (test_init): Likewise.
7042         * string/test-strlen.c (do_one_test): Likewise.
7043         (do_test): Likewise.
7044         * string/test-strncasecmp.c (do_one_test): Likewise.
7045         (do_test): Likewise.
7046         * string/test-strncat.c (do_one_test): Likewise.
7047         (do_test): Likewise.
7048         * string/test-strncmp.c (do_one_test): Likewise.
7049         (do_test_limit): Likewise.
7050         (do_test): Likewise.
7051         * string/test-strncpy.c (do_one_test): Likewise.
7052         (do_test): Likewise.
7053         * string/test-strnlen.c (do_one_test): Likewise.
7054         (do_test): Likewise.
7055         * string/test-strpbrk.c (do_one_test): Likewise.
7056         (do_test): Likewise.
7057         * string/test-strrchr.c (do_one_test): Likewise.
7058         (do_test): Likewise.
7059         * string/test-strspn.c (do_one_test): Likewise.
7060         (do_test): Likewise.
7061         * string/test-strstr.c (do_one_test): Likewise.
7062         (do_test): Likewise.
7063
7064         * benchtests/Makefile (string-bench): Add string benchmarks.
7065         * benchtests/bench-bcopy-ifunc.c: New file.
7066         * benchtests/bench-bcopy.c: New file.
7067         * benchtests/bench-bzero-ifunc.c: New file.
7068         * benchtests/bench-bzero.c: New file.
7069         * benchtests/bench-memccpy-ifunc.c: New file.
7070         * benchtests/bench-memccpy.c: New file.
7071         * benchtests/bench-memchr-ifunc.c: New file.
7072         * benchtests/bench-memchr.c: New file.
7073         * benchtests/bench-memcmp-ifunc.c: New file.
7074         * benchtests/bench-memcmp.c: New file.
7075         * benchtests/bench-memmem-ifunc.c: New file.
7076         * benchtests/bench-memmem.c: New file.
7077         * benchtests/bench-memmove-ifunc.c: New file.
7078         * benchtests/bench-memmove.c: New file.
7079         * benchtests/bench-mempcpy-ifunc.c: New file.
7080         * benchtests/bench-mempcpy.c: New file.
7081         * benchtests/bench-memset-ifunc.c: New file.
7082         * benchtests/bench-memset.c: New file.
7083         * benchtests/bench-rawmemchr-ifunc.c: New file.
7084         * benchtests/bench-rawmemchr.c: New file.
7085         * benchtests/bench-stpcpy-ifunc.c: New file.
7086         * benchtests/bench-stpcpy.c: New file.
7087         * benchtests/bench-stpncpy-ifunc.c: New file.
7088         * benchtests/bench-stpncpy.c: New file.
7089         * benchtests/bench-strcasecmp-ifunc.c: New file.
7090         * benchtests/bench-strcasecmp.c: New file.
7091         * benchtests/bench-strcasestr-ifunc.c: New file.
7092         * benchtests/bench-strcasestr.c: New file.
7093         * benchtests/bench-strcat-ifunc.c: New file.
7094         * benchtests/bench-strcat.c: New file.
7095         * benchtests/bench-strchr-ifunc.c: New file.
7096         * benchtests/bench-strchr.c: New file.
7097         * benchtests/bench-strchrnul-ifunc.c: New file.
7098         * benchtests/bench-strchrnul.c: New file.
7099         * benchtests/bench-strcmp-ifunc.c: New file.
7100         * benchtests/bench-strcmp.c: New file.
7101         * benchtests/bench-strcpy-ifunc.c: New file.
7102         * benchtests/bench-strcpy.c: New file.
7103         * benchtests/bench-strcspn-ifunc.c: New file.
7104         * benchtests/bench-strcspn.c: New file.
7105         * benchtests/bench-strlen-ifunc.c: New file.
7106         * benchtests/bench-strlen.c: New file.
7107         * benchtests/bench-strncasecmp-ifunc.c: New file.
7108         * benchtests/bench-strncasecmp.c: New file.
7109         * benchtests/bench-strncat-ifunc.c: New file.
7110         * benchtests/bench-strncat.c: New file.
7111         * benchtests/bench-strncmp-ifunc.c: New file.
7112         * benchtests/bench-strncmp.c: New file.
7113         * benchtests/bench-strncpy-ifunc.c: New file.
7114         * benchtests/bench-strncpy.c: New file.
7115         * benchtests/bench-strnlen-ifunc.c: New file.
7116         * benchtests/bench-strnlen.c: New file.
7117         * benchtests/bench-strpbrk-ifunc.c: New file.
7118         * benchtests/bench-strpbrk.c: New file.
7119         * benchtests/bench-strrchr-ifunc.c: New file.
7120         * benchtests/bench-strrchr.c: New file.
7121         * benchtests/bench-strspn-ifunc.c: New file.
7122         * benchtests/bench-strspn.c: New file.
7123         * benchtests/bench-strstr-ifunc.c: New file.
7124         * benchtests/bench-strstr.c: New file.
7125
7126         * benchtests/Makefile: Disable parallel execution of targets.
7127         (string-bench): Add memcpy.
7128         (benchset): New variable to store a list of benchmark sets.
7129         (bench-func): Renamed from bench.
7130         (bench-set): New target.
7131         (bench): Depend on bench-func and bench-set.
7132         * benchtests/README: Add section on benchmark sets.
7133         * benchtests/bench-memcpy-ifunc.c: New file.
7134         * benchtests/bench-memcpy.c: New file.
7135         * benchtests/bench-string.h: New file.
7136
7137 2013-06-11  Andreas Schwab  <schwab@suse.de>
7138
7139         [BZ #15577]
7140         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7141         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7142         values in the triple.
7143         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7144         terminator in the group key.
7145
7146 2013-06-11  Andreas Jaeger  <aj@suse.de>
7147
7148         * po/zh_TW.po: Update Chinese (traditional) translation from
7149         translation project.
7150
7151 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7152
7153         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7154         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7155         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7156         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7157         (clock_getcpuclockid): Likewise.
7158         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7159         Add weak_alias and libc_hidden_def.
7160         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7161         * rt/clock_gettime.c (clock_gettime): Rename to
7162         __clock_gettime.  Add weak_alias and libc_hidden_def.
7163         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7164         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7165         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7166         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7167         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7168         Likewise.
7169         * rt/clock_settime.c (clock_settime): Rename to
7170         __clock_settime.  Add weak_alias and libc_hidden_def.
7171         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7172
7173 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7174
7175         * mach/err_boot.sub: Remove trailing whitespace.
7176         * mach/err_ipc.sub: Likewise.
7177         * mach/err_mach.sub: Likewise.
7178
7179         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7180         (ROUNDING_TESTS_double): Likewise.
7181         (ROUNDING_TESTS_long_double): Likewise.
7182         (ROUNDING_TESTS): Likewise.
7183         * math/libm-test.inc: Include <math-tests.h>.
7184         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7185         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7186         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7187         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7188
7189 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7190
7191         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7192         of assigning.
7193
7194 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7195
7196         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7197         otherwise empty TRANS lines.
7198         * sysdeps/gnu/errlist.c: Regenerated.
7199
7200         * catgets/gencat.c (error_print): Use (void) in function
7201         definition.
7202         * crypt/crypt_util.c (__init_des): Likewise.
7203         * crypt/speeds.c (Stop): Likewise.
7204         (main): Likewise.
7205         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7206         * inet/ruserpass.c (token): Likewise.
7207         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7208         * intl/localealias.c (extend_alias_table): Likewise.
7209         * intl/plural-exp.c (init_germanic_plural): Likewise.
7210         * libio/fcloseall.c (__fcloseall): Likewise.
7211         * libio/genops.c (_IO_flush_all): Likewise.
7212         (_IO_flush_all_linebuffered): Likewise.
7213         (_IO_cleanup): Likewise.
7214         (_IO_iter_begin): Likewise.
7215         (_IO_iter_end): Likewise.
7216         (_IO_list_lock): Likewise.
7217         (_IO_list_unlock): Likewise.
7218         (_IO_list_resetlock): Likewise.
7219         * libio/getchar.c (getchar): Likewise.
7220         * libio/getchar_u.c (getchar_unlocked): Likewise.
7221         * libio/getwchar.c (getwchar): Likewise.
7222         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7223         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7224         * login/getpt.c (__getpt): Likewise.
7225         * login/tst-utmp.c (main): Likewise.
7226         * malloc/hooks.c (__malloc_check_init): Likewise.
7227         * malloc/malloc.c (__malloc_stats): Likewise.
7228         * malloc/mtrace.c (tr_break): Likewise.
7229         (mtrace): Likewise.
7230         (muntrace): Likewise.
7231         * misc/fstab.c (endfsent): Likewise.
7232         * misc/getclktck.c (__getclktck): Likewise.
7233         * misc/getdtsz.c (__getdtablesize): Likewise.
7234         * misc/gethostid.c (gethostid): Likewise.
7235         * misc/getpagesize.c (__getpagesize): Likewise.
7236         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7237         (__get_nprocs): Likewise.
7238         (__get_phys_pages): Likewise.
7239         (__get_avphys_pages): Likewise.
7240         * misc/getttyent.c (getttyent): Likewise.
7241         (setttyent): Likewise.
7242         (endttyent): Likewise.
7243         * misc/getusershell.c (getusershell): Likewise.
7244         (endusershell): Likewise.
7245         (setusershell): Likewise.
7246         (initshells): Likewise.
7247         * misc/hsearch.c (__hdestroy): Likewise.
7248         * misc/sync.c (sync): Likewise.
7249         * misc/syslog.c (closelog_internal): Likewise.
7250         (closelog): Likewise.
7251         * misc/ttyslot.c (ttyslot): Likewise.
7252         * misc/vhangup.c (vhangup): Likewise.
7253         * posix/fork.c (__fork): Likewise.
7254         * posix/getegid.c (__getegid): Likewise.
7255         * posix/geteuid.c (__geteuid): Likewise.
7256         * posix/getgid.c (__getgid): Likewise.
7257         * posix/getpid.c (__getpid): Likewise.
7258         * posix/getppid.c (__getppid): Likewise.
7259         * posix/getuid.c (__getuid): Likewise.
7260         * posix/pause.c (pause): Likewise.
7261         * posix/setpgrp.c (setpgrp): Likewise.
7262         * posix/setsid.c (__setsid): Likewise.
7263         * posix/test-vfork.c (noop): Likewise.
7264         * resolv/gethnamaddr.c (_endhtent): Likewise.
7265         (_gethtent): Likewise.
7266         (ht_endhostent): Likewise.
7267         (gethostent): Likewise.
7268         (dns_service): Likewise.
7269         * stdlib/drand48.c (drand48): Likewise.
7270         * stdlib/lrand48.c (lrand48): Likewise.
7271         * stdlib/mrand48.c (mrand48): Likewise.
7272         * stdlib/rand.c (rand): Likewise.
7273         * stdlib/random.c (__random): Likewise.
7274         * stdlib/setenv.c (clearenv): Likewise.
7275         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7276         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7277         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7278         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7279         (__get_nprocs): Likewise.
7280         (__get_phys_pages): Likewise.
7281         (__get_avphys_pages): Likewise.
7282         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7283         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7284         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7285         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7286         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7287         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7288         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7289         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7290         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7291         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7292         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7293         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7294         * sysdeps/posix/clock.c (clock): Likewise.
7295         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7296         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7297         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7298         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7299         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7300         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7301         (__get_nprocs_conf): Likewise.
7302         (__get_phys_pages): Likewise.
7303         (__get_avphys_pages): Likewise.
7304         * time/clock.c (clock): Likewise.
7305         * time/tzset.c (__tzname_max): Likewise.
7306
7307 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7308
7309         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7310         (__bswap_32): Do not use "register".
7311         * crypt/crypt.c (_ufc_doit_r): Likewise.
7312         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7313         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7314         * gmon/gmon.c (__monstartup): Likewise.
7315         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7316         * hurd/hurdmalloc.c (more_memory): Likewise.
7317         (malloc): Likewise.
7318         (free): Likewise.
7319         (realloc): Likewise.
7320         (malloc_fork_prepare): Likewise.
7321         (malloc_fork_parent): Likewise.
7322         (malloc_fork_child): Likewise.
7323         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7324         (_svcauth_des): Likewise.
7325         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7326         * inet/inet_net.c (inet_network): Likewise.
7327         * inet/inet_netof.c (inet_netof): Likewise.
7328         * inet/rcmd.c (__validuser2_sa): Likewise.
7329         * io/fts.c (fts_open): Likewise.
7330         (fts_load): Likewise.
7331         (fts_close): Likewise.
7332         (fts_read): Likewise.
7333         (fts_children): Likewise.
7334         (fts_build): Likewise.
7335         (fts_stat): Likewise.
7336         (fts_sort): Likewise.
7337         (fts_alloc): Likewise.
7338         (fts_lfree): Likewise.
7339         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7340         (_IO_file_xsgetn): Likewise.
7341         (_IO_file_xsgetn_mmap): Likewise.
7342         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7343         (_IO_cookie_write): Likewise.
7344         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7345         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7346         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7347         * malloc/obstack.c (_obstack_begin): Likewise.
7348         (_obstack_begin_1): Likewise.
7349         (_obstack_newchunk): Likewise.
7350         (_obstack_allocated_p): Likewise.
7351         (obstack_free): Likewise.
7352         (_obstack_memory_used): Likewise.
7353         * misc/getttyent.c (getttynam): Likewise.
7354         (getttyent): Likewise.
7355         (skip): Likewise.
7356         (value): Likewise.
7357         * misc/getusershell.c (initshells): Likewise.
7358         * misc/syslog.c (__vsyslog_chk): Likewise.
7359         * misc/ttyslot.c (ttyslot): Likewise.
7360         * nis/nis_hash.c (__nis_hash): Likewise.
7361         * posix/fnmatch_loop.c (FCT): Likewise.
7362         * posix/getconf.c (print_all): Likewise.
7363         (main): Likewise.
7364         * posix/getopt.c (exchange): Likewise.
7365         * posix/glob.c (globfree): Likewise.
7366         (prefix_array): Likewise.
7367         (__glob_pattern_type): Likewise.
7368         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7369         (NS_GET32): Likewise.
7370         (NS_PUT16): Likewise.
7371         (NS_PUT32): Likewise.
7372         * resolv/gethnamaddr.c (getanswer): Likewise.
7373         (gethostbyname2): Likewise.
7374         (gethostbyaddr): Likewise.
7375         (_gethtent): Likewise.
7376         (_gethtbyname2): Likewise.
7377         (_gethtbyaddr): Likewise.
7378         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7379         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7380         * resolv/res_init.c (__res_vinit): Likewise.
7381         (net_mask): Likewise.
7382         * resolv/res_mkquery.c (outchar): Likewise.
7383         (PRINT): Likewise.
7384         * stdio-common/printf_fp.c (outchar): Likewise.
7385         (PRINT): Likewise.
7386         * stdio-common/printf_fphex.c (outchar): Likewise.
7387         (PRINT): Likewise.
7388         * stdio-common/printf_size.c (outchar): Likewise.
7389         (PRINT): Likewise.
7390         * stdio-common/test_rdwr.c (main): Likewise.
7391         * stdio-common/tfformat.c (matches): Likewise.
7392         * stdio-common/vfprintf.c (outchar): Likewise.
7393         (printf_unknown): Likewise.
7394         (buffered_vfprintf): Likewise.
7395         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7396         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7397         (ReadFile): Likewise.
7398         * stdlib/qsort.c (SWAP): Likewise.
7399         (_quicksort): Likewise.
7400         * stdlib/setenv.c (__add_to_environ): Likewise.
7401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7402         * stdlib/strtol_l.c (__strtol_l): Likewise.
7403         * stdlib/tst-strtod.c (main): Likewise.
7404         * stdlib/tst-strtol.c (main): Likewise.
7405         * stdlib/tst-strtoll.c (main): Likewise.
7406         * string/bits/string2.h (__strcmp_cc): Likewise.
7407         (__strcmp_cg): Likewise.
7408         (__strcspn_c1): Likewise.
7409         (__strcspn_c2): Likewise.
7410         (__strcspn_c3): Likewise.
7411         (__strspn_c1): Likewise.
7412         (__strspn_c2): Likewise.
7413         (__strspn_c3): Likewise.
7414         (__strsep_1c): Likewise.
7415         (__strsep_2c): Likewise.
7416         (__strsep_3c): Likewise.
7417         * string/memccpy.c (__memccpy): Likewise.
7418         * string/stpcpy.c (__stpcpy): Likewise.
7419         * string/strcmp.c (strcmp): Likewise.
7420         * string/strrchr.c (strrchr): Likewise.
7421         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7422         Likewise.
7423         * sysdeps/mach/hurd/getcwd.c
7424         (_hurd_canonicalize_directory_name_internal): Likewise.
7425         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7426         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7427         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7428         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7429         Likewise, in both definitions.
7430         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7431         definitions.
7432         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7433         64] (__bswap_64): Likewise.
7434         * time/test_time.c (main): Likewise.
7435         * time/tzfile.c (__tzfile_read): Likewise.
7436         (__tzfile_compute): Likewise.
7437         * time/tzset.c (__tzset_parse_tz): Likewise.
7438         (tzset_internal): Likewise.
7439         (compute_change): Likewise.
7440         * wcsmbs/wcscat.c (__wcscat): Likewise.
7441         * wcsmbs/wcschr.c (wcschr): Likewise.
7442         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7443         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7444         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7445         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7446         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7447         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7448         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7449         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7450         * wcsmbs/wmemset.c (wmemset): Likewise.
7451
7452 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7453
7454         * scripts/config.guess: Update to version 2013-05-16.
7455         * scripts/config.sub: Update to version 2013-04-24.
7456         * scripts/install-sh: Update to version 2011-11-20.07.
7457         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7458         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7459
7460 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7461
7462         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7463         * elf/sln.c: Likewise.
7464         * hurd/hurd/ioctl.h: Likewise.
7465         * hurd/hurdmalloc.c: Likewise.
7466         * hurd/xattr.c: Likewise.
7467         * include/shlib-compat.h: Likewise.
7468         * inet/ruserpass.c: Likewise.
7469         * libio/iofgets_u.c: Likewise.
7470         * libio/iofgetws_u.c: Likewise.
7471         * locale/programs/ld-identification.c: Likewise.
7472         * locale/programs/ld-time.c: Likewise.
7473         * mach/msg-destroy.c: Likewise.
7474         * nss/nss_files/files-netgrp.c: Likewise.
7475         * resolv/res_data.c: Likewise.
7476         * soft-fp/op-1.h: Likewise.
7477         * soft-fp/op-2.h: Likewise.
7478         * soft-fp/op-4.h: Likewise.
7479         * soft-fp/op-common.h: Likewise.
7480         * stdio-common/printf_fphex.c: Likewise.
7481         * stdlib/strtod_l.c: Likewise.
7482         * sunrpc/rpc/clnt.h: Likewise.
7483         * sysdeps/generic/framestate.c: Likewise.
7484         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7485         * sysdeps/i386/bsd-setjmp.S: Likewise.
7486         * sysdeps/i386/__longjmp.S: Likewise.
7487         * sysdeps/i386/setjmp.S: Likewise.
7488         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7489         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7490         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7491         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7493         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7495         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7496         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7497         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7498         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7499         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7500         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7501         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7502         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7503         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7504         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7505         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7506         * sysdeps/ieee754/support.c: Likewise.
7507         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7508         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7509         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7510         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7511         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7512         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7513         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7514         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7515         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7516         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7517         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7518         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7519         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7520         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7521         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7522         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7523         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7525
7526 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7527
7528         * posix/transbug.c: Remove executable mode.
7529
7530 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7531
7532         * crypt/speeds.c: Remove trailing whitespace.
7533         * dlfcn/default.c: Likewise.
7534         * elf/ifuncdep2.c: Likewise.
7535         * elf/ifuncmain1.c: Likewise.
7536         * elf/ifuncmain1vis.c: Likewise.
7537         * elf/testobj.h: Likewise.
7538         * elf/tst-stackguard1.c: Likewise.
7539         * gmon/sys/gmon.h: Likewise.
7540         * hurd/hurdmsg.c: Likewise.
7541         * hurd/new-fd.c: Likewise.
7542         * hurd/ports-get.c: Likewise.
7543         * iconvdata/ibm1008_420.c: Likewise.
7544         * inet/tst-getni1.c: Likewise.
7545         * inet/tst-getni2.c: Likewise.
7546         * libio/ioungetc.c: Likewise.
7547         * libio/wfiledoalloc.c: Likewise.
7548         * manual/libm-err-tab.pl: Likewise.
7549         * math/w_dremf.c: Likewise.
7550         * misc/ftruncate.c: Likewise.
7551         * posix/bug-glob2.c: Likewise.
7552         * posix/tst-pcre.c: Likewise.
7553         * posix/wait4.c: Likewise.
7554         * resolv/README: Likewise.
7555         * resolv/res_debug.h: Likewise.
7556         * resolv/tst-inet_ntop.c: Likewise.
7557         * setjmp/bug269-setjmp.c: Likewise.
7558         * soft-fp/extended.h: Likewise.
7559         * soft-fp/op-1.h: Likewise.
7560         * soft-fp/op-2.h: Likewise.
7561         * soft-fp/op-4.h: Likewise.
7562         * soft-fp/op-8.h: Likewise.
7563         * soft-fp/testit.c: Likewise.
7564         * stdio-common/bug16.c: Likewise.
7565         * stdlib/random.c: Likewise.
7566         * sunrpc/rpcsvc/rquota.x: Likewise.
7567         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7568         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7569         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7570         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7571         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7572         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7573         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7574         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7575         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7576         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7577         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7578         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7579         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7580         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7581         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7582         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7583         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7584         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7585         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7586         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7587         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7588         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7589         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7590         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7591         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7592         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7594         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7595         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7596         * sysdeps/ieee754/s_lib_version.c: Likewise.
7597         * sysdeps/mach/hurd/check_fds.c: Likewise.
7598         * sysdeps/mach/hurd/getsockname.c: Likewise.
7599         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7600         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7601         * sysdeps/powerpc/bits/link.h: Likewise.
7602         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7603         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7604         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7605         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7606         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7607         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7608         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7609         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7610         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7611         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7612         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7613         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7614         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7615         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7616         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7617         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7619         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7620         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7621         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7622         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7623         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7624         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7625         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7626         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7629         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7630         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7634         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7635         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7636         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7637         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7638         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7639         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7640         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7641         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7642         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7643         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7644         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7645         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7646         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7647         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7648         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7649         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7650         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7651         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7654         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7655         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7656         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7657         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7658         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7659         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7660         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7661         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7662         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7663         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7664         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7665         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7666         * sysdeps/powerpc/sysdep.h: Likewise.
7667         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7668         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7669         * sysdeps/sh/dl-trampoline.S: Likewise.
7670         * sysdeps/sh/memset.S: Likewise.
7671         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7672         * sysdeps/sh/strlen.S: Likewise.
7673         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7674         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7675         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7676         * sysdeps/sparc/sparc32/rem.S: Likewise.
7677         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7678         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7679         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7680         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7681         * sysdeps/sparc/sparc32/urem.S: Likewise.
7682         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7683         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7684         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7685         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7686         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7687         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7688         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7689         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7690         * sysdeps/unix/bsd/times.c: Likewise.
7691         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7692         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7696         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7697         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7698         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7699         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7700         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7701         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7702         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7703         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7704         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7705         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7706         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7707         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7708         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7709         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7710         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7711         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7712         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7713         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7714         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7715         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7716         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7717         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7718         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7719         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7720         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7721         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7722         * sysdeps/x86_64/strcspn.S: Likewise.
7723
7724 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7725
7726         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7727         generated file.  Regenerate properly from gen-translit.pl.
7728         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7729         locale/C-translit.h.
7730
7731 2013-06-05  Andreas Schwab  <schwab@suse.de>
7732
7733         [BZ #15100]
7734         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7735         week as 6 instead of -1.
7736         * time/tst-strptime.c (day_tests): Add test case.
7737
7738 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7739
7740         * sysdeps/generic/math_private.h
7741         (libc_feholdexcept_setround_53bit): Replace with
7742         libc_feholdsetround_53bit.
7743         (libc_feupdateenv_53bit): Replace with
7744         libc_feresetround_53bit.
7745         (SET_RESTORE_ROUND_53BIT): Adjust.
7746
7747 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7748
7749         * string/test-strchrnul.c: Add copyright header.
7750
7751         * posix/tst-getaddrinfo4.c: Increase test timeout.
7752
7753 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7754
7755         [BZ #15536]
7756         * math/libm-test.inc (MAX_EXP): Remove
7757         (MIN_EXP): Define.
7758         (ulp): Use MIN_EXP - MANT_DIG.
7759         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7760
7761 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7762
7763         * po/be.po: Revert last change.
7764         * po/zh_CN.po: Likewise.
7765         * po/header.pot: Likewise.
7766
7767 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7768
7769         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7770         link-libc-deps to empty as target-specific variable.
7771         * Makerules (link-libc-args): New variable.
7772         (libc-for-link): Likewise.
7773         (link-libc-deps): Likewise.
7774         (lib%.so): Depend on $(link-libc-deps).  Link with
7775         $(link-libc-args).
7776         (build-module): Link with $(link-libc-args).
7777         (build-module-asneeded): Likewise.
7778         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7779         list of objects.
7780         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7781         target-specific variable.
7782         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7783         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7784         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7785         libc.
7786         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7787         libc and ld.so.
7788         ($(objpfx)libpcprofile.so): Likewise.
7789         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7790         libc_nonshared.a.
7791         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7792         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7793         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7794         $(link-libc-deps).
7795         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7796         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7797         * login/Makefile ($(objpfx)libutil.so): Likewise.
7798         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7799         * math/Makefile ($(objpfx)libm.so): Likewise.
7800         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7801         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7802         variable instead of depending directly on libc.
7803         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7804         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7805         $(link-libc-deps).
7806         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7807         libc.
7808         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7809         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7810         ($(objpfx)libanl.so): Likewise.
7811         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7812         ld.so.
7813         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7814         $(link-libc-deps).
7815         * sysdeps/i386/fpu/Makefile: Remove file.
7816         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7817         ($(objpfx)libm.so): Remove dependency on ld.so.
7818
7819 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7820
7821         [BZ # 15553]
7822         * nis/yp_xdr.c (XDRMAXNAME): Define.
7823         (XDRMAXRECORD): Define.
7824         (xdr_domainname): Use XDRMAXNAME.
7825         (xdr_mapname): Likewise.
7826         (xdr_peername): Likewise.
7827         (xdr_keydat): Use XDRMAXRECORD.
7828         (xdr_valdat): Likewise.
7829
7830 2013-05-30  Jeff Law  <law@redhat.com>
7831
7832         [BZ #14256]
7833         * manual/errno.texi (ESTALE): Update to account for more than
7834         just NFS file systems.
7835         * sysdeps/gnu/errlist.c: Regenerated.
7836
7837 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7838
7839         [BZ #15465]
7840         * elf/Makefile (tests): Add tst-null-argv.
7841         (modules-names):  Add tst-null-argv-lib.
7842         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7843         (tst-null-argv-ENV): Set environment for tst-null-argv.
7844         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7845         (RTLD_PROGNAME): New macro.
7846         * elf/tst-null-argv.c: New test case.
7847         * elf/tst-null-argv-lib.c: Library for test case.
7848         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7849         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7850         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7851         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7852         * elf/dl-init.c (call_init): Likewise.
7853         (_dl_init): Likewise.
7854         * elf/dl-load.c (print_search_path): Likewise.
7855         (_dl_map_object): Likewise.
7856         * elf/dl-lookup.c (do_lookup_x): Likewise.
7857         (add_dependency): Likewise.
7858         (_dl_lookup_symbol_x): Likewise.
7859         (_dl_debug_bindings): Likewise.
7860         * elf/dl-open.c (_dl_show_scope): Likewise.
7861         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7862         * elf/dl-version.c (match_symbol): Likewise.
7863         (_dl_check_map_versions): Likewise.
7864         * elf/rtld.c (dl_main): Likewise.
7865         (print_unresolved): Use RTLD_PROGNAME.
7866         (print_missing_version): Likewise.
7867         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7868         (elf_machine_rela): Likewise.
7869         * sysdeps/powerpc/powerpc32/dl-machine.c
7870         (__process_machine_rela): Likewise.
7871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7872         Likewise.
7873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7874         Likewise.
7875         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7876         Likewise.
7877         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7879         Likewise.
7880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7881         Likewise.
7882         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7883
7884 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7885
7886         * po/be.po: Add descriptive title.
7887         * po/zh_CN.po: Likewise.
7888         * po/header.pot: Likewise.
7889
7890 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7891
7892         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7893         error message.
7894         (enlarge_archive): Likewise.
7895
7896 2013-05-28  Ben North  <ben@redfrontdoor.org>
7897
7898         * manual/arith.texi (frexp): It is the magnitude of the return
7899         value which lies in [0.5, 1), not the return value itself.
7900
7901 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7902
7903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7904
7905 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7906
7907         * stdio-common/bug26.c (main): Correct fscanf template.
7908
7909         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7910         declare _dl_skip_args.
7911
7912         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7913         Don't declare.
7914
7915         * manual/platform.texi: Add missing @end deftypefun.
7916
7917 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7918
7919         [BZ #15529]
7920         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7921         bit of mantissa of 2^16382.
7922         * math/libm-test.inc (hypot_test_data): Add more tests.
7923
7924         * math/libm-test.inc: Add drem and pow10 to list of tested
7925         functions.
7926         (pow10_test): New function.
7927         (drem_test): Likewise.
7928         (drem_test_tonearest): Likewise.
7929         (drem_test_towardzero): Likewise.
7930         (drem_test_downward): Likewise.
7931         (drem_test_upward): Likewise.
7932         (main): Call the new functions.
7933
7934         * math/libm-test.inc (finite_test_data): Remove.
7935         (finite_test): Run tests from isfinite_test_data.
7936         (gamma_test_data): Remove.
7937         (gamma_test): Run tests from lgamma_test_data.
7938         * sysdeps/i386/fpu/libm-test-ulps: Update.
7939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7940
7941 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7942
7943         * manual/platform.texi: Add PowerPC PPR function set documentation.
7944         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7945         implementation.
7946
7947 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7948
7949         * math/libm-test.inc (MAX_EXP): Define.
7950         (ULPDIFF): Define.
7951         (ulp): New function.
7952         (check_float_internal): Use ULPDIFF.
7953         (cpow_test): Disable failing test.
7954         (check_ulp): Test ulp() implemetnation.
7955         (main): Call check_ulp before starting tests.
7956
7957 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7958
7959         * math/gen-libm-test.pl (generate_testfile): Do not handle
7960         START_DATA and END_DATA.
7961         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7962         END_DATA.
7963         (acos_tonearest_test_data): Likewise.
7964         (acos_towardzero_test_data): Likewise.
7965         (acos_downward_test_data): Likewise.
7966         (acos_upward_test_data): Likewise.
7967         (acosh_test_data): Likewise.
7968         (asin_test_data): Likewise.
7969         (asin_tonearest_test_data): Likewise.
7970         (asin_towardzero_test_data): Likewise.
7971         (asin_downward_test_data): Likewise.
7972         (asin_upward_test_data): Likewise.
7973         (asinh_test_data): Likewise.
7974         (atan_test_data): Likewise.
7975         (atanh_test_data): Likewise.
7976         (atan2_test_data): Likewise.
7977         (cabs_test_data): Likewise.
7978         (cacos_test_data): Likewise.
7979         (cacosh_test_data): Likewise.
7980         (carg_test_data): Likewise.
7981         (casin_test_data): Likewise.
7982         (casinh_test_data): Likewise.
7983         (catan_test_data): Likewise.
7984         (catanh_test_data): Likewise.
7985         (cbrt_test_data): Likewise.
7986         (ccos_test_data): Likewise.
7987         (ccosh_test_data): Likewise.
7988         (ceil_test_data): Likewise.
7989         (cexp_test_data): Likewise.
7990         (cimag_test_data): Likewise.
7991         (clog_test_data): Likewise.
7992         (clog10_test_data): Likewise.
7993         (conj_test_data): Likewise.
7994         (copysign_test_data): Likewise.
7995         (cos_test_data): Likewise.
7996         (cos_tonearest_test_data): Likewise.
7997         (cos_towardzero_test_data): Likewise.
7998         (cos_downward_test_data): Likewise.
7999         (cos_upward_test_data): Likewise.
8000         (cosh_test_data): Likewise.
8001         (cosh_tonearest_test_data): Likewise.
8002         (cosh_towardzero_test_data): Likewise.
8003         (cosh_downward_test_data): Likewise.
8004         (cosh_upward_test_data): Likewise.
8005         (cpow_test_data): Likewise.
8006         (cproj_test_data): Likewise.
8007         (creal_test_data): Likewise.
8008         (csin_test_data): Likewise.
8009         (csinh_test_data): Likewise.
8010         (csqrt_test_data): Likewise.
8011         (ctan_test_data): Likewise.
8012         (ctan_tonearest_test_data): Likewise.
8013         (ctan_towardzero_test_data): Likewise.
8014         (ctan_downward_test_data): Likewise.
8015         (ctan_upward_test_data): Likewise.
8016         (ctanh_test_data): Likewise.
8017         (ctanh_tonearest_test_data): Likewise.
8018         (ctanh_towardzero_test_data): Likewise.
8019         (ctanh_downward_test_data): Likewise.
8020         (ctanh_upward_test_data): Likewise.
8021         (erf_test_data): Likewise.
8022         (erfc_test_data): Likewise.
8023         (exp_test_data): Likewise.
8024         (exp_tonearest_test_data): Likewise.
8025         (exp_towardzero_test_data): Likewise.
8026         (exp_downward_test_data): Likewise.
8027         (exp_upward_test_data): Likewise.
8028         (exp10_test_data): Likewise.
8029         (exp2_test_data): Likewise.
8030         (expm1_test_data): Likewise.
8031         (fabs_test_data): Likewise.
8032         (fdim_test_data): Likewise.
8033         (finite_test_data): Likewise.
8034         (floor_test_data): Likewise.
8035         (fma_test_data): Likewise.
8036         (fma_towardzero_test_data): Likewise.
8037         (fma_downward_test_data): Likewise.
8038         (fma_upward_test_data): Likewise.
8039         (fmax_test_data): Likewise.
8040         (fmin_test_data): Likewise.
8041         (fmod_test_data): Likewise.
8042         (fpclassify_test_data): Likewise.
8043         (frexp_test_data): Likewise.
8044         (gamma_test_data): Likewise.
8045         (hypot_test_data): Likewise.
8046         (ilogb_test_data): Likewise.
8047         (isfinite_test_data): Likewise.
8048         (isgreater_test_data): Likewise.
8049         (isgreaterequal_test_data): Likewise.
8050         (isinf_test_data): Likewise.
8051         (isless_test_data): Likewise.
8052         (islessequal_test_data): Likewise.
8053         (islessgreater_test_data): Likewise.
8054         (isnan_test_data): Likewise.
8055         (isnormal_test_data): Likewise.
8056         (issignaling_test_data): Likewise.
8057         (isunordered_test_data): Likewise.
8058         (j0_test_data): Likewise.
8059         (j1_test_data): Likewise.
8060         (jn_test_data): Likewise.
8061         (ldexp_test_data): Likewise.
8062         (lgamma_test_data): Likewise.
8063         (lrint_test_data): Likewise.
8064         (lrint_tonearest_test_data): Likewise.
8065         (lrint_towardzero_test_data): Likewise.
8066         (lrint_downward_test_data): Likewise.
8067         (lrint_upward_test_data): Likewise.
8068         (llrint_test_data): Likewise.
8069         (llrint_tonearest_test_data): Likewise.
8070         (llrint_towardzero_test_data): Likewise.
8071         (llrint_downward_test_data): Likewise.
8072         (llrint_upward_test_data): Likewise.
8073         (log_test_data): Likewise.
8074         (log10_test_data): Likewise.
8075         (log1p_test_data): Likewise.
8076         (log2_test_data): Likewise.
8077         (logb_test_data): Likewise.
8078         (logb_downward_test_data): Likewise.
8079         (lround_test_data): Likewise.
8080         (llround_test_data): Likewise.
8081         (modf_test_data): Likewise.
8082         (nearbyint_test_data): Likewise.
8083         (nextafter_test_data): Likewise.
8084         (nexttoward_test_data): Likewise.
8085         (pow_test_data): Likewise.
8086         (pow_tonearest_test_data): Likewise.
8087         (pow_towardzero_test_data): Likewise.
8088         (pow_downward_test_data): Likewise.
8089         (pow_upward_test_data): Likewise.
8090         (remainder_test_data): Likewise.
8091         (remainder_tonearest_test_data): Likewise.
8092         (remainder_towardzero_test_data): Likewise.
8093         (remainder_downward_test_data): Likewise.
8094         (remainder_upward_test_data): Likewise.
8095         (remquo_test_data): Likewise.
8096         (rint_test_data): Likewise.
8097         (rint_tonearest_test_data): Likewise.
8098         (rint_towardzero_test_data): Likewise.
8099         (rint_downward_test_data): Likewise.
8100         (rint_upward_test_data): Likewise.
8101         (round_test_data): Likewise.
8102         (scalb_test_data): Likewise.
8103         (scalbn_test_data): Likewise.
8104         (scalbln_test_data): Likewise.
8105         (signbit_test_data): Likewise.
8106         (sin_test_data): Likewise.
8107         (sin_tonearest_test_data): Likewise.
8108         (sin_towardzero_test_data): Likewise.
8109         (sin_downward_test_data): Likewise.
8110         (sin_upward_test_data): Likewise.
8111         (sincos_test_data): Likewise.
8112         (sinh_test_data): Likewise.
8113         (sinh_tonearest_test_data): Likewise.
8114         (sinh_towardzero_test_data): Likewise.
8115         (sinh_downward_test_data): Likewise.
8116         (sinh_upward_test_data): Likewise.
8117         (sqrt_test_data): Likewise.
8118         (tan_test_data): Likewise.
8119         (tan_tonearest_test_data): Likewise.
8120         (tan_towardzero_test_data): Likewise.
8121         (tan_downward_test_data): Likewise.
8122         (tan_upward_test_data): Likewise.
8123         (tanh_test_data): Likewise.
8124         (tgamma_test_data): Likewise.
8125         (trunc_test_data): Likewise.
8126         (y0_test_data): Likewise.
8127         (y1_test_data): Likewise.
8128         (yn_test_data): Likewise.
8129         (significand_test_data): Likewise.
8130
8131         * math/gen-libm-test.pl (@functions): Remove variable.
8132         (generate_testfile): Don't handle START and END lines.
8133         * math/libm-test.inc (START): New macro.
8134         (END): Likewise.
8135         (END_COMPLEX): Likewise.
8136         (acos_test): Use END macro without arguments.
8137         (acos_test_tonearest): Likewise.
8138         (acos_test_towardzero): Likewise.
8139         (acos_test_downward): Likewise.
8140         (acos_test_upward): Likewise.
8141         (acosh_test): Likewise.
8142         (asin_test): Likewise.
8143         (asin_test_tonearest): Likewise.
8144         (asin_test_towardzero): Likewise.
8145         (asin_test_downward): Likewise.
8146         (asin_test_upward): Likewise.
8147         (asinh_test): Likewise.
8148         (atan_test): Likewise.
8149         (atanh_test): Likewise.
8150         (atan2_test): Likewise.
8151         (cabs_test): Likewise.
8152         (cacos_test): Use END_COMPLEX macro without arguments.
8153         (cacosh_test): Likewise.
8154         (carg_test): Use END macro without arguments.
8155         (casin_test): Use END_COMPLEX macro without arguments.
8156         (casinh_test): Likewise.
8157         (catan_test): Likewise.
8158         (catanh_test): Likewise.
8159         (cbrt_test): Use END macro without arguments.
8160         (ccos_test): Use END_COMPLEX macro without arguments.
8161         (ccosh_test): Likewise.
8162         (ceil_test): Use END macro without arguments.
8163         (cexp_test): Use END_COMPLEX macro without arguments.
8164         (cimag_test): Use END macro without arguments.
8165         (clog_test): Use END_COMPLEX macro without arguments.
8166         (clog10_test): Likewise.
8167         (conj_test): Likewise.
8168         (copysign_test): Use END macro without arguments.
8169         (cos_test): Likewise.
8170         (cos_test_tonearest): Likewise.
8171         (cos_test_towardzero): Likewise.
8172         (cos_test_downward): Likewise.
8173         (cos_test_upward): Likewise.
8174         (cosh_test): Likewise.
8175         (cosh_test_tonearest): Likewise.
8176         (cosh_test_towardzero): Likewise.
8177         (cosh_test_downward): Likewise.
8178         (cosh_test_upward): Likewise.
8179         (cpow_test): Use END_COMPLEX macro without arguments.
8180         (cproj_test): Likewise.
8181         (creal_test): Use END macro without arguments.
8182         (csin_test): Use END_COMPLEX macro without arguments.
8183         (csinh_test): Likewise.
8184         (csqrt_test): Likewise.
8185         (ctan_test): Likewise.
8186         (ctan_test_tonearest): Likewise.
8187         (ctan_test_towardzero): Likewise.
8188         (ctan_test_downward): Likewise.
8189         (ctan_test_upward): Likewise.
8190         (ctanh_test): Likewise.
8191         (ctanh_test_tonearest): Likewise.
8192         (ctanh_test_towardzero): Likewise.
8193         (ctanh_test_downward): Likewise.
8194         (ctanh_test_upward): Likewise.
8195         (erf_test): Use END macro without arguments.
8196         (erfc_test): Likewise.
8197         (exp_test): Likewise.
8198         (exp_test_tonearest): Likewise.
8199         (exp_test_towardzero): Likewise.
8200         (exp_test_downward): Likewise.
8201         (exp_test_upward): Likewise.
8202         (exp10_test): Likewise.
8203         (exp2_test): Likewise.
8204         (expm1_test): Likewise.
8205         (fabs_test): Likewise.
8206         (fdim_test): Likewise.
8207         (finite_test): Likewise.
8208         (floor_test): Likewise.
8209         (fma_test): Likewise.
8210         (fma_test_towardzero): Likewise.
8211         (fma_test_downward): Likewise.
8212         (fma_test_upward): Likewise.
8213         (fmax_test): Likewise.
8214         (fmin_test): Likewise.
8215         (fmod_test): Likewise.
8216         (fpclassify_test): Likewise.
8217         (frexp_test): Likewise.
8218         (gamma_test): Likewise.
8219         (hypot_test): Likewise.
8220         (ilogb_test): Likewise.
8221         (isfinite_test): Likewise.
8222         (isgreater_test): Likewise.
8223         (isgreaterequal_test): Likewise.
8224         (isinf_test): Likewise.
8225         (isless_test): Likewise.
8226         (islessequal_test): Likewise.
8227         (islessgreater_test): Likewise.
8228         (isnan_test): Likewise.
8229         (isnormal_test): Likewise.
8230         (issignaling_test): Likewise.
8231         (isunordered_test): Likewise.
8232         (j0_test): Likewise.
8233         (j1_test): Likewise.
8234         (jn_test): Likewise.
8235         (ldexp_test): Likewise.
8236         (lgamma_test): Likewise.
8237         (lrint_test): Likewise.
8238         (lrint_test_tonearest): Likewise.
8239         (lrint_test_towardzero): Likewise.
8240         (lrint_test_downward): Likewise.
8241         (lrint_test_upward): Likewise.
8242         (llrint_test): Likewise.
8243         (llrint_test_tonearest): Likewise.
8244         (llrint_test_towardzero): Likewise.
8245         (llrint_test_downward): Likewise.
8246         (llrint_test_upward): Likewise.
8247         (log_test): Likewise.
8248         (log10_test): Likewise.
8249         (log1p_test): Likewise.
8250         (log2_test): Likewise.
8251         (logb_test): Likewise.
8252         (logb_test_downward): Likewise.
8253         (lround_test): Likewise.
8254         (llround_test): Likewise.
8255         (modf_test): Likewise.
8256         (nearbyint_test): Likewise.
8257         (nextafter_test): Likewise.
8258         (nexttoward_test): Likewise.
8259         (pow_test): Likewise.
8260         (pow_test_tonearest): Likewise.
8261         (pow_test_towardzero): Likewise.
8262         (pow_test_downward): Likewise.
8263         (pow_test_upward): Likewise.
8264         (remainder_test): Likewise.
8265         (remainder_test_tonearest): Likewise.
8266         (remainder_test_towardzero): Likewise.
8267         (remainder_test_downward): Likewise.
8268         (remainder_test_upward): Likewise.
8269         (remquo_test): Likewise.
8270         (rint_test): Likewise.
8271         (rint_test_tonearest): Likewise.
8272         (rint_test_towardzero): Likewise.
8273         (rint_test_downward): Likewise.
8274         (rint_test_upward): Likewise.
8275         (round_test): Likewise.
8276         (scalb_test): Likewise.
8277         (scalbn_test): Likewise.
8278         (scalbln_test): Likewise.
8279         (signbit_test): Likewise.
8280         (sin_test): Likewise.
8281         (sin_test_tonearest): Likewise.
8282         (sin_test_towardzero): Likewise.
8283         (sin_test_downward): Likewise.
8284         (sin_test_upward): Likewise.
8285         (sincos_test): Likewise.
8286         (sinh_test): Likewise.
8287         (sinh_test_tonearest): Likewise.
8288         (sinh_test_towardzero): Likewise.
8289         (sinh_test_downward): Likewise.
8290         (sinh_test_upward): Likewise.
8291         (sqrt_test): Likewise.
8292         (tan_test): Likewise.
8293         (tan_test_tonearest): Likewise.
8294         (tan_test_towardzero): Likewise.
8295         (tan_test_downward): Likewise.
8296         (tan_test_upward): Likewise.
8297         (tanh_test): Likewise.
8298         (tgamma_test): Likewise.
8299         (trunc_test): Likewise.
8300         (y0_test): Likewise.
8301         (y1_test): Likewise.
8302         (yn_test): Likewise.
8303         (significand_test): Likewise.
8304
8305 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8306
8307         [BZ #15381]
8308         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8309
8310 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8311
8312         [BZ #14894]
8313         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8314         __ppc_mdoio and __ppc_mdoom.
8315         * manual/platform.texi: Document new functions __ppc_yield,
8316         __ppc_mdoio and __ppc_mdoom.
8317
8318 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8319
8320         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8321         (main): Mention "tls" pseudo-hwcap is legacy.
8322         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8323
8324 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8325
8326         * math/gen-libm-test.pl (parse_args): Output only string of
8327         arguments as text for test name, not full call or descriptions of
8328         tests for extra outputs.
8329         (generate_testfile): Do not pass function name to parse_args.
8330         Generate this_func variable from START.
8331         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8332         field to arg_str.
8333         (struct test_ff_f_data): Likewise.
8334         (test_ff_f_data_nexttoward): Likewise.
8335         (struct test_fi_f_data): Likewise.
8336         (struct test_fl_f_data): Likewise.
8337         (struct test_if_f_data): Likewise.
8338         (struct test_fff_f_data): Likewise.
8339         (struct test_c_f_data): Likewise.
8340         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8341         (struct test_fF_f1_data): Likewise.
8342         (struct test_ffI_f1_data): Likewise.
8343         (struct test_c_c_data): Rename test_name field to arg_str.
8344         (struct test_cc_c_data): Likewise.
8345         (struct test_f_i_data): Likewise.
8346         (struct test_ff_i_data): Likewise.
8347         (struct test_f_l_data): Likewise.
8348         (struct test_f_L_data): Likewise.
8349         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8350         and extra2_name.
8351         (COMMON_TEST_SETUP): New macro.
8352         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8353         (COMMON_TEST_CLEANUP): Likewise.
8354         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8355         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8356         macros.
8357         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8358         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8359         macros.
8360         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8361         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8362         cleanup macros.
8363         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8364         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8365         macros.
8366         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8367         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8368         macros.
8369         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8370         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8371         cleanup macros.
8372         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8373         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8374         cleanup macros.
8375         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8376         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8377         cleanup macros.
8378         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8379         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8380         macros.
8381         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8382         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8383         macros.
8384         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8385         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8386         macros.
8387         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8388         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8389         cleanup macros.
8390         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8391         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8392         cleanup macros.
8393         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8394         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8395         macros.
8396         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8397         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8398         cleanup macros.
8399         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8400         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8401         macros.
8402         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8403         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8404         macros.
8405         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8406         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8407         cleanup macros.
8408         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8409
8410 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8411
8412         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8413         to _sifields.sigfault.
8414         (si_addr_lsb): Define new macro.
8415         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8416         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8417         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8418
8419 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8420
8421         [BZ #15441]
8422         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8423         returns -1.
8424         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8425         null return -1.
8426         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8427         loading the domain.
8428
8429 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8430
8431         * math/gen-libm-test.pl (parse_args): Do not include expected
8432         result in test name.
8433         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8435         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8436         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8437         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439
8440 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8441
8442         * benchtests/Makefile: Sort function entries.
8443
8444         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8445         tanh, asinh, acosh, atanh.
8446         * benchtests/acos-inputs: New file.
8447         * benchtests/acosh-inputs: New file.
8448         * benchtests/asin-inputs: New file.
8449         * benchtests/asinh-inputs: New file.
8450         * benchtests/atanh-inputs: New file.
8451         * benchtests/cosh-inputs: New file.
8452         * benchtests/log-inputs: New file.
8453         * benchtests/sinh-inputs: New file.
8454         * benchtests/tanh-inputs: New file.
8455
8456 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8457
8458         [BZ #15339]
8459         * posix/tst-getaddrinfo4.c: New test.
8460         * posix/Makefile (tests): Add it.
8461
8462 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8463
8464         [BZ #15339]
8465         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8466         when no services were used.
8467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8468         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8469
8470 2013-05-21  Andreas Schwab  <schwab@suse.de>
8471
8472         [BZ #15014]
8473         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8474         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8475         successful.
8476         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8477         redundant variable declarations and reallocation of buffer when
8478         parsing as IPv6 address.  Always set NSS status when called from
8479         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8480         buffer too small.  Correct computation of needed size.
8481         * nss/Makefile (tests): Add test-digits-dots.
8482         * nss/test-digits-dots.c: New test.
8483
8484 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8485
8486         * benchtests/Makefile: Remove instructions for adding
8487         benchmark tests.
8488         * benchtests/README: New file to explain how to execute and
8489         enhance the benchmark tests.
8490
8491 2013-05-21  Andreas Schwab  <schwab@suse.de>
8492
8493         [BZ #15493]
8494         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8495         * setjmp/tst-sigsetjmp.c: New test.
8496
8497 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8498
8499         * sysdeps/x86_64/memset.S (memset): New implementation.
8500         (__bzero): Likewise.
8501         (__memset_tail): New function.
8502
8503 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8504
8505         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8506         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8507         __memcpy_sse2_unaligned ifunc selection.
8508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8509         Add memcpy-sse2-unaligned.S.
8510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8511         Add: __memcpy_sse2_unaligned.
8512
8513 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8514
8515         [BZ #15490]
8516         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8517         math_force_eval before restoring floating-point envrionment.
8518         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8519         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8520         Likewise.
8521         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8522         <math_private.h>.
8523         (__nearbyintl): Use math_force_eval before restoring
8524         floating-point environment.
8525         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8526
8527         * math/gen-libm-test.pl (special_functions): Remove.
8528         (parse_args): Don't handle TEST_extra.  Handle functions with no
8529         return value.
8530         * math/libm-test.inc (struct test_sincos_data): Replace with
8531         struct test_fFF_11_data.
8532         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8533         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8534         (sincos_test_data): Change element type to struct
8535         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8536         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8537         RUN_TEST_LOOP_sincos.
8538         * math/README.libm-test: Don't mention special handling of
8539         individual functions.
8540         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8541         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8542         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8543         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8544         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8546
8547         * math/gen-libm-test.pl (get_variable): Remove function.
8548         (parse_args): Don't show pointer parameters to call in test
8549         names.  Use "extra output N" in test names for extra outputs
8550         rather than naming variables.
8551
8552 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8553
8554         [BZ #15488]
8555         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8556         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8557         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8558         double tests.
8559         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8560         disable.
8561         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8562         check_long_double.
8563
8564         * math/gen-libm-test.pl (@tests): Remove variable.
8565         ($count): Likewise.
8566         (new_test): Remove function.
8567         (show_exceptions): New function.
8568         (special_functions): Use show_exceptions instead of new_test.
8569         (parse_args): Likewise.
8570         (generate_testfile): Pass only function name in generated call to
8571         print_max_error or print_complex_max_error.
8572         (get_ulps): Do not handle complex tests specially.
8573         (output_test): Rename to ...
8574         (get_all_ulps_for_test): ... this.  Return a string rather than
8575         printing to a file.  Require ulps to be present.
8576         (output_ulps): Generate arrays rather than #defines.
8577         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8578         (struct ulp_data): New type.
8579         (BUILD_COMPLEX_ULP): Remove macro.
8580         (compare_ulp_data): New function.
8581         (find_ulps): Likewise.
8582         (find_test_ulps): Likewise.
8583         (find_function_ulps): Likewise.
8584         (find_complex_function_ulps): Likewise.
8585         (print_max_error): Determine allowed ulps using
8586         find_function_ulps.
8587         (print_complex_max_error): Determine allowed ulps using
8588         find_complex_function_ulps.
8589         (check_float_internal): Determine max ulps using find_test_ulps.
8590         (check_float): Do not take max_ulp parameter.  Update call to
8591         check_float_internal.
8592         (check_complex): Likewise.
8593         (check_int): Do not take max_ulp parameter.
8594         (check_long): Likewise.
8595         (check_bool): Likewise.
8596         (check_longlong): Likewise.
8597         (struct test_f_f_data): Remove max_ulp field.
8598         (struct test_ff_f_data): Likewise.
8599         (struct test_ff_f_data_nexttoward): Likewise.
8600         (struct test_fi_f_data): Likewise.
8601         (struct test_fl_f_data): Likewise.
8602         (struct test_if_f_data): Likewise.
8603         (struct test_fff_f_data): Likewise.
8604         (struct test_c_f_data): Likewise.
8605         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8606         (struct test_fF_f1_data): Likewise.
8607         (struct test_ffI_f1_data): Likewise.
8608         (struct test_c_c_data): Remove max_ulp field.
8609         (struct test_cc_c_data): Likewise.
8610         (struct test_f_i_data): Likewise.
8611         (struct test_ff_i_data): Likewise.
8612         (struct test_f_l_data): Likewise.
8613         (struct test_f_L_data): Likewise.
8614         (struct test_sincos_data): Likewise.
8615         (RUN_TEST_f_f): Do not handle ulps.
8616         (RUN_TEST_LOOP_f_f): Likewise.
8617         (RUN_TEST_2_f): Likewise.
8618         (RUN_TEST_LOOP_2_f): Likewise.
8619         (RUN_TEST_fff_f): Likewise.
8620         (RUN_TEST_LOOP_fff_f): Likewise.
8621         (RUN_TEST_c_f): Likewise.
8622         (RUN_TEST_LOOP_c_f): Likewise.
8623         (RUN_TEST_f_f1): Likewise.
8624         (RUN_TEST_LOOP_f_f1): Likewise.
8625         (RUN_TEST_fF_f1): Likewise.
8626         (RUN_TEST_LOOP_fF_f1): Likewise.
8627         (RUN_TEST_fI_f1): Likewise.
8628         (RUN_TEST_LOOP_fI_f1): Likewise.
8629         (RUN_TEST_ffI_f1): Likewise.
8630         (RUN_TEST_LOOP_ffI_f1): Likewise.
8631         (RUN_TEST_c_c): Likewise.
8632         (RUN_TEST_LOOP_c_c): Likewise.
8633         (RUN_TEST_cc_c): Likewise.
8634         (RUN_TEST_LOOP_cc_c): Likewise.
8635         (RUN_TEST_f_i): Likewise.
8636         (RUN_TEST_LOOP_f_i): Likewise.
8637         (RUN_TEST_f_i_tg): Likewise.
8638         (RUN_TEST_LOOP_f_i_tg): Likewise.
8639         (RUN_TEST_ff_i_tg): Likewise.
8640         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8641         (RUN_TEST_f_b): Likewise.
8642         (RUN_TEST_LOOP_f_b): Likewise.
8643         (RUN_TEST_f_b_tg): Likewise.
8644         (RUN_TEST_LOOP_f_b_tg): Likewise.
8645         (RUN_TEST_f_l): Likewise.
8646         (RUN_TEST_LOOP_f_l): Likewise.
8647         (RUN_TEST_f_L): Likewise.
8648         (RUN_TEST_LOOP_f_L): Likewise.
8649         (RUN_TEST_sincos): Likewise.
8650         (RUN_TEST_LOOP_sincos): Likewise.
8651
8652 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8653
8654         [BZ #15480]
8655         [BZ #15485]
8656         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8657         main case of finite arguments, set rounding mode to FE_TONEAREST
8658         and discard exceptions.
8659         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8660         exceptions.
8661         (remainder_tonearest_test_data): New variable.
8662         (remainder_test_tonearest): New function.
8663         (remainder_towardzero_test_data): New variable.
8664         (remainder_test_towardzero): New function.
8665         (remainder_downward_test_data): New variable.
8666         (remainder_test_downward): New function.
8667         (remainder_upward_test_data): New variable.
8668         (remainder_test_upward): New function.
8669         (main): Call the new test functions.
8670
8671         * math/libm-test.inc (struct test_f_f1_data): Remove field
8672         extra_init.
8673         (struct test_fF_f1_data): Likewise.
8674         (struct test_ffI_f1_data): Likewise.
8675         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8676         based on value of EXTRA_EXPECTED.
8677         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8678         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8679         EXTRA_VAR based on value of EXTRA_EXPECTED.
8680         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8681         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8682         EXTRA_VAR based on value of EXTRA_EXPECTED.
8683         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8684         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8685         EXTRA_VAR based on value of EXTRA_EXPECTED.
8686         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8687         * math/gen-libm-test.pl (parse_args): Don't output initializers
8688         for extra output values.
8689
8690         * math/libm-test.inc (check_int): Expect result to be exactly
8691         equal to expected value and do not handle ulps.
8692         (check_long): Likewise.
8693         (check_longlong): Likewise.
8694
8695         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8696         exceptions.
8697         (cimag_test_data): Likewise.
8698         (conj_test_data): Likewise.
8699         (copysign_test_data): Likewise.
8700         (cproj_test_data): Likewise.
8701         (creal_test_data): Likewise.
8702         (fabs_test_data): Likewise.
8703         (fdim_test_data): Likewise.
8704         (finite_test_data): Likewise.
8705         (floor_test_data): Likewise.
8706         (fmax_test_data): Likewise.
8707         (fmin_test_data): Likewise.
8708         (fmod_test_data): Likewise.
8709         (fpclassify_test_data): Likewise.
8710         (frexp_test_data): Likewise.
8711         (ilogb_test_data): Likewise.
8712         (isfinite_test_data): Likewise.
8713         (isgreater_test_data): Likewise.
8714         (isgreaterequal_test_data): Likewise.
8715         (isinf_test_data): Likewise.
8716         (isless_test_data): Likewise.
8717         (islessequal_test_data): Likewise.
8718         (islessgreater_test_data): Likewise.
8719         (isnan_test_data): Likewise.
8720         (isnormal_test_data): Likewise.
8721         (issignaling_test_data): Likewise.
8722         (isunordered_test_data): Likewise.
8723         (ldexp_test_data): Likewise.
8724         (lrint_test_data): Likewise.
8725         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8726         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8727         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8728         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8729         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8730         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8731         test input.
8732         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8733         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8734         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8735         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8736         that test input.
8737         (lrint_downward_test_data): Test for "inexact" exceptions.
8738         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8739         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8740         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8741         test input.
8742         (lrint_upward_test_data): Test for "inexact" exceptions.
8743         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8744         test input.
8745         (llrint_test_data): Test for "inexact" exceptions.
8746         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8747         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8748         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8749         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8750         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8751         (llrint_downward_test_data): Test for "inexact" exceptions.
8752         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8753         (llrint_upward_test_data): Test for "inexact" exceptions.
8754         (logb_test_data): Likewise.
8755         (logb_downward_test_data): Likewise.
8756         (nextafter_test_data): Likewise.
8757         (nexttoward_test_data): Likewise.
8758         (remainder_test_data): Likewise.
8759         (remquo_test_data): Likewise.
8760         (scalbn_test_data): Likewise.
8761         (scalbln_test_data): Likewise.
8762         (signbit_test_data): Likewise.
8763         (sqrt_test_data): Likewise.
8764         (significand_test_data): Likewise.
8765
8766 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8767
8768         [BZ #15424]
8769         * benchtests/bench-modf.c (struct args): Mark arg0 as
8770         volatile.
8771         * scripts/bench.pl: Mark members of struct args as volatile.
8772
8773 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8774
8775         [BZ # 15497]
8776         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8777         negative infinity on POWER6 or lower.
8778         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8779
8780 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8781
8782         [BZ #15442]
8783         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8784         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8785         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8786         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8787         (_FP_SETQNAN): New macro.
8788         (_FP_SETQNAN_SEMIRAW): Likewise.
8789         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8790         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8791         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8792         (FP_EXTEND): Use _FP_FRAC_SNANP.
8793         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8794         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8795         into account.
8796         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8797         New macro.
8798         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8799         Likewise.
8800
8801 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8802
8803         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8804         with DIVIDE_BY_ZERO_EXCEPTION.
8805         (gamma_test_data): Likewise.
8806         (lgamma_test_data): Likewise.
8807         (log_test_data): Likewise.
8808         (log10_test_data): Likewise.
8809         (log2_test_data): Likewise.
8810         (tgamma_test_data): Likewise.
8811
8812         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8813         (acos_test_tonearest): Likewise.
8814         (acos_test_towardzero): Likewise.
8815         (acos_test_downward): Likewise.
8816         (acos_test_upward): Likewise.
8817         (acosh_test): Likewise.
8818         (asin_test): Likewise.
8819         (asin_test_tonearest): Likewise.
8820         (asin_test_towardzero): Likewise.
8821         (asin_test_downward): Likewise.
8822         (asin_test_upward): Likewise.
8823         (asinh_test): Likewise.
8824         (atan_test): Likewise.
8825         (atanh_test): Likewise.
8826         (atan2_test): Likewise.
8827         (cabs_test): Likewise.
8828         (cacos_test): Likewise.
8829         (cacosh_test): Likewise.
8830         (casin_test): Likewise.
8831         (casinh_test): Likewise.
8832         (catan_test): Likewise.
8833         (catanh_test): Likewise.
8834         (cbrt_test): Likewise.
8835         (ccos_test): Likewise.
8836         (ccosh_test): Likewise.
8837         (cexp_test): Likewise.
8838         (clog_test): Likewise.
8839         (clog10_test): Likewise.
8840         (cos_test): Likewise.
8841         (cos_test_tonearest): Likewise.
8842         (cos_test_towardzero): Likewise.
8843         (cos_test_downward): Likewise.
8844         (cos_test_upward): Likewise.
8845         (cosh_test): Likewise.
8846         (cosh_test_tonearest): Likewise.
8847         (cosh_test_towardzero): Likewise.
8848         (cosh_test_downward): Likewise.
8849         (cosh_test_upward): Likewise.
8850         (cpow_test): Likewise.
8851         (csin_test): Likewise.
8852         (csinh_test): Likewise.
8853         (csqrt_test): Likewise.
8854         (ctan_test): Likewise.
8855         (ctan_test_tonearest): Likewise.
8856         (ctan_test_towardzero): Likewise.
8857         (ctan_test_downward): Likewise.
8858         (ctan_test_upward): Likewise.
8859         (ctanh_test): Likewise.
8860         (ctanh_test_tonearest): Likewise.
8861         (ctanh_test_towardzero): Likewise.
8862         (ctanh_test_downward): Likewise.
8863         (ctanh_test_upward): Likewise.
8864         (erf_test): Likewise.
8865         (erfc_test): Likewise.
8866         (exp_test): Likewise.
8867         (exp_test_tonearest): Likewise.
8868         (exp_test_towardzero): Likewise.
8869         (exp_test_downward): Likewise.
8870         (exp_test_upward): Likewise.
8871         (exp10_test): Likewise.
8872         (exp2_test): Likewise.
8873         (expm1_test): Likewise.
8874         (fmod_test): Likewise.
8875         (gamma_test): Likewise.
8876         (hypot_test): Likewise.
8877         (j0_test): Likewise.
8878         (j1_test): Likewise.
8879         (jn_test): Likewise.
8880         (lgamma_test): Likewise.
8881         (log_test): Likewise.
8882         (log10_test): Likewise.
8883         (log1p_test): Likewise.
8884         (log2_test): Likewise.
8885         (logb_test_downward): Likewise.
8886         (pow_test): Likewise.
8887         (pow_test_tonearest): Likewise.
8888         (pow_test_towardzero): Likewise.
8889         (pow_test_downward): Likewise.
8890         (pow_test_upward): Likewise.
8891         (remainder_test): Likewise.
8892         (remquo_test): Likewise.
8893         (sin_test): Likewise.
8894         (sin_test_tonearest): Likewise.
8895         (sin_test_towardzero): Likewise.
8896         (sin_test_downward): Likewise.
8897         (sin_test_upward): Likewise.
8898         (sincos_test): Likewise.
8899         (sinh_test): Likewise.
8900         (sinh_test_tonearest): Likewise.
8901         (sinh_test_towardzero): Likewise.
8902         (sinh_test_downward): Likewise.
8903         (sinh_test_upward): Likewise.
8904         (sqrt_test): Likewise.
8905         (tan_test): Likewise.
8906         (tan_test_tonearest): Likewise.
8907         (tan_test_towardzero): Likewise.
8908         (tan_test_downward): Likewise.
8909         (tan_test_upward): Likewise.
8910         (tanh_test): Likewise.
8911         (tgamma_test): Likewise.
8912         (y0_test): Likewise.
8913         (y1_test): Likewise.
8914         (yn_test): Likewise.
8915
8916         * math/gen-libm-test.pl (adjust_arg): Remove function.
8917         (special_function): Remove argument $in_func.  Only handle
8918         generating output for tables of tests, not inside functions.
8919         (parse_args): Likewise.
8920         (generate_testfile): Remove variable $in_func.  Update call to
8921         parse_args.
8922         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8923         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8924         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8925         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8926         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8927         (MAX_VALUE_INIT): Rename macro to max_value.
8928         (MIN_VALUE_INIT): Rename macro to min_value.
8929         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8930         (plus_zero): Remove variable.
8931         (minus_zero): Likewise.
8932         (plus_infty): Likewise.
8933         (minus_infty): Likewise.
8934         (qnan_value): Likewise.
8935         (max_value): Likewise.
8936         (min_value): Likewise.
8937         (min_subnorm_value): Likewise.
8938
8939 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8940
8941         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8942         uint64_t or uint32_t usage.
8943         * crypt/sha256-block.c: Likewise.
8944         * crypt/sha256-crypt.c: Likewise.
8945         * crypt/sha256.c: Likewise.
8946         * crypt/sha512-block.c: Likewise.
8947         * crypt/sha512-crypt.c: Likewise.
8948         * crypt/sha512.c: Likewise.
8949         * debug/backtrace-tst.c: Likewise.
8950         * debug/pcprofiledump.c: Likewise.
8951         * elf/cache.c: Likewise.
8952         * elf/dl-cache.c: Likewise.
8953         * elf/dl-misc.c: Likewise.
8954         * elf/dl-profile.c: Likewise.
8955         * elf/dl-support.c: Likewise.
8956         * elf/ldconfig.c: Likewise.
8957         * elf/sprof.c: Likewise.
8958         * iconv/dummy-repertoire.c: Likewise.
8959         * iconv/iconv_charmap.c: Likewise.
8960         * iconv/skeleton.c: Likewise.
8961         * iconvdata/8bit-generic.c: Likewise.
8962         * iconvdata/cp737.h: Likewise.
8963         * iconvdata/cp775.h: Likewise.
8964         * iconvdata/ibm1008.h: Likewise.
8965         * iconvdata/ibm1025.h: Likewise.
8966         * iconvdata/ibm1046.h: Likewise.
8967         * iconvdata/ibm1097.h: Likewise.
8968         * iconvdata/ibm1112.h: Likewise.
8969         * iconvdata/ibm1122.h: Likewise.
8970         * iconvdata/ibm1123.h: Likewise.
8971         * iconvdata/ibm1124.h: Likewise.
8972         * iconvdata/ibm1129.h: Likewise.
8973         * iconvdata/ibm1130.h: Likewise.
8974         * iconvdata/ibm1132.h: Likewise.
8975         * iconvdata/ibm1133.h: Likewise.
8976         * iconvdata/ibm1137.h: Likewise.
8977         * iconvdata/ibm1140.h: Likewise.
8978         * iconvdata/ibm1141.h: Likewise.
8979         * iconvdata/ibm1142.h: Likewise.
8980         * iconvdata/ibm1143.h: Likewise.
8981         * iconvdata/ibm1144.h: Likewise.
8982         * iconvdata/ibm1145.h: Likewise.
8983         * iconvdata/ibm1146.h: Likewise.
8984         * iconvdata/ibm1147.h: Likewise.
8985         * iconvdata/ibm1148.h: Likewise.
8986         * iconvdata/ibm1149.h: Likewise.
8987         * iconvdata/ibm1153.h: Likewise.
8988         * iconvdata/ibm1154.h: Likewise.
8989         * iconvdata/ibm1155.h: Likewise.
8990         * iconvdata/ibm1156.h: Likewise.
8991         * iconvdata/ibm1157.h: Likewise.
8992         * iconvdata/ibm1158.h: Likewise.
8993         * iconvdata/ibm1160.h: Likewise.
8994         * iconvdata/ibm1161.h: Likewise.
8995         * iconvdata/ibm1162.h: Likewise.
8996         * iconvdata/ibm1163.h: Likewise.
8997         * iconvdata/ibm1164.h: Likewise.
8998         * iconvdata/ibm1166.h: Likewise.
8999         * iconvdata/ibm1167.h: Likewise.
9000         * iconvdata/ibm12712.h: Likewise.
9001         * iconvdata/ibm1390.h: Likewise.
9002         * iconvdata/ibm1399.h: Likewise.
9003         * iconvdata/ibm16804.h: Likewise.
9004         * iconvdata/ibm4517.h: Likewise.
9005         * iconvdata/ibm4899.h: Likewise.
9006         * iconvdata/ibm4909.h: Likewise.
9007         * iconvdata/ibm4971.h: Likewise.
9008         * iconvdata/ibm5347.h: Likewise.
9009         * iconvdata/ibm803.h: Likewise.
9010         * iconvdata/ibm856.h: Likewise.
9011         * iconvdata/ibm901.h: Likewise.
9012         * iconvdata/ibm902.h: Likewise.
9013         * iconvdata/ibm9030.h: Likewise.
9014         * iconvdata/ibm9066.h: Likewise.
9015         * iconvdata/ibm921.h: Likewise.
9016         * iconvdata/ibm922.h: Likewise.
9017         * iconvdata/ibm9448.h: Likewise.
9018         * iconvdata/isiri-3342.h: Likewise.
9019         * iconvdata/jis0201.h: Likewise.
9020         * include/link.h: Likewise.
9021         * include/netdb.h: Likewise.
9022         * inet/check_native.c: Likewise.
9023         * inet/check_pf.c: Likewise.
9024         * inet/getipv4sourcefilter.c: Likewise.
9025         * inet/getnameinfo.c: Likewise.
9026         * inet/getsourcefilter.c: Likewise.
9027         * inet/htonl.c: Likewise.
9028         * inet/setipv4sourcefilter.c: Likewise.
9029         * inet/setsourcefilter.c: Likewise.
9030         * inet/test-inet6_opt.c: Likewise.
9031         * inet/tst-network.c: Likewise.
9032         * locale/C-collate.c: Likewise.
9033         * locale/C-ctype.c: Likewise.
9034         * locale/C-time.c: Likewise.
9035         * locale/C-translit.h: Likewise.
9036         * locale/loadarchive.c: Likewise.
9037         * locale/programs/3level.h: Likewise.
9038         * locale/programs/charmap.c: Likewise.
9039         * locale/programs/charmap.h: Likewise.
9040         * locale/programs/ld-address.c: Likewise.
9041         * locale/programs/ld-collate.c: Likewise.
9042         * locale/programs/ld-ctype.c: Likewise.
9043         * locale/programs/ld-identification.c: Likewise.
9044         * locale/programs/ld-measurement.c: Likewise.
9045         * locale/programs/ld-messages.c: Likewise.
9046         * locale/programs/ld-monetary.c: Likewise.
9047         * locale/programs/ld-name.c: Likewise.
9048         * locale/programs/ld-numeric.c: Likewise.
9049         * locale/programs/ld-paper.c: Likewise.
9050         * locale/programs/ld-telephone.c: Likewise.
9051         * locale/programs/ld-time.c: Likewise.
9052         * locale/programs/linereader.c: Likewise.
9053         * locale/programs/locale.c: Likewise.
9054         * locale/programs/locarchive.c: Likewise.
9055         * locale/programs/locfile.h: Likewise.
9056         * locale/programs/repertoire.c: Likewise.
9057         * locale/programs/simple-hash.c: Likewise.
9058         * locale/programs/simple-hash.h: Likewise.
9059         * malloc/memusage.c: Likewise.
9060         * malloc/memusagestat.c: Likewise.
9061         * nis/nis_defaults.c: Likewise.
9062         * nis/nis_hash.c: Likewise.
9063         * nis/nis_print.c: Likewise.
9064         * nis/nis_xdr.c: Likewise.
9065         * nscd/connections.c: Likewise.
9066         * nscd/hstcache.c: Likewise.
9067         * nscd/nscd_gethst_r.c: Likewise.
9068         * nscd/nscd_getserv_r.c: Likewise.
9069         * nscd/nscd_helper.c: Likewise.
9070         * nscd/servicescache.c: Likewise.
9071         * nss/makedb.c: Likewise.
9072         * nss/nss_db/db-XXX.c: Likewise.
9073         * nss/nss_db/db-initgroups.c: Likewise.
9074         * nss/nss_db/db-netgrp.c: Likewise.
9075         * nss/nss_files/files-network.c: Likewise.
9076         * nss/nss_files/files-parse.c: Likewise.
9077         * posix/bug-regex5.c: Likewise.
9078         * posix/fnmatch_loop.c: Likewise.
9079         * posix/regcomp.c: Likewise.
9080         * posix/regexec.c: Likewise.
9081         * posix/tst-rfc3484-2.c: Likewise.
9082         * posix/tst-rfc3484-3.c: Likewise.
9083         * posix/tst-rfc3484.c: Likewise.
9084         * resolv/nss_dns/dns-canon.c: Likewise.
9085         * resolv/nss_dns/dns-network.c: Likewise.
9086         * resolv/res_init.c: Likewise.
9087         * resolv/res_mkquery.c: Likewise.
9088         * resolv/tst-aton.c: Likewise.
9089         * stdlib/cxa_atexit.c: Likewise.
9090         * stdlib/cxa_finalize.c: Likewise.
9091         * stdlib/gen-fpioconst.c: Likewise.
9092         * stdlib/strtol_l.c: Likewise.
9093         * string/tst-endian.c: Likewise.
9094         * sunrpc/auth_des.c: Likewise.
9095         * sunrpc/clnt_udp.c: Likewise.
9096         * sunrpc/rtime.c: Likewise.
9097         * sunrpc/svcauth_des.c: Likewise.
9098         * sunrpc/xdr.c: Likewise.
9099         * sunrpc/xdr_intXX_t.c: Likewise.
9100         * sunrpc/xdr_rec.c: Likewise.
9101         * sysdeps/generic/ldconfig.h: Likewise.
9102         * sysdeps/generic/ldsodefs.h: Likewise.
9103         * sysdeps/generic/memusage.h: Likewise.
9104         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9105         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9106         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9108         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9110         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9111         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9112         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9113         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9114         * sysdeps/posix/getaddrinfo.c: Likewise.
9115         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9116         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9117         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9118         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9119         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9120         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9121         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9122         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9123         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9124         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9125         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9126         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9127         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9128         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9129         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9130         * sysdeps/x86_64/dl-tls.h: Likewise.
9131         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9132         * time/alt_digit.c: Likewise.
9133         * time/era.c: Likewise.
9134         * wcsmbs/tst-c16c32-1.c: Likewise.
9135
9136 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9137
9138         * math/libm-test.inc (struct test_sincos_data): New type.
9139         (RUN_TEST_LOOP_sincos): New macro.
9140         (sincos_test_data): New variable.
9141         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9142
9143 2013-05-16  Richard Henderson  <rth@redhat.com>
9144
9145         * math/atest-exp2.c (LIMB64): New macro.
9146         (CONSTSZ): New macro.
9147         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9148         (hexdig): Move ...
9149         (print_mpn_fp): ... to function scope.
9150         (read_mpn_hex): Remove.
9151         (get_log2): Remove.
9152         (exp2_mpn): Use mp_log2.
9153         (main): Use mp_exp1.
9154
9155 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9156
9157         * math/libm-test.inc: Remove comment about not testing "inexact"
9158         exceptions.
9159         (INEXACT_EXCEPTION): New macro.
9160         (NO_INEXACT_EXCEPTION): Likewise.
9161         (INVALID_EXCEPTION_OK): Update value.
9162         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9163         (OVERFLOW_EXCEPTION_OK): Likewise.
9164         (UNDERFLOW_EXCEPTION_OK): Likewise.
9165         (IGNORE_ZERO_INF_SIGN): Likewise.
9166         (ERRNO_UNCHANGED): Likewise.
9167         (ERRNO_EDOM): Likewise.
9168         (ERRNO_ERANGE): Likewise.
9169         (test_exceptions): Handle testing "inexact" exceptions.
9170         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9171         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9172         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9173         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9174         INEXACT_EXCEPTION.
9175         (rint_towardzero_test_data): Likewise.
9176         (rint_downward_test_data): Likewise.
9177         (rint_upward_test_data): Likewise.
9178
9179         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9180         with OVERFLOW_EXCEPTION.
9181         (exp10_test_data): Likewise.
9182         (exp2_test_data): Likewise.
9183         (expm1_test_data): Likewise.
9184         (lgamma_test_data): Likewise.
9185         (pow_test_data): Likewise.
9186         (tgamma_test_data): Likewise.
9187         (yn_test_data): Remove duplicate test of overflow.
9188
9189         * math/libm-test.inc (struct test_cc_c_data): New type.
9190         (RUN_TEST_LOOP_cc_c): New macro.
9191         (cpow_test_data): New variable.
9192         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9193
9194         * math/libm-test.inc (struct test_f_L_data): New type.
9195         (RUN_TEST_LOOP_f_L): New macro.
9196         (llrint_test_data): New variable.
9197         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9198         (llrint_tonearest_test_data): New variable.
9199         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9200         (llrint_towardzero_test_data): New variable.
9201         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9202         (llrint_downward_test_data): New variable.
9203         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9204         (llrint_upward_test_data): New variable.
9205         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9206         (llround_test_data): New variable.
9207         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9208
9209 2013-05-13  Peter Collingbourne  <pcc@google.com>
9210
9211         * math/atest-exp2.c (get_log2): Remove const attribute.
9212
9213 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9214
9215         * math/libm-test.inc (struct test_f_l_data): New type.
9216         (RUN_TEST_LOOP_f_l): New macro.
9217         (lrint_test_data): New variable.
9218         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9219         (lrint_tonearest_test_data): New variable.
9220         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9221         (lrint_towardzero_test_data): New variable.
9222         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9223         (lrint_downward_test_data): New variable.
9224         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9225         (lrint_upward_test_data): New variable.
9226         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9227         (lround_test_data): New variable.
9228         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9229
9230 2013-05-15  Peter Collingbourne  <pcc@google.com>
9231
9232         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9233         (EXTRACT_WORDS64) Use where appropriate.
9234         (INSERT_WORDS64) Likewise.
9235
9236         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9237         constraints with x constraints.
9238         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9239
9240         * malloc/obstack.c (_obstack_compat): Add initializer.
9241
9242 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9243
9244         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9245         si_trapno and add si_addr_lsb to _sifields.sigfault.
9246         (si_trapno): Remove macro.
9247         (si_addr_lsb): Define new macro.
9248         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9249
9250 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9251
9252         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9253         instead of TEST_f_l.
9254         (llrint_test_tonearest): Likewise.
9255         (llrint_test_towardzero): Likewise.
9256         (llrint_test_downward): Likewise.
9257         (llrint_test_upward): Likewise.
9258         (llround_test): Likewise.
9259
9260         * math/libm-test.inc (struct test_f_i_data): Add comment.
9261         (RUN_TEST_LOOP_f_b): New macro.
9262         (RUN_TEST_LOOP_f_b_tg): Likewise.
9263         (finite_test_data): New variable.
9264         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9265         (isfinite_test_data): New variable.
9266         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9267         (isinf_test_data): New variable.
9268         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9269         (isnan_test_data): New variable.
9270         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9271         (isnormal_test_data): New variable.
9272         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9273         (issignaling_test_data): New variable.
9274         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9275         (signbit_test_data): New variable.
9276         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9277
9278         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9279         with INVALID_EXCEPTION.
9280         (acosh_test_data): Likewise.
9281         (asin_test_data): Likewise.
9282         (atanh_test_data): Likewise.
9283         (fmod_test_data): Likewise.
9284         (log_test_data): Likewise.
9285         (log10_test_data): Likewise.
9286         (log2_test_data): Likewise.
9287         (pow_test_data): Likewise.
9288         (sqrt_test_data): Likewise.
9289         (y0_test_data): Likewise.
9290         (y1_test_data): Likewise.
9291         (yn_test_data): Likewise.
9292
9293         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9294         function contents.
9295
9296         * math/libm-test.inc (struct test_ff_i_data): New type.
9297         (RUN_TEST_LOOP_ff_i_tg): New macro.
9298         (isgreater_test_data): New variable.
9299         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9300         (isgreaterequal_test_data): New variable.
9301         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9302         (isless_test_data): New variable.
9303         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9304         (islessequal_test_data): New variable.
9305         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9306         (islessgreater_test_data): New variable.
9307         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9308         (isunordered_test_data): New variable.
9309         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9310
9311 2013-05-14  David S. Miller  <davem@davemloft.net>
9312
9313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9314
9315 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9316
9317         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9318
9319         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9320         extra_test to int.
9321         (struct test_f_i_data): Change type of max_ulp to int.
9322
9323         * math/libm-test.inc (test_ffI_f1_data): New type.
9324         (RUN_TEST_LOOP_ffI_f1): New macro.
9325         (remquo_test_data): New variable.
9326         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9327
9328         * setjmp/tst-setjmp-fp.c: New file.
9329         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9330         (link-libm): New variable.
9331         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9332
9333         * math/libm-test.inc (struct test_f_i_data): New type.
9334         (RUN_TEST_LOOP_f_i): New macro.
9335         (RUN_TEST_LOOP_f_i_tg): Likewise.
9336         (fpclassify_test_data): New variable.
9337         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9338         (ilogb_test_data): New variable.
9339         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9340
9341         * math/libm-test.inc (scalbln_test): Correct function name in END
9342         call.
9343
9344         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9345         (RUN_TEST_LOOP_fI_f1): New macro.
9346         (frexp_test_data): New variable.
9347         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9348
9349         * math/libm-test.inc (struct test_fF_f1_data): New type.
9350         (RUN_TEST_LOOP_fF_f1): New macro.
9351         (modf_test_data): New variable.
9352         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9353
9354         * math/libm-test.inc (struct test_f_f1_data): New type.
9355         (RUN_TEST_LOOP_f_f1): New macro.
9356         (gamma_test_data): New variable.
9357         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9358         (lgamma_test_data): New variable.
9359         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9360
9361 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9362
9363         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9364         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9365         (main): Comment "tls" pseudo-hwcap.
9366
9367 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9368
9369         * math/libm-test.inc (struct test_fl_f_data): New type.
9370         (RUN_TEST_LOOP_fl_f): New variable.
9371         (scalbln_test_data): New variable.
9372         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9373
9374         * math/libm-test.inc (struct test_fi_f_data): New type.
9375         (RUN_TEST_LOOP_fi_f): New macro.
9376         (ldexp_test_data): New variable.
9377         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9378         (scalbn_test_data): New variable.
9379         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9380
9381         * math/libm-test.inc (struct test_c_f_data): New type.
9382         (RUN_TEST_LOOP_c_f): New macro.
9383         (cabs_test_data): New variable.
9384         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9385         (carg_test_data): New variable.
9386         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9387         (cimag_test_data): New variable.
9388         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9389         (creal_test_data): New variable.
9390         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9391
9392         * math/libm-test.inc (struct test_if_f_data): New type.
9393         (RUN_TEST_LOOP_if_f): New macro.
9394         (jn_test_data): New variable.
9395         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9396         (yn_test_data): New variable.
9397         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9398
9399         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9400
9401 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9402
9403         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9404         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9405
9406 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9407
9408         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9409         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9410         (bench-deps): Add bench-timing.h.
9411         * benchtests-bench-skeleton.c: Include bench-timing.h.
9412         (main): Use TIMING_* macros instead of clock_gettime.
9413         * benchtests/bench-timing.h: New file.
9414
9415         [BZ #14582]
9416         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9417         Renamed from _LIB_VERSION.
9418         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9419
9420 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9421
9422         * math/libm-test.inc (struct test_fff_f_data): New type.
9423         (RUN_TEST_LOOP_fff_f): New macro.
9424         (fma_test_data): New variable.
9425         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9426         (fma_towardzero_test_data): New variable.
9427         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9428         (fma_downward_test_data): New variable.
9429         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9430         (fma_upward_test_data): New variable.
9431         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9432
9433         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9434         (struct test_c_c_data): New type.
9435         (RUN_TEST_LOOP_c_c): New macro.
9436         (cacos_test_data): New variable.
9437         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9438         (cacosh_test_data): New variable.
9439         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9440         (casin_test_data): New variable.
9441         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9442         (casinh_test_data): New variable.
9443         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9444         (catan_test_data): New variable.
9445         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9446         (catanh_test_data): New variable.
9447         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9448         (ccos_test_data): New variable.
9449         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9450         (ccosh_test_data): New variable.
9451         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9452         (cexp_test_data): New variable.
9453         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9454         (clog_test_data): New variable.
9455         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9456         (clog10_test_data): New variable.
9457         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9458         (conj_test_data): New variable.
9459         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9460         (cproj_test_data): New variable.
9461         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9462         (csin_test_data): New variable.
9463         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9464         (csinh_test_data): New variable.
9465         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9466         (csqrt_test_data): New variable.
9467         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9468         (ctan_test_data): New variable.
9469         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9470         (ctan_tonearest_test_data): New variable.
9471         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9472         (ctan_towardzero_test_data): New variable.
9473         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9474         (ctan_downward_test_data): New variable.
9475         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9476         (ctan_upward_test_data): New variable.
9477         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9478         (ctanh_test_data): New variable.
9479         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9480         (ctanh_tonearest_test_data): New variable.
9481         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9482         (ctanh_towardzero_test_data): New variable.
9483         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9484         (ctanh_downward_test_data): New variable.
9485         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9486         (ctanh_upward_test_data): New variable.
9487         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9488         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9489         of BUILD_COMPLEX.
9490
9491         * math/libm-test.inc (struct test_ff_f_data): New type.
9492         (struct test_ff_f_data_nexttoward): Likewise.
9493         (RUN_TEST_LOOP_2_f): New macro.
9494         (RUN_TEST_LOOP_ff_f): Likewise.
9495         (atan2_test_data): New variable.
9496         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9497         (copysign_test_data): New variable.
9498         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9499         (fdim_test_data): New variable.
9500         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9501         (fmax_test_data): New variable.
9502         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9503         (fmin_test_data): New variable.
9504         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9505         (fmod_test_data): New variable.
9506         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9507         (hypot_test_data): New variable.
9508         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9509         (nextafter_test_data): New variable.
9510         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9511         (nexttoward_test_data): New variable.
9512         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9513         (pow_test_data): New variable.
9514         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9515         (pow_tonearest_test_data): New variable.
9516         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9517         (pow_towardzero_test_data): New variable.
9518         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9519         (pow_downward_test_data): New variable.
9520         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9521         (pow_upward_test_data): New variable.
9522         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9523         (remainder_test_data): New variable.
9524         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9525         (scalb_test_data): New variable.
9526         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9527         * sysdeps/i386/fpu/libm-test-ulps: Update.
9528
9529 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9530
9531         * math/libm-test.inc (fma_test): Use max_value instead of local
9532         variable fltmax.
9533         (nextafter_test): Likewise.
9534
9535         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9536         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9537         (acos_downward_test_data): New variable.
9538         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9539         (acos_upward_test_data): New variable.
9540         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9541         (acosh_test_data): New variable.
9542         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9543         (asin_test_data): New variable.
9544         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9545         (asin_tonearest_test_data): New variable.
9546         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9547         (asin_towardzero_test_data): New variable.
9548         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9549         (asin_downward_test_data): New variable.
9550         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9551         (asin_upward_test_data): New variable.
9552         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9553         (asinh_test_data): New variable.
9554         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9555         (atan_test_data): New variable.
9556         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9557         (atanh_test_data): New variable.
9558         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9559         (cbrt_test_data): New variable.
9560         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9561         (ceil_test_data): New variable.
9562         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9563         (cos_test_data): New variable.
9564         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9565         (cos_tonearest_test_data): New variable.
9566         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9567         (cos_towardzero_test_data): New variable.
9568         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9569         (cos_downward_test_data): New variable.
9570         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9571         (cos_upward_test_data): New variable.
9572         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9573         (cosh_test_data): New variable.
9574         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9575         (cosh_tonearest_test_data): New variable.
9576         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9577         (cosh_towardzero_test_data): New variable.
9578         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9579         (cosh_downward_test_data): New variable.
9580         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9581         (cosh_upward_test_data): New variable.
9582         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9583         (erf_test_data): New variable.
9584         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9585         (erfc_test_data): New variable.
9586         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9587         (exp_test_data): New variable.
9588         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9589         (exp_tonearest_test_data): New variable.
9590         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9591         (exp_towardzero_test_data): New variable.
9592         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9593         (exp_downward_test_data): New variable.
9594         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9595         (exp_upward_test_data): New variable.
9596         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9597         (exp10_test_data): New variable.
9598         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9599         (exp2_test_data): New variable.
9600         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9601         (expm1_test_data): New variable.
9602         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9603         (fabs_test_data): New variable.
9604         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9605         (floor_test_data): New variable.
9606         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9607         (j0_test_data): New variable.
9608         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9609         (j1_test_data): New variable.
9610         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9611         (log_test_data): New variable.
9612         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9613         (log10_test_data): New variable.
9614         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9615         (log1p_test_data): New variable.
9616         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9617         (log2_test_data): New variable.
9618         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9619         (logb_test_data): New variable.
9620         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9621         (logb_downward_test_data): New variable.
9622         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9623         (nearbyint_test_data): New variable.
9624         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9625         (rint_test_data): New variable.
9626         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9627         (rint_tonearest_test_data): New variable.
9628         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9629         (rint_towardzero_test_data): New variable.
9630         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9631         (rint_downward_test_data): New variable.
9632         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9633         (rint_upward_test_data): New variable.
9634         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9635         (round_test_data): New variable.
9636         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9637         (sin_test_data): New variable.
9638         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9639         (sin_tonearest_test_data): New variable.
9640         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9641         (sin_towardzero_test_data): New variable.
9642         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9643         (sin_downward_test_data): New variable.
9644         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9645         (sin_upward_test_data): New variable.
9646         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9647         (sinh_test_data): New variable.
9648         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9649         (sinh_tonearest_test_data): New variable.
9650         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9651         (sinh_towardzero_test_data): New variable.
9652         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9653         (sinh_downward_test_data): New variable.
9654         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9655         (sinh_upward_test_data): New variable.
9656         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9657         (sqrt_test_data): New variable.
9658         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9659         (tan_test_data): New variable.
9660         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9661         (tan_tonearest_test_data): New variable.
9662         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9663         (tan_towardzero_test_data): New variable.
9664         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9665         (tan_downward_test_data): New variable.
9666         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9667         (tan_upward_test_data): New variable.
9668         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9669         (tanh_test_data): New variable.
9670         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9671         (tgamma_test_data): New variable.
9672         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9673         (trunc_test_data): New variable.
9674         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9675         (y0_test_data): New variable.
9676         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9677         (y1_test_data): New variable.
9678         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9679         (significand_test_data): New variable.
9680         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9681
9682 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9683
9684         [BZ #12387]
9685         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9686
9687 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9688
9689         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9690
9691 2013-05-10  Andreas Jaeger  <aj@suse.de>
9692
9693         [BZ #15448]
9694         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9695         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9696
9697 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9698
9699         * math/gen-libm-test.pl (adjust_arg): New function.
9700         (special_functions): Handle generating output in both functions
9701         and arrays.
9702         (parse_args): Likewise.
9703         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9704         $in_func argument to parse_args.
9705         * math/libm-test.inc (struct test_f_f_data): New type.
9706         (IF_ROUND_INIT_): New macro.
9707         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9708         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9709         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9710         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9711         (ROUND_RESTORE_): Likewise.
9712         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9713         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9714         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9715         (ROUND_RESTORE_FE_UPWARD): Likewise.
9716         (RUN_TEST_LOOP_f_f): New macro.
9717         (acos_test_data): New variable.
9718         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9719         (acos_tonearest_test_data): New variable.
9720         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9721
9722 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9723
9724         * benchtests/bench-skeleton.c (startup): Fix coding style.
9725
9726 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9727
9728         [BZ #6809]
9729         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9730         negative infinity argument.
9731         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9732         negative infinity argument.
9733         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9734         negative infinity argument.
9735         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9736         domain errors.
9737
9738 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9739
9740         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9741         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9742         * iconv/iconv_prog.c (main): Likewise.
9743         * locale/programs/charmap-dir.c (charmap_readdir)
9744         (fopen_uncompressed): Likewise.
9745         * locale/programs/locfile.c (siblings_uncached)
9746         (write_locale_data): Use lstat64 instead of lstat.
9747         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9748         stat.
9749
9750 2013-05-10  Andreas Jaeger  <aj@suse.de>
9751
9752         [BZ #15395]
9753         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9754         localization.
9755         Include <locale.h>.
9756
9757 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9758
9759         * elf/dl-close.c (_dl_close_worker): Add comments.
9760
9761 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9762
9763         [BZ #15359]
9764         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9765         high part of pi/2.
9766         (__ieee754_rem_pio2l): Update comments.
9767
9768         [BZ #15429]
9769         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9770         high part of pi/2.
9771         (__ieee754_rem_pio2l): Update comments.
9772
9773         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9774         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9775
9776         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9777         M_PI_4l.
9778
9779         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9780         (M_PI_34_LOG10El): Likewise.
9781         (M_PI2_LOG10El): Likewise.
9782         (M_PI4_LOG10El): Likewise.
9783         (M_PI_LOG10El): Likewise.
9784
9785 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9786
9787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9788
9789 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9790
9791         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9792         (MINUS_ZERO_INIT): Likewise.
9793         (PLUS_INFTY_INIT): Likewise.
9794         (MINUS_INFTY_INIT): Likewise.
9795         (QNAN_VALUE_INIT): Likewise.
9796         (MAX_VALUE_INIT): Likewise.
9797         (MIN_VALUE_INIT): Likewise.
9798         (MIN_SUBNORM_VALUE_INIT): Likewise.
9799         (plus_zero): Initialize with PLUS_ZERO_INIT.
9800         (minus_zero): Initialize with MINUS_ZERO_INIT.
9801         (plus_infty): Initialize with PLUS_INFTY_INIT.
9802         (minus_infty): Initialize with MINUS_INFTY_INIT.
9803         (qnan_value): Initialize with QNAN_VALUE_INIT.
9804         (max_value): Initialize with MAX_VALUE_INIT.
9805         (min_value): Initialize with MIN_VALUE_INIT.
9806         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9807
9808         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9809         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9810         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9811         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9812
9813         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9814         (RUN_TEST_2_f): Likewise.
9815         (RUN_TEST_ff_f): Likewise.
9816         (RUN_TEST_fi_f): Likewise.
9817         (RUN_TEST_fl_f): Likewise.
9818         (RUN_TEST_fff_f): Likewise.
9819         (RUN_TEST_c_f): Likewise.
9820         (RUN_TEST_f_f1): Likewise.
9821         (RUN_TEST_fF_f1): Likewise.
9822         (RUN_TEST_fI_f1): Likewise.
9823         (RUN_TEST_ffI_f1): Likewise.
9824         (RUN_TEST_c_c): Likewise.
9825         (RUN_TEST_cc_c): Likewise.
9826         (RUN_TEST_f_i): Likewise.
9827         (RUN_TEST_f_i_tg): Likewise.
9828         (RUN_TEST_ff_i_tg): Likewise.
9829         (RUN_TEST_f_b): Likewise.
9830         (RUN_TEST_f_b_tg): Likewise.
9831         (RUN_TEST_f_l): Likewise.
9832         (RUN_TEST_f_L): Likewise.
9833         (RUN_TEST_sincos): Likewise.
9834         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9835         whether to show exceptions.  Do not include ");\n" in return
9836         value.
9837         (special_functions): Output call to RUN_TEST_sincos instead of
9838         check_float calls.  Update calls to new_test.
9839         (parse_args): Output call to single RUN_TEST_* macro instead of
9840         check_* calls and other assignments.  Update calls to new_test.
9841
9842         [BZ #2546]
9843         [BZ #2560]
9844         [BZ #5159]
9845         [BZ #15426]
9846         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9847         input to result for tgamma overflow.
9848         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9849         (gamma_coeff): New variable.
9850         (NCOEFF): New macro.
9851         (gamma_positive): New function.
9852         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9853         underflow here.  Use gamma_positive instead of exp (lgamma) for
9854         other arguments.
9855         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9856         (gamma_coeff): New variable.
9857         (NCOEFF): New macro.
9858         (gammaf_positive): New function.
9859         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9860         underflow here.  Use gamma_positive instead of exp (lgamma) for
9861         other arguments.
9862         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9863         (gamma_coeff): New variable.
9864         (NCOEFF): New macro.
9865         (gammal_positive): New function.
9866         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9867         underflow here.  Use gamma_positive instead of exp (lgamma) for
9868         other arguments.
9869         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9870         (gamma_coeff): New variable.
9871         (NCOEFF): New macro.
9872         (gammal_positive): New function.
9873         (__ieee754_gammal_r): Handle positive infinity, overflow and
9874         underflow here.  Handle NaN the same as positive infinity.  Remove
9875         check x < 0xffffffff for negative integers.  Use gamma_positive
9876         instead of exp (lgamma) for other arguments.
9877         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9878         (gamma_coeff): New variable.
9879         (NCOEFF): New macro.
9880         (gammal_positive): New function.
9881         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9882         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9883         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9884         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9885         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9886         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9887         * sysdeps/generic/math_private.h (__gamma_productf): New
9888         prototype.
9889         (__gamma_product): Likewise.
9890         (__gamma_productl): Likewise.
9891         * math/Makefile (libm-calls): Add gamma_product.
9892         * math/libm-test.inc (tgamma_test): Add more tests.
9893         * sysdeps/i386/fpu/libm-test-ulps: Update.
9894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9895
9896 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9897
9898         * benchtests/bench-skeleton.c (main): Preheat CPU.
9899
9900 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9901
9902         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9903
9904 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9905
9906         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9907         and _dl_skip_args_internal.
9908
9909 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9910
9911         * manual/message.texi (Message Translation): Talk about users.
9912         Message to key mapping impacts design.
9913
9914 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9915
9916         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9917
9918         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9919
9920         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9921         * sysdeps/wordsize-64/glob64.c: ... here.
9922
9923         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9924         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9925         New macros.
9926
9927         * debug/getlogin_r_chk.c: Moved to ...
9928         * login/getlogin_r_chk.c: ... here.
9929         * debug/Makefile (routines): Move getlogin_r_chk to ...
9930         * login/Makefile (routines): ... here.
9931         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9932         * login/Versions (libc: GLIBC_2.4): ... here.
9933
9934         * io/poll.c (__poll): Renamed from poll.
9935         Add libc_hidden_def.
9936         (poll): Define as weak alias.
9937
9938         * debug/ptsname_r_chk.c: Moved to ...
9939         * login/ptsname_r_chk.c: ... here.
9940         * debug/Makefile (routines): Move ptsname_r_chk to ...
9941         * login/Makefile (routines): ... here.
9942         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9943         * login/Versions (libc: GLIBC_2.4): ... here.
9944
9945         * posix/getlogin.c: Moved to ...
9946         * login/getlogin.c: ... here.
9947         * posix/getlogin_r.c: Moved to ...
9948         * login/getlogin_r.c: ... here.
9949         * posix/getlogin_r.c: Moved to ...
9950         * login/getlogin_r.c: ... here.
9951         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9952         * login/Makefile (routines): ... here.
9953         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9954         * login/Versions (libc: GLIBC_2.0): ... here.
9955
9956         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9957         (setrlimit): Define as weak alias.
9958
9959         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9960         Call __ names for open, ftruncate, and close.
9961         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9962         (truncate): Define as weak alias.
9963
9964 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9965
9966         * math/gen-libm-test.pl (parse_args): Initialize x before each
9967         test of frexp, modf and remquo.
9968
9969         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9970         test signgam value.
9971
9972 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9973
9974         [BZ #15418]
9975         [BZ #15419]
9976         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9977         internal tests.
9978         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9979
9980 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9981
9982         * elf/dl-writev.h: New file.
9983         * elf/dl-misc.c: Include it.
9984         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9985         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9986
9987 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9988
9989         * math/libm-test.inc (noXFails): Remove variable.
9990         (noXPasses): Likewise.
9991         (BUILD_COMPLEX_INT): Remove macro.
9992         (print_screen): Remove xfail argument.
9993         (print_screen_max_error): Likewise.
9994         (update_stats): Likewise.
9995         (print_max_error): Likewise.  Update calls to other affected
9996         functions.
9997         (print_complex_max_error): Likewise.
9998         (test_single_exception): Update calls to print_screen.
9999         (test_single_errno): Likewise.
10000         (check_float_internal): Remove xfail argument.  Update calls to
10001         other affected functions.
10002         (check_float): Likewise.
10003         (check_complex): Likewise.
10004         (check_int): Likewise.
10005         (check_long): Likewise.
10006         (check_bool): Likewise.
10007         (check_longlong): Likewise.
10008         (main): Don't print noXFails and noXPasses.
10009         * math/gen-libm-test.pl (top level): Don't mention expected
10010         failure handling in comment.
10011         (new_test): Don't handle expected failures.
10012         (parse_args): Don't mention expected failure handling in comment.
10013         (generate_testfile): Don't handle expected failures.
10014         (parse_ulps): Likewise.
10015         (print_ulps_file): Likewise.
10016         (get_failure): Remove function.
10017         (output_test): Don't handle expected failures.
10018         * make/README.libm-test: Don't mention expected failure handling.
10019
10020         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10021         (minus_zero): Likewise.
10022         (plus_infty): Likewise.
10023         (minus_infty): Likewise.
10024         (qnan_value): Likewise.
10025         (max_value): Likewise.
10026         (min_value): Likewise.
10027         (min_subnorm_value): Likewise.
10028         (initialize): Do not initialize those variables dynamically.
10029
10030 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10031
10032         * io/open.c (__open_2): Moved to ...
10033         * io/open_2.c: ... this new file.
10034         * io/open64.c (__open64_2): Moved to ...
10035         * io/open64_2.c: ... this new file.
10036         * io/openat.c (__openat_2): Moved to ...
10037         * io/openat_2.c: ... this new file.
10038         * io/openat64.c (__openat64_2): Moved to ...
10039         * io/openat64_2.c: ... this new file.
10040         * io/Makefile (routines): Add them.
10041         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10042         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10043         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10044         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10045         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10046         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10047         (__openat64): Add hidden_ver.
10048         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10049         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10050
10051         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10052         Separately conditionalize setting of GLRO(dl_sysinfo) so
10053         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10054         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10055
10056 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10057
10058         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10059         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10060         definition.
10061         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10062         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10063         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10064         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10065         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10066
10067 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10068
10069         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10070         test signgam value.
10071
10072         * math/libm-test.inc (hypot_test): Do not use
10073         IGNORE_ZERO_INF_SIGN.
10074
10075 2013-05-03  Andreas Jaeger  <aj@suse.de>
10076
10077         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10078         Linux 3.9.
10079         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10080         (PF_MAX): Adjust for VSOCK change.
10081
10082 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10083
10084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10085
10086 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10087
10088         [BZ #15264]
10089         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10090         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10091         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10092
10093 2013-05-02  David S. Miller  <davem@davemloft.net>
10094
10095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10096
10097 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10098
10099         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10100
10101 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10102
10103         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10104
10105 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10106
10107         [BZ #14952]
10108         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10109         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10110         Use __attribute__ ((__gnu_inline__)).
10111         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10112         Don't use __attribute__ ((__gnu_inline__)).
10113
10114 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10115
10116         [BZ #15423]
10117         * math/s_catan.c (__catan): Handle small real or imaginary part of
10118         input specially to avoid spurious underflow.
10119         * math/s_catanf.c (__catanf): Likewise.
10120         * math/s_catanh.c (__catanh): Likewise.
10121         * math/s_catanhf.c (__catanhf): Likewise.
10122         * math/s_catanhl.c (__catanhl): Likewise.
10123         * math/s_catanl.c (__catanl): Likewise.
10124         * math/libm-test.inc (catan_test): Add more tests.
10125         (catanh_test): Likewise.
10126         * sysdeps/i386/fpu/libm-test-ulps: Update.
10127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10128
10129 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10130
10131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10132
10133 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10134
10135         [BZ #15416]
10136         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10137         accurately for denominator in atan2.
10138         * math/s_catanf.c (__catanf): Likewise.
10139         * math/s_catanh.c (__catanh): Likewise.
10140         * math/s_catanhf.c (__catanhf): Likewise.
10141         * math/s_catanhl.c (__catanhl): Likewise.
10142         * math/s_catanl.c (__catanl): Likewise.
10143         * math/libm-test.inc (catan_test): Add more tests.
10144         (catanh_test): Likewise.
10145         * sysdeps/i386/fpu/libm-test-ulps: Update.
10146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147
10148 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10149
10150         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10151
10152         * benchtests/Makefile (bench): Remove slow benchmarks.
10153         * benchtests/atan-inputs: Add slow benchmark inputs.
10154         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10155         (BENCH_FUNC): Accept variant offset.
10156         (VARIANT): Define.
10157         * benchtests/bench-skeleton.c (main): Run benchmark for each
10158         variant.
10159         * benchtests/cos-inputs: Add slow benchmark inputs.
10160         * benchtests/exp-inputs: Likewise.
10161         * benchtests/pow-inputs: Likewise.
10162         * benchtests/sin-inputs: Likewise.
10163         * benchtests/slowatan-inputs: Remove.
10164         * benchtests/slowatan.c: Remove.
10165         * benchtests/slowcos-inputs: Remove.
10166         * benchtests/slowcos.c: Remove.
10167         * benchtests/slowexp-inputs: Remove.
10168         * benchtests/slowexp.c: Remove.
10169         * benchtests/slowpow-inputs: Remove.
10170         * benchtests/slowpow.c: Remove.
10171         * benchtests/slowsin-inputs: Remove.
10172         * benchtests/slowsin.c: Remove.
10173         * benchtests/slowtan-inputs: Remove.
10174         * benchtests/slowtan.c: Remove.
10175         * benchtests/tan-inputs: Add slow benchmark inputs.
10176         * scripts/bench.pl: Parse comments and directives.
10177
10178         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10179         in CPPFLAGS.
10180         ($(objpfx)bench-%.c): Remove *-ITER.
10181         * benchtests/bench-modf.c: Remove definition of ITER.
10182         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10183         (main): Loop for DURATION seconds instead of fixed number of
10184         iterations.
10185         * scripts/bench.pl: Don't expect iterations in parameters.
10186
10187 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10188
10189         * io/fchdir.c (__fchdir): Renamed from fchdir.
10190         (fchdir): Define as weak alias.
10191
10192 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10193
10194         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10195         (ERRNO_EDOM): Likewise.
10196         (ERRNO_ERANGE): Likewise.
10197         (noErrnoTests): New variable.
10198         (init_max_error): Set errno to 0.
10199         (test_single_errno): New function.
10200         (test_errno): Likewise.
10201         (check_float_internal): Call test_errno.  Set errno to 0.
10202         (check_complex): Refer to errno tests in comment.
10203         (check_int): Call test_errno.  Set errno to 0.
10204         (check_long): Likewise.
10205         (check_bool): Likewise.
10206         (check_longlong): Likewise.
10207         (cos_test): Use ERRNO_* flags for errno tests instead of
10208         check_int.
10209         (expm1_test): Likewise.
10210         (fmod_test): Likewise.
10211         (ilogb_test): Likewise.
10212         (lgamma_test): Likewise.
10213         (pow_test): Likewise.
10214         (remainder_test): Likewise.
10215         (sin_test): Likewise.
10216         (tan_test): Likewise.
10217         (yn_test): Likewise.
10218         (initialize): Set errno to 0.
10219         (main): Print number of errno tests.
10220         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10221
10222 2013-04-29  Andreas Jaeger  <aj@suse.de>
10223
10224         [BZ #15084]
10225         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10226         and RES_USEVC.
10227
10228         [BZ #15085]
10229         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10230         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10231         unimplemented.
10232
10233         [BZ #15380]
10234         * stdlib/random.c (__initstate): Return NULL if
10235         __initstate fails.
10236
10237         [BZ #15086]
10238         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10239         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10240         RES_SNGLKUPREOP.
10241
10242 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10243
10244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10245
10246 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10247
10248         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10249         of individual tests.
10250         (casin_test): Likewise.
10251         (casinh_test): Likewise.
10252
10253 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10254
10255         [BZ #15409]
10256         * math/s_catan.c (__catan): Handle arguments with large real or
10257         imaginary part separately without squaring.
10258         * math/s_catanf.c (__catanf): Likewise.
10259         * math/s_catanh.c (__catanh): Likewise.
10260         * math/s_catanhf.c (__catanhf): Likewise.
10261         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10262         and redefine.
10263         (__catanhl): Handle arguments with large real or imaginary part
10264         separately without squaring.
10265         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10266         and redefine.
10267         (__catanl): Handle arguments with large real or imaginary part
10268         separately without squaring.
10269         * math/libm-test.inc (catan_test): Add more tests.
10270         (catanh_test): Likewise.
10271         * sysdeps/i386/fpu/libm-test-ulps: Update.
10272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10273
10274 2013-04-27  Andreas Jaeger  <aj@suse.de>
10275
10276         [BZ #15007]
10277         * stdlib/stdlib.h: Update guards for qecvt.
10278         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10279         <stdlib.h>.
10280
10281 2013-04-27  Allan McRae  <allan@archlinux.org>
10282
10283         * sysdeps/i386/fpu/libm-test-ulps: Update.
10284
10285 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10286
10287         [BZ #15406]
10288         * math/s_catan.c: Include <float.h>.
10289         (__catan): Ensure underflow exception occurs for underflowed
10290         result.
10291         * math/s_catanf.c: Include <float.h>.
10292         (__catanf): Ensure underflow exception occurs for underflowed
10293         result.
10294         * math/s_catanh.c: Include <float.h>.
10295         (__catanh): Ensure underflow exception occurs for underflowed
10296         result.
10297         * math/s_catanhf.c: Include <float.h>.
10298         (__catanhf): Ensure underflow exception occurs for underflowed
10299         result.
10300         * math/s_catanhl.c: Include <float.h>.
10301         (__catanhl): Ensure underflow exception occurs for underflowed
10302         result.
10303         * math/s_catanl.c: Include <float.h>.
10304         (__catanl): Ensure underflow exception occurs for underflowed
10305         result.
10306         * math/libm-test.inc (catan_test): Add more tests.
10307         (catanh_test): Likewise.
10308
10309         [BZ #15405]
10310         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10311         underflowed result.
10312         * math/s_ccoshf.c (__ccoshf): Likewise.
10313         * math/s_ccoshl.c (__ccoshl): Likewise.
10314         * math/s_csin.c (__csin): Likewise.
10315         * math/s_csinf.c (__csinf): Likewise.
10316         * math/s_csinh.c (__csinh): Likewise.
10317         * math/s_csinhf.c (__csinhf): Likewise.
10318         * math/s_csinhl.c (__csinhl): Likewise.
10319         * math/s_csinl.c (__csinl): Likewise.
10320         * math/libm-test.inc (ccos_test): Add more tests.
10321         (ccosh_test): Likewise.
10322         (csin_test): Likewise.
10323         (csinh_test): Likewise.
10324
10325 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10326
10327         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10328         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10329         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10330         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10331         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10332         powerpc/power5+/fpu folders.
10333         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10334
10335
10336 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10337
10338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10339
10340 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10341
10342         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10343         additions to variable.
10344         [$(config-machine) = x86_64] (modules-names): Likewise.
10345         ($(objpfx)tst-audit3): Remove dependency.
10346         ($(objpfx)tst-audit3.out): Likewise.
10347         ($(objpfx)tst-audit4): Likewise.
10348         ($(objpfx)tst-audit4.out): Likewise.
10349         ($(objpfx)tst-audit5): Likewise.
10350         ($(objpfx)tst-audit5.out): Likewise.
10351         ($(objpfx)tst-audit6): Likewise.
10352         ($(objpfx)tst-audit6.out): Likewise.
10353         ($(objpfx)tst-audit7): Likewise.
10354         ($(objpfx)tst-audit7.out): Likewise.
10355         (tst-audit3-ENV): Remove variable.
10356         (tst-audit4-ENV): Likewise.
10357         (tst-audit5-ENV): Likewise.
10358         (tst-audit6-ENV): Likewise.
10359         (tst-audit7-ENV): Likewise.
10360         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10361         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10362         addition to variable.
10363         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10364         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10365         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10366         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10367         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10368         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10369         tst-audit3, tst-audit4 and tst-audit5.
10370         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10371         tst-audit6 and tst-audit7.
10372         [$(subdir) = elf] (modules-names): Add audit modules for those
10373         tests.
10374         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10375         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10376         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10377         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10378         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10379         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10380         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10381         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10382         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10383         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10384         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10385         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10386         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10387         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10388         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10389         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10390         Likewise.
10391         [$(subdir) = elf && $(config-cflags-avx) = yes]
10392         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10393         [$(subdir) = elf && $(config-cflags-avx) = yes]
10394         (CFLAGS-tst-auditmod4a.c): Likewise.
10395         [$(subdir) = elf && $(config-cflags-avx) = yes]
10396         (CFLAGS-tst-auditmod4b.c): Likewise.
10397         [$(subdir) = elf && $(config-cflags-avx) = yes]
10398         (CFLAGS-tst-auditmod6b.c): Likewise.
10399         [$(subdir) = elf && $(config-cflags-avx) = yes]
10400         (CFLAGS-tst-auditmod6c.c): Likewise.
10401         [$(subdir) = elf && $(config-cflags-avx) = yes]
10402         (CFLAGS-tst-auditmod7b.c): Likewise.
10403         * elf/tst-audit3.c: Move to ...
10404         * sysdeps/x86_64/tst-audit3.c: ... here.
10405         * elf/tst-audit4.c: Move to ...
10406         * sysdeps/x86_64/tst-audit4.c: ... here.
10407         * elf/tst-audit5.c: Move to ...
10408         * sysdeps/x86_64/tst-audit5.c: ... here.
10409         * elf/tst-audit6.c: Move to ...
10410         * sysdeps/x86_64/tst-audit6.c: ... here.
10411         * elf/tst-audit7.c: Move to ...
10412         * sysdeps/x86_64/tst-audit7.c: ... here.
10413         * elf/tst-auditmod3a.c: Move to ...
10414         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10415         * elf/tst-auditmod3b.c: Move to ...
10416         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10417         * elf/tst-auditmod4a.c: Move to ...
10418         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10419         * elf/tst-auditmod4b.c: Move to ...
10420         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10421         * elf/tst-auditmod5a.c: Move to ...
10422         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10423         * elf/tst-auditmod5b.c: Move to ...
10424         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10425         * elf/tst-auditmod6a.c: Move to ...
10426         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10427         * elf/tst-auditmod6b.c: Move to ...
10428         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10429         * elf/tst-auditmod6c.c: Move to ...
10430         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10431         * elf/tst-auditmod7a.c: Move to ...
10432         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10433         * elf/tst-auditmod7b.c: Move to ...
10434         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10435
10436 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10437
10438         [BZ #15366]
10439         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10440         define unconditionally.
10441         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10442         define unconditionally.
10443         (INT8_C, INT16_C, etc.): Likewise.
10444
10445 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10446
10447         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10448         __ehdr_start with hidden visibility.
10449
10450         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10451
10452 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10453
10454         * math/libm-test.inc (cos_test): Use accurate hex constants.
10455         (sincost_test): Likewise.
10456
10457 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10458
10459         * math/libm-test.inc (catan_test): Add more tests.
10460         (catanh_test): Likewise.
10461
10462         * math/s_catanf.c (__catanf): Use suffixed floating-point
10463         constants.
10464         * math/s_catanhf.c (__catanhf): Likewise.
10465         * math/s_catanhl.c (__catanhl): Likewise.
10466         * math/s_catanl.c (__catanl): Likewise.
10467
10468         [BZ #15394]
10469         * math/s_catan.c (__catan): Calculate imaginary part of result
10470         with log1p not log unless computing log of number close to 0.
10471         * math/s_catanf.c (__catanf): Likewise.
10472         * math/s_catanl.c (__catanl): Likewise.
10473         * math/s_catanh.c (__catanh): Calculate real part of result with
10474         log1p not log unless computing log of number close to 0.
10475         * math/s_catanhf.c (__catanhf): Likewise.
10476         * math/s_catanhl.c (__catanhl): Likewise.
10477         * math/libm-test.inc (catan_test): Add more tests.
10478         (catanh_test): Likewise.
10479         * sysdeps/i386/fpu/libm-test-ulps: Update.
10480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10481
10482 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10483
10484         * benchtests/Makefile: Mention files in which fast and slow
10485         paths of math functions are implemented.
10486
10487 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10488
10489         * sysdeps/posix/timespec_get.c: New file.
10490
10491 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10492
10493         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10494         POWER.
10495         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10496         for POWER.
10497         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10498         powerpc/power5/fpu folders.
10499         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10500         * benchtests/Makefile: Add modf testcase.
10501         * benchtests/bench-modf.c: New file: Benchmark test for mo
10502
10503 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10504
10505         [BZ #14888]
10506         * time/Makefile (tests): Add tst-strptime-whitespace.
10507         * time/strptime_l.c (get_number): Use ISSPACE.
10508         (__strptime_internal): Likewise.
10509         * time/tst-strptime-whitespace.c: New test case.
10510
10511 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10512
10513         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10514         member.
10515         (_nss_files_init): Set it here.
10516
10517 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10518
10519         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10520         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10521         unsigned.
10522
10523 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10524
10525         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10526
10527 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10528
10529         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10530         size just once.
10531
10532 2013-04-21  David S. Miller  <davem@davemloft.net>
10533
10534         * po/ru.po: Update Russion translation from translation project.
10535
10536 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10537
10538         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10539         and setfsgid.
10540
10541 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10542
10543         * configure.in: Remove i386 configure warning. Remove i386 case.
10544         * configure: Regenerate.
10545         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10546         Add example to error message.
10547         * sysdeps/i386/configure: Regenerate.
10548
10549 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10550
10551         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10552         slowtan.
10553         * benchtests/cos-inputs: New file.
10554         * benchtests/slowcos-inputs: New file.
10555         * benchtests/slowcos.c: New file.
10556         * benchtests/slowtan-inputs: New file.
10557         * benchtests/slowtan.c: New file.
10558         * benchtests/tan-inputs: New file.
10559
10560 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10561
10562         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10563         considered kosher.
10564
10565 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10566
10567         * benchtests/Makefile: Include cppflags-iterator.mk to add
10568         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10569
10570         * Makefile.in (bench-clean): New target.
10571         * benchtests/Makefile (bench-clean): Likewise.
10572
10573 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10574
10575         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10576
10577 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10578
10579         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10580
10581 2013-04-15  Andreas Schwab  <schwab@suse.de>
10582
10583         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10584         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10585         * nscd/pwdcache.c (cache_addpw): Likewise.
10586         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10587         more than recsize.
10588
10589 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10590
10591         * benchtests/Makefile (bench): Write all output to
10592         bench-out.tmp together.
10593
10594 2013-04-15  Andreas Schwab  <schwab@suse.de>
10595
10596         * nscd/nscd.c (main): Don't fork again after closing files.
10597
10598 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10599
10600         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10601
10602         * benchtests/Rules (bench-deps): Collect dependencies into a
10603         single variable.  Add Makefile to dependencies.
10604         ($(objpfx)bench-%.c): Depend on bench-deps.
10605
10606 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10607             Xavier Roche  <roche+kml2@exalead.com>
10608
10609         [BZ #15361]
10610         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10611         just that it's a file descriptor.
10612         * manual/llio.texi (Synchronizing AIO Operations): Update description
10613         for EBADF error from aio_fsync.
10614
10615 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10616
10617         * Rules (bench): Move target definition...
10618         * benchtests/Makefile: ... here.
10619
10620 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10621
10622         * math/libm-test.inc (cos_test): Fix PI/2 test.
10623         (sincos_test): Likewise.
10624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10625         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10626
10627 2013-04-11  Andreas Schwab  <schwab@suse.de>
10628
10629         [BZ #13988]
10630         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10631         accept exponent character only when digits were seen.
10632         * stdio-common/Makefile (tests): Add bug26.
10633         * stdio-common/bug26.c: New file.
10634
10635         [BZ #14293]
10636         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10637         non-freeable.
10638
10639 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10640
10641         * Makeconfig (rtld-prefix): Define built linker prefix.
10642         * Rules (run-bench): Use it.
10643         * math/Makefile (run-regen-ulps): Likewise.
10644
10645         * Rules (bench): Remove eval.
10646
10647 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10648             Roland McGrath  <roland@hack.frob.com>
10649             Ondrej Bilka  <neleai@seznam.cz>
10650
10651         [BZ #15346]
10652         * time/getdate.c: Include ctype.h and alloca.h.
10653         (__getdate_r): Trim leading and trailing spaces of input.
10654         * time/tst-getdate.c (tests): Add tests with leading and
10655         trailing spaces.
10656
10657 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10658
10659         [BZ #14280]
10660         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10661         when computing value.
10662
10663 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10664
10665         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10666         Use testrun.sh to run libm tests.
10667
10668         [BZ #15309]
10669         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10670
10671 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10672
10673         [BZ #15264]
10674         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10675
10676 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10677
10678         * Makefile.in (regen-ulps): New target.
10679         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10680         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10681         [ifneq (no,$(PERL)] (regen-ulps): New target.
10682         [ifeq (no,$(PERL)] (regen-ulps): New target.
10683         * math/libm-test.inc (ulps_file_name): Define.
10684         (output_dir): New variable.
10685         (options): Add "output-dir" option.
10686         (parse_opt): Handle 'o' case.
10687         (main): If output_dir is non-NULL use it as a prefix
10688         otherwise use "".
10689         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10690
10691 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10692
10693         [BZ #10060, #10062]
10694         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10695         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10696         fail configure if __sync_val_compare_and_swap is not inlined.
10697         * sysdeps/i386/configure: Regenerate.
10698         * configure.in: Build for i686 when configured for i386.
10699         * configure: Regenerate.
10700         * README: Remove i386 reference.
10701
10702 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10703
10704         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10705         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10706
10707 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10708
10709         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10710         (lmsnanval): New variables.
10711         (F): Add conversion tests.
10712         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10713         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10714
10715         * stdio-common/tstdiomisc.c (F): Properly collect individual
10716         tests' results.
10717
10718         [BZ #14686, #15336]
10719         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10720         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10721         Instead, use input NaN values or generate a qNaN by arithmetic
10722         operation.  Also fix bugs to comply with the standard.
10723         * math/libm-test.inc (remainder_test): Add more tests.
10724
10725         [BZ #15335, #15342]
10726         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10727         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10728         input NaN values or generate a qNaN by arithmetic operation.
10729
10730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10731         unreachable code.
10732
10733         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10734         definitions.
10735
10736 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10737
10738         [BZ #14478]
10739         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10740         underflowed result.
10741         * math/s_cexpf.c (__cexpf): Likewise.
10742         * math/s_cexpl.c (__cexpl): Likewise.
10743         * math/libm-test.inc (cexp_test): Add more tests.
10744
10745 2013-04-03  Andreas Schwab  <schwab@suse.de>
10746
10747         [BZ #15330]
10748         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10749         order arrays from heap if bigger than alloca cutoff.
10750
10751 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10752
10753         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10754         (SNAN_TESTS_double): Refer to GCC PR56831.
10755         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10756         GCC PR56828.
10757
10758 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10759
10760         * Rules (bench): Move bench.out after the run is complete.
10761
10762         * Rules (bench): Echo currently running benchmark.
10763
10764         * benchtests/Makefile (bench): Add atan and slowatan.
10765         * benchtests/atan-inputs: New file.
10766         * benchtests/slowatan-inputs: New file.
10767         * benchtests/slowatan.c: New file.
10768
10769         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10771         its value.
10772
10773         [BZ #15305]
10774         * sysdeps/unix/sysv/linux/kernel-features.h
10775         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10776         __ASSUME_XFS_RESTRICTED_CHOWN.
10777         * sysdeps/unix/sysv/linux/pathconf.c
10778         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10779         Save and restore errno.
10780
10781 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10782
10783         [BZ #15327]
10784         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10785         arguments using __kernel_casinh.
10786         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10787         arguments using __kernel_casinhf.
10788         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10789         arguments using __kernel_casinhl.
10790         * math/libm-test.inc (cacosh_test): Add more tests.
10791         * sysdeps/i386/fpu/libm-test-ulps: Update.
10792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10793
10794 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10795
10796         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10798
10799         * bench/Makefile (bench): Add sin and slowsin.
10800         * benchtests/sin-inputs: New file.
10801         * benchtests/slowsin-inputs: New file.
10802         * benchtests/slowsin.c: New file.
10803
10804         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10805         (bench): Add slowexp and slowpow.
10806         (exp-ITER): Increase iterations.
10807         (pow-ITER): Likewise.
10808         * benchtests/exp-inputs: Change input.
10809         * benchtests/pow-inputs: Likewise.
10810         * benchtests/slowexp-inputs: New file.
10811         * benchtests/slowexp.c: New file.
10812         * benchtests/slowpow-inputs: New file.
10813         * benchtests/slowpow.c: New file.
10814
10815 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10816
10817         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10818         instructions.
10819         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10820         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10821         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10822         * benchtests/Makefile: Add rint benchtest.
10823         * benchtests/rint-inputs: Input for rint benchtest.
10824
10825 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10826
10827         * Versions.def (libm): Add GLIBC_2.18.
10828         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10829         hidden libm prototypes.
10830         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10831         * math/Makefile (libm-calls): Add s_issignaling.
10832         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10833         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10834         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10835         declaration.
10836         * math/math.h [__USE_GNU] (issignaling): New macro.
10837         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10838         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10839         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10840         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10841         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10842         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10843         * manual/arith.texi (issignaling): New section.
10844         * manual/libm-err-tab.pl (@all_functions): Update comment.
10845         * math/gen-libm-test.pl (parse_args): Apply special handling for
10846         issignaling.
10847         * math/libm-test.inc (print_float, issignaling_test): New
10848         functions.
10849         (check_float_internal): Add issignaling checks.
10850         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10851         default definition.
10852         * sysdeps/powerpc/math-tests.h: New file.
10853         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10854         tests.
10855         * math/test-snan.c (TEST_FUNC): Likewise.
10856
10857 2013-03-30  David S. Miller  <davem@davemloft.net>
10858
10859         * po/de.po: Update from translation team.
10860
10861 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10862
10863         [BZ #10357]
10864         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10865         imaginary part less than 1.0 and real part less than 0.5
10866         specially.
10867         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10868         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10869         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10870         (cacos_test): Add more tests.
10871         (casin_test): Likewise.
10872         (casinh_test): Likewise.
10873         * sysdeps/i386/fpu/libm-test-ulps: Update.
10874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10875
10876 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10877
10878         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10879         ONE with its value.
10880
10881         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10882         (__pow_mp): Replace ONE and MONE with their values.
10883         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10885         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10886         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10887         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10888         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10889
10890         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10891
10892         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10893         (__pow_mp): Replace ZERO and MZERO with their values.
10894         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10896         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10898         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10899         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10900         (__sqr): Likewise.
10901
10902         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10903
10904         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10905
10906 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10907
10908         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10909         Declare with __attribute__ ((weak)).
10910         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10911         Call __call_tls_dtors only if it's not NULL.
10912
10913 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10914
10915         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10916         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10917         magic __ehdr_start linker symbol if it's defined.
10918         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10919         them up here if it was already done.
10920
10921         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10922         (_dl_aux_init): Use const in cast when setting it.
10923         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10924         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10925         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10926
10927         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10928         Declare them here.
10929         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10930         * csu/libc-tls.c: Nor here.
10931         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10932
10933         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10934         (__libc_message): Never call vsyslog.
10935
10936 2013-03-28  Alan Modra  <amodra@gmail.com>
10937
10938         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10939         Define as empty.
10940         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10941         Likewise.
10942
10943 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10944
10945         [BZ #15214]
10946         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10947         underflow.
10948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10949
10950 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10951
10952         [BZ #15304]
10953         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10954         Don't add gid passed as argument.
10955
10956         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10957
10958 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10959
10960         [BZ #15307]
10961         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10962         imaginary part between 1.0 and 1.5 and real part less than 0.5
10963         specially.
10964         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10965         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10966         * math/libm-test.inc (cacos_test): Add more tests.
10967         (casin_test): Likewise.
10968         (casinh_test): Likewise.
10969         * sysdeps/i386/fpu/libm-test-ulps: Update.
10970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971
10972 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10973
10974         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10975         constants.
10976         (norm): Likewise.
10977         (denorm): Likewise.
10978         (__dbl_mp): Likewise.
10979         (add_magnitudes): Likewise.
10980         (sub_magnitudes): Likewise.
10981         (__add): Likewise.
10982         (__sub): Likewise.
10983         (__mul): Likewise.
10984         (__sqr): Likewise.
10985         (__inv): Likewise.
10986         (__dvd): Likewise.
10987
10988         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10989         commented code.
10990         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10991         (__dubcos): Likewise.
10992         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10993         (__ieee754_acos): Likewise.
10994         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10995         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10996         (__exp1): Likewise.
10997         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10999         (log1): Likewise.
11000         (my_log2): Likewise.
11001         (checkint): Likewise.
11002         * sysdeps/ieee754/dbl-64/e_remainder.c
11003         (__ieee754_remainder): Likewise.
11004         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11005         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11006         (bsloww): Likewise.
11007         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11008
11009         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11010         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11011         MANTISSA_STORE_T to store computations on mantissa.  Use
11012         macros for rounding and division.
11013         (denorm): Likewise.
11014         (__dbl_mp): Likewise.
11015         (add_magnitudes): Likewise.
11016         (sub_magnitudes): Likewise.
11017         (__mul): Likewise.
11018         (__sqr): Likewise.
11019         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11020         powers of two in terms of TWOPOW macro.
11021         (mp_no): Make type of mantissa as MANTISSA_T.
11022         [!RADIXI]: Define RADIXI.
11023         [!TWO52]: Define TWO52.
11024         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11025
11026 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11027
11028         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11029         llroundl symbol when building for PPC32.
11030
11031 2013-03-24  Mark H Weaver  <mhw@netris.org>
11032
11033         * manual/arith.texi (Normalization Functions): Fix prototypes for
11034         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11035
11036 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11037
11038         [BZ #13889]
11039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11040         high value to check if expl overflow.
11041         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11042         to check for underflow and overflow.
11043         * math/libm-test.inc: Add exp test.
11044
11045 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11046
11047         [BZ #11120]
11048         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11049         with NOT_IN_libc.
11050
11051 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11052
11053         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11054         symbol.
11055
11056 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11057
11058         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11059         wrap blocks consisting of several statements.
11060
11061         * sysdeps/generic/math-tests.h: New file.
11062         * sysdeps/i386/fpu/math-tests.h: Likewise.
11063         * math/test-snan.c: Include it.
11064         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11065
11066 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11067
11068         [BZ #15285]
11069         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11070         (__ieee754_j0l): Do not improve calculations using cos of twice
11071         input for inputs above LDBL_MAX / 2.0L.
11072         (__ieee754_y0l): Likewise.
11073         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11074         (__ieee754_j1l): Do not improve calculations using cos of twice
11075         input for inputs above LDBL_MAX / 2.0L.
11076         (__ieee754_y1l): Likewise.
11077         * math/libm-test.inc (j0_test): Add another test.
11078         (j1_test): Likewise.
11079         (y0_test): Likewise.
11080         (y1_test): Likewise.
11081         * sysdeps/i386/fpu/libm-test-ulps: Update.
11082
11083 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11084
11085         * Rules ($(objpfx)bench-%.c): Include code from a C source
11086         file.
11087
11088 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11089
11090         [BZ #15287]
11091         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11092         imaginary part 1.0 and real part less than 0.5 specially.
11093         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11094         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11095         * math/libm-test.inc (cacos_test): Add more tests.
11096         (casin_test): Likewise.
11097         (casinh_test): Likewise.
11098         * sysdeps/i386/fpu/libm-test-ulps: Update.
11099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11100
11101 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11102
11103         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11104         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11105
11106 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11107
11108         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11109         * config.make.in (config-cflags-sse4): Remove variable.
11110         (config-cflags-avx): Likewise.
11111         (config-cflags-sse2avx): Likewise.
11112         (config-cflags-novzeroupper): Likewise.
11113         (config-asflags-i686): Likewise.
11114         (have-mfma4): Likewise.
11115         (have-as-vis3): Likewise.
11116         (MIG): Likewise.
11117         * configure.in (MIG): Do not AC_SUBST.
11118         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11119         (libc_cv_cc_sse4): Do not AC_SUBST.
11120         (libc_cv_cc_avx): Likewise.
11121         (libc_cv_cc_sse2avx): Likewise.
11122         (libc_cv_cc_novzeroupper): Likewise.
11123         (libc_cv_cc_fma4): Likewise.
11124         (libc_cv_as_i686): Likewise.
11125         (libc_cv_sparc_as_vis3): Likewise.
11126         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11127         LIBC_CONFIG_VAR.
11128         (config-asflags-i686): Likewise.
11129         (config-cflags-avx): Likewise.
11130         (config-cflags-sse2avx): Likewise.
11131         (have-mfma4): Likewise.
11132         (config-cflags-novzeroupper): Likewise.
11133         * sysdeps/mach/configure.in (MIG): Likewise.
11134         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11135         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11136         LIBC_CONFIG_VAR.
11137         (config-cflags-avx): Likewise.
11138         (config-cflags-sse2avx): Likewise.
11139         (have-mfma4): Likewise.
11140         (config-cflags-novzeroupper): Likewise.
11141         * configure: Regenerated.
11142         * sysdeps/i386/configure: Likewise.
11143         * sysdeps/mach/configure: Likewise.
11144         * sysdeps/sparc/configure: Likewise.
11145         * sysdeps/x86_64/configure: Likewise.
11146
11147 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11148
11149         [BZ #14812]
11150         * locale/programs/localedef.c (options): Put N_ translation marker
11151         on argument names, not just descriptions.
11152
11153 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11154
11155         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11156
11157 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11158
11159         [BZ #14176]
11160         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11161
11162 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11163
11164         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11165         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11166         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11167         [!BEFORE_ABORT] (before_abort): New function.
11168         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11169         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11170         (writev_for_fatal): New function.
11171         (WRITEV_FOR_FATAL): New macro; call that.
11172         (backtrace_and_maps): New function.
11173         (BEFORE_ABORT): New macro; call that.
11174         (struct str_list): Type removed.
11175         (__libc_message, __libc_fatal): Functions removed.
11176         Include <sysdeps/posix/libc_fatal.c> instead.
11177
11178 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11179
11180         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11181         constants.
11182         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11183         double constants.
11184
11185 2013-03-19  Andreas Schwab  <schwab@suse.de>
11186
11187         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11188         * sysdeps/gnu/configure: Regenerate.
11189
11190         * configure.in: Substitute libc_cv_rtlddir.
11191         * configure: Regenerate.
11192         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11193         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11194         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11195         * elf/Makefile (install-others, CFLAGS-interp.c)
11196         (ldso_install, common-ldd-rewrite): Likewise.
11197         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11198         $(inst_slibdir)/$(rtld-installed-name).
11199         * scripts/rellns-sh: Add -p option.
11200         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11201         for source.
11202
11203 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11204
11205         * manual/nptl.texi: Renamed to ...
11206         * manual/threads.texi: ... this.
11207         * manual/Makefile (chapters): Update.
11208
11209 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11210
11211         [BZ #14812]
11212         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11213         on argument names, not just descriptions.
11214         * malloc/memusagestat.c (options): Likewise.
11215         * nss/getent.c (options): Likewise.
11216
11217 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11218
11219         [BZ #14812]
11220         * iconv/iconv_prog.c (options): Put N_ translation marker
11221         on argument names, not just descriptions.
11222         * iconv/iconvconfig.c (options): Likewise.
11223
11224 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11225
11226         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11227         implementation which is faster on all x86_64 architectures.
11228         Tested on AMD, Intel Nehalem, SNB, IVB.
11229         * sysdeps/x86_64/strnlen.S: Likewise.
11230
11231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11232         Remove all multiarch strlen and strnlen versions.
11233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11234         Remove strlen and strnlen related parts.
11235
11236         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11237         Inline strlen part.
11238         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11239
11240         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11241         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11242         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11243         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11244         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11245         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11246
11247 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11248
11249         * manual/memory.texi (Malloc Tunable Parameters):
11250         Sort parameters alphabetically. Add comments for missing entries.
11251
11252 2013-03-17  David S. Miller  <davem@davemloft.net>
11253
11254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11255
11256 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11257
11258         [BZ #15283]
11259         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11260         for arguments at most half maximum finite value.
11261         * math/libm-test.inc (j0_test): Add more tests.
11262         (j1_test): Likewise.
11263         (y0_test): Likewise.
11264         (y1_test): Likewise.
11265         * sysdeps/i386/fpu/libm-test-ulps: Update.
11266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11267
11268         [BZ #14155]
11269         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11270         1 / x and functions P and Q for arguments above 0x1p256L.
11271         (__ieee754_y0l): Likewise.
11272         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11273         (__ieee754_y1l): Likewise.
11274         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11275         (j1_test): Likewise.
11276         (y0_test): Likewise.
11277         (y1_test): Likewise.
11278
11279 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11280
11281         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11282         variable.
11283
11284 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11285
11286         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11287         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11288         zero since it's initialized to EXEC_PAGESIZE.
11289
11290         * sysdeps/unix/sysv/linux/ldsodefs.h
11291         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11292         * sysdeps/generic/ldsodefs.h: ... here.
11293
11294 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11295
11296         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11297
11298         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11299         math/test-snan.c.
11300         * math/test-snan.c: Renamed from
11301         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11302         * math/Makefile (tests): Add test-snan.
11303         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11304         test-powerpc-snan.
11305
11306         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11307         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11308         functions.
11309         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11310         __builtin_nan family of functions.
11311         * math/libm-test.inc (initialize): Initialize qnan_value with
11312         __builtin_nan family of functions.
11313         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11314         Remove variables.
11315         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11316         Remove functions.
11317         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11318         storage class.  Initialize qNaN_var and sNaN_var with
11319         __builtin_nan and __builtin_nans families of functions,
11320         respectively.
11321
11322         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11323         (sqrt_test): Remove duplicate test with qNaN input.
11324         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11325         (round_test, signbit_test, significand_test): Note missing +/-Inf
11326         as well as qNaN tests.
11327
11328         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11329         qNaN_var.  Fix a few strings, too.
11330         * math/libm-test.inc (nan_value): Rename to qnan_value.
11331         * math/gen-libm-test.pl (%beautify): Adjust to that.
11332         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11333         * math/test-misc.c (main): Likewise.
11334         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11335         to __qnan_bytes, and __qnan_union, respectively.
11336         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11337         Likewise.
11338         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11339         and lqnanval, respectively.
11340         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11341         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11342         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11343         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11344
11345         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11346         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11347         doubles.
11348
11349         * math/test-misc.c (main): Fix copy'n'pastos.
11350         * misc/tst-efgcvt.c (special): Likewise.
11351
11352         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11353         Remove declarations.
11354
11355 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11356
11357         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11358         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11359         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11360         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11361
11362 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11363
11364         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11365         macro to return vdso values correctly in IFUNC implementations.
11366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11367         Optimization by using IFUNC.
11368
11369 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11370             Richard Henderson  <rth@redhat.com>
11371             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11372
11373         * Makefile.in (bench): New target.
11374         * NEWS: Mention the benchmark framework.
11375         * Rules (bench): Likewise.
11376         (binaries-bench): Generate binaries for functions to
11377         benchmark.
11378         * benchtests/Makefile: New makefile for benchmark tests.
11379         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11380         programs.
11381         * benchtests/exp-inputs: New input file for EXP function.
11382         * benchtests/pow-inputs: New input file for POW function.
11383         * scripts/bench.pl: New script to generate source files for
11384         benchmark programs.
11385
11386 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11387
11388         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11389         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11390         computations on mantissa.  Use macros for rounding and
11391         division.
11392         (denorm): Likewise.
11393         (__dbl_mp): Likewise.
11394         (add_magnitudes): Likewise.
11395         (sub_magnitudes): Likewise.
11396         (__mul): Likewise.
11397         (__sqr): Likewise.
11398         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11399         powers of two in terms of TWOPOW macro.
11400         (mp_no): Make type of mantissa as MANTISSA_T.
11401         [!RADIXI]: Define RADIXI.
11402         [!TWO52]: Define TWO52.
11403         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11404
11405         * manual/nptl.texi (cindex): Modify threads to pthreads.
11406
11407 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11408
11409         * sysdeps/x86_64/preconfigure: Regenerated.
11410
11411 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11412
11413         [BZ #14155]
11414         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11415         0x1p28 and above.
11416         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11417         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11418         0x1p28 and above.
11419         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11420         * math/libm-test.inc (j0_test): Do not allow one spurious
11421         underflow exception.
11422         (y1_test): Likewise.
11423
11424 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11425
11426         * manual/Makefile (chapters): Add nptl.
11427         * manual/debug.texi (Debugging Support): Add link to Threads
11428         chapter.
11429         * manual/nptl.texi: New file.
11430
11431         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11432
11433 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11434
11435         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11436         for non-NULL pointer before the memory validity test. Pointed
11437         out by Holger Brunck <holger.brunck@keymile.com>.
11438
11439 2013-03-13  Andreas Schwab  <schwab@suse.de>
11440
11441         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11442         instead of .os.
11443
11444 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11445
11446         * timezone/zic.c: Update from tzcode 2013b.
11447
11448 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11449
11450         * manual/install.texi (Configuring and compiling):
11451         Mention i686 and i586.
11452         * INSTALL: Regenerate.
11453
11454 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11455
11456         * sysdeps/init_array/elf-init.c: New file.
11457         * csu/elf-init.c
11458         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11459         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11460
11461         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11462         __gmon_start__ as global, but as static with a .preinit_array pointer.
11463         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11464         * sysdeps/init_array/crti.S: New file, empty except for comments.
11465         * sysdeps/init_array/crtn.S: Likewise.
11466
11467 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11468
11469         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11470         definining bcopy.
11471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11472         Remove Prefer_SSE_for_memop.
11473         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11474         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11475         HAS_PREFER_SSE_FOR_MEMOP.
11476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11477         memset-x86-64.
11478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11479         Remove bzero, memset ifunc support.
11480         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11481         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11482         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11483         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11484
11485 2013-03-11  Andreas Schwab  <schwab@suse.de>
11486
11487         [BZ #15234]
11488         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11489         by SHLIB_COMPAT.
11490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11491         (GLIBC_2.16): Remove pthread_atfork.
11492
11493 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11494
11495         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11496         (ptestcases.h): Likewise.
11497
11498 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11499
11500         * Makeconfig ($(common-objpfx)config.status): Depend on
11501         sysdeps/*/preconfigure{,.in} too.
11502
11503 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11504
11505         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11506         (__free_hook): Use void * instead of __malloc_ptr_t.
11507         (__malloc_hook): Likewise.
11508         (__realloc_hook): Likewise.
11509         (__memalign_hook): Likewise.
11510         (__after_morecore_hook): Likewise.
11511         * malloc/arena.c (save_malloc_hook): Likewise.
11512         (save_free_hook): Likewise.
11513         * malloc/hooks.c (malloc_hook_ini): Likewise.
11514         (realloc_hook_ini): Likewise.
11515         (memalign_hook_ini): Likewise.
11516         * malloc/malloc.c (malloc_hook_ini): Likewise.
11517         (realloc_hook_ini): Likewise.
11518         (memalign_hook_ini): Likewise.
11519         (__free_hook): Likewise.
11520         (__malloc_hook): Likewise.
11521         (__realloc_hook): Likewise.
11522         (__memalign_hook): Likewise.
11523         (__libc_malloc): Likewise.
11524         (__libc_free): Likewise.
11525         (__libc_realloc): Likewise.
11526         (__libc_memalign): Likewise.
11527         (__libc_valloc): Likewise.
11528         (__libc_pvalloc): Likewise.
11529         (__libc_calloc): Likewise.
11530         (__posix_memalign): Likewise.
11531         * malloc/morecore.c (__sbrk): Likewise.
11532         (__default_morecore): Likewise.
11533
11534         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11535
11536         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11537         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11538         __malloc_ptrdiff_t.
11539
11540         * malloc/malloc.h (__malloc_size_t): Remove macro.
11541         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11542         __malloc_size_t.
11543         (old_memalign_hook): Likewise.
11544         (old_realloc_hook): Likewise.
11545         (struct hdr): Likewise.
11546         (flood): Likewise.
11547         (mallochook): Likewise.
11548         (memalignhook): Likewise.
11549         (reallochook): Likewise.
11550         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11551         (tr_old_realloc_hook): Likewise.
11552         (tr_old_memalign_hook): Likewise.
11553         (tr_mallochook): Likewise.
11554         (tr_reallochook): Likewise.
11555         (tr_memalignhook): Likewise.
11556
11557 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11558
11559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11560         default_ldbl_pack and using as default implementation.
11561         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11562         implementation.
11563         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11564         redundant definition.
11565         (ldbl_insert_mantissa): Likewise.
11566         (ldbl_canonicalize): Likewise.
11567         (ldbl_nearbyint): Likewise.
11568         (ldbl_pack): Rename to ldbl_pack_ppc.
11569         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11570         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11571         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11572
11573 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11574
11575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11576         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11577         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11578         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11580         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11581         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11582         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11583
11584 2013-03-07  Andreas Jaeger  <aj@suse.de>
11585
11586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11587         bits/mman-linux.h.
11588
11589 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11590
11591         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11592         Include mpa.h and declare __MPEXP.
11593         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11594         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11595         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11596         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11597         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11598         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11599         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11600
11601         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11602         (__slowpow): Use long double EXPL and LOGL functions to
11603         compute POW.
11604         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11605         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11606         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11607         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11608         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11609         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11610
11611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11612         intermediate variable to calculate exponent.
11613         (__sqr): Likewise.
11614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11615         Likewise.
11616         (__sqr): Likewise.
11617
11618         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11619         [!NO__SQR]: Define __sqr.
11620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11621         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11622         sysdeps/ieee754/dbl-64/mpa.c.
11623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11624
11625         [BZ #12723]
11626         * posix/Makefile (tests): Add tst-pathconf.
11627         * posix/tst-pathconf.c: New test case.
11628         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11629         _PC_PIPE_BUF.
11630         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11631
11632 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11633
11634         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11635
11636 2013-03-06  Andreas Jaeger  <aj@suse.de>
11637
11638         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11639         definition via __MAP_ANONYMOUS.
11640
11641         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11642         it's not part of Linux headers.
11643
11644         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11645         (MAP_HUGE_MASK): Define.
11646
11647         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11648         Define.
11649         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11650         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11651         Define.
11652         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11653         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11654         Define.
11655         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11657         Define.
11658         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11659
11660         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11661         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11662         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11663         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11664         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11665         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11666
11667         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11668         Handle f2fs.
11669
11670         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11671         Handle f2fs and efivarfs.
11672
11673         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11674         f2fs.
11675
11676         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11677         (EFIVARFS_MAGIC): Add.
11678         (F2FS_LINK_MAX): Add.
11679
11680 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11681
11682         * stdio-common/vfprintf.c: Replace __builtin_expect with
11683         __glibc_unlikely.
11684
11685 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11686
11687         [BZ #13550]
11688         * sysdeps/generic/bp-sym.h: Remove file.
11689         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11690         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11691         <bp-sym.h> and <bp-asm.h>.
11692         (__longjmp): Don't use BP_SYM.
11693         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11694         and <bp-asm.h>.
11695         (memcpy): Don't use BP_SYM.
11696         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11697         <bp-sym.h> and <bp-asm.h>.
11698         (memcpy): Don't use BP_SYM.
11699         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11700         <bp-asm.h>.
11701         (memcpy): Don't use BP_SYM.
11702         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11703         <bp-asm.h>.
11704         (memset): Don't use BP_SYM.
11705         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11706         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11707         (__bzero): Don't use BP_SYM.
11708         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11709         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11710         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11711         <bp-sym.h> and <bp-asm.h>.
11712         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11713         pointers.
11714         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11715         <bp-sym.h> and <bp-asm.h>.
11716         (memcpy): Don't use BP_SYM.
11717         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11718         <bp-sym.h> and <bp-asm.h>.
11719         (memset): Don't use BP_SYM.
11720         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11721         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11722         (__bzero): Don't use BP_SYM.
11723         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11724         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11725         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11726         <bp-sym.h> and <bp-asm.h>.
11727         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11728         pointers.
11729         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11730         <bp-sym.h> and <bp-asm.h>.
11731         (memcpy): Don't use BP_SYM.
11732         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11733         <bp-sym.h> and <bp-asm.h>.
11734         (memset): Don't use BP_SYM.
11735         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11736         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11737         (__bzero): Don't use BP_SYM.
11738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11740         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11741         <bp-sym.h> and <bp-asm.h>.
11742         (__memchr): Don't use BP_SYM.
11743         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11744         <bp-sym.h> and <bp-asm.h>.
11745         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11746         pointers.
11747         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11748         <bp-sym.h> and <bp-asm.h>.
11749         (memcpy): Don't use BP_SYM.
11750         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11751         <bp-sym.h> and <bp-asm.h>.
11752         (__mempcpy): Don't use BP_SYM.
11753         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11754         <bp-sym.h> and <bp-asm.h>.
11755         (__memrchr): Don't use BP_SYM.
11756         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11757         <bp-sym.h> and <bp-asm.h>.
11758         (memset): Don't use BP_SYM.
11759         (__bzero): Likewise.
11760         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11761         <bp-sym.h> and <bp-asm.h>.
11762         (__rawmemchr): Don't use BP_SYM.
11763         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11764         <bp-sym.h> and <bp-asm.h>.
11765         (__STRCMP): Don't use BP_SYM.
11766         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11767         <bp-sym.h> and <bp-asm.h>.
11768         (strchr): Don't use BP_SYM.
11769         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11770         <bp-sym.h> and <bp-asm.h>.
11771         (__strchrnul): Don't use BP_SYM.
11772         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11773         <bp-sym.h> and <bp-asm.h>.
11774         (strlen): Don't use BP_SYM.
11775         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11776         <bp-sym.h> and <bp-asm.h>.
11777         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11778         pointers.
11779         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11780         <bp-sym.h> and <bp-asm.h>.
11781         (__strnlen): Don't use BP_SYM.
11782         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11783         <bp-sym.h> and <bp-asm.h>.
11784         (__GI__setjmp): Don't use BP_SYM.
11785         (_setjmp): Likewise.
11786         (__sigsetjmp): Likewise.
11787         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11788         (L(start_addresses)): Don't use BP_SYM.
11789         (_start): Likewise.
11790         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11791         <bp-asm.h>.
11792         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11793         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11794         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11795         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11796         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11797         <bp-asm.h>.
11798         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11799         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11800         about bounded pointers.
11801         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11802         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11803         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11804         <bp-asm.h>.
11805         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11806         about bounded pointers.  Remove GKM FIXME comments.
11807         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11808         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11809         <bp-asm.h>.
11810         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11811         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11812         Remove GKM FIXME comments.
11813         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11814         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11815         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11816         <bp-asm.h>.
11817         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11818         about bounded pointers.  Remove GKM FIXME comment.
11819         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11820         and <bp-asm.h>.
11821         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11822         pointers.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11824         <bp-sym.h> and <bp-asm.h>.
11825         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11827         <bp-sym.h> and <bp-asm.h>.
11828         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11829         comment.
11830
11831 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11832
11833         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11834         call free(NULL).
11835
11836 2013-03-05  David S. Miller  <davem@davemloft.net>
11837
11838         * po/es.po: Update from translation team.
11839
11840 2013-03-05  Andreas Jaeger  <aj@suse.de>
11841
11842         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11843         <bits/mman-linux.h>.
11844         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11845         is fine.
11846         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11847         <bits/mman-linux.h> to end of file.
11848         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11849         is fine.
11850         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11851         <bits/mman-linux.h> to end of file.
11852         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11853         is fine.
11854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11855         <bits/mman-linux.h> to end of file.
11856
11857         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11858         (MCL_CURRENT, MCL_FUTURE): Define here.
11859
11860 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11861
11862         [BZ #15232]
11863         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11864         attribute_hidden.
11865         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11866
11867 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11868
11869         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11870         fourth parameter needed for rt_sigprocmask syscall.
11871         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11872         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11873         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11874         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11875         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11876         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11877
11878 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11879
11880         [BZ #13550]
11881         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11882         comment about bounded pointers.
11883         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11884         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11885
11886 2013-03-04  Andreas Jaeger  <aj@suse.de>
11887
11888         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11889         common definitions.
11890
11891         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11892         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11893         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11894         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11895         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11896         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11897
11898 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11899
11900         [BZ #15055]
11901         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11902         __ieee754_sqrl instead of __sqrl.
11903
11904 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11905
11906         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11907         * sysdeps/powerpc/fpu_control.h: ... here.
11908         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11909         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11910         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11911         * sysdeps/powerpc/bits/mathinline.h: ... here.
11912
11913 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11914
11915         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11916         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11917         to just [NEED_DL_SYSINFO_DSO].
11918         * elf/dl-support.c: Likewise.
11919         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11920         * elf/rtld.c (dl_main): Likewise.
11921         * elf/setup-vdso.h (setup_vdso): Likewise.
11922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11923         * sysdeps/unix/sysv/linux/dl-sysdep.c
11924         (_dl_discover_osversion): Likewise.
11925
11926 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11927
11928         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11929         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11930
11931 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11932
11933         * NEWS: Mention libm performance improvements and non-x86 PI
11934         futex support.
11935
11936         * csu/libc-start.c (__pthread_initialize_minimal): Change
11937         function arguments.
11938         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11939
11940 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11941
11942         [BZ #13550]
11943         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11944         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11945         <bp-sym.h> and <bp-asm.h>.
11946         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11947         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11948         and <bp-asm.h>.
11949         (memcpy): Don't use BP_SYM.
11950         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11951         <bp-asm.h>.
11952         (__mpn_add_n): Don't use BP_SYM.
11953         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11954         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11955         and <bp-asm.h>.
11956         (__mpn_addmul_1): Don't use BP_SYM.
11957         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11958         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11959         <bp-sym.h>.
11960         (_setjmp): Don't use BP_SYM.
11961         (__novmx_setjmp): Likewise.
11962         (__GI__setjmp): Likewise.
11963         (__vmx_setjmp): Likewise.
11964         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11965         <bp-sym.h>.
11966         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11967         (__bzero): Don't use BP_SYM.
11968         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11969         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11970         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11971         <bp-sym.h> and <bp-asm.h>.
11972         (memcpy): Don't use BP_SYM.
11973         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11974         <bp-sym.h> and <bp-asm.h>.
11975         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11976         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11977         <bp-sym.h> and <bp-asm.h>.
11978         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11979         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11980         <bp-asm.h>.
11981         (__mpn_lshift): Don't use BP_SYM.
11982         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11983         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11984         <bp-asm.h>.
11985         (memset): Don't use BP_SYM.
11986         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11987         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11988         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11989         <bp-asm.h>.
11990         (__mpn_mul_1): Don't use BP_SYM.
11991         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11992         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11993         <bp-sym.h> and <bp-asm.h>.
11994         (memcmp): Don't use BP_SYM.
11995         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11996         <bp-sym.h> and <bp-asm.h>.
11997         (memcpy): Don't use BP_SYM.
11998         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11999         <bp-sym.h> and <bp-asm.h>.
12000         (memset): Don't use BP_SYM.
12001         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12002         <bp-sym.h> and <bp-asm.h>.
12003         (strncmp): Don't use BP_SYM.
12004         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12005         <bp-sym.h> and <bp-asm.h>.
12006         (memcpy): Don't use BP_SYM.
12007         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12008         <bp-sym.h> and <bp-asm.h>.
12009         (memset): Don't use BP_SYM.
12010         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12011         <bp-sym.h> and <bp-asm.h>.
12012         (__memchr): Don't use BP_SYM.
12013         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12014         <bp-sym.h> and <bp-asm.h>.
12015         (memcmp): Don't use BP_SYM.
12016         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12017         <bp-sym.h> and <bp-asm.h>.
12018         (memcpy): Don't use BP_SYM.
12019         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12020         <bp-sym.h> and <bp-asm.h>.
12021         (__mempcpy): Don't use BP_SYM.
12022         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12023         <bp-sym.h> and <bp-asm.h>.
12024         (__memrchr): Don't use BP_SYM.
12025         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12026         <bp-sym.h> and <bp-asm.h>.
12027         (memset): Don't use BP_SYM.
12028         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12029         <bp-sym.h> and <bp-asm.h>.
12030         (__rawmemchr): Don't use BP_SYM.
12031         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12032         <bp-sym.h> and <bp-asm.h>.
12033         (__STRCMP): Don't use BP_SYM.
12034         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12035         <bp-sym.h> and <bp-asm.h>.
12036         (strchr): Don't use BP_SYM.
12037         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12038         <bp-sym.h> and <bp-asm.h>.
12039         (__strchrnul): Don't use BP_SYM.
12040         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12041         <bp-sym.h> and <bp-asm.h>.
12042         (strlen): Don't use BP_SYM.
12043         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12044         <bp-sym.h> and <bp-asm.h>.
12045         (strncmp): Don't use BP_SYM.
12046         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12047         <bp-sym.h> and <bp-asm.h>.
12048         (__strnlen): Don't use BP_SYM.
12049         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12050         <bp-asm.h>.
12051         (__mpn_rshift): Don't use BP_SYM.
12052         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12053         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12054         <bp-sym.h> and <bp-asm.h>.
12055         (__sigsetjmp): Don't use BP_SYM.
12056         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12057         (L(start_addresses)): Don't use BP_SYM.
12058         (_start): Likewise.
12059         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12060         <bp-asm.h>.
12061         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12062         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12063         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12064         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12065         <bp-asm.h>.
12066         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12067         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12068         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12069         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12070         <bp-asm.h>.
12071         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12072         comments.
12073         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12074         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12075         <bp-asm.h>.
12076         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12077         FIXME comments.
12078         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12079         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12080         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12081         <bp-asm.h>.
12082         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12083         comment.
12084         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12085         and <bp-asm.h>.
12086         (strncmp): Don't use BP_SYM,
12087         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12088         <bp-asm.h>.
12089         (__mpn_sub_n): Don't use BP_SYM.
12090         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12091         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12092         and <bp-asm.h>.
12093         (__mpn_submul_1): Don't use BP_SYM.
12094         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12096         <bp-sym.h> and <bp-asm.h>.
12097         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12099         <bp-sym.h> and <bp-asm.h>.
12100         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12101         comment.
12102
12103 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12104
12105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12106         Use ZK to minimize writes to Z.
12107         (sub_magnitudes): Simplify code a bit.
12108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12109         Use ZK to minimize writes to Z.
12110         (sub_magnitudes): Simplify code a bit.
12111
12112 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12113
12114         * csu/gmon-start.c: Add special exception to license text.
12115
12116 2013-02-27  Richard Henderson  <rth@redhat.com>
12117
12118         * scripts/config.guess: Update from config.git.
12119         * scripts/config.sub: Likewise.
12120
12121 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12122
12123         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12124
12125         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12126
12127         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12128
12129         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12130
12131         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12132
12133 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12134
12135         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12136         [$(build-shared = yes].
12137
12138 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12139
12140         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12141         (__mul): Reduce iterations for calculating mantissa.
12142
12143         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12144         MPTWO.
12145         (__mpranred): Likewise.
12146
12147         [BZ #15160]
12148         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12149         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12150
12151 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12152
12153         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12154         Define __attribute__.
12155
12156 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12157
12158         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12159         unused.
12160         * posix/regex_internal.h (__attribute): Remove.
12161         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12162         (re_string_context_at): Likewise.
12163         (bitset_not): Use __attribute__ and mark function as possibly
12164         unused.
12165         (bitset_merge): Likewise.
12166         (bitset_mask): Likewise.
12167         (re_string_char_size_at): Likewise.
12168         (re_string_wchar_at): Likewise.
12169         (re_string_elem_size_at): Likewise.
12170
12171 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12172
12173         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12174         code.
12175         (cc32): Likewise.
12176
12177         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12178         (__acr): Likewise.
12179         (__cpy): Likewise.
12180         (norm): Likewise.
12181         (denorm): Likewise.
12182         (__dbl_mp): Likewise.
12183         (add_magnitudes): Likewise.
12184         (sub_magnitudes): Likewise.
12185         (__mul): Likewise.
12186         (__inv): Likewise.
12187
12188         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12189         style.
12190
12191         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12192         style.
12193
12194         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12195         code.
12196
12197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12198         up changes with default code.
12199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12200         Likewise.
12201
12202 2013-02-24  Allan McRae  <allan@archlinux.org>
12203
12204         * manual/socket.texi (The Internet Namespace): Order menu items
12205         to match that in the file.
12206
12207         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12208         node listing of the info page menu.
12209
12210 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12211
12212         [BZ #13550]
12213         * sysdeps/i386/bp-asm.h: Remove file.
12214         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12215         (PARMS): Do not use macros from bp-asm.h.
12216         (S1): Likewise.
12217         (S2): Likewise.
12218         (SIZE): Likewise.
12219         (__mpn_add_n): Do not use BP_SYM
12220         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12221         "bp-asm.h".
12222         (PARMS): Do not use macros from bp-asm.h.
12223         (S1): Likewise.
12224         (SIZE): Likewise.
12225         (__mpn_addmul_1): Do not use BP_SYM
12226         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12227         "bp-asm.h".
12228         (PARMS): Do not use macros from bp-asm.h.
12229         (SIGMSK): Likewise.
12230         (_setjmp): Likewise.  Do not use BP_SYM.
12231         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12232         "bp-asm.h".
12233         (PARMS): Do not use macros from bp-asm.h.
12234         (SIGMSK): Likewise.
12235         (setjmp): Likewise.  Do not use BP_SYM.
12236         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12237         "bp-asm.h".
12238         (PARMS): Do not use macros from bp-asm.h.
12239         (__frexp): Do not use BP_SYM.
12240         (frexp): Likewise.
12241         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12242         "bp-asm.h".
12243         (PARMS): Do not use macros from bp-asm.h.
12244         (__frexpf): Do not use BP_SYM.
12245         (frexpf): Likewise.
12246         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12247         "bp-asm.h".
12248         (PARMS): Do not use macros from bp-asm.h.
12249         (__frexpl): Do not use BP_SYM.
12250         (frexpl): Likewise.
12251         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12252         "bp-asm.h".
12253         (PARMS): Do not use macros from bp-asm.h.
12254         (__remquo): Do not use BP_SYM.
12255         (remquo): Likewise.
12256         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12257         "bp-asm.h".
12258         (PARMS): Do not use macros from bp-asm.h.
12259         (__remquof): Do not use BP_SYM.
12260         (remquof): Likewise.
12261         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12262         "bp-asm.h".
12263         (PARMS): Do not use macros from bp-asm.h.
12264         (__remquol): Do not use BP_SYM.
12265         (remquol): Likewise.
12266         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12267         "bp-asm.h".
12268         (PARMS): Do not use macros from bp-asm.h.
12269         (DEST): Likewise.
12270         (SRC): Likewise.
12271         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12272         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12273         "bp-asm.h".
12274         (PARMS): Do not use macros from bp-asm.h.
12275         (strlen): Do not use BP_SYM.
12276         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12277         "bp-asm.h".
12278         (PARMS): Do not use macros from bp-asm.h.
12279         (S1): Likewise.
12280         (S2): Likewise.
12281         (SIZE): Likewise.
12282         (__mpn_add_n): Do not use BP_SYM.
12283         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12284         "bp-asm.h".
12285         (PARMS): Do not use macros from bp-asm.h.
12286         (S1): Likewise.
12287         (SIZE): Likewise.
12288         (__mpn_addmul_1): Do not use BP_SYM.
12289         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12290         weak_alias.
12291         (bzero): Likewise.
12292         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12293         "bp-asm.h".
12294         (PARMS): Do not use macros from bp-asm.h.
12295         (S): Likewise.
12296         (SIZE): Likewise.
12297         (__mpn_lshift): Do not use BP_SYM.
12298         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12299         "bp-asm.h".
12300         (PARMS): Do not use macros from bp-asm.h.
12301         (DEST): Likewise.
12302         (SRC): Likewise.
12303         (LEN): Likewise.
12304         (memcpy): Likewise.  Do not use BP_SYM.
12305         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12306         libc_hidden_def and weak_alias.
12307         (mempcpy): Do not use BP_SYM in weak_alias.
12308         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12309         "bp-asm.h".
12310         (PARMS): Do not use macros from bp-asm.h.
12311         (DEST): Likewise.
12312         (LEN): Likewise.
12313         [!BZERO_P] (CHR): Likewise.
12314         (memset): Likewise.  Do not use BP_SYM.
12315         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12316         "bp-asm.h".
12317         (PARMS): Do not use macros from bp-asm.h.
12318         (S1): Likewise.
12319         (SIZE): Likewise.
12320         (__mpn_mul_1): Do not use BP_SYM.
12321         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12322         "bp-asm.h".
12323         (PARMS): Do not use macros from bp-asm.h.
12324         (S): Likewise.
12325         (SIZE): Likewise.
12326         (__mpn_rshift): Do not use BP_SYM.
12327         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12328         "bp-asm.h".
12329         (PARMS): Do not use macros from bp-asm.h.
12330         (STR): Likewise.
12331         (CHR): Likewise.
12332         (strchr): Likewise.  Do not use BP_SYM.
12333         (index): Do not use BP_SYM in weak_alias.
12334         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12335         "bp-asm.h".
12336         (PARMS): Do not use macros from bp-asm.h.
12337         (DEST): Likewise.
12338         (SRC): Likewise.
12339         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12340         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12341         "bp-asm.h".
12342         (PARMS): Do not use macros from bp-asm.h.
12343         (strlen): Do not use BP_SYM.
12344         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12345         "bp-asm.h".
12346         (PARMS): Do not use macros from bp-asm.h.
12347         (S1): Likewise.
12348         (S2): Likewise.
12349         (SIZE): Likewise.
12350         (__mpn_sub_n): Do not use BP_SYM.
12351         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12352         "bp-asm.h".
12353         (PARMS): Do not use macros from bp-asm.h.
12354         (S1): Likewise.
12355         (SIZE): Likewise.
12356         (__mpn_submul_1): Do not use BP_SYM.
12357         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12358         "bp-asm.h".
12359         (PARMS): Do not use macros from bp-asm.h.
12360         (S1): Likewise.
12361         (S2): Likewise.
12362         (SIZE): Likewise.
12363         (__mpn_add_n): Do not use BP_SYM.
12364         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12365         weak_alias.
12366         (bzero): Likewise.
12367         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12368         "bp-asm.h".
12369         (PARMS): Do not use macros from bp-asm.h.
12370         (BLK2): Likewise.
12371         (LEN): Likewise.
12372         (memcmp): Do not use BP_SYM.
12373         (bcmp): Do not use BP_SYM in weak_alias.
12374         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12375         "bp-asm.h".
12376         (PARMS): Do not use macros from bp-asm.h.
12377         (DEST): Likewise.
12378         (SRC): Likewise.
12379         (LEN): Likewise.
12380         (memcpy): Likewise.  Do not use BP_SYM.
12381         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12382         "bp-asm.h".
12383         (PARMS): Do not use macros from bp-asm.h.
12384         (DEST): Likewise.
12385         (SRC): Likewise.
12386         (LEN): Likewise.
12387         (memmove): Likewise.  Do not use BP_SYM.
12388         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12389         "bp-asm.h".
12390         (PARMS): Do not use macros from bp-asm.h.
12391         (DEST): Likewise.
12392         (SRC): Likewise.
12393         (LEN): Likewise.
12394         (__mempcpy): Likewise.  Do not use BP_SYM.
12395         (mempcpy): Do not use BP_SYM in weak_alias.
12396         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12397         "bp-asm.h".
12398         (PARMS): Do not use macros from bp-asm.h.
12399         (DEST): Likewise.
12400         (LEN): Likewise.
12401         [!BZERO_P] (CHR): Likewise.
12402         (memset): Likewise.  Do not use BP_SYM.
12403         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12404         "bp-asm.h".
12405         (PARMS): Do not use macros from bp-asm.h.
12406         (STR2): Likewise.
12407         (strcmp): Do not use BP_SYM.
12408         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12409         "bp-asm.h".
12410         (PARMS): Do not use macros from bp-asm.h.
12411         (STR): Likewise.
12412         (DELIM): Likewise.
12413         [USE_AS_STRTOK_R] (SAVE): Likewise.
12414         (FUNCTION): Likewise.  Do not use BP_SYM.
12415         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12416         aliases.
12417         (strtok_r): Likewise.
12418         (__GI___strtok_r): Likewise.
12419         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12420         (PARMS): Do not use macros from bp-asm.h.
12421         (S): Likewise.
12422         (SIZE): Likewise.
12423         (__mpn_lshift): Do not use BP_SYM.
12424         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12425         (PARMS): Do not use macros from bp-asm.h.
12426         (STR): Likewise.
12427         (CHR): Likewise.
12428         (__memchr): Do not use BP_SYM.
12429         (memchr): Do not use BP_SYM in weak_alias.
12430         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12431         (PARMS): Do not use macros from bp-asm.h.
12432         (BLK2): Likewise.
12433         (LEN): Likewise.
12434         (memcmp): Do not use BP_SYM.
12435         (bcmp): Do not use BP_SYM in weak_alias.
12436         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12437         (PARMS): Do not use macros from bp-asm.h.
12438         (S1): Likewise.
12439         (SIZE): Likewise.
12440         (__mpn_mul_1): Do not use BP_SYM.
12441         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12442         "bp-asm.h".
12443         (PARMS): Do not use macros from bp-asm.h.
12444         (STR): Likewise.
12445         (CHR): Likewise.
12446         (__rawmemchr): Do not use BP_SYM.
12447         (rawmemchr): Do not use BP_SYM in weak_alias.
12448         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12449         (PARMS): Do not use macros from bp-asm.h.
12450         (S): Likewise.
12451         (SIZE): Likewise.
12452         (__mpn_rshift): Do not use BP_SYM.
12453         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12454         (PARMS): Do not use macros from bp-asm.h.
12455         (SIGMSK): Likewise.
12456         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12457         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12458         (_start): Do not use BP_SYM.
12459         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12460         (PARMS): Do not use macros from bp-asm.h.
12461         (DEST): Likewise.
12462         (SRC): Likewise.
12463         (__stpcpy): Likewise.  Do not use BP_SYM.
12464         (stpcpy): Do not use BP_SYM in weak_alias.
12465         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12466         "bp-asm.h".
12467         (PARMS): Do not use macros from bp-asm.h.
12468         (DEST): Likewise.
12469         (SRC): Likewise.
12470         (LEN): Likewise.
12471         (__stpncpy): Likewise.  Do not use BP_SYM.
12472         (stpncpy): Do not use BP_SYM in weak_alias.
12473         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12474         (PARMS): Do not use macros from bp-asm.h.
12475         (STR): Likewise.
12476         (CHR): Likewise.
12477         (strchr): Likewise.  Do not use BP_SYM.
12478         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12479         "bp-asm.h".
12480         (PARMS): Do not use macros from bp-asm.h.
12481         (STR): Likewise.
12482         (CHR): Likewise.
12483         (__strchrnul): Likewise.  Do not use BP_SYM.
12484         (strchrnul): Do not use BP_SYM in weak_alias.
12485         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12486         "bp-asm.h".
12487         (PARMS): Do not use macros from bp-asm.h.
12488         (STOP): Likewise.
12489         (strcspn): Do not use BP_SYM.
12490         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12491         "bp-asm.h".
12492         (PARMS): Do not use macros from bp-asm.h.
12493         (STR): Likewise.
12494         (STOP): Likewise.
12495         (strpbrk): Likewise.  Do not use BP_SYM.
12496         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12497         "bp-asm.h".
12498         (PARMS): Do not use macros from bp-asm.h.
12499         (STR): Likewise.
12500         (CHR): Likewise.
12501         (strrchr): Likewise.  Do not use BP_SYM.
12502         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12503         (PARMS): Do not use macros from bp-asm.h.
12504         (SKIP): Likewise.
12505         (strspn): Do not use BP_SYM.
12506         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12507         (PARMS): Do not use macros from bp-asm.h.
12508         (STR): Likewise.
12509         (DELIM): Likewise.
12510         (SAVE): Likewise.
12511         (FUNCTION): Likewise.  Do not use BP_SYM.
12512         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12513         aliases.
12514         (strtok_r): Likewise.
12515         (__GI___strtok_r): Likewise.
12516         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12517         (PARMS): Do not use macros from bp-asm.h.
12518         (S1): Likewise.
12519         (S2): Likewise.
12520         (SIZE): Likewise.
12521         (__mpn_sub_n): Do not use BP_SYM.
12522         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12523         "bp-asm.h".
12524         (PARMS): Do not use macros from bp-asm.h.
12525         (S1): Likewise.
12526         (SIZE): Likewise.
12527         (__mpn_submul_1): Do not use BP_SYM.
12528         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12529         <bp-sym.h>.
12530         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12531         and <bp-asm.h>.
12532         (PARMS): Do not use macros from bp-asm.h.
12533         (FLAGS): Likewise.
12534         (PTID): Likewise.
12535         (TLS): Likewise.
12536         (CTID): Likewise.
12537         (__clone): Do not use BP_SYM.
12538         (clone): Do not use BP_SYM in weak_alias.
12539         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12540         and <bp-asm.h>.
12541         (PARMS): Do not use macros from bp-asm.h.
12542         (LEN): Likewise.
12543         (__mmap64): Do not use BP_SYM.
12544         (mmap64): Do not use BP_SYM in weak_alias.
12545         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12546         <bp-sym.h> and <bp-asm.h>.
12547         (PARMS): Do not use macros from bp-asm.h.
12548         (__posix_fadvise64_l64): Do not use BP_SYM.
12549         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12550         (PARMS): Do not use macros from bp-asm.h.
12551         (NSOPS): Likewise.
12552         (semtimedop): Do not use BP_SYM.
12553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12554         and <bp-asm.h>.
12555
12556 2013-02-21  Allan McRae  <allan@archlinux.org>
12557
12558         * manual/message.texi (Charset conversion in gettext):
12559         Move @end statement to beginning of line.
12560
12561 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12562
12563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12564         static.
12565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12566         Likewise.
12567
12568         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12569         (denorm): Likewise.
12570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12572
12573 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12574
12575         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12576         tail-call to the resolved function if pltexit isn't needed.
12577
12578 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12579
12580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12581         or Y being zero as being unlikely.
12582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12583         Likewise.
12584
12585 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12586
12587         * manual/nss.texi (System Databases and Name Service Switch):
12588         Remove frobnicate @pxref.
12589
12590 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12591
12592         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12593         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12594
12595 2013-02-20  Petr Machata  <pmachata@redhat.com>
12596
12597         * elf/elf.h (R_ARM_TARGET1): New macro.
12598         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12599         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12600         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12601         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12602         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12603         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12604         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12605         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12606         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12607         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12608         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12609         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12610         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12611         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12612         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12613         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12614         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12615         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12616         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12617         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12618         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12619         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12620         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12621         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12622         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12623         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12624         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12625         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12626         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12627         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12628         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12629         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12630         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12631         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12632         (R_ARM_THM_GOT_BREL12): Likewise.
12633         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12634         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12635         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12636         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12637         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12638         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12639         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12640         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12641         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12642
12643 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12644
12645         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12646         __attribute_used__ to __attribute__ ((unused)).
12647
12648 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12649
12650         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12651         powerpc mpa.c.
12652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12653         comment formatting.
12654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12655
12656 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12657
12658         [BZ #13550]
12659         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12660         Remove macro.
12661         (ENTER): Remove both macro definitions.
12662         (LEAVE): Likewise.
12663         (CHECK_BOUNDS_LOW): Likewise.
12664         (CHECK_BOUNDS_HIGH): Likewise.
12665         (CHECK_BOUNDS_BOTH): Likewise.
12666         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12667         (RETURN_BOUNDED_POINTER): Likewise.
12668         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12669         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12670         (POP_ERRNO_LOCATION_RETURN): Likewise.
12671         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12672         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12673         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12674         macros.
12675         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12676         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12677         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12678         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12679         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12680         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12681         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12682         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12683         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12684         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12685         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12686         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12687         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12688         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12689         removed macros.
12690         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12691         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12692         macros.
12693         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12694         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12695         * sysdeps/i386/i586/memset.S (memset): Likewise.
12696         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12697         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12698         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12699         macros.
12700         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12701         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12702         Change uses of L(2) to L(out).
12703         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12704         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12705         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12706         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12707         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12708         removed macros.
12709         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12710         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12711         macros.
12712         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12713         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12714         (RETURN): Do not use macro LEAVE.
12715         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12716         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12717         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12718         * sysdeps/i386/i686/memset.S (memset): Likewise.
12719         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12720         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12721         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12722         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12723         Likewise.
12724         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12725         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12726         L(1_2) and L(1_3) into L(1).
12727         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12728         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12729         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12730         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12731         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12732         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12733         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12734         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12735         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12736         macros.
12737         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12738         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12739         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12740         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12741         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12742         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12743         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12744         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12745         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12746         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12747         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12748         * sysdeps/i386/strspn.S (strspn): Likewise.
12749         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12750         conditional code.
12751         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12752         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12753         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12754         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12755         L(1_3) into L(1_1).
12756         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12757         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12758         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12759         macros.
12760         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12761
12762 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12763
12764         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12765         macro.
12766
12767 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12768
12769         * math/atest-exp.c (exp_mpn): Remove ROUND.
12770         * math/atest-exp2.c (exp_mpn): Likewise.
12771         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12772
12773         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12774         * stdlib/tst-tls-atexit-lib.c: Likewise.
12775         * stdlib/tst-tls-atexit.c: Likewise.
12776
12777 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12778
12779         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12780         and __attribute_alloc_size__.
12781
12782 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12783
12784         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12785         __attribute_alloc_size__.
12786         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12787         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12788
12789 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12790
12791         * include/programs/xmalloc.h: New file.
12792         * catgets/gencat.c: Include it.
12793         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12794         * elf/pldd.c: Likewise.
12795         * iconv/iconv_charmap.c: Likewise.
12796         * iconv/iconvconfig.c: Likewise.
12797         * iconv/strtab.c: Likewise.
12798         * locale/programs/locale.c: Likewise.
12799         * locale/programs/localedef.h: Likewise.
12800         * locale/programs/simple-hash.c: Likewise.
12801         * nscd/nscd.h: Likewise.
12802         * nss/makedb.c: Likewise.
12803         * sysdeps/generic/ldconfig.h: Likewise.
12804
12805 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12806
12807         * Versions.def: Add GLIBC_2.18.
12808         * include/link.h (struct link_map): New member l_tls_dtor_count.
12809         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12810         (__call_tls_dtors): Likewise.
12811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12812         __cxa_thread_atexit_impl.
12813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12814         Likewise.
12815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12816         Likewise.
12817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12820         Likewise.
12821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12823         Likewise.
12824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12825         Likewise.
12826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12828         Likewise.
12829         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12830         (tests): Add test case tst-tls-atexit.
12831         (modules-names): Add shared library for tst-tls-atexit.
12832         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12833         (GLIBC_PRIVATE): Add __call_tls_dtors.
12834         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12835         for libstdc++.
12836         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12837         * stdlib/tst-tls-atexit.c: New test case.
12838         * stdlib/tst-tls-atexit-lib.c: New test case.
12839
12840         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12841
12842         * elf/Versions (ld): Add _dl_find_dso_for_object.
12843         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12844         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12845         (dl_open_worker): Use _dl_find_dso_for_object.
12846         * elf/dl-sym.c (do_sym): Likewise.
12847         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12848
12849 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12850
12851         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12852         Syntactic changes only.
12853         (_dl_runtime_profile): Do a tail-call to the resolved function.
12854
12855 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12856
12857         [BZ #13550]
12858         * sysdeps/x86_64/bp-asm.h: Remove file.
12859         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12860         <bp-sym.h> and <bp-asm.h>.
12861         (__clone): Do not use BP_SYM.
12862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12863         <bp-sym.h> and <bp-asm.h>.
12864         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12865         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12866         "bp-asm.h".
12867         (_setjmp): Do not use BP_SYM.
12868         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12869         "bp-asm.h".
12870         (setjmp): Do not use BP_SYM.
12871         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12872         libc_hidden_def.
12873         (mempcpy): Do not use BP_SYM in weak_alias.
12874         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12875         "bp-asm.h".
12876         (strchr): Do not use BP_SYM.
12877         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12878         "bp-asm.h".
12879         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12880         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12881         (_start): Do not use BP_SYM.
12882         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12883         "bp-asm.h".
12884         (strcat): Do not use BP_SYM.
12885         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12886         "bp-asm.h".
12887         (STRCMP): Do not use BP_SYM.
12888         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12889         "bp-asm.h".
12890         (STRCPY): Do not use BP_SYM.
12891         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12892         "bp-asm.h".
12893         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12894         "bp-asm.h".
12895         (FUNCTION): Do not use BP_SYM.
12896         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12897         weak_alias.
12898         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12899
12900 2013-02-17  Andreas Jaeger  <aj@suse.de>
12901
12902         * time/Versions: Sort entries.
12903         * string/Versions: Likewise.
12904         * resolv/Versions: Likewise.
12905         * posix/Versions: Likewise.
12906         * iconv/Versions: Likewise.
12907         * elf/Versions: Likewise.
12908         * wcsmbs/Versions: Likewise.
12909
12910 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12911
12912         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12913         loop termination condition.
12914
12915         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12916         variable to calculate EZ.
12917         (__sqr): Likewise.
12918
12919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12920         the lower precision input.
12921
12922 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12923
12924         [BZ #13550]
12925         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12926         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12927         (run-via-rtld-prefix): Do not handle %-bp tests.
12928         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12929         (all-object-suffixes): Remove .ob.
12930         (bppfx): Remove variable.
12931         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12932         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12933         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12934         [$(build-bounded) = yes] (libtype.ob): Likewise.
12935         * Makerules (elide-routines.ob): Remove variable.
12936         (do-tests-clean): Do not handle *-bp.out.
12937         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12938         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12939         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12940         (tests): Do not include $(tests-bp.out).
12941         (xtests): Do not include $(xtests-bp.out).
12942         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12943         [$(build-bounded) = yes] ($(addprefix
12944         $(objpfx),$(binaries-bounded))): Remove rule.
12945         ($(objpfx)%-bp.out): Remove rule.
12946         * config.make.in (build-bounded): Remove variable.
12947         * crypt/Makefile [$(build-bounded) = yes]
12948         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12949         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12950         append to variable.
12951         [$(build-bounded) = yes] (install-lib): Likewise.
12952         [$(build-bounded) = yes] (generated): Likewise.
12953         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12954         Remove rule.
12955         * intl/Makefile [$(build-bounded) = yes]
12956         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12957         * math/Makefile [$(build-bounded) = yes]
12958         ($(tests:%=$(objpfx)%-bp): Likewise.
12959         * misc/Makefile [$(build-bounded) = yes]
12960         ($(objpfx)tst-tsearch-bp): Likewise.
12961         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12962         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12963         Remove dependency.
12964         * string/Makefile (o-objects.ob): Remove variable.
12965         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12966         (CFLAGS-.ob): Remove variable.
12967         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12968         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12969         both definitions of variable.
12970         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12971         (ASFLAGS-.ob): Remove variable.
12972
12973 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12974
12975         [BZ #13550]
12976         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12977         Remove __BOUNDED_POINTERS__ from condition.
12978         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12979         * string/bits/string2.h [!__NO_STRING_INLINES &&
12980         !__BOUNDED_POINTERS__]: Likewise.
12981         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12982         Likewise.
12983         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12984         Remove conditional code.
12985         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12986         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12987         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12988         condition.
12989
12990         [BZ #13550]
12991         * csu/libc-start.c: Do not include <bp-sym.h>.
12992         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12993         * elf/dl-open.c: Do not include <bp-sym.h>.
12994         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12995         * math/fegetenv.c: Do not include <bp-sym.h>.
12996         (fegetenv): Do not use BP_SYM in versioned symbols.
12997         * nptl/sysdeps/pthread/bits/libc-lockP.h
12998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12999         <bp-sym.h>.
13000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13001         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13003         (__pthread_mutex_destroy): Likewise.
13004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13005         (__pthread_mutex_lock): Likewise.
13006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13007         (__pthread_mutex_trylock): Likewise.
13008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13009         (__pthread_mutex_unlock): Likewise.
13010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13011         (__pthread_mutexattr_init): Likewise.
13012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13013         (__pthread_mutexattr_destroy): Likewise.
13014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13015         (__pthread_mutexattr_settype): Likewise.
13016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13017         (__pthread_rwlock_init): Likewise.
13018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13019         (__pthread_rwlock_destroy): Likewise.
13020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13021         (__pthread_rwlock_rdlock): Likewise.
13022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13023         (__pthread_rwlock_tryrdlock): Likewise.
13024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13025         (__pthread_rwlock_wrlock): Likewise.
13026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13027         (__pthread_rwlock_trywrlock): Likewise.
13028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13029         (__pthread_rwlock_unlock): Likewise.
13030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13031         (__pthread_key_create): Likewise.
13032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13033         (__pthread_setspecific): Likewise.
13034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13035         (__pthread_getspecific): Likewise.
13036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13037         Likewise.
13038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13039         (_pthread_cleanup_push_defer): Likewise.
13040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13041         (_pthread_cleanup_pop_restore): Likewise.
13042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13043         (pthread_setcancelstate): Likewise.
13044         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13045         <bp-sym.h>.
13046         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13047         (memchr): Do not use BP_SYM in weak_alias.
13048         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13049         (fegetenv): Do not use BP_SYM in versioned symbols.
13050         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13051         (fesetenv): Do not use BP_SYM in versioned symbols.
13052         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13053         (feupdateenv): Do not use BP_SYM in versioned symbols.
13054         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13055         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13056         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13057         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13058         (open64): Do not use BP_SYM in weak_alias.
13059         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13060         (fegetenv): Do not use BP_SYM in versioned symbols.
13061         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13062         (fesetenv): Do not use BP_SYM in versioned symbols.
13063         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13064         (feupdateenv): Do not use BP_SYM in versioned symbols.
13065         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13066         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13067         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13068         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13069         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13070         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13071         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13072         <bp-sym.h>.
13073         (__libc_start_main): Do not use BP_SYM.
13074
13075 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13076
13077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13078         redundant return line.
13079         (norm): Likewise.
13080         (denorm): Likewise.
13081         (dbl_mp): Likewise.
13082         (sub_magnitudes): Likewise.
13083         (__add): Likewise.
13084         (__sub): Likewise.
13085         (__mul): Likewise.
13086         (__inv): Likewise.
13087         (__dvd): Likewise.
13088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13089         (norm): Likewise.
13090         (denorm): Likewise.
13091         (dbl_mp): Likewise.
13092         (sub_magnitudes): Likewise.
13093         (__add): Likewise.
13094         (__sub): Likewise.
13095         (__mul): Likewise.
13096         (__inv): Likewise.
13097         (__dvd): Likewise.
13098
13099         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13100         instead of __mul.
13101         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13102         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13103         (cc32): Likewise.
13104
13105         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13106         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13108         of __mul for squares.
13109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13110         function
13111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13112         Likewise.
13113         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13114         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13115
13116 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13117
13118         [BZ #13550]
13119         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13120         code.
13121         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13122         prototype or function definition.  Rename ubp_* variables and
13123         parameters.  Remove argv definitions conditional on
13124         [__BOUNDED_POINTERS__].
13125         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13126         * elf/dl-runtime.c (_dl_fixup): Likewise.
13127         * include/set-hooks.h (RUN_HOOK): Likewise.
13128         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13129         definition.
13130         * string/strcpy.c (strcpy): Do not use __unbounded.
13131         * sysdeps/generic/frame.h (struct layout): Likewise.
13132         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13133         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13134         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13135         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13136         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13137         (__backtrace): Likewise.
13138         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13139         use __ptrvalue.
13140         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13141         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13142         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13143         Likewise.
13144         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13145         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13146         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13147         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13148         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13149         Do not use __unbounded.
13150         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13151         Rename __unboundedrlimits parameter to rlimits in prototype.
13152         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13153         Do not use __unbounded.
13154         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13155         not use __ptrvalue.
13156         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13157         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13158         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13159         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13160         __ptrvalue or __unbounded.
13161         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13162         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13163         use __unbounded.
13164         (__new_msgctl): Do not use __ptrvalue.
13165         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13166         __unbounded.
13167         (__libc_msgrcv): Do not use __ptrvalue.
13168         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13169         startup_info): Do not use __unbounded.
13170         (__libc_start_main): Likewise.  Rename ubp_* variables and
13171         parameters.  Remove argv definitions conditional on
13172         [__BOUNDED_POINTERS__].
13173         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13174         __ptrvalue.
13175         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13176         use __unbounded.
13177         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13178         or __ptrvalue.
13179         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13180         use __unbounded.
13181         (__new_shmctl): Do not use __ptrvalue.
13182         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13183         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13184         Likewise.
13185         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13186         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13187         (__libc_sigaction): Likewise.
13188         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13189         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13190         Likewise.
13191         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13192
13193 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13194
13195         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13196
13197         * string/mempcpy.c: Implement by calling memcpy.
13198
13199 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13200
13201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13202
13203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13204         evaluation.
13205
13206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13207         values in the mantissa.
13208
13209         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13210         minimize writes to Z.
13211         (sub_magnitudes): Simplify code a bit.
13212
13213 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13214
13215         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13216         from the message.  The linker prefixes all warnings with that already.
13217
13218 2013-02-12  Andreas Schwab  <schwab@suse.de>
13219
13220         [BZ #15078]
13221         * posix/regexec.c (extend_buffers): Add parameter min_len.
13222         (check_matching): Pass minimum needed length.
13223         (clean_state_log_if_needed): Likewise.
13224         (get_subexp): Likewise.
13225         * posix/Makefile (tests): Add bug-regex34.
13226         (bug-regex34-ENV): Define.
13227         * posix/bug-regex34.c: New file.
13228
13229         [BZ #11561]
13230         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13231         elements compare against the byte sequence of it, not its name.
13232         * posix/Makefile (tests): Add bug-regex35.
13233         (bug-regex35-ENV): Define.
13234         * posix/bug-regex35.c: New file.
13235
13236 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13237
13238         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13239         comment.
13240         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13241         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13242         (CHECK_EOL): Add undef.
13243
13244 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13245
13246         * bits/stdlib-bsearch.h: New file.
13247         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13248         * stdlib/stdlib.h: Likewise.
13249
13250 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13251
13252         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13253         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13254         declaration.
13255         * manual/search.texi (Array Search Function): Add missing const in
13256         lfind prototype.
13257         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13258         declaration to use rlim_t.
13259         (Basic Scheduling Functions): Remove erroneous const from
13260         sched_getparam prototype.  Remove erroneous * from
13261         sched_get_priority_max and sched_get_priority_min prototypes.
13262         (Resource Usage): Fix summary @comment on vtimes to refer to
13263         sys/vtimes.h rather than vtimes.h.
13264         Add missing *s in vtimes prototype.
13265         (Limits on Resources): Fix ulimit prototype to return long int.
13266         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13267         prototypes to use long int rather than double.
13268         (BSD Random): Fix initstate and setstate to use char *, not void *.
13269         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13270         prototype to make second argument 'struct aiocb64 *const[]'.
13271         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13272         (Status of AIO Operations): Remove erroneous const in aio_return and
13273         aio_return64 prototypes.
13274         (Synchronizing I/O): Fix sync prototype to return void.
13275         * manual/startup.texi (Suboptions): Remove an erroneous const in
13276         getsubopt prototype.
13277         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13278         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13279         use size_t rather than int.
13280         (Scanning All Users): Likewise for getpwent_r.
13281         (Setting Groups): Add missing const to setgroups prototype.
13282         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13283         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13284         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13285         'const void *' rather than 'const char *'.
13286         (Host Address Functions): Likewise for inet_ntop.
13287         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13288         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13289         ssize_t for return value.
13290         (Sending Data): Likewise for send, sendto, sendmsg.
13291         (Socket Option Functions): Add a missing const in setsockopt prototype.
13292         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13293         use wchar_t for the argument.
13294         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13295         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13296         take no arguments.
13297         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13298         double/float/long double for second argument.
13299         Fix return types of significand, significandf, significandl.
13300         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13301         argument in fchmod prototype.
13302         (File Owner): Use uid_t and gid_t in fchown prototype.
13303         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13304         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13305         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13306         use 'const struct dirent **' as argument types to CMP function pointer
13307         argument.
13308         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13309         (File Times): Fix summary magic @comment for struct utimbuf and utime
13310         to refer to utime.h, not time.h.
13311         * manual/string.texi (Argz Functions): Add missing const in
13312         argz_extract and argz_next prototypes.
13313         (Finding Tokens in a String): Likewise for basename.
13314         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13315         (Copying and Concatenation): Fix typo in wmemmove prototype.
13316         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13317         (Signal Stack): Remove erroneous const in sigstack prototype.
13318         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13319         prototype.
13320         (Simple Calendar Time): Likewise for stime.
13321         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13322         prototype.
13323         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13324         say sys/sysctl.h instead.
13325         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13326         and vsyslog prototypes.
13327
13328 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13329
13330         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13331         Remove.
13332
13333 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13334
13335         * misc/sys/mman.h: Fix typo in mremap comment.
13336
13337 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13338
13339         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13340         the '\0' terminator.
13341
13342 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13343
13344         [BZ #13550]
13345         * debug/segfault.c: Don't include <bp-checks.h>.
13346         * sysdeps/generic/bp-checks.h: Remove file.
13347         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13348         (__GETDENTS): Don't use CHECK_N.
13349         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13350         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13351         (__getgroups): Don't use CHECK_N.
13352         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13353         (setgroups): Don't use CHECK_N.
13354         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13355         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13356         (__libc_msgrcv): Don't use CHECK_N.
13357         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13358         (__libc_msgsnd): Don't use CHECK_N.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13360         <bp-checks.h>.
13361         (__libc_pread): Don't use CHECK_N.
13362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13363         include <bp-checks.h>.
13364         (__libc_pread64): Don't use CHECK_N.
13365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13366         include <bp-checks.h>.
13367         (__libc_pwrite): Don't use CHECK_N.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13369         include <bp-checks.h>.
13370         (__libc_pwrite64): Don't use CHECK_N.
13371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13372         <bp-checks.h>.
13373         (__libc_pread): Don't use CHECK_N.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13375         include <bp-checks.h>.
13376         (__libc_pread64): Don't use CHECK_N.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13378         include <bp-checks.h>.
13379         (__libc_pwrite): Don't use CHECK_N.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13381         include <bp-checks.h>.
13382         (__libc_pwrite64): Don't use CHECK_N.
13383         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13384         (do_pread): Don't use CHECK_N.
13385         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13386         (do_pread64): Don't use CHECK_N.
13387         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13388         (do_pwrite): Don't use CHECK_N.
13389         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13390         (do_pwrite64): Don't use CHECK_N.
13391         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13392         (__libc_readv): Don't use CHECK_N.
13393         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13394         (semop): Don't use CHECK_N.
13395         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13396         <bp-checks.h>.
13397         (semtimedop): Don't use CHECK_N.
13398         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13399         (__libc_pread): Don't use CHECK_N.
13400         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13401         <bp-checks.h>.
13402         (__libc_pread64): Don't use CHECK_N.
13403         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13404         <bp-checks.h>.
13405         (__libc_pwrite): Don't use CHECK_N.
13406         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13407         <bp-checks.h>.
13408         (__libc_pwrite64): Don't use CHECK_N.
13409         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13410         <bp-checks.h>.
13411         (__libc_msgrcv): Don't use CHECK_N.
13412         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13413         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13414         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13415         (__libc_writev): Don't use CHECK_N.
13416
13417 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13418
13419         * string/strcpy.c: Removed unused variable.
13420
13421         * Makeconfig (+sysdep-includes): Define with := rather than =.
13422         Use an existing include/ subdir of each sysdeps dir before it.
13423
13424 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13425
13426         * nscd/connection.c (register_traced_file): Comment function.
13427         [HAVE_INOTIFY] (union __inev): Define.
13428         [HAVE_INOTIFY] (inotify_check_files): New function.
13429         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13430         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13431         clear_db_cache.
13432         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13433
13434 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13435
13436         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13437         loaded if not already and that a failure is permanent.
13438
13439 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13440
13441         [BZ #15006]
13442         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13443         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13444
13445 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13446
13447         [BZ #13550]
13448         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13449         (CHECK_1_NULL_OK): Likewise.
13450         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13451         (__fxstat): Do not use CHECK_1.
13452         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13453         <bp-checks.h>.
13454         (___fxstat64): Do not use CHECK_1.
13455         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13456         <bp-checks.h>.
13457         (__fxstatat): Do not use CHECK_1.
13458         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13459         <bp-checks.h>.
13460         (__fxstatat64): Do not use CHECK_1.
13461         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13462         <bp-checks.h>.
13463         (__fxstat): Do not use CHECK_1.
13464         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13465         <bp-checks.h>.
13466         (__fxstatat): Do not use CHECK_1.
13467         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13468         <bp-checks.h>.
13469         (__getresgid): Do not use CHECK_1.
13470         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13471         <bp-checks.h>.
13472         (__getresuid): Do not use CHECK_1.
13473         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13474         <bp-checks.h>.
13475         (__lxstat): Do not use CHECK_1.
13476         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13477         <bp-checks.h>.
13478         (__old_msgctl): Do not use CHECK_1.
13479         (__new_msgctl): Likewise.
13480         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13481         <bp-checks.h>.
13482         (__new_setrlimit): Do not use CHECK_1.
13483         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13484         <bp-checks.h>.
13485         (__old_shmctl): Do not use CHECK_1.
13486         (__new_shmctl): Likewise.
13487         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13488         <bp-checks.h>.
13489         (__xstat): Do not use CHECK_1.
13490         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13491         (__lxstat): Do not use CHECK_1.
13492         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13493         <bp-checks.h>.
13494         (___lxstat64): Do not use CHECK_1.
13495         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13496         (__old_msgctl): Do not use CHECK_1.
13497         (__new_msgctl): Likewise.
13498         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13499         <bp-checks.h>.
13500         (__gettimeofday): Do not use CHECK_1.
13501         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13502         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13503         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13504         <bp-checks.h>.
13505         (__gettimeofday): Do not use CHECK_1.
13506         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13507         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13508         (__new_shmctl): Do not use CHECK_1.
13509         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13510         <bp-checks.h>.
13511         (do_sigtimedwait): Do not use CHECK_1.
13512         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13513         <bp-checks.h>.
13514         (do_sigwaitinfo): Do not use CHECK_1.
13515         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13516         <bp-checks.h>.
13517         (msgctl): Do not use CHECK_1.
13518         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13519         <bp-checks.h>.
13520         (shmctl): Do not use CHECK_1.
13521         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13522         (ustat): Do not use CHECK_1.
13523         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13524         <bp-checks.h>.
13525         (__fxstat): Do not use CHECK_1.
13526         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13527         <bp-checks.h>.
13528         (__fxstatat): Do not use CHECK_1.
13529         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13530         <bp-checks.h>.
13531         (__lxstat): Do not use CHECK_1.
13532         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13533         <bp-checks.h>.
13534         (__xstat): Do not use CHECK_1.
13535         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13536         (__xstat): Do not use CHECK_1.
13537         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13538         (___xstat64): Do not use CHECK_1.
13539
13540         [BZ #13550]
13541         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13542         definitions.
13543         (CHECK_BOUNDS_HIGH): Likewise.
13544         * string/strcpy.c: Do not include <bp-checks.h>.
13545         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13546
13547 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13548
13549         * nscd/nscd-client.h (__nscd_drop_map_ref):
13550         Add __attribute__ ((unused)).
13551         * nis/nss-nisplus.h (niserr2nss): Likewise.
13552
13553         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13554         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13555
13556         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13557         Remove inline keyword.
13558         * include/rounding-mode.h (round_away): Likewise.
13559         * libio/wfileops.c (adjust_wide_data): Likewise.
13560         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13561         (__m128i_strloadu_tolower): Likewise.
13562         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13563         (__m128i_strloadu_tolower): Likewise.
13564         * time/mktime.c (ydhms_diff): Likewise.
13565         * locale/elem-hash.h (elem_hash): Likewise.
13566         * locale/setlocale.c (setdata): Likewise.
13567         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13568         (re_string_wchar_at): Likewise.
13569         (bitset_not, bitset_merge, bitset_mask): Likewise.
13570         [!(__GNUC__ > 3)] (inline): Remove macro.
13571         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13572         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13573         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13574         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13575         * string/memcmp.c (memcmp_bytes): Likewise.
13576         * locale/programs/locarchive.c (compute_hashval): Likewise.
13577         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13578         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13579         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13580         * nss/getent.c (print_rpc, print_protocols): Likewise.
13581         (print_passwd, print_group, print_aliases): Likewise.
13582         * nis/nss-nisplus.h (niserr2nss): Likewise.
13583         * nscd/connections.c (restart_p): Likewise.
13584         Change return type to bool.
13585
13586 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13587
13588         * Makeconfig (all-Depend-files): Add existing
13589         $(sorted-subdirs:=/Depend) files.
13590         (all-subdirs): Remove nss.
13591         * sysdeps/unix/inet/Subdirs: Add it here instead.
13592         * hesiod/Depend: New file.
13593
13594         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13595         instead of calling alloca.
13596
13597         * io/lseek.c (__lseek): Rename to __libc_lseek.
13598         Define __lseek as an alias.
13599
13600         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13601
13602 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13603
13604         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13605         else clause and remove check for non-standard endianness.
13606
13607 2013-02-04  David S. Miller  <davem@davemloft.net>
13608
13609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13610
13611 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13612
13613         [BZ #13550]
13614         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13615         (__ubp_memchr): Remove prototype.
13616         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13617         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13618         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13619         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13620         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13621         Remove alias.
13622         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13623         (__ubp_memchr): Likewise.
13624         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13625         (__ubp_memchr): Likewise.
13626         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13627         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13628         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13629         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13630         CHECK_STRING.
13631         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13632         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13633         (__getcwd): Do not use CHECK_STRING.
13634         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13635         <bp-checks.h>.
13636         (__real_chown): Do not use CHECK_STRING.
13637         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13638         <bp-checks.h>.
13639         (fchownat): Do not use CHECK_STRING.
13640         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13641         CHECK_STRING.
13642         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13643         <bp-checks.h>.
13644         (__lchown): Do not use CHECK_STRING.
13645         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13646         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13647         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13648         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13650         include <bp-checks.h>.
13651         (truncate64): Do not use CHECK_STRING.
13652         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13653         <bp-checks.h>.
13654         (__real_chown): Do not use CHECK_STRING.
13655         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13656         <bp-checks.h>.
13657         (__lchown): Do not use CHECK_STRING.
13658         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13659         <bp-checks.h>.
13660         (__chown): Do not use CHECK_STRING.
13661         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13662         <bp-checks.h>.
13663         (truncate64): Do not use CHECK_STRING.
13664         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13665         Likewise.
13666         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13667         (__xmknod): Do not use CHECK_STRING.
13668         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13669         <bp-checks.h>.
13670         (__xmknodat): Do not use CHECK_STRING.
13671         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13672         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13673
13674 2013-02-04  Andreas Schwab  <schwab@suse.de>
13675
13676         [BZ #14142]
13677         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13678         * include/netdb.h: Likewise for h_errno.
13679         * elf/tst-stackguard1.c: Include <tls.h>.
13680
13681 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13682
13683         * elf/link.h (struct link_map): Extend the l_addr comment.
13684         * include/link.h (struct link_map): Likewise.
13685
13686 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13687
13688         [BZ #13550]
13689         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13690         (BOUNDED_1): Remove macro.
13691         * debug/backtrace.c: Don't include <bp-checks.h>.
13692         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13693         (__backtrace): Likewise.
13694         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13695         <bp-checks.h>.
13696         (__backtrace): Don't use BOUNDED_1.
13697         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13698         <bp-checks.h>.
13699         (__backtrace): Don't use BOUNDED_1.
13700         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13701         (__backtrace): Don't use BOUNDED_1.
13702         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13703         (shmat): Don't use BOUNDED_N.
13704
13705 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13706
13707         [BZ #13550]
13708         * sysdeps/generic/bp-start.h: Remove file.
13709         * csu/libc-start.c: Don't include <bp-start.h>.
13710         (LIBC_START_MAIN): Set up __environ directly instead of using
13711         INIT_ARGV_and_ENVIRON.
13712         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13713         <bp-start.h>.
13714
13715         [BZ #13550]
13716         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13717         definitions.
13718         (CHECK_FCNTL): Likewise.
13719         (CHECK_N_PAGES): Likewise.
13720
13721         [BZ #13550]
13722         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13723         definitions.
13724         (CHECK_SIGSET_NULL_OK): Likewise.
13725         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13726         <bp-checks.h>.
13727         (sigpending): Don't use CHECK_SIGSET.
13728         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13729         <bp-checks.h>.
13730         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13731         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13732         <bp-checks.h>.
13733         (do_sigsuspend): Don't use CHECK_SIGSET.
13734         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13735         use CHECK_SIGSET.
13736         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13737         (do_sigwait): Don't use CHECK_SIGSET.
13738         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13739         use CHECK_SIGSET.
13740         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13741         include <bp-checks.h>.
13742         (sigpending): Don't use CHECK_SIGSET.
13743         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13744         include <bp-checks.h>.
13745         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13746         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13747         <bp-checks.h>.
13748         (sigpending): Don't use CHECK_SIGSET.
13749         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13750         <bp-checks.h>.
13751         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13752
13753         [BZ #13550]
13754         * sysdeps/generic/bp-semctl.h: Remove file.
13755         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13756         <bp-checks.h> and <bp-semctl.h>.
13757         (__old_semctl): Don't use CHECK_SEMCTL.
13758         (__new_semctl): Likewise.
13759         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13760         and <bp-semctl.h>.
13761         (__old_semctl): Don't use CHECK_SEMCTL.
13762         (__new_semctl): Likewise.
13763         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13764         <bp-checks.h> and <bp-semctl.h>.
13765         (__old_semctl): Don't use CHECK_SEMCTL.
13766         (__new_semctl): Likewise.
13767         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13768         <bp-checks.h> and <bp-semctl.h>.
13769         (semctl): Don't use CHECK_SEMCTL.
13770
13771         [BZ #13550]
13772         * Makerules (elide-bp-thunks): Remove variable.
13773         (elide-routines.oS): Don't use $(elide-bp-thunks).
13774         (elide-routines.os): Likewise.
13775         (elide-routines.o): Likewise.
13776         (elide-routines.op): Likewise.
13777         (elide-routines.og): Likewise.
13778         (objects): Don't use $(bp-thunks).
13779         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13780         include.
13781         (common-generated): Do not add s-proto-bp.d.
13782         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13783         (int): Likewise.
13784         (typ): Likewise.
13785         Do not generate makefile rules for bounded-pointer thunks.
13786         * sysdeps/generic/bp-thunks.h: Remove file.
13787         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13788         * sysdeps/unix/s-proto-bp.S: Likewise.
13789
13790         [BZ #15062]
13791         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13792         parts of result separately when argument is not close to line from
13793         -i to i and one part of argument is small.
13794         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13795         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13796         * math/libm-test.inc (cacos_test): Add more tests.
13797         (casin_test): Likewise.
13798         (casinh_test): Likewise.
13799         * sysdeps/i386/fpu/libm-test-ulps: Update.
13800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13801
13802 2013-01-31  David S. Miller  <davem@davemloft.net>
13803
13804         * po/de.po: Update from translation team.
13805
13806 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13807
13808         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13809
13810 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13811
13812         * configure.in (_AC_PROG_CC_C89): New definition.
13813         * configure: Regenerate.
13814
13815         * configure.in (AC_PROG_CPP): New definition.
13816         * configure: Regenerate.
13817
13818 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13819
13820         * debug/tst-backtrace.h: New file.
13821         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13822         (ret): Remove variable.
13823         (x): Likewise.
13824         (FAIL): Remove macro.
13825         (NO_INLINE): Likewise.
13826         (fn1): Use match function instead of strstr.
13827         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13828         (ret): Remove variable.
13829         (x): Likewise.
13830         (FAIL): Remove macro.
13831         (NO_INLINE): Likewise.
13832         (fn): Use match function instead of strstr.
13833         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13834         (ret): Remove variable.
13835         (x): Likewise.
13836         (FAIL): Remove macro.
13837         (NO_INLINE): Likewise.
13838         (handle_signal): Use match function instead of strstr.
13839         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13840         (ret): Remove variable.
13841         (x): Likewise.
13842         (FAIL): Remove macro.
13843         (NO_INLINE): Likewise.
13844         (handle_signal): Use match function instead of strstr.
13845
13846 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13847
13848         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13849
13850 2013-01-23  David S. Miller  <davem@davemloft.net>
13851
13852         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13853         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13854         argument of CAS if possible.
13855         * sysdeps/sparc/sparc64/bits/atomic.h
13856         (__arch_compare_and_exchange_val_32_acq): Likewise.
13857         (__arch_compare_and_exchange_val_64_acq): Likewise.
13858
13859 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13860
13861         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13862         * sysdeps/posix/ulimit.c: ... this.
13863         Include <limits.h>.
13864         * sysdeps/unix/bsd/ulimit.c: Remove file.
13865
13866 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13867
13868         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13869         (LDFLAGS-tst-array5): Likewise.
13870
13871 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13872
13873         [BZ #15036]
13874         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13875         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13876         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13877         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13878
13879 2013-01-21  David S. Miller  <davem@davemloft.net>
13880
13881         * sysdeps/sparc/backtrace.c: New file.
13882         * sysdeps/sparc/sparc32/backtrace.h: New file.
13883         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13884         * sysdeps/sparc/sparc64/backtrace.h: New file.
13885         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13886         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13887         -funwind-tables.
13888
13889 2013-01-21  Andreas Schwab  <schwab@suse.de>
13890
13891         [BZ #15020]
13892         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13893         closed its stdout.
13894
13895 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13896
13897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13898         "mpa2.h".
13899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13900
13901 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13902             Mark Mitchell  <mark@codesourcery.com>
13903             Tom de Vries  <tom@codesourcery.com>
13904             Paul Pluzhnikov  <ppluzhnikov@google.com>
13905
13906         * debug/tst-backtrace2.c: New file.
13907         * debug/tst-backtrace3.c: Likewise.
13908         * debug/tst-backtrace4.c: Likewise.
13909         * debug/tst-backtrace5.c: Likewise.
13910         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13911         (CFLAGS-tst-backtrace3.c): Likewise.
13912         (CFLAGS-tst-backtrace4.c): Likewise.
13913         (CFLAGS-tst-backtrace5.c): Likewise.
13914         (LDFLAGS-tst-backtrace2): Likewise.
13915         (LDFLAGS-tst-backtrace3): Likewise.
13916         (LDFLAGS-tst-backtrace4): Likewise.
13917         (LDFLAGS-tst-backtrace5): Likewise.
13918         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13919         tst-backtrace4 and tst-backtrace5.
13920
13921 2013-01-18  Anton Blanchard  <anton@samba.org>
13922             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13923
13924         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13925         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13926         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13927         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13929         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13930         "+r" and remove output regs list as redundant.  Add explicit inline
13931         asm to specify register of return val to work around compiler codegen
13932         bug.  Remove (int) cast on return value.  Add return type parameter to
13933         use in macro so that this macro does not truncate return value for
13934         64-bit values.
13935         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13936         pass to INTERNAL_VSYSCALL_NCS.
13937         (INLINE_VSYSCALL): Add 'long int' as return type to
13938         INTERNAL_VSYSCALL_NCS macro invocation.
13939         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13940         INTERNAL_VSYSCALL_NCS macro invocation.
13941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13942
13943 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13944
13945         [BZ #14496]
13946         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13947         Fix application of SIMD FP exception mask.
13948
13949         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13950         mp_no from a power of two.
13951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13952         __mpexp_twomm1.  Use __pow_mp.
13953
13954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13955         multiplication.
13956
13957 2013-01-17  David S. Miller  <davem@davemloft.net>
13958
13959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13960
13961 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13962
13963         [BZ #15023]
13964         * include/complex.h: Condition contents on [!_COMPLEX_H].
13965         (__kernel_casinhf): New prototype.
13966         (__kernel_casinh): Likewise.
13967         (__kernel_casinhl): Likewise.
13968         * math/Makefile (libm_calls): Add k_casinh.
13969         * math/k_casinh.c: New file.
13970         * math/k_casinhf.c: Likewise.
13971         * math/k_casinhl.c: Likewise.
13972         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13973         finite nonzero arguments.
13974         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13975         finite nonzero arguments.
13976         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13977         finite nonzero arguments.
13978         * math/s_casinh.c: Do not include <float.h>.
13979         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13980         * math/s_casinhf.c: Do not include <float.h>.
13981         (__casinhf): Move code for finite nonzero arguments to
13982         k_casinhf.c.
13983         * math/s_casinhl.c: Do not include <float.h>.
13984         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13985         redefine.
13986         (__casinhl): Move code for finite nonzero arguments to
13987         k_casinhl.c.
13988         * math/libm-test.inc (cacos_test): Add more tests.
13989         * sysdeps/i386/fpu/libm-test-ulps: Update.
13990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13991
13992 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13993
13994         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13995         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13996         [!HAVE_MREMAP]: Remove [defined linux] case.
13997         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13998
13999 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14000
14001         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14002
14003 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14004
14005         * elf/elf.h (R_386_SIZE32): New relocation.
14006         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14007         R_386_SIZE32.
14008         (elf_machine_rela): Likewise.
14009         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14010         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14011
14012 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14013
14014         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14015         (FP_FAST_FMA): Do not define.
14016         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14017         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14018         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14019         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14020         !_SOFT_FLOAT]: Likewise.
14021         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14022         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14023         value.
14024         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14025         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14026         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14027         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14028         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14029         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14030         file.
14031
14032 2013-01-16  Andreas Schwab  <schwab@suse.de>
14033
14034         [BZ #14327]
14035         * include/stdlib.h (__mktemp): Add declaration.
14036         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14037         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14038
14039 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14040
14041         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14042         definitions.
14043         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14044         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14045         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14046         definitions here.
14047         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14048         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14049         definitions.
14050         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14051         and ONE.
14052         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14053         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14054         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14055         definitions.
14056         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14057         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14058         definitions.
14059         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14060
14061         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14062
14063 2013-01-15  David S. Miller  <davem@davemloft.net>
14064
14065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14066         trunc{,f} to libm-sysdep_routes.
14067         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14069         file.
14070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14072         file.
14073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14074         file.
14075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14077         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14078         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14079         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14080         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14081         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14082         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14083
14084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14085         nearbyint{,f} to libm-sysdep_routes.
14086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14088         New file.
14089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14090         file.
14091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14092         New file.
14093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14094         file.
14095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14097         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14098         file.
14099         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14100         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14101         file.
14102         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14103         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14104         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14105
14106         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14107         libc_feholdexcept and libc_fesetenv.
14108
14109 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14110
14111         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14112
14113 2013-01-14  David S. Miller  <davem@davemloft.net>
14114
14115         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14116         (SPARC_ASM_VIS2_IFUNC): Likewise.
14117         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14119         use of 'siam' instruction.
14120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14121         Likewise.
14122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14123         Likewise.
14124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14125         Likewise.
14126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14131         file.
14132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14133         file.
14134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14135         file.
14136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14137         file.
14138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14143         new VIS2 routines.
14144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14147         Likewise.
14148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14153         routines to libm-sysdep_routines.
14154         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14155
14156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14157         fdim/fdimf to libm-sysdep_routines.
14158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14159         file.
14160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14162         file.
14163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14166         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14167         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14168         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14169         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14170
14171 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14172
14173         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14174         to optimize copies.
14175
14176         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14179
14180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14181         local variable MPTWO.
14182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14183         Likewise.
14184
14185 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14186
14187         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14188         GLOB_NOESCAPE.
14189
14190 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14191
14192         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14193
14194 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14195
14196         * manual/pattern.texi (glob_t): Document gl_flags.
14197         (glob64_t): Likewise.
14198
14199 2013-01-11  David S. Miller  <davem@davemloft.net>
14200
14201         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14202         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14203         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14204         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14205         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14206         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14207         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14208         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14209         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14210         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14211         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14212         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14213         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14214
14215         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14216         sparc V9 rather than using V8 code.
14217         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14218         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14219
14220         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14221         Move to...
14222         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14223         Here.
14224
14225 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14226
14227         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14228         not in the main loop.
14229         * configure: Regenerated.
14230
14231 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14232
14233         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14234         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14235         to just #else.
14236         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14237         [!__GLIBC_HAVE_LONG_LONG] case.
14238         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14239         condition to just #else.
14240         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14241         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14242         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14243         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14244         unconditional.
14245         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14246         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14247         #elif condition to just #else.
14248         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14249         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14250         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14251         #elif condition to just #else.
14252
14253 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14254
14255         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14256         (EF_MIPS_ARCH_64): Fix value.
14257         (EF_MIPS_ARCH_32R2): New.
14258         (EF_MIPS_ARCH_64R2): New.
14259
14260 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14261
14262         * Makeconfig (+link-pie-before-libc): New.
14263         (+link-pie-after-libc): Likewise.
14264         (+link-pie-tests): Likewise.
14265         (+link-pie): Rewritten.
14266         (link-before-libc): Remove $(config-LDFLAGS).
14267         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14268         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14269         (config-LDFLAGS): Renamed to ...
14270         (rtld-LDFLAGS): This.
14271         (rtld-tests-LDFLAGS): New macro.
14272         (link-libc-rpath-link): Likewise.
14273         (link-libc-tests-rpath-link): Likewise.
14274         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14275         (link-libc): Prepand $(link-libc-rpath-link).
14276         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14277         (test-program-prefix): New macro.
14278         (test-via-rtld-prefix): Likewise.
14279         (test-program-cmd): Likewise.
14280         (host-test-program-cmd): Likewise.
14281         * Makefile ($(common-objpfx)testrun.sh): Replace
14282         $(run-program-prefix) with $(test-program-prefix).
14283         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14284         $(rtld-LDFLAGS).
14285         ($(common-objpfx)shlib.lds): Likewise.
14286         (build-module-helper): Likewise.
14287         ($(common-objpfx)format.lds): Likewise.
14288         * Rules (binaries-pie-tests): New.
14289         (binaries-pie-notests): Likewise.
14290         (binaries-pie): Rewritten.
14291         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14292         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14293         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14294         (make-test-out): Replace $(host-built-program-cmd) with
14295         $(host-test-program-cmd).
14296         * config.make.in (build-hardcoded-path-in-tests): New variable.
14297         * configure.in (--enable-hardcoded-path-in-tests): New configure
14298         option.
14299         (hardcoded_path_in_tests): New AC_SUBST.
14300         * configure: Regenerated.
14301         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14302         $(built-program-cmd) with $(test-program-cmd).
14303         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14304         (test_program_cmd): This.
14305         * elf/Makefile ($(objpfx)order.out): Run test with
14306         $(test-program-prefix).
14307         ($(objpfx)order2.out): Likewise.
14308         ($(objpfx)tst-initorder.out): Likewise.
14309         ($(objpfx)tst-initorder2.out): Likewise.
14310         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14311         $(test-program-cmd).
14312         ($(objpfx)tst-array1-static.out): Likewise.
14313         ($(objpfx)tst-array2.out): Likewise.
14314         ($(objpfx)tst-array3.out): Likewise.
14315         ($(objpfx)tst-array4.out): Likewise.
14316         ($(objpfx)tst-array5.out): Likewise.
14317         ($(objpfx)tst-array5-static.out): Likewise.
14318         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14319         $(test-program-cmd).
14320         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14321         $(run-program-prefix) with $(test-program-prefix).
14322         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14323         (test_program_prefix): This.
14324         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14325         $(run-program-prefix) with $(test-program-prefix).
14326         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14327         (test_program_prefix): This.
14328         * iconvdata/tst-tables.sh: Likewise.
14329         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14330         $(run-program-prefix) with $(test-program-prefix).
14331         ($(objpfx)tst-translit.out): Likewise.
14332         ($(objpfx)tst-gettext2.out): Likewise.
14333         ($(objpfx)tst-gettext4.out): Likewise.
14334         ($(objpfx)tst-gettext6.out): Likewise.
14335         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14336         (test_program_prefix): This.
14337         * intl/tst-gettext2.sh: Likewise.
14338         * intl/tst-gettext4.sh  Likewise.
14339         * intl/tst-gettext6.sh: Likewise.
14340         * intl/tst-translit.sh: Likewise.
14341         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14342         with $(test-program-cmd).
14343         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14344         $(run-program-prefix) with $(test-program-prefix).
14345         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14346         (test_program_prefix): This.
14347         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14348         $(run-program-prefix) with $(test-program-prefix).
14349         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14350         (test_program_prefix): This.
14351         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14352         * posix/Makefile ($(objpfx)globtest.out): Replace
14353         $(run-via-rtld-prefix) and $(test-wrapper) with
14354         $(test-program-prefix) and $(test-via-rtld-prefix).
14355         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14356         $(test-program-prefix).
14357         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14358         $(host-test-program-cmd).
14359         (tst-spawn-ARGS): Likewise.
14360         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14361         $(test-program-prefix).
14362         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14363         (test_via_rtld_prefix): This.
14364         (test_wrapper): Renamed to ...
14365         (test_program_prefix): This.
14366         (run_program_prefix): Replaced by test_program_prefix.
14367         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14368         (test_program_prefix): This.
14369         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14370         with $(host-test-program-cmd).
14371         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14372         $(run-program-prefix) with $(test-program-prefix).
14373         ($(objpfx)tst-printf.out): Likewise.
14374         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14375         $(test-program-cmd).
14376         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14377         (test_program_prefix): This.
14378         * stdio-common/tst-unbputc.sh: Likewise.
14379         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14380         $(run-program-prefix) with $(test-program-prefix).
14381         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14382         (test_program_prefix): This.
14383         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14384         $(built-program-cmd) with $(test-program-cmd).
14385
14386 2013-01-11  Andreas Jaeger  <aj@suse.de>
14387
14388         [BZ #15003]
14389         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14390         value. Sync with Linux 3.7.
14391
14392 2013-01-10  David S. Miller  <davem@davemloft.net>
14393
14394         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14395         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14396         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14397
14398 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14399
14400         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14401         never set.
14402         * configure: Regenerated.
14403
14404 2013-01-10  David S. Miller  <davem@davemloft.net>
14405
14406         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14407         sparc V9 rather than using V8 code.
14408         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14409         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14410
14411 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14412
14413         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14414         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14415         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14416         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14417         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14418         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14419         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14420         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14421         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14422         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14423         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14424         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14425         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14426         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14427         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14428         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14429         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14430         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14431         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14432         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14433         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14434         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14435         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14436         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14437         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14438         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14439         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14440
14441 2013-01-10  David S. Miller  <davem@davemloft.net>
14442
14443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14444
14445 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14446
14447         * posix/Makefile (tests-static): New variable.
14448         (tests): Add $(tests-static).
14449         (tst-exec-static-ARGS): New variable.
14450         (tst-spawn-static-ARGS): Likewise.
14451         * posix/tst-exec-static.c: New file.
14452         * posix/tst-spawn-static.c: Likewise.
14453         * posix/tst-exec.c: Support run directly.
14454         * posix/tst-spawn.c: Likewise.
14455
14456 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14457
14458         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14459         long.
14460         * math/bits/mathcalls.h (llrint): Likewise.
14461         (llround): Likewise.
14462         * stdlib/stdlib.h (struct drand48_data): Likewise.
14463         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14464         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14465         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14466         Likewise.
14467         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14468         Likewise.
14469         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14470         (elf_greg_t): Likewise.
14471         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14472         (__jmp_buf): Likewise.
14473         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14474         definitions.
14475         (llrint): Likewise, for all definitions.
14476         (llrintl): Likewise.
14477
14478         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14479         Remove [__GNUC__] condition.
14480         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14481         condition to just [__USE_ISOC99].
14482         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14483
14484 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14485
14486         [BZ #14200]
14487         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14488         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14489         defined.
14490         (_POSIX_V6_ILP32_OFF32): Likewise.
14491         (_XBS5_ILP32_OFF32): Likewise.
14492         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14493         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14494
14495 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14496
14497         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14498
14499         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14500         doubles __mpexp_twomm1.  Adjust usage.
14501         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14502         Remove.
14503
14504 2013-01-10  Andreas Schwab  <schwab@suse.de>
14505
14506         [BZ #14964]
14507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14508         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14509
14510 2013-01-09  David S. Miller  <davem@davemloft.net>
14511
14512         [BZ #15003]
14513         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14514         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14515         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14516         TCP_FASTOPEN): Define.
14517         (tcp_repair_opt): New structure.
14518         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14519         enum values.
14520         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14521         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14522         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14523         (tcp_cookie_transactions): New structure.
14524
14525 2013-01-09  Anton Blanchard  <anton@samba.org>
14526
14527         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14528         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14529         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14530         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14531
14532 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14533
14534         * include/features.h (__USE_ANSI): Remove.
14535
14536 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14537
14538         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14539
14540         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14541
14542 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14543
14544         * sysdeps/s390/fpu/libm-test-ulps: Update.
14545
14546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14547
14548         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14549         (__acr): Likewise.
14550         (__cpy): Likewise.
14551         (norm): Likewise.
14552         (denorm): Likewise.
14553         (__mp_dbl): Likewise.
14554         (__dbl_mp): Likewise.
14555         (add_magnitudes): Likewise.
14556         (sub_magnitudes): Likewise.
14557         (__add): Likewise.
14558         (__sub): Likewise.
14559         (__mul): Likewise.
14560         (__inv): Likewise.
14561         (__dvd): Likewise.
14562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14563         (__acr): Likewise.
14564         (__cpy): Likewise.
14565         (norm): Likewise.
14566         (denorm): Likewise.
14567         (__mp_dbl): Likewise.
14568         (__dbl_mp): Likewise.
14569         (add_magnitudes): Likewise.
14570         (sub_magnitudes): Likewise.
14571         (__add): Likewise.
14572         (__sub): Likewise.
14573         (__mul): Likewise.
14574         (__inv): Likewise.
14575         (__dvd): Likewise.
14576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14577         (__acr): Likewise.
14578         (__cpy): Likewise.
14579         (norm): Likewise.
14580         (denorm): Likewise.
14581         (__mp_dbl): Likewise.
14582         (__dbl_mp): Likewise.
14583         (add_magnitudes): Likewise.
14584         (sub_magnitudes): Likewise.
14585         (__add): Likewise.
14586         (__sub): Likewise.
14587         (__mul): Likewise.
14588         (__inv): Likewise.
14589         (__dvd): Likewise.
14590
14591 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14592
14593         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14594         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14595         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14596         2 && __USE_EXTERN_INLINES]: Likewise.
14597
14598 2013-01-08  Andreas Jaeger  <aj@suse.de>
14599
14600         [BZ# 14985]
14601         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14602         Remove.
14603         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14604         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14605
14606 2013-01-07  Anton Blanchard  <anton@samba.org>
14607
14608         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14609         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14610         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14611         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14612         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14613         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14614         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14615         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14617         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14618         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14619         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14620         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14621         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14622         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14623         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14624         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14625         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14626         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14627         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14629         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14630         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14631         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14632         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14633         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14634         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14635         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14636         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14637         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14638         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14639         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14640         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14641         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14642         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14643         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14644         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14645         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14646         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14647         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14649         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14650         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14651
14652 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14653
14654         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14655         (__MALLOC_PMT): Likewise.
14656         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14657         [__GNUC__], only on [_LIBC].
14658         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14659         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14660         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14661         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14662         forward declaration.
14663         (realloc_hook_ini): Likewise.
14664         (memalign_hook_ini): Likewise.
14665         (__libc_memalign): Do not use __MALLOC_PMT in variable
14666         declaration.
14667         (__libc_valloc): Likewise.
14668         (__libc_pvalloc): Likewise.
14669         (__libc_calloc): Likewise.
14670         (__posix_memalign): Likewise.
14671
14672         [BZ #14996]
14673         * math/s_casinh.c: Include <float.h>.
14674         (__casinh): Do not do computation with squaring and square root
14675         for large arguments.
14676         * math/s_casinhf.c: Include <float.h>.
14677         (__casinhf): Do not do computation with squaring and square root
14678         for large arguments.
14679         * math/s_casinhl.c: Include <float.h>.
14680         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14681         (__casinhl): Do not do computation with squaring and square root
14682         for large arguments.
14683         * math/libm-test.inc (casin_test): Add more tests.
14684         (casinh_test): Likewise.
14685         * sysdeps/i386/fpu/libm-test-ulps: Update.
14686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14687
14688 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14689
14690         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14691         (__x86_64_raw_data_cache_size): Likewise.
14692         (__x86_64_data_cache_size_half): Likewise.
14693         (__x86_64_raw_data_cache_size_half): Likewise.
14694         (__x86_64_shared_cache_size): Likewise.
14695         (__x86_64_raw_shared_cache_size): Likewise.
14696         (__x86_64_shared_cache_size_half): Likewise.
14697         (__x86_64_raw_shared_cache_size_half): Likewise.
14698         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14699         to ...
14700         (__x86_data_cache_size): This.
14701         (__x86_64_raw_data_cache_size): Renamed to ...
14702         (__x86_raw_data_cache_size): This.
14703         (__x86_64_data_cache_size_half): Renamed to ...
14704         (__x86_data_cache_size_half): This.
14705         (__x86_64_raw_data_cache_size_half): Renamed to ...
14706         (__x86_raw_data_cache_size_half): This.
14707         (__x86_64_shared_cache_size): Renamed to ...
14708         (__x86_shared_cache_size): This.
14709         (__x86_64_raw_shared_cache_size): Renamed to ...
14710         (__x86_raw_shared_cache_size): This.
14711         (__x86_64_shared_cache_size_half): Renamed to ...
14712         (__x86_shared_cache_size_half): This.
14713         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14714         (__x86_raw_shared_cache_size_half): This.
14715         * sysdeps/x86_64/memcpy.S: Updated.
14716         * sysdeps/x86_64/memset.S: Likewise.
14717         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14718         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14719         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14720
14721 2013-01-04  David S. Miller  <davem@davemloft.net>
14722
14723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14724
14725 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14726
14727         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14728         1 to avoid redefinition warning.
14729         (__USE_GNU): Don't define.
14730         (init_signaling_nan): Protoize.
14731
14732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14733
14734 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14735
14736         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14738         (__cpymn): Likewise.
14739         (norm): Remove commented code.
14740         (denorm): Likewise.
14741         (__mp_dbl): Likewise.
14742         (__inv): Likewise.
14743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14744         (__cpymn): Likewise.
14745         (norm): Remove commented code.
14746         (denorm): Likewise.
14747         (__mp_dbl): Likewise.
14748         (__inv): Likewise.
14749
14750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14751         mp_no value for 1.0 and 2.0.
14752         (norm): Use RADIXI instead of radixi.d.
14753         (denorm): Likewise.
14754         (__mul): Use 0.0 instead of zero.d.
14755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14756         mp_no value for 1.0 and 2.0.
14757         (norm): Use RADIXI instead of radixi.d.
14758         (denorm): Likewise.
14759         (__mul): Use 0.0 instead of zero.d.
14760
14761 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14762
14763         [BZ #14994]
14764         * math/s_casinh.c (__casinh): Reduce finite argument to first
14765         quadrant then set signs of results at the end.
14766         * math/s_casinhf.c (__casinhf): Likewise.
14767         * math/s_casinhl.c (__casinhl): Likewise.
14768         * math/libm-test.inc (casin_test): Add more tests.
14769         (casinh_test): Likewise.
14770         * sysdeps/i386/fpu/libm-test-ulps: Update.
14771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14772
14773 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14774
14775         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14776
14777         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14778
14779         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14780         declarations.
14781         (denorm): Likewise.
14782         (__mp_dbl): Likewise.
14783         (__inv): Likewise.
14784
14785         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14786         and adjust the header comment.
14787
14788         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14789         variable name from declaration.
14790
14791 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14792
14793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14794         Initialize COMMON_CPUID_INDEX_7 element.
14795         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14796         (CPUID_RTM): Likewise.
14797         (HAS_RTM): Likewise.
14798         (COMMON_CPUID_INDEX_7): New enum.
14799
14800 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14801
14802         [BZ #14981]
14803         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14804         size is zero, record memory as freed.
14805
14806 2013-01-03  Andreas Jaeger  <aj@suse.de>
14807
14808         * po/ia.po: Add new Interlingua translation.
14809
14810 2012-01-03  Allan McRae  <allan@archlinux.org>
14811
14812         * locale/programs/localedef.c: Fix description of '--posix' flag.
14813
14814 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14815
14816         * NEWS: Update dates in second copyright notice.
14817         * README: Update copyright dates in example.
14818         * manual/libc.texinfo: Update copyright dates.
14819         * scripts/test-installation.pl: Update copyright date in --version
14820         output.
14821
14822         * hurd/ctty-input.c: Fix copyright notice formatting.
14823         * hurd/ctty-output.c: Likewise.
14824         * hurd/dtable.c: Likewise.
14825         * hurd/hurd-raise.c: Likewise.
14826         * hurd/hurdprio.c: Likewise.
14827         * hurd/msgportdemux.c: Likewise.
14828         * misc/sys/file.h: Likewise.
14829         * misc/sys/ioctl.h: Likewise.
14830         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14831         * sysdeps/mach/hurd/chdir.c: Likewise.
14832         * sysdeps/mach/hurd/fchdir.c: Likewise.
14833         * sysdeps/mach/hurd/rename.c: Likewise.
14834         * sysdeps/mach/hurd/rmdir.c: Likewise.
14835         * sysdeps/mach/hurd/seekdir.c: Likewise.
14836         * sysdeps/mach/hurd/setsid.c: Likewise.
14837         * sysdeps/posix/wait3.c: Likewise.
14838
14839         * All files with FSF copyright notices: Update copyright dates
14840         using scripts/update-copyrights.
14841         * intl/plural.c: Regenerated.
14842         * locale/programs/charmap-kw.h: Likewise.
14843         * locale/programs/locfile-kw.h: Likewise.
14844
14845 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14846
14847         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14848         four values.
14849
14850         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14851         calculation loop and add branch prediction.
14852
14853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14854         check access beyond bounds of m1np.
14855
14856         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14857         MPTWO.
14858         (__inv): Remove local variable MPTWO to use the global
14859         constant.
14860         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14861         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14862         variable MPTWO.
14863         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14864         MP3HALFS static const.
14865
14866 2013-01-01  David S. Miller  <davem@davemloft.net>
14867
14868         * po/ca.po: Update from translation team.
14869
14870 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14871
14872         * scripts/update-copyrights: New file.
14873         * Makeconfig: Reformat copyright notice.
14874         * ctype/ctype.h: Likewise.
14875         * debug/swprintf_chk.c: Likewise.
14876         * elf/dl-cache.c: Likewise.
14877         * elf/dl-debug.c: Likewise.
14878         * elf/dl-object.c: Likewise.
14879         * grp/initgroups.c: Likewise.
14880         * hurd/Makefile: Likewise.
14881         * hurd/hurd/signal.h: Likewise.
14882         * hurd/hurdfault.c: Likewise.
14883         * hurd/hurdioctl.c: Likewise.
14884         * hurd/hurdlookup.c: Likewise.
14885         * hurd/intr-msg.c: Likewise.
14886         * iconv/gconv_open.c: Likewise.
14887         * libio/swprintf.c: Likewise.
14888         * locale/lc-ctype.c: Likewise.
14889         * locale/nl_langinfo.c: Likewise.
14890         * mach/Machrules: Likewise.
14891         * mach/Makefile: Likewise.
14892         * malloc/obstack.h: Likewise.
14893         * manual/Makefile: Likewise.
14894         * manual/tsort.awk: Likewise.
14895         * misc/bits/stab.def: Likewise.
14896         * nis/nis_print_group_entry.c: Likewise.
14897         * nis/nis_table.c: Likewise.
14898         * nis/nss_compat/compat-pwd.c: Likewise.
14899         * nis/nss_compat/compat-spwd.c: Likewise.
14900         * po/Makefile: Likewise.
14901         * posix/fnmatch.c: Likewise.
14902         * posix/regex.h: Likewise.
14903         * resolv/Makefile: Likewise.
14904         * resolv/nss_dns/dns-network.c: Likewise.
14905         * resolv/res_hconf.c: Likewise.
14906         * scripts/gen-sorted.awk: Likewise.
14907         * soft-fp/soft-fp.h: Likewise.
14908         * stdio-common/printf.h: Likewise.
14909         * stdlib/monetary.h: Likewise.
14910         * stdlib/random.c: Likewise.
14911         * stdlib/random_r.c: Likewise.
14912         * sysdeps/generic/Makefile: Likewise.
14913         * sysdeps/gnu/Makefile: Likewise.
14914         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14915         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14916         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14918         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14919         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14920         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14921         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14922         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14924         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14925         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14926         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14927         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14928         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14929         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14930         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14931         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14932         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14934         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14935         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14936         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14937         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14938         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14939         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14940         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14941         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14942         * sysdeps/mach/hurd/errnos.awk: Likewise.
14943         * sysdeps/mach/hurd/fork.c: Likewise.
14944         * sysdeps/mach/hurd/getcwd.c: Likewise.
14945         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14946         * sysdeps/mach/hurd/mmap.c: Likewise.
14947         * sysdeps/mach/hurd/utimes.c: Likewise.
14948         * sysdeps/mach/hurd/xmknod.c: Likewise.
14949         * sysdeps/posix/profil.c: Likewise.
14950         * sysdeps/posix/readdir_r.c: Likewise.
14951         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14952         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14953         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14954         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14956         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14957         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14958         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14960         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14961         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14962         * sysdeps/pthread/lio_listio.c: Likewise.
14963         * sysdeps/sparc/dl-procinfo.h: Likewise.
14964         * sysdeps/unix/i386/sysdep.S: Likewise.
14965         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14966         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14967         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14968         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14970         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14971         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14972         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14973         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14974         * sysdeps/wordsize-32/divdi3.c: Likewise.
14975         * time/sys/time.h: Likewise.
14976         * wcsmbs/Makefile: Likewise.
14977
14978 2013-01-01  David S. Miller  <davem@davemloft.net>
14979
14980         * po/fr.po: Update from translation team.
14981
14982         * catgets/gencat.c: Update copyright year.
14983         * csu/version.c: Likewise.
14984         * debug/catchsegv.sh: Likewise.
14985         * debug/pcprofiledump.c: Likewise.
14986         * debug/xtrace.sh: Likewise.
14987         * elf/ldconfig.c: Likewise.
14988         * elf/ldd.bash.in: Likewise.
14989         * elf/pldd.c: Likewise.
14990         * elf/sotruss.ksh: Likewise.
14991         * elf/sprof.c: Likewise.
14992         * iconv/iconv_prog.c: Likewise.
14993         * iconv/iconvconfig.c: Likewise.
14994         * locale/programs/locale.c: Likewise.
14995         * locale/programs/localedef.c: Likewise.
14996         * login/programs/pt_chown.c: Likewise.
14997         * malloc/memusage.sh: Likewise.
14998         * malloc/memusagestat.c: Likewise.
14999         * malloc/mtrace.pl: Likewise.
15000         * nscd/nscd.c: Likewise.
15001         * nss/getent.c: Likewise.
15002         * nss/makedb.c: Likewise.
15003         * posix/getconf.c: Likewise.
15004
15005 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15006
15007         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15008         numbers.
15009
15010 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15011
15012         * math/bits/mathcalls.h (modf): Use __nonnull.
15013
15014 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15015
15016         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15017         (split): Use macro CN instead of the bare value.
15018         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15019         could be used.
15020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15021         instead of the bare value.
15022         (power1): Likewise.
15023
15024 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15025
15026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15027         __ATAN_TWOM.
15028         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15029
15030         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15031         their values.
15032         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15033         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15034         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15035         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15036
15037 2012-12-28  Andreas Jaeger  <aj@suse.de>
15038
15039         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15040         values are from Linux 3.7.
15041
15042         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15043         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15044
15045 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15046
15047         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15048         TRUE case.
15049
15050         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15051         (norm): Likewise.
15052         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15053         variables with preprocessor constants.
15054         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15055         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15056         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15057
15058 2012-12-27  Bruno Haible  <bruno@clisp.org>
15059
15060         [BZ #14317]
15061         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15062         only if needed.
15063
15064 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15065
15066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15067         and use variable directly.
15068         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15069
15070         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15071         MPONE.
15072         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15073         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15074         variable MPONE.
15075         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15077         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15078         include directive.  Remove local variable MPONE.
15079         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15080         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15081         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15082
15083 2012-12-25  David S. Miller  <davem@davemloft.net>
15084
15085         * version.h (RELEASE): Set to "development".
15086         (VERSION): Set to "2.17.90".
15087         * NEWS: Add 2.18 section.
15088
15089 2012-12-21  David S. Miller  <davem@davemloft.net>
15090
15091         * po/hr.po: Update from translation team.
15092
15093 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15094
15095         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15096
15097 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15098
15099         * NEWS:  Mention new memcpy for MIPS.
15100
15101 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15102
15103         * manual/contrib.texi (Contributors): Spelling correction.
15104
15105 2012-12-15  David S. Miller  <davem@davemloft.net>
15106
15107         * po/ru.po: Update from translation team.
15108
15109 2012-12-13  David S. Miller  <davem@davemloft.net>
15110
15111         * NEWS: Mention IFUNC testsuite enhancements.
15112
15113         * po/pl.po: Update from translation team.
15114         * po/bg.po: Likewise.
15115
15116         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15117         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15118
15119 2012-12-11  David S. Miller  <davem@davemloft.net>
15120
15121         * po/sv.po: Update from translation team.
15122
15123         * po/vi.po: Update from translation team.
15124
15125         * po/cs.po: Update from translation team.
15126
15127         * po/de.po: Update from translation team.
15128         * po/eo.po: Likewise.
15129         * po/nl.po: Likewise.
15130
15131 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15132
15133         [BZ #14246]
15134         * manual/argp.texi (Argp Helper Functions): Move node to follow
15135         Argp Parsing State.
15136
15137         [BZ #14872]
15138         * manual/conf.texi (Limits on File System Capacity): Mention if
15139         terminating null is included in the max size.
15140
15141 2012-12-10  Andreas Jaeger  <aj@suse.de>
15142
15143         * po/cs.po: Update from translation team.
15144
15145 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15146
15147         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15148         void pointer and cast to uintptr_t.
15149         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15150         path.
15151         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15152         * sysdeps/s390/s390-64/memset.S: Likewise.
15153
15154 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15155
15156         [BZ #14833]
15157         * menual/message.texi (Message Translation): Fix typos.
15158         (Helper programs for gettext): Likewise.
15159
15160 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15161
15162         [BZ #14898]
15163         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15164         Change to -1.
15165
15166 2012-12-07  David S. Miller  <davem@davemloft.net>
15167
15168         * po/libc.pot: Update.
15169
15170 2012-12-07  Richard Henderson  <rth@redhat.com>
15171
15172         [BZ #10114]
15173         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15174         normal/normal case to before the switch.
15175         (_FP_DIV): Likewise.
15176
15177 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15178             Mike Frysinger  <vapier@gentoo.org>
15179
15180         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15181         check for __NR_fadvise64_64.
15182
15183 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15184
15185         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15186         0, not just to plain "0" as a statement.
15187         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15188         with cw.
15189
15190 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15191
15192         * NEWS: Use sourceware.org in Bugzilla URL.
15193
15194 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15195
15196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15197         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15198
15199         * stdio-common/tst-put-error.c (do_test): Add newline to the
15200         padded test to ensure flush.
15201
15202 2012-12-05  Jeff Law  <law@redhat.com>
15203
15204         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15205
15206 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15207
15208         * README: Don't refer to ports add-on as distributed separately.
15209         Mention AArch64 in list of systems supported in the ports add-on.
15210
15211         * LICENSES: Add more non-FSF copyright and license notices.
15212
15213         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15214         ((unused)).
15215
15216         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15217
15218         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15219         10000 as width of padded output.
15220
15221 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15222
15223         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15224
15225         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15226         variable LX with __attribute__ ((unused)).
15227         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15228         Likewise.
15229         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15230         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15231         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15232         with __attribute__ ((unused)).
15233
15234 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15235
15236         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15237
15238 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15239
15240         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15241         (CFLAGS-nldbl-acos.c): New variable.
15242         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15243         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15244         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15245         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15246         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15247         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15248         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15249         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15250         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15251         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15252         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15253         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15254         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15255         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15256         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15257         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15258         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15259         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15260         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15261         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15262         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15263         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15264         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15265         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15266         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15267         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15268         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15269         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15270         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15271         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15272         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15273         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15274         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15275         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15276         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15277         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15278         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15279         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15280         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15281         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15282         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15283         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15284         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15285         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15286         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15287         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15288         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15289         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15290         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15291         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15292         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15293         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15294         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15295         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15296         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15297         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15298         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15299         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15300         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15301         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15302         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15303         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15304         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15305         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15306         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15307         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15308         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15309         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15310         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15311         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15312         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15313         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15314         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15315         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15316         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15317         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15318         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15319         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15320         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15321         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15322         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15323         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15324         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15325         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15326         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15327         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15328         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15329         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15330         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15331         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15332         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15333         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15334         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15335         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15336         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15337         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15338         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15339
15340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15341         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15342
15343         [BZ #14914]
15344         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15345         whole low double instead of just low 47 bits when splitting values
15346         into two parts.
15347
15348 2012-12-03  Allan McRae  <allan@archlinux.org>
15349
15350         * manual/stdio.texi (Predefined Printf Handlers): Remove
15351         @hsep and @vsep usage.
15352
15353 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15354
15355         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15356         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15357
15358 2012-12-03  Jeff Law  <law@redhat.com>
15359
15360         * time/sys/time.h (settimeofday): Do not mark TV argument
15361         as __nonnull.
15362
15363 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15364
15365         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15366         when currently writing and seek to current position when not.
15367         * libio/Makefile (tests): Remove bug-fclose1.
15368         * libio/bug-fclose1.c: Delete.
15369
15370 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15371
15372         * manual/arith.texi (feenableexcept): Fix typo.
15373         (fedisableexcept): Likewise.
15374
15375 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15376
15377         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15378         second, differently-typed declaration, rather than a cast.
15379
15380 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15381
15382         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15383         * include/rpc/svc.h: ... here.
15384
15385 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15386
15387         [BZ #13013]
15388         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15389         depending n and resplen2 to catch cases where answer
15390         equals answerp2.
15391
15392 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15393
15394         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15395         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15396
15397 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15398
15399         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15400
15401 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15402
15403         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15404
15405 2012-11-28  Jeff Law  <law@redhat.com>
15406
15407         [BZ #13761]
15408         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15409         dataset_temporary.  Track alloca usage into alloca_used.
15410         If dataset is large allocate and release it via malloc/free.
15411
15412 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15413
15414         [BZ #14197]
15415         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15416
15417 2012-11-28  David S. Miller  <davem@davemloft.net>
15418
15419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15420
15421 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15422
15423         [BZ #14803]
15424         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15425         of pi/2 rounded to nearest to 64 bits.
15426         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15427         nearest to 64 bits.
15428         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15429         bits.
15430
15431 2012-11-28  Jeff Law <law@redhat.com>
15432             Martin Osvald <mosvald@redhat.com>
15433
15434         [BZ #14889]
15435         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15436         * sunrpc/svc.c: Include time.h.
15437         (__svc_accept_failed): New function.
15438         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15439         any reason other than EINTR, call __svc_accept_failed.
15440         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15441         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15442
15443 2012-11-28  Andreas Schwab  <schwab@suse.de>
15444
15445         * scripts/abilist.awk: Also handle indirect functions in .opd
15446         section.
15447
15448 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15449
15450         [BZ #13881]
15451         * sysdeps/x86/fpu/powl_helper.c: New file.
15452         * sysdeps/x86/fpu/Makefile: Likewise.
15453         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15454         (p3): New object.
15455         (__ieee754_powl): Use __powl_helper for finite arguments except
15456         integer exponents below 8.
15457         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15458         (p3): New object.
15459         (__ieee754_powl): Use __powl_helper for finite arguments except
15460         integer exponents below 8.
15461         * math/libm-test.inc (pow_test): Add more tests and enable some
15462         previously disabled tests.
15463         * sysdeps/i386/fpu/libm-test-ulps: Update.
15464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15465
15466 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15467             Carlos O'Donell  <carlos_odonell@mentor.com>
15468
15469         * nss/makedb.c (is_prime): Assert that input is odd and greater
15470         than 4.  Note that fact in a comment too.
15471         (next_prime): Add 4 to input.
15472
15473 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15474
15475         [BZ #11741]
15476         * libio/Makefile (tests): Add test case tst-fwrite-error.
15477         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15478         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15479         * libio/tst-fwrite-error.c: New test case.
15480
15481 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15482
15483         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15484         before casting to void *.
15485         * include/libc-internal.h (__pointer_type): New macro.
15486         (__integer_if_pointer_type_sub): Likewise.
15487         (__integer_if_pointer_type): Likewise.
15488         (cast_to_integer): Likewise.
15489         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15490         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15491         before casting to atomic64_t.
15492         (atomic_exchange_acq): Likewise.
15493         (__arch_exchange_and_add_body): Likewise.
15494         (__arch_add_body): Likewise.
15495         (atomic_add_negative): Likewise.
15496         (atomic_add_zero): Likewise.
15497
15498 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15499
15500         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15501         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15502         (add_fdes): Likewise.
15503         (linear_search_fdes): Likewise.
15504         (binary_search_unencoded_fdes): Likewise.
15505
15506 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15507
15508         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15509
15510 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15511
15512         * configure.in: Autodetect C++ header directories.
15513         * configure: Regenerated.
15514
15515 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15516
15517         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15518
15519 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15520
15521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15522
15523 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15524
15525         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15526         LDBL_MANT_DIG == 106]: Disable some tests.
15527         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15528         Likewise.
15529         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15530         Likewise.
15531
15532         [BZ #14871]
15533         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15534         input for small inputs.  Return +/- pi/2 for large inputs.
15535         * math/libm-test.inc (atan_test): Add more tests.
15536
15537         * sysdeps/generic/unwind-dw2-fde-glibc.c
15538         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15539         __attribute__ ((unused)).
15540
15541         [BZ #14645]
15542         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15543         x * y if x and y are nonzero and z is zero.
15544
15545         [BZ #14811]
15546         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15547         nonzero exponents with absolute value below 0x1p-117 to +/-
15548         0x1p-117.
15549
15550         [BZ #14869]
15551         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15552         up arguments below 2**-450, not just those below 2**-500.
15553         * math/libm-test.inc (hypot_test): Add another test.
15554
15555         [BZ #14868]
15556         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15557         Return a+b for ratio over 2**120, not 2**60.
15558         * math/libm-test.inc (hypot_test): Add another test.
15559
15560         * math/libm-test.inc (clog_test): Use
15561         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15562         (clog10_test): Likewise.
15563
15564         [BZ #6778]
15565         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15566
15567 2012-11-22  Andreas Schwab  <schwab@suse.de>
15568
15569         * sysdeps/i386/fpu/libm-test-ulps: Update.
15570
15571 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15572
15573         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15574         printf output with newline.
15575
15576 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15577
15578         [BZ #14865]
15579         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15580         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15581         -z nodlopen, -z initfirst and -z execstack support.
15582         * configure: Regenerated.
15583
15584         * elf/elf.h (DF_1_NODIRECT): New macro.
15585         (DF_1_IGNMULDEF): Likewise.
15586         (DF_1_NOKSYMS): Likewise.
15587         (DF_1_NOHDR): Likewise.
15588         (DF_1_EDITED): Likewise.
15589         (DF_1_NORELOC): Likewise.
15590         (DF_1_SYMINTPOSE): Likewise.
15591         (DF_1_GLOBAUDIT): Likewise.
15592         (DF_1_SINGLETON): Likewise.
15593         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15594         DT_1_SUPPORTED_MASK bits.
15595         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15596
15597 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15598
15599         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15600
15601 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15602
15603         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15604         macro.
15605
15606         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15607         (sendmmsg): Move declarations...
15608         * socket/sys/socket.h: ... here.
15609         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15610         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15611         include it from...
15612         * socket/recvmmsg.c: ... this new file.
15613         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15614         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15615         definition of __sendmmsg hidden.
15616         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15617         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15618         Move ENOSYS stub into and include it from...
15619         * socket/sendmmsg.c: ... this new file.
15620         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15621         (sysdep_routines): Move recvmmsg and sendmmsg...
15622         * socket/Makefile (routines): ... here.
15623         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15624         (GLIBC_PRIVATE): Add __sendmmsg.
15625         * include/sys/socket.h (__sendmmsg): Add declarations.
15626         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15627         sendmmsg.
15628
15629 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15630
15631         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15632         variable I1 with __attribute__ ((unused)).
15633         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15634
15635 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15636
15637         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15638         DUMMY variables with __attribute__ ((unused)).
15639
15640         * bits/byteswap.h: Include <bits/types.h>.
15641         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15642
15643 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15644
15645         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15646         string_t.  Do not manually set errno.
15647         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15648         length with __strnlen.  Make sure to both set errno and return it on
15649         failure.
15650
15651 2012-11-19  David S. Miller  <davem@davemloft.net>
15652
15653         With help from Joseph Myers.
15654         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15655         very large arguments properly.
15656         * math/libm-test.inc (atan_test): New tests.
15657         (atan2_test): New tests.
15658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15660
15661 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15662
15663         [BZ #14856]
15664         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15665         Define to 3.
15666
15667         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15668         [POSIX] (EADDRNOTAVAIL): Likewise.
15669         [POSIX] (EAFNOSUPPORT): Likewise.
15670         [POSIX] (EALREADY): Likewise.
15671         [POSIX] (ECONNABORTED): Likewise.
15672         [POSIX] (ECONNREFUSED): Likewise.
15673         [POSIX] (ECONNRESET): Likewise.
15674         [POSIX] (EDESTADDRREQ): Likewise.
15675         [POSIX] (EDQUOT): Likewise.
15676         [POSIX] (EHOSTUNREACH): Likewise.
15677         [POSIX] (EIDRM): Likewise.
15678         [POSIX] (EISCONN): Likewise.
15679         [POSIX] (ELOOP): Likewise.
15680         [POSIX] (EMULTIHOP): Likewise.
15681         [POSIX] (ENETDOWN): Likewise.
15682         [POSIX] (ENETUNREACH): Likewise.
15683         [POSIX] (ENOBUFS): Likewise.
15684         [POSIX] (ENODATA): Likewise.
15685         [POSIX] (ENOLINK): Likewise.
15686         [POSIX] (ENOMSG): Likewise.
15687         [POSIX] (ENOPROTOOPT): Likewise.
15688         [POSIX] (ENOSR): Likewise.
15689         [POSIX] (ENOSTR): Likewise.
15690         [POSIX] (ENOTCONN): Likewise.
15691         [POSIX] (ENOTSOCK): Likewise.
15692         [POSIX] (EOPNOTSUPP): Likewise.
15693         [POSIX] (EOVERFLOW): Likewise.
15694         [POSIX] (EPROTO): Likewise.
15695         [POSIX] (EPROTONOSUPPORT): Likewise.
15696         [POSIX] (EPROTOTYPE): Likewise.
15697         [POSIX] (ESTALE): Likewise.
15698         [POSIX] (ETIME): Likewise.
15699         [POSIX] (ETXTBSY): Likewise.
15700         [POSIX] (EWOULDBLOCK): Likewise.
15701         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15702         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15703         [POSIX] (SEEK_CUR): Likewise.
15704         [POSIX] (SEEK_END): Likewise.
15705         [POSIX || UNIX98] (mode_t): Do not require.
15706         [POSIX] (off_t): Likewise.
15707         [POSIX] (pid_t): Likewise.
15708         [POSIX] (sys/stat.h): Do not allow header.
15709         [POSIX] (unistd.h): Likewise.
15710         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15711         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15712         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15713         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15714         require.
15715         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15716         sigevent): Specify elements.
15717         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15718         entry.
15719         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15720         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15721
15722         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15723         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15724         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15725         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15726         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15727         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15728         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15729         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15730         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15731         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15732         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15733         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15734         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15735         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15736         Likewise.
15737         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15738         Likewise.
15739         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15740         Likewise.
15741         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15742         Likewise.
15743         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15744         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15745         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15746         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15747         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15748         Specify lower bound on value.
15749         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15750         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15751         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15752         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15753         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15754         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15755         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15756         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15757         value.
15758         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15759         as optional.
15760         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15761         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15762         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15763         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15764         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15765         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15766         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15767         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15768         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15769         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15770         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15771         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15772         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15773         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15774         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15775         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15776         entry.
15777         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15778         optional.
15779         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15780         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15781         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15782         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15783         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15784         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15785         Likewise.
15786         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15787         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15788         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15789         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15790         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15791         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15792         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15793         as optional.
15794         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15795         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15796         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15797         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15798         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15799         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15800         specify as optional.
15801         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15802         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15803         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15804         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15805         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15806         [XPG3] (NL_LANGMAX): Likewise.
15807         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15808         [POSIX || XPG3] (NL_NMAX): Likewise.
15809         [POSIX || XPG3] (NL_SETMAX): Likewise.
15810         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15811         [XPG3] (NZERO): Likewise.
15812         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15813         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15814         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15815         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15816         (REG_ERANGE): Expect.
15817         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15818         optional-constant.
15819         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15820         Use (void) in prototype.
15821         [POSIX] (*_t): Allow.
15822         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15823         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15824         (WRDE_BADVAL): Expect.
15825
15826         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15827         expect.
15828         [XPG3 || XPG4] (O_RSYNC): Likewise.
15829         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15830         Likewise.
15831         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15832         [XPG3 || XPG4] (sigqueue): Likewise.
15833         [XPG3 || XPG4] (sigtimedwait): Likewise.
15834         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15835         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15836         [XPG3 || XPG4] (vsnprintf): Likewise.
15837         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15838         Likewise.
15839         [XPG3 || XPG4] (blksize_t): Likewise.
15840         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15841         Likewise.
15842         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15843         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15844         [XPG3 || XPG4] (struct itimerspec): Likewise.
15845         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15846         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15847         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15848         [XPG3 || XPG4] (clockid_t): Likewise.
15849         [XPG3 || XPG4] (timer_t): Likewise.
15850         [XPG3 || XPG4] (clock_getres): Likewise.
15851         [XPG3 || XPG4] (clock_gettime): Likewise.
15852         [XPG3 || XPG4] (clock_settime): Likewise.
15853         [XPG3 || XPG4] (nanosleep): Likewise.
15854         [XPG3 || XPG4] (timer_create): Likewise.
15855         [XPG3 || XPG4] (timer_delete): Likewise.
15856         [XPG3 || XPG4] (timer_gettime): Likewise.
15857         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15858         [XPG3 || XPG4] (timer_settime): Likewise.
15859         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15860         [XPG3 || XPG4] (getlogin_r): Likewise.
15861         [XPG3 || XPG4] (pread): Likewise.
15862         [XPG3 || XPG4] (pthread_atfork): Likewise.
15863         [XPG3 || XPG4] (pwrite): Likewise.
15864
15865         [BZ #14835]
15866         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15867         <bits/siginfo.h>.
15868
15869 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15870
15871         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15872         finalizing MALLSTREAM.
15873
15874         * sysdeps/mach/hurd/syncfs.c: New file.
15875
15876 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15877
15878         [BZ #14719]
15879         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15880         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15881         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15882         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15883         (_nss_dns_gethostbyname4_r): Likewise.
15884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15885         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15886
15887 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15888
15889         [BZ #13763]
15890         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15891
15892 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15893
15894         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15895         * elf/cache.c (print_entry): Print ",AArch64" for
15896         FLAG_AARCH64_LIB64
15897
15898         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15899         * elf/cache.c (print_entry): Print ",hard-float" for
15900         FLAG_ARM_LIBHF.
15901
15902 2012-11-18  David S. Miller  <davem@davemloft.net>
15903
15904         With help from Joseph Myers.
15905         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15906         cutoff to 2**-13.
15907         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15908         cutoff to 2**-25.
15909         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15910         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15911         small.
15912         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15913         * math/libm-test.inc (y0_test): New tests.
15914         (y1_test): New tests.
15915         * sysdeps/i386/fpu/libm-test-ulps: Update.
15916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15918
15919 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15920
15921         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15922         64-bit targets.
15923         * configure: Regenerated.
15924
15925 2012-11-17  David S. Miller  <davem@davemloft.net>
15926
15927         [BZ #14811]
15928         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15929         nonzero exponents with absolute value below 0x1p-128 to +/-
15930         0x1p-128.
15931
15932 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15933
15934         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15935
15936         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15937
15938         * posix/getconf-speclist.c: New file.
15939         * posix/posix-envs.def: Likewise.
15940         * posix/confstr.c (START_ENV_GROUP): New macro.
15941         (END_ENV_GROUP): Likewise.
15942         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15943         (KNOWN_PRESENT_ENV_STRING): Likewise.
15944         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15945         (UNKNOWN_ENVIRONMENT): Likewise.
15946         (confstr): Include posix-envs.def instead of handling
15947         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15948         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15949         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15950         (END_ENV_GROUP): Likewise.
15951         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15952         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15953         (UNKNOWN_ENVIRONMENT): Likewise.
15954         (__sysconf): Include posix-envs.def instead of handling associated
15955         cases directly here.
15956         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15957         preprocessing getconf-speclist.c rather than running getconf or
15958         generating empty file.
15959
15960 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15961
15962         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15963
15964 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15965
15966         [BZ #14672]
15967         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15968
15969 2012-11-16  David S. Miller  <davem@davemloft.net>
15970
15971         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15972         smaller than LDBL_EPSILON/2.0L, just return xm1.
15973
15974 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15975
15976         * elf/tst-array1.c (init): Set constructor priority to 1000.
15977         (fini): Set destructor priority to 1000.
15978         * elf/tst-array2dep.c: Likewise.
15979
15980 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15981
15982         [BZ #11741]
15983         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15984         (_IO_new_file_xsputn): Also return EOF if none of the input
15985         data was written when overflow failed.
15986         * libio/iopadn.c (_IO_padn): Likewise.
15987         * libio/iowpadn.c (_IO_wpadn): Likewise.
15988         * stdio-common/tst-put-error.c: Add copyright notice.
15989         (do_test): Add case for printing padded string.
15990         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15991         _IO_padn returned error.
15992         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15993         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15994         return EOF.
15995
15996 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15997
15998         * libio/libioP.h: Add comment note that the references to C++
15999         bits are now obsolete.
16000
16001 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16002
16003         * math/libm-test.inc (check_complex): Use asprintf.
16004
16005 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16006
16007         * debug/pcprofiledump.c (print_version): Update copyright year.
16008         * malloc/memusagestat.c (print_version): Likewise.
16009
16010 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16011
16012         [BZ #14831]
16013         * elf/Makefile (tests): Add tst-audit8.
16014         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16015         ($(objpfx)tst-audit8.out): New target.
16016         (tst-audit8-ENV): New variable.
16017         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16018         audit if l_reloc_result is NULL.
16019         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16020         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16021         * elf/tst-audit8.c: New file.
16022
16023 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16024
16025         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16026         * misc/Makefile (CFLAGS-select.c): Define.
16027         * posix/Makefile (CFLAGS-pause.c): Define.
16028
16029 2012-11-13  David S. Miller  <davem@davemloft.net>
16030
16031         * crypt/Makefile: Move test targets after toplevel Rules
16032         inclusion.  Grab any necessary sysdep routines when linking.
16033         * crypt/md5.c (md5_process_block): Remove define, we will always
16034         name it __md5_process_block.
16035         (md5_finish_ctx): Update md5_process_block call.
16036         (md5_stream): Likewise.
16037         (md5_process_bytes): Likewise.
16038         (md5_process_block): Rename to __md5_process_block and move to ...
16039         * crypt/md5-block.c: ... here.
16040         * crypt/sha256.c (sha256_process_block): Move to ...
16041         * crypt/sha256-block.c: ... here.
16042         * crypt/sha512.c (sha512_process_block): Move to ...
16043         * crypt/sha512-block.c: ... here.
16044         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16045         path.
16046         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16047         * sysdeps/sparc/sparc64/multiarch/Makefile
16048         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16049         crypt subdir.
16050         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16051         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16052         multiarch changes.
16053         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16054         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16055         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16056         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16057         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16058         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16059         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16060         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16061         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16062         file.
16063         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16064         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16065         file.
16066         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16067
16068 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16069
16070         * timezone/tzselect.ksh: Update from tzcode git revision
16071         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16072         * timezone/zdump.c: Likewise.
16073         * timezone/zic.c: Likewise.
16074         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16075         in TZVERSION setting, not $(PKGVERSION).
16076         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16077         REPORT_BUGS_TO settings.
16078
16079         [BZ #14838]
16080         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16081         macro.
16082
16083 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16084
16085         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16086         detection to immediately after _FP_ROUND().
16087         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16088         bits are 0.
16089
16090 2012-11-11  David S. Miller  <davem@davemloft.net>
16091
16092         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16093         inttypes.h
16094         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16095         __close rather than their public counterparts.
16096
16097 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16098
16099         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16100         file.
16101         [UNIX98] (sem_timedwait): Do not expect.
16102         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16103         [XPG4 || UNIX98] (sockatmark): Do not expect.
16104         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16105         (clock_getcpuclockid): Do not expect.
16106         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16107         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16108         Do not expect.
16109         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16110         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16111         [UNIX98] (vwscanf): Likewise.
16112         [UNIX98] (vswscanf): Likewise.
16113
16114 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16115
16116         * timezone/version.h: Remove file.
16117         * timezone/README: Do not refer to version.h.
16118         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16119         $(objpfx)version.h.
16120         ($(objpfx)zdump.o): Likewise.
16121         ($(objpfx)version.h): New target.
16122
16123         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16124         2012i.
16125         * timezone/README: Don't mention modification to tzselect.ksh.
16126         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16127         work on unmodified tzselect.ksh.  Substitute version numbers in
16128         tzselect.ksh.
16129
16130         * Makefile (format-me): Remove.
16131         (INSTALL): Adjust indentation.  Use commands directly instead of
16132         using $(format-me).
16133
16134         * aclocal.m4 (ACX_PKGVERSION): New macro.
16135         (ACX_BUGURL): Likewise.
16136         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16137         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16138         (REPORT_BUGS_TO): Likewise.
16139         * configure: Regenerated.
16140         * config.h.in (PKGVERSION): New macro.
16141         (REPORT_BUGS_TO): Likewise.
16142         * config.make.in (PKGVERSION): New variable.
16143         (PKGVERSION_TEXI): Likewise.
16144         (REPORT_BUGS_TO): Likewise.
16145         (REPORT_BUGS_TEXI): Likewise.
16146         * Makefile (format-me): Use -I$(common-objpfx)manual.
16147         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16148         ($(common-objpfx)manual/%): New target.
16149         (manual/%): Remove target.
16150         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16151         (print_version): Use PKGVERSION.
16152         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16153         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16154         and REPORT_BUGS_TO.
16155         ($(objpfx)xtrace): Likewise.
16156         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16157         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16158         (print_version): Use PKGVERSION.
16159         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16160         (do_version): Use PKGVERSION.
16161         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16162         REPORT_BUGS_TO.
16163         (common-ldd-rewrite): Likewise.
16164         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16165         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16166         (print_version): Use PKGVERSION.
16167         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16168         * elf/pldd.c (argp_program_bug_address): Remove variable.
16169         (more_help): New function.
16170         (argp): Use more_help.
16171         (print_version): Use PKGVERSION.
16172         * elf/sln.c (main): Use PKGVERSION.
16173         (usage): Use REPORT_BUGS_TO.
16174         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16175         (top level): Use PKGVERSION.
16176         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16177         (print_version): Use PKGVERSION.
16178         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16179         (print_version): Use PKGVERSION.
16180         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16181         (print_version): Use PKGVERSION.
16182         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16183         (print_version): Use PKGVERSION.
16184         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16185         (print_version): Use PKGVERSION.
16186         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16187         (print_version): Use PKGVERSION.
16188         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16189         and BUGURL.
16190         ($(objpfx)memusage): Likewise.
16191         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16192         (do_version): Use PKGVERSION.
16193         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16194         (print_version): Use PKGVERSION.
16195         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16196         ($PKGVERSION): New variable.
16197         ($REPORT_BUGS_TO): Likewise.
16198         (usage): Use $REPORT_BUGS_TO.
16199         (top level): Use $PKGVERSION.
16200         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16201         ($(objpfx)pkgvers.texi): New rule.
16202         ($(objpfx)stamp-pkgvers): Likewise.
16203         * manual/install.texi: Include pkgvers.texi.
16204         (--with-pkgversion): Document new configure option.
16205         (--with-bugurl): Likewise.
16206         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16207         than necessarily for this particular distribution.  Use
16208         REPORT_BUGS_TO for where to report bugs.
16209         * INSTALL: Regenerated.
16210         * manual/libc.texinfo: Include pkgvers.texi.
16211         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16212         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16213         (print_version): Use PKGVERSION.
16214         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16215         (print_version): Use PKGVERSION.
16216         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16217         (print_version): Use PKGVERSION.
16218         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16219         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16220         macro.
16221         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16222         (print_version): Use PKGVERSION.
16223         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16224         (print_version): Use PKGVERSION.
16225         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16226         and PKGVERSION.
16227
16228         * timezone/checktab.awk: Update from tzcode 2012i.
16229         * timezone/ialloc.c: Likewise.
16230         * timezone/private.h: Likewise.
16231         * timezone/scheck.c: Likewise.
16232         * timezone/tzfile.h: Likewise.
16233         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16234         (TZVERSION): Hardcode tzcode version number.
16235         * timezone/zdump.c: Update from tzcode 2012i.
16236         * timezone/zic.c: Likewise.
16237         * timezone/version.h: New file.
16238         * timezone/README: Describe version.h.  Update upstream location.
16239
16240         [BZ #14824]
16241         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16242         (mktemp): Enable declaration.
16243         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16245         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16247         Likewise.
16248         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16249         Likewise.
16250         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16251         Likewise.
16252         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16253         Likewise.
16254         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16255         Likewise.
16256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16257         Likewise.
16258
16259         [BZ #14821]
16260         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16261         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16262         for copies of such integer values.
16263         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16264         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16265
16266 2012-11-09  Andreas Jaeger  <aj@suse.de>
16267
16268         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16269         definitions and declarations that are provided by
16270         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16271
16272 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16273
16274         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16275         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16276         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16277         definition.
16278
16279 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16280
16281         * elf/elf.h: Update comment before AArch64 relocations.
16282
16283 2012-11-07  David S. Miller  <davem@davemloft.net>
16284
16285         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16286         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16287         (__start_context): Declare.
16288         (__makecontext_ret): Delete.
16289         (__makecontext): Hook up __start_context instead of
16290         __makecontext_ret.
16291         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16292         (sysdep_routines): Add __start_context when in stdlib.
16293
16294 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16295
16296         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16297         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16298         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16299         hardcoded "nm".
16300         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16301         (READELF): New variable.  Use it instead of hardcoded "readelf".
16302
16303 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16304
16305         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16306         * sysdeps/x86/Makefile: Here.
16307         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16308         * sysdeps/x86/tst-xmmymm.sh: This.
16309
16310 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16311
16312         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16313         expectations.
16314         [UNIX98] (pthread_barrier_t): Do not expect.
16315         [UNIX98] (pthread_barrierattr_t): Likewise.
16316         [UNIX98] (pthread_spinlock_t): Likewise.
16317         [UNIX98] (pthread_barrier_destroy): Likewise.
16318         [UNIX98] (pthread_barrier_init): Likewise.
16319         [UNIX98] (pthread_barrier_wait): Likewise.
16320         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16321         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16322         [UNIX98] (pthread_barrierattr_init): Likewise.
16323         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16324         [UNIX98] (pthread_getcpuclockid): Likewise.
16325         [UNIX98] (pthread_mutex_timedlock): Likewise.
16326         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16327         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16328         [UNIX98] (pthread_sigmask): Likewise.
16329         [UNIX98] (pthread_spin_destroy): Likewise.
16330         [UNIX98] (pthread_spin_init): Likewise.
16331         [UNIX98] (pthread_spin_lock): Likewise.
16332         [UNIX98] (pthread_spin_trylock): Likewise.
16333         [UNIX98] (pthread_spin_unlock): Likewise.
16334         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16335         Do not expect.
16336         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16337         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16338         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16339         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16340         [XPG3 || XPG4] (pthread_key_t): Likewise.
16341         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16342         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16343         [XPG3 || XPG4] (pthread_once_t): Likewise.
16344         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16345         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16346         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16347         [XPG3 || XPG4] (pthread_t): Likewise.
16348
16349         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16350         not expect.
16351         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16352
16353         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16354         Change function return type to int.
16355
16356         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16357         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16358         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16359         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16360         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16361         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16362         [!POSIX] (posix_madvise): Likewise.
16363         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16364         && !UNIX98].
16365         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16366         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16367         (mode_t): Likewise.
16368         (posix_mem_offset): Likewise.
16369         (posix_typed_mem_get_info): Likewise.
16370         (posix_typed_mem_open): Likewise.
16371
16372         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16373         Change condition to [XOPEN2K8].
16374
16375         * conform/conformtest.pl: Preprocess allow-header data with -x c
16376         instead of from stdin.
16377         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16378         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16379         [C99-based standards] (cerfc): Likewise.
16380         [C99-based standards] (cexp2): Likewise.
16381         [C99-based standards] (cexpm1): Likewise.
16382         [C99-based standards] (clog10): Likewise.
16383         [C99-based standards] (clog1p): Likewise.
16384         [C99-based standards] (clog2): Likewise.
16385         [C99-based standards] (clgamma): Likewise.
16386         [C99-based standards] (ctgamma): Likewise.
16387         [C99-based standards] (cerff): Likewise.
16388         [C99-based standards] (cerfcf): Likewise.
16389         [C99-based standards] (cexp2f): Likewise.
16390         [C99-based standards] (cexpm1f): Likewise.
16391         [C99-based standards] (clog10f): Likewise.
16392         [C99-based standards] (clog1pf): Likewise.
16393         [C99-based standards] (clog2f): Likewise.
16394         [C99-based standards] (clgammaf): Likewise.
16395         [C99-based standards] (ctgammaf): Likewise.
16396         [C99-based standards] (cerfl): Likewise.
16397         [C99-based standards] (cerfcl): Likewise.
16398         [C99-based standards] (cexp2l): Likewise.
16399         [C99-based standards] (cexpm1l): Likewise.
16400         [C99-based standards] (clog10l): Likewise.
16401         [C99-based standards] (clog1pl): Likewise.
16402         [C99-based standards] (clog2l): Likewise.
16403         [C99-based standards] (clgammal): Likewise.
16404         [C99-based standards] (ctgammal): Likewise.
16405         * conform/data/inttypes.h-data [C99-based standards]: Include
16406         stdint.h-data.  Remove all expectations for stdint.h contents.
16407         [C99-based standards] (PRI*): Do not allow.
16408         [C99-based standards] (SCN*): Likewise.
16409         [C99-based standards] (*_t): Likewise.
16410         [C99-based-standards] (PRId8): Expect macro.
16411         [C99-based-standards] (PRIi8): Likewise.
16412         [C99-based-standards] (PRIo8): Likewise.
16413         [C99-based-standards] (PRIu8): Likewise.
16414         [C99-based-standards] (PRIx8): Likewise.
16415         [C99-based-standards] (PRIX8): Likewise.
16416         [C99-based-standards] (SCNd8): Likewise.
16417         [C99-based-standards] (SCNi8): Likewise.
16418         [C99-based-standards] (SCNo8): Likewise.
16419         [C99-based-standards] (SCNu8): Likewise.
16420         [C99-based-standards] (SCNx8): Likewise.
16421         [C99-based-standards] (PRIdLEAST8): Likewise.
16422         [C99-based-standards] (PRIiLEAST8): Likewise.
16423         [C99-based-standards] (PRIoLEAST8): Likewise.
16424         [C99-based-standards] (PRIuLEAST8): Likewise.
16425         [C99-based-standards] (PRIxLEAST8): Likewise.
16426         [C99-based-standards] (PRIXLEAST8): Likewise.
16427         [C99-based-standards] (SCNdLEAST8): Likewise.
16428         [C99-based-standards] (SCNiLEAST8): Likewise.
16429         [C99-based-standards] (SCNoLEAST8): Likewise.
16430         [C99-based-standards] (SCNuLEAST8): Likewise.
16431         [C99-based-standards] (SCNxLEAST8): Likewise.
16432         [C99-based-standards] (PRIdFAST8): Likewise.
16433         [C99-based-standards] (PRIiFAST8): Likewise.
16434         [C99-based-standards] (PRIoFAST8): Likewise.
16435         [C99-based-standards] (PRIuFAST8): Likewise.
16436         [C99-based-standards] (PRIxFAST8): Likewise.
16437         [C99-based-standards] (PRIXFAST8): Likewise.
16438         [C99-based-standards] (SCNdFAST8): Likewise.
16439         [C99-based-standards] (SCNiFAST8): Likewise.
16440         [C99-based-standards] (SCNoFAST8): Likewise.
16441         [C99-based-standards] (SCNuFAST8): Likewise.
16442         [C99-based-standards] (SCNxFAST8): Likewise.
16443         [C99-based-standards] (PRId16): Likewise.
16444         [C99-based-standards] (PRIi16): Likewise.
16445         [C99-based-standards] (PRIo16): Likewise.
16446         [C99-based-standards] (PRIu16): Likewise.
16447         [C99-based-standards] (PRIx16): Likewise.
16448         [C99-based-standards] (PRIX16): Likewise.
16449         [C99-based-standards] (SCNd16): Likewise.
16450         [C99-based-standards] (SCNi16): Likewise.
16451         [C99-based-standards] (SCNo16): Likewise.
16452         [C99-based-standards] (SCNu16): Likewise.
16453         [C99-based-standards] (SCNx16): Likewise.
16454         [C99-based-standards] (PRIdLEAST16): Likewise.
16455         [C99-based-standards] (PRIiLEAST16): Likewise.
16456         [C99-based-standards] (PRIoLEAST16): Likewise.
16457         [C99-based-standards] (PRIuLEAST16): Likewise.
16458         [C99-based-standards] (PRIxLEAST16): Likewise.
16459         [C99-based-standards] (PRIXLEAST16): Likewise.
16460         [C99-based-standards] (SCNdLEAST16): Likewise.
16461         [C99-based-standards] (SCNiLEAST16): Likewise.
16462         [C99-based-standards] (SCNoLEAST16): Likewise.
16463         [C99-based-standards] (SCNuLEAST16): Likewise.
16464         [C99-based-standards] (SCNxLEAST16): Likewise.
16465         [C99-based-standards] (PRIdFAST16): Likewise.
16466         [C99-based-standards] (PRIiFAST16): Likewise.
16467         [C99-based-standards] (PRIoFAST16): Likewise.
16468         [C99-based-standards] (PRIuFAST16): Likewise.
16469         [C99-based-standards] (PRIxFAST16): Likewise.
16470         [C99-based-standards] (PRIXFAST16): Likewise.
16471         [C99-based-standards] (SCNdFAST16): Likewise.
16472         [C99-based-standards] (SCNiFAST16): Likewise.
16473         [C99-based-standards] (SCNoFAST16): Likewise.
16474         [C99-based-standards] (SCNuFAST16): Likewise.
16475         [C99-based-standards] (SCNxFAST16): Likewise.
16476         [C99-based-standards] (PRId32): Likewise.
16477         [C99-based-standards] (PRIi32): Likewise.
16478         [C99-based-standards] (PRIo32): Likewise.
16479         [C99-based-standards] (PRIu32): Likewise.
16480         [C99-based-standards] (PRIx32): Likewise.
16481         [C99-based-standards] (PRIX32): Likewise.
16482         [C99-based-standards] (SCNd32): Likewise.
16483         [C99-based-standards] (SCNi32): Likewise.
16484         [C99-based-standards] (SCNo32): Likewise.
16485         [C99-based-standards] (SCNu32): Likewise.
16486         [C99-based-standards] (SCNx32): Likewise.
16487         [C99-based-standards] (PRIdLEAST32): Likewise.
16488         [C99-based-standards] (PRIiLEAST32): Likewise.
16489         [C99-based-standards] (PRIoLEAST32): Likewise.
16490         [C99-based-standards] (PRIuLEAST32): Likewise.
16491         [C99-based-standards] (PRIxLEAST32): Likewise.
16492         [C99-based-standards] (PRIXLEAST32): Likewise.
16493         [C99-based-standards] (SCNdLEAST32): Likewise.
16494         [C99-based-standards] (SCNiLEAST32): Likewise.
16495         [C99-based-standards] (SCNoLEAST32): Likewise.
16496         [C99-based-standards] (SCNuLEAST32): Likewise.
16497         [C99-based-standards] (SCNxLEAST32): Likewise.
16498         [C99-based-standards] (PRIdFAST32): Likewise.
16499         [C99-based-standards] (PRIiFAST32): Likewise.
16500         [C99-based-standards] (PRIoFAST32): Likewise.
16501         [C99-based-standards] (PRIuFAST32): Likewise.
16502         [C99-based-standards] (PRIxFAST32): Likewise.
16503         [C99-based-standards] (PRIXFAST32): Likewise.
16504         [C99-based-standards] (SCNdFAST32): Likewise.
16505         [C99-based-standards] (SCNiFAST32): Likewise.
16506         [C99-based-standards] (SCNoFAST32): Likewise.
16507         [C99-based-standards] (SCNuFAST32): Likewise.
16508         [C99-based-standards] (SCNxFAST32): Likewise.
16509         [C99-based-standards] (PRId64): Likewise.
16510         [C99-based-standards] (PRIi64): Likewise.
16511         [C99-based-standards] (PRIo64): Likewise.
16512         [C99-based-standards] (PRIu64): Likewise.
16513         [C99-based-standards] (PRIx64): Likewise.
16514         [C99-based-standards] (PRIX64): Likewise.
16515         [C99-based-standards] (SCNd64): Likewise.
16516         [C99-based-standards] (SCNi64): Likewise.
16517         [C99-based-standards] (SCNo64): Likewise.
16518         [C99-based-standards] (SCNu64): Likewise.
16519         [C99-based-standards] (SCNx64): Likewise.
16520         [C99-based-standards] (PRIdLEAST64): Likewise.
16521         [C99-based-standards] (PRIiLEAST64): Likewise.
16522         [C99-based-standards] (PRIoLEAST64): Likewise.
16523         [C99-based-standards] (PRIuLEAST64): Likewise.
16524         [C99-based-standards] (PRIxLEAST64): Likewise.
16525         [C99-based-standards] (PRIXLEAST64): Likewise.
16526         [C99-based-standards] (SCNdLEAST64): Likewise.
16527         [C99-based-standards] (SCNiLEAST64): Likewise.
16528         [C99-based-standards] (SCNoLEAST64): Likewise.
16529         [C99-based-standards] (SCNuLEAST64): Likewise.
16530         [C99-based-standards] (SCNxLEAST64): Likewise.
16531         [C99-based-standards] (PRIdFAST64): Likewise.
16532         [C99-based-standards] (PRIiFAST64): Likewise.
16533         [C99-based-standards] (PRIoFAST64): Likewise.
16534         [C99-based-standards] (PRIuFAST64): Likewise.
16535         [C99-based-standards] (PRIxFAST64): Likewise.
16536         [C99-based-standards] (PRIXFAST64): Likewise.
16537         [C99-based-standards] (SCNdFAST64): Likewise.
16538         [C99-based-standards] (SCNiFAST64): Likewise.
16539         [C99-based-standards] (SCNoFAST64): Likewise.
16540         [C99-based-standards] (SCNuFAST64): Likewise.
16541         [C99-based-standards] (SCNxFAST64): Likewise.
16542         [C99-based-standards] (PRIdMAX): Likewise.
16543         [C99-based-standards] (PRIiMAX): Likewise.
16544         [C99-based-standards] (PRIoMAX): Likewise.
16545         [C99-based-standards] (PRIuMAX): Likewise.
16546         [C99-based-standards] (PRIxMAX): Likewise.
16547         [C99-based-standards] (PRIXMAX): Likewise.
16548         [C99-based-standards] (SCNdMAX): Likewise.
16549         [C99-based-standards] (SCNiMAX): Likewise.
16550         [C99-based-standards] (SCNoMAX): Likewise.
16551         [C99-based-standards] (SCNuMAX): Likewise.
16552         [C99-based-standards] (SCNxMAX): Likewise.
16553         [C99-based-standards] (PRIdPTR): Likewise.
16554         [C99-based-standards] (PRIiPTR): Likewise.
16555         [C99-based-standards] (PRIoPTR): Likewise.
16556         [C99-based-standards] (PRIuPTR): Likewise.
16557         [C99-based-standards] (PRIxPTR): Likewise.
16558         [C99-based-standards] (PRIXPTR): Likewise.
16559         [C99-based-standards] (SCNdPTR): Likewise.
16560         [C99-based-standards] (SCNiPTR): Likewise.
16561         [C99-based-standards] (SCNoPTR): Likewise.
16562         [C99-based-standards] (SCNuPTR): Likewise.
16563         [C99-based-standards] (SCNxPTR): Likewise.
16564         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16565         allow.
16566         * conform/data/stdint.h-data: Update comments to clarify
16567         requirements.
16568         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16569         type.
16570         [C99-based standards] (INT8_MAX): Likewise.
16571         [C99-based standards] (INT16_MIN): Likewise.
16572         [C99-based standards] (INT16_MAX): Likewise.
16573         [C99-based standards] (INT32_MIN): Likewise.
16574         [C99-based standards] (INT32_MAX): Likewise.
16575         [C99-based standards] (INT64_MIN): Likewise.
16576         [C99-based standards] (INT64_MAX): Likewise.
16577         [C99-based standards] (UINT8_MAX): Likewise.
16578         [C99-based standards] (UINT16_MAX): Likewise.
16579         [C99-based standards] (UINT32_MAX): Likewise.
16580         [C99-based standards] (UINT64_MAX): Likewise.
16581         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16582         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16583         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16584         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16585         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16586         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16587         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16588         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16589         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16590         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16591         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16592         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16593         [C99-based standards] (INT_FAST8_MIN): Likewise.
16594         [C99-based standards] (INT_FAST8_MAX): Likewise.
16595         [C99-based standards] (INT_FAST16_MIN): Likewise.
16596         [C99-based standards] (INT_FAST16_MAX): Likewise.
16597         [C99-based standards] (INT_FAST32_MIN): Likewise.
16598         [C99-based standards] (INT_FAST32_MAX): Likewise.
16599         [C99-based standards] (INT_FAST64_MIN): Likewise.
16600         [C99-based standards] (INT_FAST64_MAX): Likewise.
16601         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16602         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16603         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16604         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16605         [C99-based standards] (INTPTR_MIN): Likewise.
16606         [C99-based standards] (INTPTR_MAX): Likewise.
16607         [C99-based standards] (UINTPTR_MAX): Likewise.
16608         [C99-based standards] (INTMAX_MIN): Likewise.
16609         [C99-based standards] (INTMAX_MAX): Likewise.
16610         [C99-based standards] (UINTMAX_MAX): Likewise.
16611         [C99-based standards] (PTRDIFF_MIN): Likewise.
16612         [C99-based standards] (PTRDIFF_MAX): Likewise.
16613         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16614         [C99-based standards] (SIZE_MAX): Likewise.
16615         [C99-based standards] (WCHAR_MAX): Likewise.
16616         [C99-based standards] (WINT_MAX): Likewise.
16617         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16618         constraint on value.
16619         [C99-based standards] (WCHAR_MIN): Likewise.
16620         [C99-based standards] (WINT_MIN): Likewise.
16621         [C99-based standards] (*_t): Allow.
16622         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16623         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16624         Include math.h-data and complex.h-data.  Remove all expectations
16625         of math.h and complex.h contents.
16626         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16627         at end of line.
16628         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16629         (struct tm): Expect tag.
16630         [C99-based-standards] (wcstof): Expect function.
16631         [C99-based-standards] (wcstold): Likewise.
16632         [C99-based-standards] (wcstoll): Likewise.
16633         [C99-based-standards] (wcstoull): Likewise.
16634         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16635         macro-int-constant.  Specify type.
16636         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16637         constraint on value.
16638         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16639         Specify type.
16640         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16641         Specify value.
16642         [ISO C standards]: Do not allow headers.
16643         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16644         wcs[abcdefghijklmnopqrstuvwxyz]*.
16645         [ISO C standards] (*_t): Do not allow.
16646         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16647         Expect function.
16648         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16649         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16650         Specify type.
16651         [ISO C standards]: Do not allow headers.
16652         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16653         is[abcdefghijklmnopqrstuvwxyz]*.
16654         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16655         to[abcdefghijklmnopqrstuvwxyz]*.
16656         [ISO C standards] (*_t): Do not allow.
16657         * conform/data/stdalign.h-data: New file.
16658         * conform/data/stdbool.h-data: Likewise.
16659         * conform/data/stdnoreturn.h-data: Likewise.
16660
16661 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16662
16663         [BZ #14815]
16664         * manual/filesys.texi (Directory Entries): Typo fix.
16665         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16666
16667 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16668
16669         * elf/elf.h (EM_AARCH64): New macro.
16670         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16671         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16672         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16673         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16674         (R_AARCH64_TLSDESC): Likewise.
16675         (NT_ARM_TLS): Likewise.
16676         (NT_ARM_HW_BREAK): Likewise.
16677         (NT_ARM_HW_WATCH): Likewise.
16678
16679 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16680
16681         [BZ #14811]
16682         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16683         (__ieee754_powl): Saturate nonzero exponents with absolute value
16684         below 0x1p-79 to +/- 0x1p-79.
16685         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16686         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16687         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16688         nonzero exponents with absolute value below 0x1p-32 to +/-
16689         0x1p-32.
16690         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16691         (__ieee754_powl): Saturate nonzero exponents with absolute value
16692         below 0x1p-79 to +/- 0x1p-79.
16693         * math/libm-test.inc (pow_test): Add more tests.
16694
16695 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16696
16697         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16698         _dl_s390_cap_flags with kernel. Increase string length.
16699         (_dl_s390_platforms): Add z196 and zEC12.
16700
16701 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16702
16703         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16704         Change XOPEN21K to XOPEN2K.
16705
16706 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16707
16708         * string/memmove.c: Use memcpy when possible.
16709
16710 2012-11-06  Andreas Jaeger  <aj@suse.de>
16711
16712         * po/eo.po: Update from translation team.
16713
16714 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16715
16716         [BZ #14793]
16717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16718         exponent and small x and y exponents, scale x or y up.  Increase
16719         by 2 the exponent used in scaling up.
16720         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16721         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16722         * math/libm-test.inc (fma_test): Add more tests.
16723         (fma_test_towardzero): Likewise.
16724         (fma_test_downward): Likewise.
16725         (fma_test_upward): Likewise.
16726
16727 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16728
16729         [BZ #14805]
16730         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16731         fenv_t *.
16732
16733         [BZ #14801]
16734         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16735         namespace for names of struct fields.
16736         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16737         fenv_t fields.
16738         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16739         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16740
16741 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16742
16743         [BZ #3665]
16744         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16745
16746 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16747
16748         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16749         PTR_DEMANGLE.
16750
16751         [BZ #5246]
16752         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16753         PTR_DEMANGLE.
16754
16755 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16756
16757         [BZ #14797]
16758         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16759         definitely overflow as x * y not x * y + z.
16760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16761         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16762         * math/libm-test.inc (fma_test): Add more tests.
16763         (fma_test_towardzero): Likewise.
16764         (fma_test_downward): Likewise.
16765         (fma_test_upward): Likewise.
16766
16767 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16768
16769         [BZ #157]
16770
16771         * include/stub-tag.h: Remove file.
16772         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16773         '#include' of it.
16774         * manual/maint.texi (Porting): Don't reference it.
16775         * Makerules ($(objpfx)stubs): Likewise.
16776         * dirent/closedir.c: Don't include <stub-tag.h>.
16777         * dirent/dirfd.c: Likewise.
16778         * dirent/fdopendir.c: Likewise.
16779         * dirent/getdents.c: Likewise.
16780         * dirent/getdents64.c: Likewise.
16781         * dirent/opendir.c: Likewise.
16782         * dirent/readdir.c: Likewise.
16783         * dirent/readdir64.c: Likewise.
16784         * dirent/readdir64_r.c: Likewise.
16785         * dirent/readdir_r.c: Likewise.
16786         * dirent/rewinddir.c: Likewise.
16787         * dirent/seekdir.c: Likewise.
16788         * dirent/telldir.c: Likewise.
16789         * gmon/profil.c: Likewise.
16790         * grp/setgroups.c: Likewise.
16791         * inet/if_index.c: Likewise.
16792         * io/access.c: Likewise.
16793         * io/chdir.c: Likewise.
16794         * io/chmod.c: Likewise.
16795         * io/chown.c: Likewise.
16796         * io/close.c: Likewise.
16797         * io/dup.c: Likewise.
16798         * io/dup2.c: Likewise.
16799         * io/dup3.c: Likewise.
16800         * io/euidaccess.c: Likewise.
16801         * io/faccessat.c: Likewise.
16802         * io/fchdir.c: Likewise.
16803         * io/fchmod.c: Likewise.
16804         * io/fchmodat.c: Likewise.
16805         * io/fchown.c: Likewise.
16806         * io/fchownat.c: Likewise.
16807         * io/fcntl.c: Likewise.
16808         * io/flock.c: Likewise.
16809         * io/fstatfs.c: Likewise.
16810         * io/fstatfs64.c: Likewise.
16811         * io/fstatvfs.c: Likewise.
16812         * io/fstatvfs64.c: Likewise.
16813         * io/futimens.c: Likewise.
16814         * io/fxstat.c: Likewise.
16815         * io/fxstat64.c: Likewise.
16816         * io/fxstatat.c: Likewise.
16817         * io/fxstatat64.c: Likewise.
16818         * io/getcwd.c: Likewise.
16819         * io/isatty.c: Likewise.
16820         * io/lchmod.c: Likewise.
16821         * io/lchown.c: Likewise.
16822         * io/link.c: Likewise.
16823         * io/linkat.c: Likewise.
16824         * io/lseek.c: Likewise.
16825         * io/lseek64.c: Likewise.
16826         * io/lxstat64.c: Likewise.
16827         * io/mkdir.c: Likewise.
16828         * io/mkdirat.c: Likewise.
16829         * io/mkfifo.c: Likewise.
16830         * io/mkfifoat.c: Likewise.
16831         * io/open.c: Likewise.
16832         * io/open64.c: Likewise.
16833         * io/openat.c: Likewise.
16834         * io/openat64.c: Likewise.
16835         * io/pipe.c: Likewise.
16836         * io/pipe2.c: Likewise.
16837         * io/poll.c: Likewise.
16838         * io/posix_fadvise.c: Likewise.
16839         * io/posix_fadvise64.c: Likewise.
16840         * io/posix_fallocate.c: Likewise.
16841         * io/posix_fallocate64.c: Likewise.
16842         * io/read.c: Likewise.
16843         * io/readlink.c: Likewise.
16844         * io/readlinkat.c: Likewise.
16845         * io/rmdir.c: Likewise.
16846         * io/sendfile.c: Likewise.
16847         * io/sendfile64.c: Likewise.
16848         * io/statfs.c: Likewise.
16849         * io/statfs64.c: Likewise.
16850         * io/statvfs.c: Likewise.
16851         * io/statvfs64.c: Likewise.
16852         * io/symlink.c: Likewise.
16853         * io/symlinkat.c: Likewise.
16854         * io/ttyname.c: Likewise.
16855         * io/ttyname_r.c: Likewise.
16856         * io/umask.c: Likewise.
16857         * io/unlink.c: Likewise.
16858         * io/unlinkat.c: Likewise.
16859         * io/utime.c: Likewise.
16860         * io/utimensat.c: Likewise.
16861         * io/write.c: Likewise.
16862         * io/xmknod.c: Likewise.
16863         * io/xmknodat.c: Likewise.
16864         * io/xstat.c: Likewise.
16865         * io/xstat64.c: Likewise.
16866         * login/getpt.c: Likewise.
16867         * login/grantpt.c: Likewise.
16868         * login/unlockpt.c: Likewise.
16869         * math/e_acoshl.c: Likewise.
16870         * math/e_acosl.c: Likewise.
16871         * math/e_asinl.c: Likewise.
16872         * math/e_atan2l.c: Likewise.
16873         * math/e_atanhl.c: Likewise.
16874         * math/e_coshl.c: Likewise.
16875         * math/e_expl.c: Likewise.
16876         * math/e_fmodl.c: Likewise.
16877         * math/e_gammal_r.c: Likewise.
16878         * math/e_hypotl.c: Likewise.
16879         * math/e_j0l.c: Likewise.
16880         * math/e_j1l.c: Likewise.
16881         * math/e_jnl.c: Likewise.
16882         * math/e_lgammal_r.c: Likewise.
16883         * math/e_log10l.c: Likewise.
16884         * math/e_log2l.c: Likewise.
16885         * math/e_logl.c: Likewise.
16886         * math/e_powl.c: Likewise.
16887         * math/e_rem_pio2l.c: Likewise.
16888         * math/e_sinhl.c: Likewise.
16889         * math/e_sqrtl.c: Likewise.
16890         * math/fclrexcpt.c: Likewise.
16891         * math/fedisblxcpt.c: Likewise.
16892         * math/feenablxcpt.c: Likewise.
16893         * math/fegetenv.c: Likewise.
16894         * math/fegetexcept.c: Likewise.
16895         * math/fegetround.c: Likewise.
16896         * math/feholdexcpt.c: Likewise.
16897         * math/fesetenv.c: Likewise.
16898         * math/fesetround.c: Likewise.
16899         * math/feupdateenv.c: Likewise.
16900         * math/fgetexcptflg.c: Likewise.
16901         * math/fraiseexcpt.c: Likewise.
16902         * math/fsetexcptflg.c: Likewise.
16903         * math/ftestexcept.c: Likewise.
16904         * math/k_cosl.c: Likewise.
16905         * math/k_rem_pio2l.c: Likewise.
16906         * math/k_sinl.c: Likewise.
16907         * math/k_tanl.c: Likewise.
16908         * math/s_asinhl.c: Likewise.
16909         * math/s_atanl.c: Likewise.
16910         * math/s_cbrtl.c: Likewise.
16911         * math/s_erfl.c: Likewise.
16912         * math/s_expm1l.c: Likewise.
16913         * math/s_log1pl.c: Likewise.
16914         * math/s_tanhl.c: Likewise.
16915         * misc/acct.c: Likewise.
16916         * misc/brk.c: Likewise.
16917         * misc/chflags.c: Likewise.
16918         * misc/chroot.c: Likewise.
16919         * misc/fchflags.c: Likewise.
16920         * misc/fgetxattr.c: Likewise.
16921         * misc/flistxattr.c: Likewise.
16922         * misc/fremovexattr.c: Likewise.
16923         * misc/fsetxattr.c: Likewise.
16924         * misc/fsync.c: Likewise.
16925         * misc/ftruncate.c: Likewise.
16926         * misc/futimes.c: Likewise.
16927         * misc/futimesat.c: Likewise.
16928         * misc/getdomain.c: Likewise.
16929         * misc/getdtsz.c: Likewise.
16930         * misc/gethostid.c: Likewise.
16931         * misc/gethostname.c: Likewise.
16932         * misc/getloadavg.c: Likewise.
16933         * misc/getpagesize.c: Likewise.
16934         * misc/getsysstats.c: Likewise.
16935         * misc/getxattr.c: Likewise.
16936         * misc/gtty.c: Likewise.
16937         * misc/ioctl.c: Likewise.
16938         * misc/lgetxattr.c: Likewise.
16939         * misc/listxattr.c: Likewise.
16940         * misc/llistxattr.c: Likewise.
16941         * misc/lremovexattr.c: Likewise.
16942         * misc/lsetxattr.c: Likewise.
16943         * misc/lutimes.c: Likewise.
16944         * misc/madvise.c: Likewise.
16945         * misc/mincore.c: Likewise.
16946         * misc/mlock.c: Likewise.
16947         * misc/mlockall.c: Likewise.
16948         * misc/mmap.c: Likewise.
16949         * misc/mprotect.c: Likewise.
16950         * misc/msync.c: Likewise.
16951         * misc/munlock.c: Likewise.
16952         * misc/munlockall.c: Likewise.
16953         * misc/munmap.c: Likewise.
16954         * misc/preadv.c: Likewise.
16955         * misc/preadv64.c: Likewise.
16956         * misc/ptrace.c: Likewise.
16957         * misc/pwritev.c: Likewise.
16958         * misc/pwritev64.c: Likewise.
16959         * misc/readv.c: Likewise.
16960         * misc/reboot.c: Likewise.
16961         * misc/remap_file_pages.c: Likewise.
16962         * misc/removexattr.c: Likewise.
16963         * misc/revoke.c: Likewise.
16964         * misc/select.c: Likewise.
16965         * misc/setdomain.c: Likewise.
16966         * misc/setegid.c: Likewise.
16967         * misc/seteuid.c: Likewise.
16968         * misc/sethostid.c: Likewise.
16969         * misc/sethostname.c: Likewise.
16970         * misc/setregid.c: Likewise.
16971         * misc/setreuid.c: Likewise.
16972         * misc/setxattr.c: Likewise.
16973         * misc/sstk.c: Likewise.
16974         * misc/stty.c: Likewise.
16975         * misc/swapoff.c: Likewise.
16976         * misc/swapon.c: Likewise.
16977         * misc/sync.c: Likewise.
16978         * misc/syncfs.c: Likewise.
16979         * misc/syscall.c: Likewise.
16980         * misc/truncate.c: Likewise.
16981         * misc/ualarm.c: Likewise.
16982         * misc/usleep.c: Likewise.
16983         * misc/ustat.c: Likewise.
16984         * misc/utimes.c: Likewise.
16985         * misc/vhangup.c: Likewise.
16986         * misc/writev.c: Likewise.
16987         * posix/_exit.c: Likewise.
16988         * posix/alarm.c: Likewise.
16989         * posix/execve.c: Likewise.
16990         * posix/fexecve.c: Likewise.
16991         * posix/fork.c: Likewise.
16992         * posix/fpathconf.c: Likewise.
16993         * posix/getaddrinfo.c: Likewise.
16994         * posix/getegid.c: Likewise.
16995         * posix/geteuid.c: Likewise.
16996         * posix/getgid.c: Likewise.
16997         * posix/getgroups.c: Likewise.
16998         * posix/getlogin.c: Likewise.
16999         * posix/getlogin_r.c: Likewise.
17000         * posix/getpgid.c: Likewise.
17001         * posix/getpid.c: Likewise.
17002         * posix/getppid.c: Likewise.
17003         * posix/getresgid.c: Likewise.
17004         * posix/getresuid.c: Likewise.
17005         * posix/getsid.c: Likewise.
17006         * posix/getuid.c: Likewise.
17007         * posix/glob64.c: Likewise.
17008         * posix/nanosleep.c: Likewise.
17009         * posix/pathconf.c: Likewise.
17010         * posix/pause.c: Likewise.
17011         * posix/posix_madvise.c: Likewise.
17012         * posix/pread.c: Likewise.
17013         * posix/pread64.c: Likewise.
17014         * posix/pwrite.c: Likewise.
17015         * posix/pwrite64.c: Likewise.
17016         * posix/sched_getaffinity.c: Likewise.
17017         * posix/sched_getp.c: Likewise.
17018         * posix/sched_gets.c: Likewise.
17019         * posix/sched_primax.c: Likewise.
17020         * posix/sched_primin.c: Likewise.
17021         * posix/sched_rr_gi.c: Likewise.
17022         * posix/sched_setaffinity.c: Likewise.
17023         * posix/sched_setp.c: Likewise.
17024         * posix/sched_sets.c: Likewise.
17025         * posix/sched_yield.c: Likewise.
17026         * posix/setgid.c: Likewise.
17027         * posix/setlogin.c: Likewise.
17028         * posix/setpgid.c: Likewise.
17029         * posix/setresgid.c: Likewise.
17030         * posix/setresuid.c: Likewise.
17031         * posix/setsid.c: Likewise.
17032         * posix/setuid.c: Likewise.
17033         * posix/sleep.c: Likewise.
17034         * posix/spawni.c: Likewise.
17035         * posix/sysconf.c: Likewise.
17036         * posix/times.c: Likewise.
17037         * posix/wait.c: Likewise.
17038         * posix/wait3.c: Likewise.
17039         * posix/wait4.c: Likewise.
17040         * posix/waitpid.c: Likewise.
17041         * resolv/gai_sigqueue.c: Likewise.
17042         * resource/getpriority.c: Likewise.
17043         * resource/getrlimit.c: Likewise.
17044         * resource/getrusage.c: Likewise.
17045         * resource/nice.c: Likewise.
17046         * resource/setpriority.c: Likewise.
17047         * resource/setrlimit.c: Likewise.
17048         * resource/ulimit.c: Likewise.
17049         * rt/aio_cancel.c: Likewise.
17050         * rt/aio_fsync.c: Likewise.
17051         * rt/aio_read.c: Likewise.
17052         * rt/aio_sigqueue.c: Likewise.
17053         * rt/aio_suspend.c: Likewise.
17054         * rt/aio_write.c: Likewise.
17055         * rt/clock_getres.c: Likewise.
17056         * rt/clock_gettime.c: Likewise.
17057         * rt/clock_nanosleep.c: Likewise.
17058         * rt/clock_settime.c: Likewise.
17059         * rt/lio_listio.c: Likewise.
17060         * rt/mq_close.c: Likewise.
17061         * rt/mq_getattr.c: Likewise.
17062         * rt/mq_notify.c: Likewise.
17063         * rt/mq_open.c: Likewise.
17064         * rt/mq_receive.c: Likewise.
17065         * rt/mq_send.c: Likewise.
17066         * rt/mq_setattr.c: Likewise.
17067         * rt/mq_timedreceive.c: Likewise.
17068         * rt/mq_timedsend.c: Likewise.
17069         * rt/mq_unlink.c: Likewise.
17070         * rt/shm_open.c: Likewise.
17071         * rt/shm_unlink.c: Likewise.
17072         * rt/timer_create.c: Likewise.
17073         * rt/timer_delete.c: Likewise.
17074         * rt/timer_getoverr.c: Likewise.
17075         * rt/timer_gettime.c: Likewise.
17076         * rt/timer_settime.c: Likewise.
17077         * setjmp/__longjmp.c: Likewise.
17078         * setjmp/setjmp.c: Likewise.
17079         * signal/kill.c: Likewise.
17080         * signal/killpg.c: Likewise.
17081         * signal/raise.c: Likewise.
17082         * signal/sigaction.c: Likewise.
17083         * signal/sigaltstack.c: Likewise.
17084         * signal/sigblock.c: Likewise.
17085         * signal/sigignore.c: Likewise.
17086         * signal/sigintr.c: Likewise.
17087         * signal/signal.c: Likewise.
17088         * signal/sigpause.c: Likewise.
17089         * signal/sigpending.c: Likewise.
17090         * signal/sigqueue.c: Likewise.
17091         * signal/sigreturn.c: Likewise.
17092         * signal/sigset.c: Likewise.
17093         * signal/sigsetmask.c: Likewise.
17094         * signal/sigstack.c: Likewise.
17095         * signal/sigsuspend.c: Likewise.
17096         * signal/sigtimedwait.c: Likewise.
17097         * signal/sigvec.c: Likewise.
17098         * signal/sigwait.c: Likewise.
17099         * signal/sigwaitinfo.c: Likewise.
17100         * signal/sysv_signal.c: Likewise.
17101         * socket/accept.c: Likewise.
17102         * socket/accept4.c: Likewise.
17103         * socket/bind.c: Likewise.
17104         * socket/connect.c: Likewise.
17105         * socket/getpeername.c: Likewise.
17106         * socket/getsockname.c: Likewise.
17107         * socket/getsockopt.c: Likewise.
17108         * socket/isfdtype.c: Likewise.
17109         * socket/listen.c: Likewise.
17110         * socket/recv.c: Likewise.
17111         * socket/recvfrom.c: Likewise.
17112         * socket/recvmsg.c: Likewise.
17113         * socket/send.c: Likewise.
17114         * socket/sendmsg.c: Likewise.
17115         * socket/sendto.c: Likewise.
17116         * socket/setsockopt.c: Likewise.
17117         * socket/shutdown.c: Likewise.
17118         * socket/sockatmark.c: Likewise.
17119         * socket/socket.c: Likewise.
17120         * socket/socketpair.c: Likewise.
17121         * stdio-common/ctermid.c: Likewise.
17122         * stdio-common/cuserid.c: Likewise.
17123         * stdio-common/remove.c: Likewise.
17124         * stdio-common/rename.c: Likewise.
17125         * stdio-common/renameat.c: Likewise.
17126         * stdio-common/tempname.c: Likewise.
17127         * stdlib/getcontext.c: Likewise.
17128         * stdlib/makecontext.c: Likewise.
17129         * stdlib/setcontext.c: Likewise.
17130         * stdlib/swapcontext.c: Likewise.
17131         * stdlib/system.c: Likewise.
17132         * streams/fattach.c: Likewise.
17133         * streams/fdetach.c: Likewise.
17134         * streams/getmsg.c: Likewise.
17135         * streams/getpmsg.c: Likewise.
17136         * streams/putmsg.c: Likewise.
17137         * streams/putpmsg.c: Likewise.
17138         * sysdeps/unix/bsd/getpt.c: Likewise.
17139         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17140         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17141         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17143         Likewise.
17144         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17145         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17146         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17147         * sysvipc/msgctl.c: Likewise.
17148         * sysvipc/msgget.c: Likewise.
17149         * sysvipc/msgrcv.c: Likewise.
17150         * sysvipc/msgsnd.c: Likewise.
17151         * sysvipc/semctl.c: Likewise.
17152         * sysvipc/semget.c: Likewise.
17153         * sysvipc/semop.c: Likewise.
17154         * sysvipc/semtimedop.c: Likewise.
17155         * sysvipc/shmat.c: Likewise.
17156         * sysvipc/shmctl.c: Likewise.
17157         * sysvipc/shmdt.c: Likewise.
17158         * sysvipc/shmget.c: Likewise.
17159         * termios/tcdrain.c: Likewise.
17160         * termios/tcflow.c: Likewise.
17161         * termios/tcflush.c: Likewise.
17162         * termios/tcgetattr.c: Likewise.
17163         * termios/tcgetpgrp.c: Likewise.
17164         * termios/tcsendbrk.c: Likewise.
17165         * termios/tcsetattr.c: Likewise.
17166         * termios/tcsetpgrp.c: Likewise.
17167         * time/adjtime.c: Likewise.
17168         * time/clock.c: Likewise.
17169         * time/getitimer.c: Likewise.
17170         * time/gettimeofday.c: Likewise.
17171         * time/setitimer.c: Likewise.
17172         * time/settimeofday.c: Likewise.
17173         * time/stime.c: Likewise.
17174         * time/time.c: Likewise.
17175
17176 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17177
17178         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17179         /usr/old/bin.
17180
17181         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17182         instead of spaces.
17183         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17184
17185 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17186
17187         [BZ #14796]
17188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17189         FE_TONEAREST before applying Dekker multiplication and Knuth
17190         addition.  Clear inexact exceptions and check for exact zero
17191         results afterwards.
17192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17193         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17194         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17195         * math/libm-test.inc (fma_test): Add more tests.
17196         (fma_test_towardzero): Likewise.
17197         (fma_test_downward): Likewise.
17198         (fma_test_upward): Likewise.
17199         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17200         function.
17201         (libc_fesetround): New macro.
17202         (libc_fesetroundf): Likewise.
17203         (libc_fesetroundl): Likewise.
17204         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17205         function.
17206         (libc_fesetround_387): Likewise.
17207         (libc_fesetroundf): New macro.
17208         (libc_fesetround): Likewise.
17209         (libc_fesetroundl): Likewise.
17210         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17211         function.
17212         (libc_fesetroundf): New macro.
17213         (libc_fesetround): Likewise.
17214         (libc_fesetroundl): Likewise.
17215         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17216         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17217         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17218         libm_hidden_ver.
17219         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17220         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17221         libm_hidden_def.
17222         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17223         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17224         libm_hidden_ver.
17225         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17226         libm_hidden_def.
17227
17228         [BZ #3439]
17229         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17230         integer constant usable in #if and use that to give value to enum
17231         constant.
17232         (FE_DIVBYZERO): Likewise.
17233         (FE_UNDERFLOW): Likewise.
17234         (FE_OVERFLOW): Likewise.
17235         (FE_INVALID): Likewise.
17236         (FE_INVALID_SNAN): Likewise.
17237         (FE_INVALID_ISI): Likewise.
17238         (FE_INVALID_IDI): Likewise.
17239         (FE_INVALID_ZDZ): Likewise.
17240         (FE_INVALID_IMZ): Likewise.
17241         (FE_INVALID_COMPARE): Likewise.
17242         (FE_INVALID_SOFTWARE): Likewise.
17243         (FE_INVALID_SQRT): Likewise.
17244         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17245         (FE_TONEAREST): Likewise.
17246         (FE_TOWARDZERO): Likewise.
17247         (FE_UPWARD): Likewise.
17248         (FE_DOWNWARD): Likewise.
17249         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17250         (FE_DIVBYZERO): Likewise.
17251         (FE_OVERFLOW): Likewise.
17252         (FE_UNDERFLOW): Likewise.
17253         (FE_INEXACT): Likewise.
17254         (FE_TONEAREST): Likewise.
17255         (FE_DOWNWARD): Likewise.
17256         (FE_UPWARD): Likewise.
17257         (FE_TOWARDZERO): Likewise.
17258         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17259         (FE_UNDERFLOW): Likewise.
17260         (FE_OVERFLOW): Likewise.
17261         (FE_DIVBYZERO): Likewise.
17262         (FE_INVALID): Likewise.
17263         (FE_TONEAREST): Likewise.
17264         (FE_TOWARDZERO): Likewise.
17265         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17266         (FE_OVERFLOW): Likewise.
17267         (FE_UNDERFLOW): Likewise.
17268         (FE_DIVBYZERO): Likewise.
17269         (FE_INEXACT): Likewise.
17270         (FE_TONEAREST): Likewise.
17271         (FE_TOWARDZERO): Likewise.
17272         (FE_UPWARD): Likewise.
17273         (FE_DOWNWARD): Likewise.
17274         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17275         (FE_DIVBYZERO): Likewise.
17276         (FE_OVERFLOW): Likewise.
17277         (FE_UNDERFLOW): Likewise.
17278         (FE_INEXACT): Likewise.
17279         (FE_TONEAREST): Likewise.
17280         (FE_DOWNWARD): Likewise.
17281         (FE_UPWARD): Likewise.
17282         (FE_TOWARDZERO): Likewise.
17283
17284 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17285
17286         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17287
17288 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17289
17290         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17291         commands.  Quote $PWD.
17292         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17293         -x" by "export".
17294         (remove_newlines): Remove.
17295
17296 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17297
17298         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17299         * stdlib/stdlib.h (atof): Moved to ...
17300         * include/bits/stdlib-float.h: Here.  New file.
17301         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17302         * stdlib/bits/stdlib-float.h: New file.
17303         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17304         -mno-sse -mno-mmx.
17305         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17306         <xmmintrin.h>.
17307
17308 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17309
17310         * conform/conformtest.pl (@headers): Add fenv.h.
17311         * conform/data/fenv.h-data: New file.
17312         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17313         include of <math/fenv.h>.
17314
17315         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17316         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17317         && !UNIX98].  Enables tests for XOPEN2K8.
17318         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17319         POSIX2008]: Likewise.
17320
17321         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17322         (struct rusage): Do not expect type or its members.
17323
17324         [BZ #3439]
17325         * math/math.h (FP_NAN): Define macro to integer constant usable in
17326         #if and use that to give value to enum constant.
17327         (FP_INFINITE): Likewise.
17328         (FP_ZERO): Likewise.
17329         (FP_SUBNORMAL): Likewise.
17330         (FP_NORMAL): Likewise.
17331
17332 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17333
17334         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17335         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17336         arguments.
17337
17338 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17339
17340         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17341         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17342         autoconf-time if not.
17343         * configure.in: Remove AC_PREREQ.
17344
17345 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17346
17347         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17348         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17349         of the internal implementation.
17350
17351 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17352
17353         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17354         except include of <misc/sys/syslog.h>.
17355
17356 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17357
17358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17359         function returns with a NULL context exit with zero.
17360
17361 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17362
17363         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17364
17365 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17366
17367         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17368         (run_program_cmd): This.
17369         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17370         (tst_langinfo): New variable.  Use it.
17371
17372 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17373
17374         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17375         floating point opcodes.
17376
17377 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17378
17379         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17380         variable.
17381
17382         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17383
17384         * sysdeps/mach/hurd/powerpc: Remove directory.
17385         * sysdeps/mach/powerpc: Likewise.
17386
17387 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17388
17389         * scripts/check-local-headers.sh: Ignore c++ headers.
17390
17391 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17392
17393         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17394         __libc_cleanup_region_start argument.
17395
17396 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17397
17398         [BZ #14784]
17399         [BZ #14785]
17400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17401         x * y using scaling, not as x * y + z.
17402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17403         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17404         * math/libm-test.inc (fma_test): Add more tests.
17405         (fma_test_towardzero): Likewise.
17406         (fma_test_downward): Likewise.
17407         (fma_test_upward): Likewise.
17408
17409 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17410
17411         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17412
17413 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17414
17415         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17416         New variable.
17417
17418 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17419
17420         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17421
17422 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17423
17424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17425         Fix sort order.
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17427         Likewise.
17428
17429 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17430
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17432         Fix the order of the list for glibc 2.17.
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17434         Likewise.
17435
17436 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17437
17438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17439
17440 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17441
17442         [BZ #14610]
17443         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17444         for low part of x being zero before using __atanl (y).
17445         * math/libm-test.inc (atan2_test): Add another test.
17446
17447         * manual/install.texi (Configuring and compiling): Document
17448         general use of test-wrapper and test-wrapper-env.
17449         * INSTALL: Regenerated.
17450
17451         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17452         (__fma): Do not extract and scale down low bits on after-rounding
17453         systems when result rounded to normal precision would have normal
17454         exponent.
17455         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17456         (__fmal): Do not extract and scale down low bits on after-rounding
17457         systems when result rounded to normal precision would have normal
17458         exponent.
17459         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17460         (__fmal): Do not extract and scale down low bits on after-rounding
17461         systems when result rounded to normal precision would have normal
17462         exponent.
17463         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17464         macro.
17465         (fma_test): Add more tests.
17466         (fma_test_towardzero): Likewise.
17467         (fma_test_downward): Likewise.
17468         (fma_test_upward): Likewise.
17469
17470 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17471
17472         * sysdeps/i386/tininess.h: Renamed to ...
17473         * sysdeps/x86/tininess.h: This.
17474         * sysdeps/x86_64/tininess.h: Removed.
17475
17476 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17477
17478         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17479         input.  Use $(build-program-cmd).
17480         ($(objpfx)tst-array1-static.out): Likewise.
17481         ($(objpfx)tst-array2.out): Likewise.
17482         ($(objpfx)tst-array3.out): Likewise.
17483         ($(objpfx)tst-array4.out): Likewise.
17484         ($(objpfx)tst-array5.out): Likewise.
17485         ($(objpfx)tst-array5-static.out): Likewise.
17486
17487 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17488
17489         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17490         if defined.
17491
17492         * nss/nsswitch.h (nss_interface_function): Provide new
17493         macro for use with NSS functions.
17494         * grp/initgroups.c: Use new macro.
17495         * nss/getXXbyYY.c: Likewise.
17496         * nss/getXXbyYY_r.c: Likewise.
17497         * nss/getXXent.c: Likewise.
17498         * nss/getXXent_r.c: Likewise.
17499         * sysdeps/posix/getaddrinfo.c: Likewise.
17500
17501 2012-10-30  Andreas Jaeger  <aj@suse.de>
17502
17503         * po/ru.po: Update Russion translation from translation project.
17504
17505 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17506
17507         [BZ #14152]
17508         [BZ #14783]
17509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17510         result and shift together with sticky bit instead of replicating
17511         round-to-nearest rounding.
17512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17513         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17514         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17515         missing underflow exceptions.
17516         (fma_test_towardzero): Add more tests.
17517         (fma_test_downward): Likewise.
17518         (fma_test_upward): Likewise.
17519
17520         [BZ #14047]
17521         * sysdeps/generic/tininess.h: New file.
17522         * sysdeps/i386/tininess.h: Likewise.
17523         * sysdeps/sh/tininess.h: Likewise.
17524         * sysdeps/x86_64/tininess.h: Likewise.
17525         * stdlib/tst-strtod-underflow.c: Likewise.
17526         * stdlib/tst-tininess.c: Likewise.
17527         * stdlib/strtod_l.c: Include <tininess.h>.
17528         (round_and_return): Do not set errno for exact underflow cases.
17529         Force an underflow exception when setting errno for underflow.
17530         Determine underflow based on rounding to normal precision if
17531         TININESS_AFTER_ROUNDING.
17532         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17533         ERANGE for exact underflow cases.
17534         * stdlib/Makefile (tests): Add tst-tininess and
17535         tst-strtod-underflow.
17536         ($(objpfx)tst-tininess): Use $(link-libm).
17537         ($(objpfx)tst-strtod-underflow): Likewise.
17538
17539 2012-10-30  Andreas Jaeger  <aj@suse.de>
17540
17541         [BZ#14767]
17542         * elf/Makefile (tests): Remove conditional for have-initfini-array
17543         since this is now always required and the variable does not exist
17544         anymore.
17545         (tests-static): Likewise.
17546         (modules-names): Likewise.
17547
17548         * po/eo.po: Add Esperanto translation from translation project.
17549
17550         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17551         merged with constructor/destructor.
17552         (init_array): Likewise.
17553         * elf/tst-array2dep.c (fini_array): Likewise.
17554         (init_array): Likewise.
17555
17556 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17557
17558         * manual/message.texi: Delete @cartouche tags.
17559
17560 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17561
17562         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17563         EOPNOTSUPP.
17564         * sysdeps/mach/hurd/fsync.c: Likewise.
17565
17566         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17567         [_POSIX_REALTIME_SIGNALS]: Change condition to
17568         [_POSIX_REALTIME_SIGNALS > 0].
17569
17570 2012-10-27  Andreas Jaeger  <aj@suse.de>
17571
17572         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17573         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17574         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17575         [__WORDSIZE != 64]: Likewise.
17576
17577 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17578
17579         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17580         *  iconvdata/tst-tables.sh: Likewise.
17581
17582 2012-10-25  David S. Miller  <davem@davemloft.net>
17583
17584         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17585         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17586         of strtoull.
17587
17588         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17589         ifunc-impl-list.c
17590         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17591         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17592         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17593         file.
17594
17595 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17596
17597         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17598         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17599         __getdirentries.
17600
17601 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17602             Jim Blandy  <jimb@codesourcery.com>
17603
17604         * scripts/cross-test-ssh.sh: New file.
17605         * manual/install.texi (Configuring and compiling): Document use of
17606         cross-test-ssh.sh.
17607         * INSTALL: Regenerated.
17608
17609 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17610
17611         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17612         EOPNOTSUPP.
17613
17614 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17615
17616         * Makeconfig (run-program-prefix): Fix comment.
17617
17618 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17619             Jim Blandy  <jimb@codesourcery.com>
17620
17621         * Makeconfig (test-wrapper): New variable,
17622         (test-wrapper-env): Likewise.
17623         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17624         (run-built-tests): Define to yes.
17625         (run-program-prefix): Use $(test-wrapper).
17626         (built-program-cmd): Likewise.
17627         * Rules (make-test-out): Use $(test-wrapper-env) and
17628         $(host-built-program-cmd).
17629         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17630         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17631         tst-pathopt.sh.
17632         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17633         $(test-wrapper-env) to tst-rtld-load-self.sh.
17634         ($(objpfx)order2.out): Use $(test-wrapper).
17635         ($(objpfx)tst-initorder.out): Likewise.
17636         ($(objpfx)tst-initorder2.out): Likewise.
17637         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17638         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17639         (test_wrapper_env): New variable.  Use it to run ld.so.
17640         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17641         Use it to run ld.so.
17642         (test_wrapper_env): Likewise.
17643         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17644         $(test-wrapper) to run-iconv-test.sh.
17645         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17646         (ICONV): Use $test_wrapper.
17647         * posix/Makefile ($(objpfx)globtest.out): Pass
17648         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17649         globtest.sh, not $(run-program-prefix).
17650         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17651         (test_wrapper): Likewise.
17652         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17653         set together with run_via_rtld_prefix.
17654         (run_program_prefix): Define in terms of test_wrapper and
17655         run_via_rtld_prefix.
17656
17657 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17658
17659         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17660         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17661         Targets removed.
17662
17663         [BZ #14743]
17664         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17665         Declare __clock_getres, __clock_gettime, __clock_settime,
17666         __clock_nanosleep, and __clock_getcpuclockid.
17667         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17668         Remove librt_hidden_def (clock_gettime).
17669         * sysdeps/unix/clock_gettime.c: Likewise.
17670         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17671         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17672         * rt/clock_getres.c: Define __clock_getres as an alias.
17673         * sysdeps/posix/clock_getres.c: Likewise.
17674         * rt/clock_settime.c: Define __clock_settime as an alias.
17675         * sysdeps/unix/clock_settime.c: Likewise.
17676         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17677         * sysdeps/unix/clock_nanosleep.c: Likewise.
17678         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17679         * rt/clock-compat.c: New file.
17680         * rt/Makefile (librt-routines): Add clock-compat and move
17681         $(clock-routines) to ...
17682         (routines): ... here, new variable.
17683         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17684         Don't add get_clockfreq here.
17685         * rt/Versions (libc: GLIBC_2.17): New version set.
17686         Add clock_* symbols here.
17687         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17688         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17689         (GLIBC_2.17): Add clock_* symbols.
17690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17692         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17694         Likewise.
17695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17696         Likewise.
17697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17701         * NEWS: Mention the move.
17702
17703         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17704         Use __open, __read, __close rather than their public counterparts.
17705         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17706         (__get_clockfreq_via_cpuinfo): Likewise.
17707         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17708         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17709
17710         * config.h.in (HAVE_IFUNC): New #undef.
17711         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17712         was successful.
17713         * configure: Regenerated.
17714
17715 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17716
17717         * configure.in: Move READELF check to start of file.
17718         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17719         libc_cv_asm_gnu_indirect_function in the process.
17720         * configure: Regenerated.
17721
17722 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17723
17724         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17725         send the output to /dev/null.
17726         (libc_cv_cc_with_libunwind): Likewise.
17727         (libc_cv_as_noexecstack): Likewise.
17728         * configure: Regenerate.
17729
17730 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17731
17732         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17733
17734         * posix/globtest.sh (TMPDIR): Do not set.
17735         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17736         (testout): Likewise.
17737
17738 2012-10-24  Andreas Jaeger  <aj@suse.de>
17739
17740         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17741         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17742         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17743         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17744         posix_fadvise64, posix_fallocate64.
17745
17746         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17747         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17748         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17749         Likewise.
17750         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17751         Likewise.
17752         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17753
17754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17755         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17756         <bits/fcntl-linux.h>.
17757         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17758
17759         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17760         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17761         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17762         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17763         [__WORDSIZE != 64]: Likewise.
17764
17765 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17766
17767         * Makeconfig (run-built-tests): New variable.
17768         * Rules [$(cross-compiling) = yes]: Change condition to
17769         [$(run-built-tests) = no].
17770         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17771         to [$(run-built-tests) = yes].
17772         * elf/Makefile [$(cross-compiling) = no]: Likewise
17773         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17774         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17775         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17776         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17777         * io/Makefile [$(cross-compiling) = no]: Likewise.
17778         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17779         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17780         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17781         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17782         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17783         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17784         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17785         * string/Makefile [$(cross-compiling) = no]: Likewise.
17786
17787         * posix/Makefile ($(objpfx)globtest.out): Pass
17788         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17789         $(rtld-installed-name).
17790         * posix/globtest.sh (elf_objpfx): Remove variable.
17791         (rtld_installed_name): Likewise.
17792         (library_path): Likewise.
17793         (run_program_prefix): New variable.  Use for running globtest
17794         binary.
17795
17796 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17797             Joseph Myers  <joseph@codesourcery.com>
17798
17799         * Makeconfig (host-built-program-cmd): New variable.
17800         * elf/Makefile (tst-stackguard1-ARGS): Use
17801         $(host-built-program-cmd).
17802         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17803         (tst-spawn-ARGS): Likewise.
17804         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17805
17806 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17807             Jim Blandy  <jimb@codesourcery.com>
17808
17809         * Makeconfig (run-via-rtld-prefix): New variable.
17810         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17811         (built-program-cmd): Likewise.
17812
17813 2012-10-22  Andreas Jaeger  <aj@suse.de>
17814
17815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17816         __O_RSYNC if it exists, otherwise to O_SYNC.
17817
17818 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17819             Joseph Myers  <joseph@codesourcery.com>
17820
17821         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17822         /dev/null.
17823         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17824         from /dev/null
17825         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17826         /dev/null.
17827
17828 2012-10-22  Andreas Jaeger  <aj@suse.de>
17829
17830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17831         Define always.
17832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17833
17834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17835         bits/fcntl-linux.h.
17836
17837         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17838         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17839
17840         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17841         to __O_LARGEFILE.
17842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17843         to __O_LARGEFILE.
17844
17845 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17846             Joseph Myers  <joseph@codesourcery.com>
17847
17848         * config.make.in (NM): New variable.
17849
17850 2012-10-21  Andreas Jaeger  <aj@suse.de>
17851
17852         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17853         definitions and declarations that are provided by
17854         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17855
17856 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17857
17858         [BZ #14683]
17859         * elf/Makefile (tests-static): Add tst-leaks1-static.
17860         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17861         ($(objpfx)tst-leaks1-static): New rule.
17862         ($(objpfx)tst-leaks1-static-mem): Likewise.
17863         (tst-leaks1-static-ENV): New macro.
17864         * elf/dl-open.c (dl_open_worker): Check the main application
17865         only if SHARED is defined.
17866         * elf/tst-leaks1-static.c: New file.
17867
17868 2012-10-20  Andreas Jaeger  <aj@suse.de>
17869
17870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17871         generic values for Linux.
17872         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17873         and declarations that are provided by <bits/fcntl-linux.h> and
17874         include <bits/fcntl-linux.h>.
17875         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17877
17878 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17879
17880         * io/fcntl.h: Move include of <bits/types.h> to the top and
17881         include it unconditionally.
17882
17883 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17884
17885         * wcsmbs/Makefile (tests-ifunc): New variable.
17886         (tests): Add $(tests-ifunc).
17887         * wcsmbs/test-wcschr-ifunc.c: New file.
17888         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17889         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17890         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17891         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17892         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17893
17894         * string/Makefile (tests-ifunc): New variable.
17895         (tests): Add $(tests-ifunc).
17896         * string/test-memccpy.c (TEST_NAME): New macro.
17897         * string/test-memchr.c (TEST_NAME): Likewise.
17898         * string/test-memcmp.c (TEST_NAME): Likewise.
17899         * string/test-memcpy.c (TEST_NAME): Likewise.
17900         * string/test-memmem.c (TEST_NAME): Likewise.
17901         * string/test-memmove.c (TEST_NAME): Likewise.
17902         * string/test-memset.c (TEST_NAME): Likewise.
17903         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17904         * string/test-stpcpy.c (TEST_NAME): Likewise.
17905         * string/test-stpncpy.c (TEST_NAME): Likewise.
17906         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17907         * string/test-strcasestr.c (TEST_NAME): Likewise.
17908         * string/test-strcat.c (TEST_NAME): Likewise.
17909         * string/test-strchr.c (TEST_NAME): Likewise.
17910         * string/test-strcmp.c(TEST_NAME): Likewise.
17911         * string/test-strcpy.c (TEST_NAME): Likewise.
17912         * string/test-strcspn.c (TEST_NAME): Likewise.
17913         * string/test-strlen.c (TEST_NAME): Likewise.
17914         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17915         * string/test-strncmp.c (TEST_NAME): Likewise.
17916         * string/test-strncpy.c (TEST_NAME): Likewise.
17917         * string/test-strnlen.c (TEST_NAME): Likewise.
17918         * string/test-strpbrk.c (TEST_NAME): Likewise.
17919         * string/test-strrchr.c (TEST_NAME): Likewise.
17920         * string/test-strspn.c (TEST_NAME): Likewise.
17921         * string/test-strstr.c (TEST_NAME): Likewise.
17922         * string/test-bcopy-ifunc.c: New file.
17923         * string/test-bzero-ifunc.c: Likewise.
17924         * string/test-memccpy-ifunc.c: Likewise.
17925         * string/test-memchr-ifunc.c: Likewise.
17926         * string/test-memcmp-ifunc.c: Likewise.
17927         * string/test-memcpy-ifunc.c: Likewise.
17928         * string/test-memmem-ifunc.c: Likewise.
17929         * string/test-memmove-ifunc.c: Likewise.
17930         * string/test-mempcpy-ifunc.c: Likewise.
17931         * string/test-memset-ifunc.c: Likewise.
17932         * string/test-rawmemchr-ifunc.c: Likewise.
17933         * string/test-stpcpy-ifunc.c: Likewise.
17934         * string/test-stpncpy-ifunc.c: Likewise.
17935         * string/test-strcasecmp-ifunc.c: Likewise.
17936         * string/test-strcasestr-ifunc.c: Likewise.
17937         * string/test-strcat-ifunc.c: Likewise.
17938         * string/test-strchr-ifunc.c: Likewise.
17939         * string/test-strchrnul-ifunc.c: Likewise.
17940         * string/test-strcmp-ifunc.c: Likewise.
17941         * string/test-strcpy-ifunc.c: Likewise.
17942         * string/test-strcspn-ifunc.c: Likewise.
17943         * string/test-strlen-ifunc.c: Likewise.
17944         * string/test-strncasecmp-ifunc.c: Likewise.
17945         * string/test-strncat-ifunc.c: Likewise.
17946         * string/test-strncmp-ifunc.c: Likewise.
17947         * string/test-strncpy-ifunc.c: Likewise.
17948         * string/test-strnlen-ifunc.c: Likewise.
17949         * string/test-strpbrk-ifunc.c: Likewise.
17950         * string/test-strrchr-ifunc.c: Likewise.
17951         * string/test-strspn-ifunc.c: Likewise.
17952         * string/test-strstr-ifunc.c: Likewise.
17953
17954         * debug/Makefile (tests-ifunc): New variable.
17955         (tests): Add $(tests-ifunc).
17956         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17957         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17958         * debug/test-stpcpy_chk-ifunc.c: New file.
17959         * debug/test-strcpy_chk-ifunc.c: Likewise.
17960
17961 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17962
17963         [BZ #13601]
17964         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17965         header is not read in.
17966
17967 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17968
17969         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17970         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17971         directly.  Pass built executable to script as
17972         $(built-program-cmd).
17973         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17974         $testprogram without using LD_LIBRARY_PATH and $ldso.
17975
17976         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17977         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17978         $(rtld-installed-name).
17979         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17980         (rtld_installed_name): Likewise.
17981         (library_path): Likewise.
17982         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17983         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17984         $(run-program-prefix) to tst-tables.sh.
17985         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17986         it to run tst-table-from and tst-table-to.
17987         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17988         Pass it to tst-table.sh.
17989         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17990         $(run-program-prefix) to tst-gettext.sh.
17991         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17992         tst-translit.sh.
17993         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17994         tst-gettext2.sh.
17995         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17996         to run tst-gettext.
17997         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17998         to run tst-gettext2.
17999         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18000         to run tst-translit.
18001         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18002         $(run-program-prefix) to tst-mtrace.sh.
18003         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18004         to run tst-mtrace.
18005         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18006         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18007         $(rtld-installed-name).
18008         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18009         (rtld_installed_name): Likewise.
18010         (run_program_prefix): New variable.  Use it to run wordexp-test.
18011
18012         * Makeconfig (ARCH): Remove all definitions.
18013         (machine): Likewise.
18014         [ARCH]: Remove conditional code.
18015         [!objdir]: Give error.
18016         [!objdir] (objpfx): Remove.
18017         [!objdir] (common-objpfx): Likewise.
18018         [!objdir] (common-objdir): Likewise.
18019         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18020         AC_CONFIG_FILES call.
18021         * configure: Regenerated.
18022
18023         [BZ #13888]
18024         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18025         or TMPDIR.
18026         (testout): Likewise.
18027
18028         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18029         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18030         $(rtld-installed-name).
18031         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18032         (rtld_installed_name): Likwise.
18033         (runit): Remove function.
18034         (run_getconf): New variable,  Use it for running getconf binary.
18035
18036 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18037
18038         [BZ #14716]
18039         * string/test-memmem.c (check_result): New function.
18040         (do_one_test): Use it.
18041         (check1): New function.
18042         (test_main): Use it.
18043
18044 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18045
18046         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18047
18048 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18049
18050         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18051         (_G_LSEEK64): Likewise.
18052         (_G_MMAP64): Likewise.
18053         (_G_FSTAT64): Likewise.
18054         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18055         (_G_LSEEK64): Likewise.
18056         (_G_MMAP64): Likewise.
18057         (_G_FSTAT64): Likewise.
18058         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18059         unconditional.  Call __mmap64 directly.
18060         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18061         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18062         __lseek64 directly.
18063         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18064         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18065         __mmap64 directly.
18066         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18067         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18068         __lseek64 directly.
18069         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18070         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18071         __lseek64 directly.
18072         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18073         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18074         __lseek64 directly.
18075         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18076         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18077         __fxstat64 directly.
18078         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18079         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18080         unconditional.
18081         (freopen64) [!_G_OPEN64]: Remove conditional code.
18082         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18083         unconditional.
18084         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18085         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18086         unconditional.
18087         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18088         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18089         unconditional.
18090         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18091         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18092         unconditional.
18093         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18094         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18095         unconditional.
18096         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18097         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18098         unconditional.
18099         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18100         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18101         unconditional.
18102         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18103
18104 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18105
18106         [BZ #12140]
18107         * manual/memory.texi (Malloc Tunable Parameters): Add note
18108         about free list pointers overwriting some perturb bytes.
18109         Wording suggested by Roland McGrath.
18110
18111 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18112
18113         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18114         (lgamma_test): Likewise.
18115         (tgamma_test): Likewise.
18116
18117 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18118
18119         [BZ #14700]
18120         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18121         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18122
18123 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18124
18125         * NEWS: Mention BZ #14716.
18126         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18127         when removing AVAILABLE1_USES_J macro.
18128
18129 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18130
18131         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18132         (__bswap_64): __uint64_t for unsigned 64-bit int.
18133
18134 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18135
18136         * include/string.h (memmem): Declare libc hidden alias.
18137         * string/memmem.c (memmem): Define libc hidden alias.
18138         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18139         __read, __close instead of open, read, close.
18140
18141 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18142
18143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18144         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18145         global and hidden.
18146         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18147         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18148         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18149         Likewise.
18150         (__rawmemchr_sse2): Likewise.
18151         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18152         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18153         (__strchr_sse2): Likewise.
18154         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18155         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18156         (__strcasecmp_sse2): Likewise.
18157         (__strncasecmp_sse2): Likewise.
18158         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18159         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18160         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18161         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18162         (__strrchr_sse2): Likewise.
18163         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18164         ifunc-impl-list.c.
18165         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18166         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18167         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18168         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18169         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18170         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18171         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18172         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18173         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18174         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18175         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18176         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18177         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18178         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18179         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18180         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18181         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18182         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18183         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18184         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18185         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18186         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18187         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18188         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18189         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18190         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18191         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18192         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18193         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18194         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18195
18196         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18197         global and hidden.
18198         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18199         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18200         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18201         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18202         Likewise.
18203         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18204         Likewise.
18205         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18206         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18207         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18208         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18209         ifunc-impl-list.c.
18210         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18211         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18212         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18213         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18214         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18215         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18216         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18217         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18218         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18219         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18220         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18221         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18222         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18223         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18224         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18225         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18226         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18227         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18228         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18229         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18230         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18231         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18232         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18233         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18234         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18235         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18236         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18237         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18238         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18239         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18240         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18241         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18242         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18243         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18244         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18245         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18246         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18247         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18248         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18249         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18250         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18251
18252         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18253         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18254         * include/ifunc-impl-list.h: New file.
18255         * misc/ifunc-impl-list.c: Likewise.
18256         * misc/Makefile (routines): Add ifunc-impl-list.
18257         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18258         * string/test-string.h: Include <ifunc-impl-list.h>.
18259         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18260         impl_array): New variables.
18261         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18262         are defined.
18263         (test_init): Call __libc_ifunc_impl_list to initialize
18264         func_list if TEST_IFUNC and TEST_NAME are defined.
18265
18266         * string/Makefile (strop-tests): Add bcopy and bzero.
18267         * string/test-bcopy.c: New file.
18268         * string/test-bzero.c: Likewise.
18269         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18270         defined.
18271         * string/test-memset.c: Support bzero test if TEST_BZERO is
18272         defined.
18273         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18274         __libc_memmove.
18275         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18276         __libc_memset.
18277         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18278         of memset.
18279
18280 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18281
18282         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18283         * configure: Regenerated.
18284
18285         * Makeconfig (+link-static-before-libc): Don't include
18286         $(link-static-libc).
18287
18288         * libio/libio.h (_IO_pos_t): Remove.
18289
18290 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18291
18292         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18293         McGrath.
18294
18295 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18296
18297         * crypt/crypt-entry.c: Include fips-private.h.
18298         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18299         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18300         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18301         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18302
18303 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18304
18305         * crypt/crypt-private.h: Include stdbool.h.
18306         (_ufc_setup_salt_r): Return bool.
18307         * crypt/crypt-entry.c: Include errno.h.
18308         (__crypt_r): Return NULL with EINVAL for bad salt.
18309         * crypt/crypt_util.c (bad_for_salt): New.
18310         (_ufc_setup_salt_r): Check that salt is long enough and within
18311         the specified alphabet.
18312         * crypt/badsalttest.c: New file.
18313         * crypt/Makefile (tests): Add it.
18314         ($(objpfx)badsalttest): New.
18315
18316 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18317
18318         * NEWS: Add entry for BZ #14602.
18319
18320 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18321
18322         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18323         type-generic.
18324         * math/libm-test.inc: Update comment listing what functions and
18325         macros are tested.
18326         (isgreater_test): New function.
18327         (isgreaterequal_test): Likewise.
18328         (isless_test): Likewise.
18329         (islessequal_test): Likewise.
18330         (islessgreater_test): Likewise.
18331         (isunordered_test): Likewise.
18332         (main): Call the new functions.
18333
18334 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18335
18336         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18337         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18338         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18339         * sysdeps/i386/configure: Regenerated.
18340         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18341         * sysdeps/mach/configure: Regenerated.
18342         * sysdeps/mach/hurd/configure: Regenerated.
18343         * sysdeps/powerpc/configure: Regenerated.
18344         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18345         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18346         * sysdeps/s390/s390-32/configure: Regenerated.
18347         * sysdeps/s390/s390-64/configure: Regenerated.
18348         * sysdeps/sh/configure: Regenerated.
18349         * sysdeps/sparc/configure: Regenerated.
18350         * sysdeps/unix/sysv/linux/configure: Regenerated.
18351         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18352         * sysdeps/x86_64/configure: Regenerated.
18353
18354         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18355         defined.  Don't check if MAP is NULL.
18356
18357 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18358
18359         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18360         (_G_stat64): Likewise.
18361         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18362         (_G_stat64): Likewise.
18363         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18364         instead of struct _G_stat64.
18365         * libio/fileops.c (mmap_remap_check): Likewise.
18366         (decide_maybe_mmap): Likewise.
18367         (_IO_new_file_seekoff): Likewise.
18368         (_IO_file_stat): Likewise.
18369         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18370         _G_off64_t.
18371         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18372         instead of struct _G_stat64.
18373         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18374
18375 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18376
18377         [BZ #14602]
18378         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18379         Replace with ...
18380         (CHECK_EOL): New macro.
18381         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18382         CHECK_EOL.
18383         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18384         Replace with CHECK_EOL.
18385         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18386         Replace with CHECK_EOL.
18387
18388 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18389
18390         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18391         type-generic.
18392         * math/libm-test.inc: Update comment listing what functions and
18393         macros are tested.
18394         (finite_test): New function.
18395         (isinf_test): Likewise.
18396         (isnan_test): Likewise.
18397         (fpclassify_test): Test subnormal input.
18398         (isfinite_test): Likewise.
18399         (isnormal_test): Likewise.
18400         (main): Call the new functions.
18401
18402 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18403
18404         [BZ #14660]
18405         * Makerules (%.dynsym): Force C locale when running
18406         $(OBJDUMP) --dynamic-syms.
18407
18408 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18409
18410         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18411         <stdint.h>.
18412
18413 2012-10-06  David S. Miller  <davem@davemloft.net>
18414
18415         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18416         upper 32-bits of the length value in %o2 since we use branch-on-register
18417         tests which consider the entire 64-bit register.
18418
18419 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18420
18421         * string/test-strstr.c (check2): Add a test for page boundary.
18422
18423 2012-10-05  David S. Miller  <davem@davemloft.net>
18424
18425         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18426         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18427         file.
18428         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18429         sysdep_routines.
18430         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18431         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18432         and bzero when HWCAP_SPARC_CRYPTO is present.
18433
18434 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18435
18436         [BZ #14602]
18437         * string/test-strstr.c (check2): New function.
18438         (test_main): Call check2.
18439
18440         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18441         and bug-strchr1.
18442         * string/bug-strcasestr1.c (do_test): Moved to ...
18443         * string/test-strcasestr.c (check1): Here.  New function.
18444         (do_one_test): Break out result checking code into ...
18445         (check_result): This.  New function.
18446         (do_one_test): Call check_result.
18447         (test_main): Call check1.
18448         * string/bug-strchr1.c (do_test): Moved to ...
18449         * string/test-strchr.c (check1): Here.  New function.
18450         (do_one_test): Break out result checking code into ...
18451         (check_result): This.  New function.
18452         (do_one_test): Call check_result.
18453         (test_main): Call check1.
18454         * string/bug-strstr1.c (main): Moved to ...
18455         * string/test-strstr.c (check1): Here.  New function.
18456         (do_one_test): Break out result checking code into ...
18457         (check_result): This.  New function.
18458         (do_one_test): Call check_result.
18459         (test_main): Call check1.
18460         * string/bug-strcasestr1.c: Removed.
18461         * string/bug-strchr1.c: Likewise.
18462         * string/bug-strstr1.c: Likewise.
18463
18464         * elf/Makefile (dl-routines): Add hwcaps.
18465         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18466         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18467         (_dl_important_hwcaps): Moved to ...
18468         * elf/dl-hwcaps.c: Here.  New file.
18469         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18470
18471         [BZ #14557]
18472         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18473         if IS_IN_rtld isn't defined.
18474
18475         * elf/dl-support.c (_dl_sysinfo_map): New.
18476         Include "get-dynamic-info.h" and "setup-vdso.h".
18477         (_dl_non_dynamic_init): Call setup_vdso.
18478         * elf/dynamic-link.h: Don't include <assert.h>.
18479         (elf_get_dynamic_info): Moved to ...
18480         * elf/get-dynamic-info.h: Here.  New file.
18481         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18482         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18483         * elf/setup-vdso.h: Here.  New file.
18484         * elf/rtld.c: Include "setup-vdso.h".
18485         (dl_main): Call setup_vdso.
18486
18487 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18488
18489         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18490         creal in comment listing functions tested.  List finite, isinf,
18491         isnan, isless, islessequal, isgreater, isgreaterequal,
18492         islessgreater, isunordered, lgamma_r and pow10 as functions and
18493         macros not tested.  Mention which functions not tested are aliases
18494         for other functions.  Fix typo.  Note that signs of NaNs are not
18495         tested.
18496
18497         * scripts/config.guess: Update from config.git.
18498         * scripts/config.sub: Likewise.
18499
18500 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18501
18502         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18503         * misc/madvise.c (madvise): Renamed to __madvise.
18504         Make madvise a weak alias.
18505         * include/sys/mman.h: Declare __madvise.
18506         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18507         * sysdeps/unix/syscalls.list
18508         (madvise): Make __madvise the strong name, and madvise a weak alias.
18509         * sysdeps/unix/sysv/linux/syscalls.list
18510         (madvise, mmap): Remove redundant entries.
18511         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18512         * malloc/malloc.c (mtrim): Likewise.
18513         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18514
18515 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18516
18517         * sysdeps/mach/hurd/dl-cache.c: File removed.
18518         * config.h.in (USE_LDCONFIG): New #undef.
18519         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18520         * configure: Regenerated.
18521         * elf/Makefile (dl-routines): Add dl-cache only under
18522         [$(use-ldconfig) = yes].
18523         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18524         cache on [USE_LDCONFIG].
18525         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18526         [USE_LDCONFIG].
18527         * elf/rtld.c (dl_main): Likewise.
18528
18529 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18530
18531         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18532         _SC_LEVEL4_CACHE_LINESIZE.
18533
18534 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18535
18536         * sysdeps/unix/bsd/confstr.h: File removed.
18537
18538 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18539
18540         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18541         sys/sdt-config.h.
18542
18543 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18544
18545         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18546         Make 'mapoff' field ElfW(Off) rather than off_t.
18547
18548 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18549
18550         * nscd/Makefile: Remove nscd-cflags and all its users.
18551         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18552         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18553
18554         [BZ #10631]
18555         * malloc.c (malloc_printerr): Clarify error message.
18556
18557 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18558
18559         [BZ #14648]
18560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18561         Set bit_FMA_Usable if FMA is supported.
18562         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18563         macro.
18564         (bit_FMA4_Usable): Updated.
18565         (index_FMA_Usable): New macro.
18566         (CPUID_FMA): Likewise
18567         (HAS_FMA): Defined with bit_FMA_Usable.
18568
18569 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18570
18571         * bits/types.h (__swblk_t): Type removed.
18572         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18573         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18574         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18575         (__SWBLK_T_TYPE): Likewise.
18576         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18577         (__SWBLK_T_TYPE): Likewise.
18578         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18579         (__SWBLK_T_TYPE): Likewise.
18580         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18581         (__SWBLK_T_TYPE): Likewise.
18582
18583 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18584             Honza Horak <hhorak@redhat.com>
18585
18586         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18587         (xdr_mapname): Use YPMAXMAP as maxsize.
18588         (xdr_peername): Use YPMAXPEER as maxsize.
18589         (xdr_keydat): Use YPAXRECORD as maxsize.
18590         (xdr_valdat): Use YPMAXRECORD as maxsize.
18591
18592 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18593
18594         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18595
18596         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18597         * csu/init-first.c: ... here.
18598         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18599         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18600         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18601         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18602         * sysdeps/i386/init-first.c: File removed.
18603         * sysdeps/sh/init-first.c: File removed.
18604
18605 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18606
18607         [BZ #14645]
18608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18609         if x * y might underflow to zero and z is zero.
18610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18612         * math/libm-test.inc (min_subnorm_value): New variable.
18613         (fma_test): Add more tests.
18614         (fma_test_towardzero): Likewise.
18615         (fma_test_downward): Likewise
18616         (fma_test_upward): Likewise.
18617         (initialize): Set min_subnorm_value.
18618
18619 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18620
18621         [BZ #14638]
18622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18623         0 + 0.
18624         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18625         mode for addition resulting in exact zero.
18626         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18627         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18628         exact 0 + 0.
18629         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18631         * math/libm-test.inc (fma_test): Add more tests.
18632         (fma_test_towardzero): New function.
18633         (fma_test_downward): Likewise.
18634         (fma_test_upward): Likewise.
18635         (main): Call the new functions.
18636
18637 2012-09-28  David S. Miller  <davem@davemloft.net>
18638
18639         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18640
18641 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18642
18643         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18644         instead of SIGALRM.
18645
18646         * sysdeps/gnu/_G_config.h: Moved to ...
18647         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18648         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18649         * sysdeps/generic/_G_config.h: ... here.
18650
18651         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18652
18653         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18654
18655         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18656         Conditionalize target on [libnss_test1.so-version].
18657
18658         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18659
18660         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18661         (elfobjdir): Move out of conditionals.
18662
18663         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18664         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18665         (__nss_lookup_function): Conditionalize label remove_from_tree on
18666         [!DO_STATIC_NSS || SHARED], matching its only use.
18667
18668 2012-09-28  David S. Miller  <davem@davemloft.net>
18669
18670         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18671         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18672         file.
18673         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18674         sysdep_routines.
18675         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18677         when HWCAP_SPARC_CRYPTO is present.
18678
18679 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18680
18681         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18682
18683 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18684
18685         [BZ #6530]
18686         * stdio-common/vfprintf.c (process_string_arg): Revert
18687         2000-07-22 change.
18688
18689 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18690
18691         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18692         for testcase.
18693         * stdio-common/tst-sprintf.c: Include <locale.h>
18694         (main): Test sprintf's handling of incomplete multibyte
18695         characters.
18696
18697 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18698
18699         * elf/dl-runtime.c (VERSYMIDX): Removed.
18700         * elf/dl-version.c (VERSYMIDX): Likewise.
18701         * elf/do-rel.h (VERSYMIDX): Likewise.
18702         (VALIDX): Likewise.
18703         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18704         * elf/rtld.c (VALIDX): Likewise.
18705         (ADDRIDX): Likewise.
18706         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18707         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18708         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18709         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18710         (VALIDX): Likewise.
18711         (ADDRIDX): Likewise.
18712
18713 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18714
18715         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18716
18717 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18718
18719         [BZ #11438]
18720         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18721         to global scope.
18722         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18723         addresses are in the same scope as 192.0.2/24.
18724         * posix/gai.conf: Document new scope table defaults.
18725
18726 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18727
18728         [BZ #5298]
18729         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18730         for ftell.  Compute offsets from write pointers instead.
18731         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18732
18733 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18734
18735         [BZ #14543]
18736         * libio/Makefile (tests): New test case tst-fseek.
18737         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18738         combination works in wide mode.
18739         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18740         state when the external buffer state changes.
18741
18742 2012-09-27  David S. Miller  <davem@davemloft.net>
18743
18744         [BZ #14376]
18745         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18746         pass reloc->r_addend in as the 'high' argument to
18747         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18748
18749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18750
18751 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18752
18753         * rt/tst-aio2.c: Include <pthread.h>.
18754         * rt/tst-aio3.c: Likewise.
18755
18756 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18757
18758         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18759
18760 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18761
18762         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18763         contents on [SHARED].
18764
18765 2012-09-26  Marek Polacek  <polacek@redhat.com>
18766
18767         [BZ #14530]
18768         [BZ #13741]
18769         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18770         for C++ and GCC <4.3 as well as for non GCC compilers.
18771
18772 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18773
18774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18775
18776 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18777
18778         * Makefile.in (all, install): Declare with .PHONY.
18779         Reported by Michael Hope <michael.hope@linaro.org>.
18780
18781 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18782
18783         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18784         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18785         system header.
18786         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18787         Likewise.
18788         (sydep_routines): Add the new and the internal functions.
18789         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18790         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18792         (GLIBC_2.17): Add the new function.
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18794         (GLIBC_2.17): Likewise.
18795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18796         (GLIBC_2.17): Likewise.
18797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18798         (GLIBC_2.17): Likewise.
18799         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18800
18801 2012-09-25  Alan Modra  <amodra@gmail.com>
18802
18803         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18804         Add release barrier before setting once_control to say
18805         initialisation is done.  Add hints on lwarx.  Use macro in
18806         place of isync.
18807         (clear_once_control): Add release barrier.
18808
18809 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18810
18811         [BZ #13629]
18812         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18813         specially.
18814         * math/s_clog10.c (__clog10): Likewise.
18815         * math/s_clog10f.c (__clog10f): Likewise.
18816         * math/s_clog10l.c (__clog10l): Likewise.
18817         * math/s_clogf.c (__clogf): Likewise.
18818         * math/s_clogl.c (__clogl): Likewise.
18819         * math/Makefile (libm-calls): Add x2y2m1.
18820         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18821         (__x2y2m1): Likewise.
18822         (__x2y2m1l): Likewise.
18823         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18824         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18825         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18826         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18827         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18828         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18829         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18830         * sysdeps/i386/fpu/libm-test-ulps: Update.
18831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18832
18833         [BZ #14621]
18834         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18835         int as type of variable DEPTH.
18836         (glob): Use size_t instead of int as type of variables NEWCOUNT
18837         and OLD_PATHC.
18838
18839 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18840
18841         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18842         Add s_sincosf-sse2.
18843         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18844         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18845         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18846         macros for using routine as __sincosf_ia32.
18847         Use macro for function declaration and weak_alias.
18848         * sysdeps/i386/fpu/libm-test-ulps: Update.
18849
18850         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18852
18853         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18854         subnormal argument.
18855         * math/s_cexpf.c (__cexpf): Likewise.
18856         * math/s_csinf.c (__csinf): Likewise.
18857         * math/s_csinhf.c (__csinhf): Likewise.
18858         * math/s_ctanf.c (__ctanf): Likewise.
18859         * math/s_ctanhf.c (__ctanhf): Likewise.
18860         * math/s_ccosh.c (__ccoshf): Likewise.
18861         * math/s_cexp.c (__cexpl): Likewise.
18862         * math/s_csin.c (__csin): Likewise.
18863         * math/s_csinh.c (__csinh): Likewise.
18864         * math/s_ctan.c (__ctan): Likewise.
18865         * math/s_ctanh.c (ctanh): Likewise.
18866         * math/s_ccoshl.c (__ccoshl): Likewise.
18867         * math/s_cexpl.c (__cexpl): Likewise.
18868         * math/s_csinl.c (__csinl): Likewise.
18869         * math/s_csinhl.c (__csinhl): Likewise.
18870         * math/s_ctanl.c (__ctanl): Likewise.
18871         * math/s_ctanhl.c (__ctanhl): Likewise.
18872
18873 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18874
18875         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18876         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18877         (_IO_off_t): Define to __off_t, not _G_off_t.
18878         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18879         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18880         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18881         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18882         type of __dummy and __dummy2 fields.
18883         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18884         (_G_ssize_t): Likewise.
18885         (_G_off_t): Likewise.
18886         (_G_pid_t): Likewise.
18887         (_G_uid_t): Likewise.
18888         (_G_wchar_t): Likewise.
18889         (_G_wint_t): Likewise.
18890         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18891         (_G_ssize_t): Likewise.
18892         (_G_off_t): Likewise.
18893         (_G_pid_t): Likewise.
18894         (_G_uid_t): Likewise.
18895         (_G_wchar_t): Likewise.
18896         (_G_wint_t): Likewise.
18897         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18898         (_G_ssize_t): Likewise.
18899         (_G_off_t): Likewise.
18900         (_G_pid_t): Likewise.
18901         (_G_uid_t): Likewise.
18902         (_G_wchar_t): Likewise.
18903         (_G_wint_t): Likewise.
18904
18905 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18906
18907         * malloc/arena.c: Include malloc-sysdep.h.
18908         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18909         is sufficient to shrink the heap or an unmap is needed.
18910         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18911         new function check_may_shrink_heap.
18912         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18913         new function check_may_shrink_heap.
18914
18915 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18916
18917         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18918         comments.
18919
18920 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18921
18922         * catgets/test-gencat.sh: Add "set -e".
18923         * elf/tst-pathopt.sh: Likewise.
18924         * grp/tst_fgetgrent.sh: Likewise.
18925         * iconvdata/run-iconv-test.sh: Likewise.
18926         * intl/tst-gettext.sh: Likewise.
18927         * intl/tst-gettext2.sh: Likewise.
18928         * intl/tst-gettext4.sh: Likewise.
18929         * intl/tst-gettext6.sh: Likewise.
18930         * intl/tst-translit.sh: Likewise.
18931         * io/ftwtest-sh: Likewise.
18932         * libio/test-freopen.sh: Likewise.
18933         * malloc/tst-mtrace.sh: Likewise.
18934         * posix/globtest.sh: Likewise.
18935         * posix/tst-getconf.sh: Likewise.
18936         * posix/wordexp-tst.sh: Likewise.
18937         * stdio-common/tst-printf.sh: Likewise.
18938         * stdio-common/tst-unbputc.sh: Likewise.
18939         * stdlib/tst-fmtmsg.sh: Likewise.
18940         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18941         * catgets/Makefile: Do not specify -e option when running
18942         testsuite shell scripts.
18943         * elf/Makefile: Likewise.
18944         * grp/Makefile: Likewise.
18945         * iconvdata/Makefile: Likewise.
18946         * intl/Makefile: Likewise.
18947         * io/Makefile: Likewise.
18948         * libio/Makefile: Likewise.
18949         * malloc/Makefile: Likewise.
18950         * posix/Makefile: Likewise.
18951         * stdio-common/Makefile: Likewise.
18952         * stdlib/Makefile: Likewise.
18953         * sysdeps/x86_64/Makefile: Likewise.
18954
18955         * io/ftwtest-sh: Add copyright header.
18956         * posix/globtest.sh: Likewise.
18957         * posix/tst-getconf.sh: Likewise.
18958         * posix/wordexp-tst.sh: Likewise.
18959         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18960
18961 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18962
18963         [BZ #13679]
18964         * Makeconfig (+link): Defined as $(+link-static) if
18965         $(build-shared) isn't yes.
18966         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18967         isn't yes.
18968         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18969
18970         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18971
18972         [BZ #14562]
18973         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18974         new chunk size with MALLOC_ALIGN_MASK.
18975
18976 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18977
18978         [BZ #5044]
18979         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18980         <rounding-mode.h>.
18981         (__printf_fphex): Determine rounding using get_rounding_mode and
18982         round_away.
18983         * stdio-common/tst-printf-round.c (struct hex_test): New
18984         structure.
18985         (hex_tests): New variable.
18986         (test_hex_in_one_mode): New function.
18987         (do_test): Also run tests for hex float output.
18988
18989 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18990
18991         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18992         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18993         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18994         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18995         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18996         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18997         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18998         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18999
19000 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19001
19002         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19003         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19004         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19005         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19006
19007 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19008
19009         [BZ #14579]
19010         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19011         mode only.
19012         * elf/tst-rtld-load-self.sh: New test.
19013         * elf/Makefile: Run it.
19014
19015 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19016
19017         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19018         (tst-writev-ENV): Remove.
19019         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19020
19021 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19022
19023         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19024
19025 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19026
19027         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19028         unconditional.
19029         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19030         Likewise.
19031         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19032         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19033         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19034         Likewise.
19035
19036 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19037
19038         [BZ #14587]
19039         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19040         * config.make.in (have-cpp-asm-debuginfo): Removed.
19041         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19042         * configure: Regenerated.
19043
19044 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19045
19046         [BZ #5044]
19047         * stdio-common/printf_fp.c: Include <stdbool.h> and
19048         <rounding-mode.h>.
19049         (___printf_fp): Determine rounding using get_rounding_mode and
19050         round_away.
19051         * stdio-common/tst-printf-round.c: New file.
19052         * stdio-common/Makefile (tests): Add tst-printf-round.
19053         (link-libm): New variable.
19054         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19055
19056 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19057
19058         [BZ #14576]
19059         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19060         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19061         Likewise.
19062         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19063         Likewise.
19064
19065 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19066
19067         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19068         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19069         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19070         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19071
19072 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19073
19074         [BZ #14518]
19075         * include/rounding-mode.h: New file.
19076         * sysdeps/generic/get-rounding-mode.h: Likewise.
19077         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19078         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19079         (MAX_VALUE): New macro.
19080         (MIN_VALUE): Likewise.
19081         (overflow_value): New function.
19082         (underflow_value): Likewise.
19083         (round_and_return): Use overflow_value and underflow_value to
19084         determine return values in overflow and underflow cases.  Use
19085         round_away to determine rounding depending on rounding mode.
19086         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19087         determine return values in overflow and underflow cases.
19088         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19089         (struct test_results): New structure.
19090         (struct test): Use struct test_results to store expected results
19091         for all rounding modes.
19092         (TEST): Include expected results for all rounding modes.
19093         (test_in_one_mode): New function.
19094         (do_test): Use test_in_one_mode to compute and check results.
19095         Check results for all rounding modes.
19096         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19097         $(link-libm).
19098
19099 2012-12-09  Allan McRae  <allan@archlinux.org>
19100
19101         * sysdeps/i386/fpu/libm-test-ulps: Update
19102
19103 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19104
19105         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19106         (_G_int32_t): Likewise.
19107         (_G_uint16_t): Likewise.
19108         (_G_uint32_t): Likewise.
19109         (_G_HAVE_BOOL): Likewise.
19110         (_G_HAVE_ATEXIT): Likewise.
19111         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19112         (_G_HAVE_IO_FILE_OPEN): Likewise.
19113         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19114         (_G_int32_t): Likewise.
19115         (_G_uint16_t): Likewise.
19116         (_G_uint32_t): Likewise.
19117         (_G_HAVE_BOOL): Likewise.
19118         (_G_HAVE_ATEXIT): Likewise.
19119         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19120         (_G_HAVE_IO_FILE_OPEN): Likewise.
19121         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19122         (_G_int32_t): Likewise.
19123         (_G_uint16_t): Likewise.
19124         (_G_uint32_t): Likewise.
19125         (_G_HAVE_BOOL): Likewise.
19126         (_G_HAVE_ATEXIT): Likewise.
19127         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19128         (_G_HAVE_IO_FILE_OPEN): Likewise.
19129
19130 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19131
19132         * csu/libc-tls.c: Update copyright years.
19133
19134 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19135
19136         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19137         [!_G_USING_THUNKS]: Remove conditional code.
19138         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19139         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19140
19141         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19142         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19143         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19144         (_G_VTABLE_LABEL_PREFIX): Likewise.
19145         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19146         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19147         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19148         (_G_VTABLE_LABEL_PREFIX): Likewise.
19149         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19150         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19151         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19152         (_G_VTABLE_LABEL_PREFIX): Likewise.
19153         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19154
19155 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19156
19157         * libio/Makefile: Include ../Makeconfig before tests.
19158         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19159         only if $(build-shared) is yes.
19160
19161         * iconv/gconv_db.c: Update copyright years.
19162
19163 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19164
19165         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19166         unwind info if defined PIC. Fix special cases description.
19167         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19168
19169         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19170         DP_HI_MASK entry.
19171         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19172
19173 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19174
19175         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19176
19177         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19178         is NULL.
19179
19180         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19181         (LDLIBS-tst-chk4): This.
19182         (LDFLAGS-tst-chk5): Renamed to ...
19183         (LDLIBS-tst-chk5): This.
19184         (LDFLAGS-tst-chk6): Renamed to ...
19185         (LDLIBS-tst-chk6): This.
19186         (LDFLAGS-tst-lfschk4): Renamed to ...
19187         (LDLIBS-tst-lfschk4): This.
19188         (LDFLAGS-tst-lfschk5): Renamed to ...
19189         (LDLIBS-tst-lfschk5): This.
19190         (LDFLAGS-tst-lfschk6): Renamed to ...
19191         (LDLIBS-tst-lfschk6): This.
19192
19193         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19194         on $(common-objpfx)soversions.mk.
19195
19196 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19197
19198         [BZ #10014]
19199         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19200         example host name.
19201
19202 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19203
19204         * malloc/arena.c (arena_get_retry): New function that gets
19205         another arena for the caller to try its request on.
19206         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19207         current arena cannot fulfill the request.
19208         (__libc_memalign): Likewise.
19209         (__libc_memalign): Likewise.
19210         (__libc_pvalloc): Likewise.
19211         (__libc_calloc): Likewise.
19212
19213 2012-09-05  John Tobey  <john.tobey@gmail.com>
19214
19215         [BZ #13542]
19216         * manual/arith.texi (Operations on Complex): Fix description
19217         of carg branch cut.
19218
19219 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19220
19221         [BZ #10014]
19222         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19223         host name.
19224
19225         [BZ #10038]
19226         * manual/memory.texi (Memory): Make order of menu items match
19227         order of sections.
19228
19229 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19230
19231         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19232         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19233         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19234
19235 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19236
19237         * csu/libc-tls.c (static_dtv): Renamed to ...
19238         (_dl_static_dtv): This.  Make it global.
19239         (_dl_initial_dtv): Removed.
19240         (__libc_setup_tls): Updated.
19241         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19242         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19243         DL_INITIAL_DTV.
19244
19245 2012-09-06  Petr Machata  <pmachata@redhat.com>
19246
19247         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19248         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19249         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19250         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19251
19252 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19253
19254         [BZ #14545]
19255         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19256         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19257         freeing dtv[-1].
19258
19259 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19260
19261         [BZ #14544]
19262         * Makeconfig (link-static-before-libc): Replace $(+prector)
19263         with $(+prectorT).
19264         (link-static-after-libc): Replace $(+postctor) with
19265         $(+postctorT).
19266         (link-bounded): Replace $(+prector)/$(+postctor) with
19267         $(+prectorT)/$(+postctorT).
19268         (+prectorT): New macro.
19269         (+postctorT): Likewise.
19270
19271 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19272
19273         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19274         (round_str): Handle values above the maximum for IBM long double
19275         as inexact.
19276         * stdlib/tst-strtod-round.c (tests): Regenerated.
19277
19278 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19279
19280         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19281         assembler flag.
19282         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19283         zarch_nohighgprs around the zarch optimized routines.
19284         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19285         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19286         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19287         for zarch.
19288
19289 2012-09-05  David S. Miller  <davem@davemloft.net>
19290
19291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19292
19293         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19294         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19295         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19296         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19297         entries.
19298
19299 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19300
19301         * malloc/arena.c: Fold copyright years.
19302         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19303
19304 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19305
19306         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19307
19308 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19309
19310         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19311
19312 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19313
19314         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19315         change internal state upon failure.
19316
19317 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19318
19319         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19320         * malloc/memusage.c (mmap): Likewise.
19321         (mmap64, mremap): Likewise.  Adjust name in comment.
19322
19323 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19324
19325         * libio/fileops.c: Fix typos in comments.
19326         * libio/oldfileops.c: Likewise.
19327         * libio/wfileops.c: Likewise.
19328
19329 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19330
19331         [BZ #1349]
19332         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19333         (tst-malloc-usable-ENV): Set environment for test case.
19334         * malloc/hooks.c (malloc_check_get_size): New function to get
19335         requested size.
19336         * malloc/malloc.c (musable): Use malloc_check_get_size.
19337         * malloc/tst-malloc-usable.c: New test case.
19338
19339 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19340
19341         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19342
19343 2012-09-05  Allan McRae  <allan@archlinux.org>
19344
19345         [BZ #13966]
19346         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19347         determine header location.
19348         * configure: Regenerated.
19349
19350 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19351
19352         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19353         float format.
19354         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19355         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19356         format.
19357         (test): Regenerate.
19358
19359 2012-09-04  David S. Miller  <davem@davemloft.net>
19360
19361         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19362         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19363         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19364
19365 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19366
19367         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19368         failures.
19369
19370         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19371
19372 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19373
19374         [BZ #9914]
19375         * libio/iogetdelim.c: Include <limits.h>.
19376         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19377         + len + 1 would overflow.
19378
19379 2012-09-03  Andreas Jaeger  <aj@suse.de>
19380
19381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19382         * sysdeps/i386/fpu/libm-test-ulps: Update.
19383
19384 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19385
19386         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19387         Add s_sinf-sse2, s_conf-sse2.
19388
19389         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19390         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19391         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19392         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19393
19394         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19395         for using routine as __sinf_ia32.
19396         Use macro for function declaration and weak_alias.
19397         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19398         for using routine as __cosf_ia32.
19399         Use macro for function declaration and weak_alias.
19400
19401         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19402         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19403
19404         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19405         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19407
19408         * math/libm-test.inc (cos_test): Add more test cases.
19409         (sin_test): Likewise.
19410         (sincos_test): Likewise.
19411
19412 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19413
19414         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19415         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19416         hidden.
19417         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19418
19419 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19420
19421         [BZ #14538]
19422         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19423         first element of the GOT.
19424         (elf_machine_load_address): Return the difference between
19425         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19426
19427 2012-09-01  Allan McRae  <allan@archlinux.org>
19428
19429         [BZ #13412]
19430         * configure.in (AWK): Require gawk version 3.0 or later.
19431         * configure: Regenerated.
19432
19433 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19434
19435         * sysdeps/unix/sysv/linux/kernel-features.h
19436         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19437         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19438         [__NR_clock_getres]: Make code unconditional.
19439         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19440         (clock_getcpuclockid): Remove code left unreachable by removal of
19441         conditionals.
19442         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19443         code unconditional.
19444         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19445         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19446         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19447         Make code unconditional.
19448         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19449         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19450         * sysdeps/unix/sysv/linux/clock_settime.c
19451         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19452         conditional code.
19453         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19454         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19455
19456 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19457
19458         [BZ #14476]
19459         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19460         scripts/test-installation.pl.
19461
19462         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19463         and $ld_so_version if it is set.
19464
19465 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19466
19467         [BZ #14516]
19468         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19469         failure if reading from procfs failed.
19470         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19471
19472 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19473
19474         * sysdeps/unix/sysv/linux/kernel-features.h
19475         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19476         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19477         Remove conditional code.
19478         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19479         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19480         Remove conditional code.
19481         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19482         * sysdeps/unix/sysv/linux/i386/fxstat.c
19483         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19484         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19485         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19486         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19487         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19488         * sysdeps/unix/sysv/linux/i386/lxstat.c
19489         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19491         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19492         Remove conditional code.
19493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19494         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19495         Remove conditional code.
19496         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19497         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19498         <kernel-features.h>.
19499         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19500         Remove.
19501         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19502         Remove conditional code.
19503         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19504         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19505         Remove conditional.
19506
19507 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19508
19509         [BZ #5400]
19510         * NEWS: Add fixed bug number.
19511
19512 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19513
19514         [BZ #14519]
19515         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19516         underflowing exponent in case of negative sign.
19517         * stdlib/tst-strtod-round-data: Add more tests.
19518         * stdlib/tst-strtod-round.c (tests): Regenerated.
19519
19520         [BZ #3479]
19521         * stdlib/strtod_l.c (NDIG): Remove.
19522         (HEXNDIG): Likewise.
19523         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19524         smallest representable value.
19525         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19526         lie within an exact representation of 1/2 ulp of the result.
19527         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19528         unconditionally.
19529         (TENS_P9_IDX): Define unconditionally.
19530         (TENS_P9_SIZE): Likewise.
19531         (TENS_P10_IDX): Likewise.
19532         (TENS_P10_SIZE): Likewise.
19533         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19534         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19535         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19536         entries for 10^2^13 and 10^2^14.
19537         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19538         (TENS_P13_IDX): Define.
19539         (TENS_P13_SIZE): Likewise.
19540         (TENS_P14_IDX): Likewise.
19541         (TENS_P14_SIZE): Likewise.
19542         (_fpioconst_pow10): Change array size to
19543         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19544         unconditional.
19545         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19546         1024]: Add entries for 10^2^13 and 10^2^14.
19547         [LAST_POW10 > _LAST_POW10]: Remove #error.
19548         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19549         (_fpioconst_pow10): Change array size to
19550         FPIOCONST_POW10_ARRAY_SIZE.
19551         * stdlib/gen-fpioconst.c: New file.
19552         * stdlib/gen-tst-strtod-round.c: Likewise.
19553         * stdlib/tst-strtod-round-data: Likewise.
19554         * stdlib/tst-strtod-round.c: Likewise.
19555         * stdlib/Makefile (tests): Add tst-strtod-round.
19556
19557         [BZ #14459]
19558         * stdlib/strtod_l.c: Include <stdint.h>.
19559         (NDEBUG): Do not define.
19560         (round_and_return): Change EXPONENT parameter to type intmax_t.
19561         Rearrange calculations to avoid internal overflow possibilities.
19562         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19563         Rearrange calculations to avoid internal overflow possibilities.
19564         Assert that number fits inside MPNSIZE limbs.
19565         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19566         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19567         calculations and add assertions to avoid internal overflow
19568         possibilities.  Add casts to avoid signed/unsigned operations.
19569         * stdlib/tst-strtod-overflow.c: New file.
19570         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19571
19572 2012-08-25  Marek Polacek  <polacek@redhat.com>
19573
19574         * time/time.h: Fix some typos in comments.
19575
19576 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19577
19578         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19579         * posix/tst-rfc3484-2.c: Likewise.
19580         * posix/tst-rfc3484-3.c: Likewise.
19581
19582 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19583
19584         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19585         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19586
19587 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19588
19589         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19590         #include of fxstatat64.c.
19591
19592 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19593
19594         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19595         * shadow/getspent_r.c: Likewise.
19596         * shadow/getspnam.c: Likewise.
19597         * shadow/getspnam_r.c: Likewise.
19598         * gshadow/getsgent.c: Likewise.
19599         * gshadow/getsgent_r.c: Likewise.
19600         * gshadow/getsgnam.c: Likewise.
19601         * gshadow/getsgnam_r.c: Likewise.
19602         * inet/getnetbyad.c: Likewise.
19603         * inet/getnetbyad_r.c: Likewise.
19604         * inet/getnetbynm.c: Likewise.
19605         * inet/getnetbynm_r.c: Likewise.
19606         * inet/getnetent.c: Likewise.
19607         * inet/getnetent_r.c: Likewise.
19608         * inet/getproto.c: Likewise.
19609         * inet/getproto_r.c: Likewise.
19610         * inet/getprtent.c: Likewise.
19611         * inet/getprtent_r.c: Likewise.
19612         * inet/getprtname.c: Likewise.
19613         * inet/getprtname_r.c: Likewise.
19614         * inet/getrpcbyname.c: Likewise.
19615         * inet/getrpcbyname_r.c: Likewise.
19616         * inet/getrpcbynumber.c: Likewise.
19617         * inet/getrpcbynumber_r.c: Likewise.
19618         * inet/getrpcent.c: Likewise.
19619         * inet/getrpcent_r.c: Likewise.
19620         * inet/getaliasent.c: Likewise.
19621         * inet/getaliasent_r.c: Likewise.
19622         * inet/getaliasname.c: Likewise.
19623         * inet/getaliasname_r.c: Likewise.
19624         * nscd/getgrgid_r.c: Likewise.
19625         * nscd/getgrnam_r.c: Likewise.
19626         * nscd/gethstbyad_r.c: Likewise.
19627         * nscd/gethstbynm3_r.c: Likewise.
19628         * nscd/getpwnam_r.c: Likewise.
19629         * nscd/getpwuid_r.c: Likewise.
19630         * nscd/getsrvbynm_r.c: Likewise.
19631         * nscd/getsrvbypt_r.c: Likewise.
19632         * nscd/gai.c: Likewise.
19633
19634         * configure.in (build_nscd): New substituted variable, set
19635         by --disable-build-nscd and defaults to $use_nscd.
19636         * configure: Regenerated.
19637         * config.make.in (build-nscd): New substituted variable.
19638         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19639         Change conditional to require [$(build-nscd) = yes] as well.
19640         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19641
19642         [BZ# 13696]
19643         * configure.in (use_nscd): New substituted variable, set by
19644         --disable-nscd.  If enabled, define USE_NSCD.
19645         * configure: Regenerated.
19646         * config.h.in: Add USE_NSCD.
19647         * config.make.in (use-nscd): New substituted variable.
19648         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19649         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19650         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19651         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19652         (CFLAGS-getgrnam_r.c): Likewise.
19653         (CFLAGS-initgroups.c): Likewise.
19654         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19655         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19656         Variables removed.
19657         * inet/getnetgrent_r.c
19658         (nscd_setnetgrent): New function, broken out of ...
19659         (setnetgrent): ... here.  Call it.
19660         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19661         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19662         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19663         * nscd/Makefile (routines, aux): Move definitions after include of
19664         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19665         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19666         Conditionalize on [USE_NSCD].
19667         (is_nscd, nscd_init_cb): Likewise.
19668         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19669         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19670         * nss/nss_db/db-init.c: Likewise.
19671         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19672         [USE_NSCD].
19673         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19674         (make_request): Use it.
19675         (cache_valid_p): New function.
19676         (__check_pf): Use it.
19677         * NEWS: Add item for --disable-nscd.
19678
19679 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19680
19681         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19682         to support sed >= 4.2.1-20-ga9bf076.
19683         * configure: Regenerated.
19684
19685 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19686
19687         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19688         Conditionalize whole body on [IREL].
19689
19690 2012-08-22  Jeff Law <law@redhat.com>
19691
19692         [BZ #14505]
19693         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19694         if the family is PF_UNSPEC.
19695
19696 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19697
19698         * Makerules (lib-version): Rename from V.
19699         (install-lib-nosubdir): Change V to lib-version.
19700
19701 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19702
19703         [BZ #14252]
19704         * powerpc32/power6/wcschr.c: New file.
19705         * powerpc32/power6/wcscpy.c: New file.
19706         * powerpc32/power6/wcsrchr.c: New file.
19707         * powerpc64/power6/wcschr.c: New file.
19708         * powerpc64/power6/wcscpy.c: New file.
19709         * powerpc64/power6/wcsrchr.c: New file.
19710
19711 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19712
19713         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19714         (two_way_short_needle): Use it.
19715         * string/strstr.c (AVAILABLE1_USES_J): Define.
19716         * string/strcasestr.c: Likewise.
19717
19718         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19719         array references.
19720         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19721
19722         [BZ #11607]
19723         * NEWS: Add an entry.
19724         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19725         define their defaults.
19726         (two_way_short_needle): Detect end-of-string on-the-fly.
19727         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19728         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19729         * string/bug-strcasestr1.c: New test.
19730         * string/Makefile: Run it.
19731
19732 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19733
19734         [BZ #11607]
19735         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19736         the first character.
19737
19738 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19739
19740         * csu/elf-init.c (__libc_csu_irel): Function removed.
19741         * csu/libc-start.c (apply_irel): New function.
19742         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19743
19744 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19745
19746         * sysdeps/unix/sysv/linux/kernel-features.h
19747         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19748         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19749         <kernel-features.h>.
19750         [__NR_fadvise64_64]: Make code unconditional.
19751         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19752         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19753         !__NR_fadvise64_64)]: Likewise.
19754         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19755         !__NR_fadvise64_64))]: Likewise.
19756         [__NR_fadvise64]: Make code unconditional.
19757         [!__NR_fadvise64]: Remove conditional code.
19758         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19759         <kernel-features.h>.
19760         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19761         unconditional.
19762         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19763         conditional code.
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19765         not include <kernel-features.h>.
19766         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19767         unconditional.
19768         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19769         conditional code.
19770         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19771         include <kernel-features.h>.
19772         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19773         unconditional.
19774         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19775         conditional code.
19776
19777 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19778
19779         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19780         slight instruction rearrangements per scrollpipe analysis.
19781         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19782
19783 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19784
19785         * manual/syslog.texi (syslog; vsyslog, closelog):
19786         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19787         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19788
19789         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19790         DSOCAPS to match condition on defining it.
19791
19792 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19793
19794         * sysdeps/unix/sysv/linux/kernel-features.h
19795         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19797         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19798         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19800         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19801         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19803         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19804         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19805
19806         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19807         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19808
19809         * sysdeps/unix/sysv/linux/kernel-features.h
19810         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19811         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19812         unconditional.
19813         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19814         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19815         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19816         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19817         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19818         Make code unconditional.
19819         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19820         (__mmap64) [!__NR_mmap2]: Likewise.
19821         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19822         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19823         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19824         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19825         [__NR_mmap2]: Make code unconditional.
19826         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19827         (__mmap64) [!__NR_mmap2]: Likewise.
19828
19829 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19830
19831         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19832
19833 2012-08-18  Andreas Jaeger  <aj@suse.de>
19834
19835         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19836
19837 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19838
19839         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19840         * include/unistd.h (__have_sock_cloexec): Likewise.
19841         (__have_pipe2): Likewise.
19842         (__have_dup3): Likewise.
19843
19844 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19845
19846         [BZ #9685]
19847         * include/unistd.h (__have_pipe2): Change define into an extern int.
19848         (__have_dup3): Likewise.
19849         * socket/have_sock_cloexec.c: Include fcntl.h.
19850         (__have_pipe2): New variable.
19851         (__have_dup3): Likewise.
19852
19853 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19854
19855         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19856
19857 2012-08-17  Marek Polacek  <polacek@redhat.com>
19858
19859         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19860         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19861
19862 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19863
19864         * configure.in: Add AC_SUBST for sysheaders.
19865         * configure: Regenerated.
19866         * config.make.in (sysheaders): New substituted variable.
19867
19868         * sysdeps/unix/mkfifo.c: Moved ...
19869         * sysdeps/posix/mkfifo.c: ... here.
19870         * sysdeps/unix/mkfifoat.c: Moved ...
19871         * sysdeps/posix/mkfifoat.c: ... here.
19872
19873         * sysdeps/unix/utime.c: Moved ...
19874         * sysdeps/posix/utime.c: ... here.
19875
19876         * sysdeps/unix/time.c: Moved ...
19877         * sysdeps/posix/time.c: ... here.
19878         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19879         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19880
19881         * sysdeps/unix/nice.c: Moved ...
19882         * sysdeps/posix/nice.c: ... here.
19883
19884         * sysdeps/unix/alarm.c: Moved ...
19885         * sysdeps/posix/alarm.c: ... here.
19886
19887         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19888
19889 2012-08-17  Jeff Law <law@redhat.com>
19890
19891         * intl/Makefile (codeset_mo): New variable.
19892         ($(codeset_mo)): New target.
19893         (tst-codeset.out): Depend on that.  Remove explicit rule.
19894         (tst-gettext3.out, tst-gettext5.out): Likewise.
19895         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19896         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19897         * intl/tst-codeset.sh: Remove.
19898         * intl/tst-gettext3.sh: Likewise.
19899         * intl/tst-gettext5.sh: Likewise.
19900
19901 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19902
19903         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19904         * sysdeps/unix/syscalls.list: ... here.
19905
19906         * sysdeps/posix/getaddrinfo.c
19907         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19908         (gaiconf_init, gaiconf_reload): Use them.
19909         [!_STATBUF_ST_NSEC]
19910         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19911         Define using time_t rather than struct timespec.
19912
19913         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19914         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19915         Macros removed.
19916         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19917         [!NO_THREADS].
19918         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19919         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19920         Likewise.
19921
19922         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19923         __libc_cleanup_push argument.
19924
19925         * bits/param.h: New file.
19926         * misc/sys/param.h: New file.
19927         * include/sys/param.h: New file.
19928         * misc/Makefile (headers): Add bits/param.h.
19929         * sysdeps/generic/sys/param.h: File removed.
19930         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19931         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19932         * sysdeps/mach/hurd/bits/param.h: New file.
19933         * sysdeps/mach/hurd/sys/param.h: File removed.
19934
19935         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19936         last change.
19937
19938         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19939         [_IO_MTSAFE_IO].
19940         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19941         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19942         New macros.
19943
19944         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19945         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19946         rather than -D_IO_MTSAFE_IO conditionally.
19947         * stdio-common/Makefile (CPPFLAGS): Likewise.
19948         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19949         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19950         Use $(libio-mtsafe).
19951         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19952         of -D_IO_MTSAFE_IO.
19953         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19954         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19955         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19956         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19957         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19958         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19959         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19960         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19961         (CFLAGS-fread_u_chk.c): Likewise.
19962         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19963         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19964         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19965         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19966         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19967         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19968         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19969         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19970         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19971
19972         * libio/Makefile: Test [$(libc-reentrant) = yes]
19973         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19974
19975         * Makeconfig
19976         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19977         * sysdeps/pthread/configure: File removed.
19978         * sysdeps/pthread/Makeconfig: New file.
19979         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19980         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19981
19982 2012-08-16  Gary Benson  <gbenson@redhat.com>
19983
19984         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19985         unmapping the first object in a namespace.
19986
19987 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19988
19989         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19990         (__internal_setnetgrent): ... this.  Add internal_function to
19991         definition.  Add libc_hidden_def.
19992         (setnetgrent): Update caller.
19993         (internal_endnetgrent): Renamed to ...
19994         (__internal_endnetgrent): ... this.  Add internal_function to
19995         definition.  Add libc_hidden_def.
19996         (endnetgrent): Update caller.
19997         (internal_getnetgrent_r): Renamed to ...
19998         (__internal_getnetgrent_r): ... this.  Add internal_function to
19999         definition.  Add libc_hidden_def.
20000         (__getnetgrent_r): Update caller.
20001         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20002
20003 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20004
20005         * stdlib/longlong.h: Update from GCC.
20006
20007 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20008
20009         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20010         on _QL, which is set by umul_ppmm but never used.
20011         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20012         variables, which are set by GMP macros but never used.
20013         * stdio-common/_itowa.c (_itowa): Likewise.
20014         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20015         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20016
20017 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20018
20019         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20020         struct La_sh_regs is not constant.
20021         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20022         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20023         and struct La_sparc64_regs are not constant.
20024
20025 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20026
20027         * sysdeps/unix/sysv/linux/kernel-features.h
20028         (__ASSUME_POSIX_TIMERS): Remove.
20029         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20030         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20031         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20032         Make code unconditional.
20033         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20034         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20035         Make code unconditional.
20036         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20037         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20038         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20039         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20040         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20041         Make code unconditional.
20042         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20043         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20044         (__libc_missing_posix_timers): Remove.
20045
20046 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20047
20048         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20049         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20050
20051         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20052
20053         * elf/dl-sym.c: Include <stdlib.h>.
20054
20055         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20056         constants, which avoids warnings in 32-bit builds.
20057
20058         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20059         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20060
20061         * misc/lseek.c: File moved to ...
20062         * io/lseek.c: ... here.
20063
20064         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20065
20066         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20067         shifting LEN more than 31 bits at once.
20068
20069 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20070
20071         [BZ #14195]
20072         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20073         segmentation fault for a case of two empty input strings.
20074         * string/test-strncasecmp.c (check1): Renamed to...
20075         (bz12205): ...this.
20076         (bz14195): Add new testcase for two empty input strings and N > 0.
20077         (test_main): Call new testcase, adapt for renamed function.
20078
20079 2012-08-15  Andreas Jaeger  <aj@suse.de>
20080
20081         [BZ #14090]
20082         * crypt/md5test2.c: New test, based on test supplied by Serge
20083         Belyshev <belyshev@depni.sinp.msu.ru>.
20084         * crypt/Makefile (xtests): Add md5test-giant..
20085         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20086
20087 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20088
20089         [BZ #14090]
20090         * crypt/md5.c (md5_process_block): Don't assume the buffer
20091         length is less than 2**32.
20092         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20093         length is less than 2**64.
20094
20095 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20096
20097         * string/str-two-way.h: Include <sys/param.h>.
20098         (MAX): Macro removed.
20099
20100         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20101         Move #define and #undef of memmove to just before and after
20102         including <string.h>.
20103
20104         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20105         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20106         and after including <string.h>.  Move declarations of
20107         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20108         to before #include "string/memmove.c".
20109
20110         * include/dirent.h: Declare __getdirentries.
20111
20112         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20113         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20114
20115 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20116
20117         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20118         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20119         * sysdeps/i386/configure: Regenerated.
20120         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20121         STABS_CURRENT_FILE, and STABS_FUN.
20122         (END): Remove call to STABS_FUN_END.
20123         (STABS_CURRENT_FILE1): Delete.
20124         (STABS_CURRENT_FILE): Likewise.
20125         (STABS_FUN): Likewise.
20126         (STABS_FUN_END): Likewise.
20127         (STABS_FUN2): Likewise.
20128         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20129         * sysdeps/x86_64/configure: Regenerated.
20130
20131 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20132
20133         * elf/dl-open.c: Include <atomic.h>.
20134         * elf/dl-lookup.c: Likewise.
20135
20136 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20137
20138         * sysdeps/unix/sysv/linux/kernel-features.h
20139         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20140         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20141         unconditionally.
20142         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20143         unconditionally.
20144         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20145         condition on __ASSUME_CLONE_THREAD_FLAGS.
20146
20147 2012-08-14  Andreas Jaeger  <aj@suse.de>
20148
20149         * sysdeps/i386/fpu/libm-test-ulps: Update.
20150
20151 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20152
20153         * include/atomic.h (atomic_exchange_and_add): Split into ...
20154         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20155         New atomic macros.
20156
20157 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20158
20159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20160
20161 2012-08-13  Jeff Law <law@redhat.com>
20162
20163         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20164         null byte in the output string.
20165
20166 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20167
20168         * sysdeps/unix/sysv/linux/kernel-features.h
20169         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20170         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20171         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20172         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20173         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20174         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20175         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20176
20177 2012-08-09  Jeff Law <law@redhat.com>
20178
20179         [BZ #13939]
20180         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20181         When avoid_arena is set, don't retry in the that arena.  Pick the
20182         next one, whatever it might be.
20183         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20184         (arena_lock): Pass in new parameter to arena_get2.
20185         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20186         arena_get2.
20187         (__libc_malloc): Unify retrying after main arena failure with
20188         __libc_memalign version.
20189         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20190
20191 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20192
20193         [BZ #14166]
20194         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20195         to __redirect_strstr.
20196         (__strstr_sse42): Use typeof __redirect_strstr.
20197         (__strstr_ia32): Likewise.
20198         (__libc_strstr): New prototype.
20199         (strstr): Renamed to ...
20200         (__libc_strstr): This.
20201         (strstr): New strong alias of __libc_strstr.
20202         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20203         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20204         __redirect_time.
20205         Include <time.h>.
20206         (__libc_time): New prototype.
20207         (time_ifunc): Replace time with __libc_time.
20208         (time): New strong alias and hidden definition of __libc_time.
20209         (__GI_time): Remove strong alias.
20210         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20211         Include <stddef.h>.
20212         (memmove): Redefined to __redirect_memmove.
20213         (__memmove_sse2): Use typeof __redirect_memmove.
20214         (__memmove_ssse3): Likewise.
20215         (__memmove_ssse3_back): Likewise.
20216         (__libc_memmove): New prototype.
20217         (memmove): Renamed to ...
20218         (__libc_memmove): This.
20219         (memmove): New strong alias of __libc_memmove.
20220
20221 2012-08-08  Mark Salter  <msalter@redhat.com>
20222
20223         * elf/elf.h
20224         (R_MN10300_TLS_GD): Define.
20225         (R_MN10300_TLS_LD): Likewise.
20226         (R_MN10300_TLS_LDO): Likewise.
20227         (R_MN10300_TLS_GOTIE): Likewise.
20228         (R_MN10300_TLS_IE): Likewise.
20229         (R_MN10300_TLS_LE): Likewise.
20230         (R_MN10300_TLS_DTPMOD): Likewise.
20231         (R_MN10300_TLS_DTPOFF): Likewise.
20232         (R_MN10300_TLS_TPOFF): Likewise.
20233         (R_MN10300_SYM_DIFF): Likewise.
20234         (R_MN10300_ALIGN): Likewise.
20235         (R_MN10300_NUM): Update.
20236
20237 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20238
20239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20240         Remove.
20241
20242 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20243
20244         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20245
20246         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20247         sysdeps/unix -> sysdeps/posix move.
20248         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20249
20250 2012-08-07      Allan McRae     <allan@archlinux.org>
20251
20252         [BZ #14303]
20253         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20254         (SUNOS_CPP): Likewise.
20255         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20256         not found.
20257         (open_input): Call CPP using execvp.
20258
20259 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20260
20261         * sysdeps/unix/sysv/linux/kernel-features.h
20262         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20263         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20264         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20265         (__ASSUME_WAITID_SYSCALL): Likewise.
20266         * sysdeps/unix/sysv/linux/dl-execstack.c
20267         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20268         code unconditional.
20269         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20270         conditional code.
20271         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20272         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20273         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20274         code.
20275         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20276         unconditional.
20277         [__ASSUME_WAITID_SYSCALL]: Likewise.
20278         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20279
20280 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20281
20282         * sysdeps/unix/closedir.c: Renamed to ...
20283         * sysdeps/posix/closedir.c: ... here.
20284         * sysdeps/unix/dirfd.c: Renamed to ...
20285         * sysdeps/posix/dirfd.c: ... here.
20286         * sysdeps/unix/dirstream.h: Renamed to ...
20287         * sysdeps/posix/dirstream.h: ... here.
20288         * sysdeps/unix/fdopendir.c: Renamed to ...
20289         * sysdeps/posix/fdopendir.c: ... here.
20290         * sysdeps/unix/opendir.c: Renamed to ...
20291         * sysdeps/posix/opendir.c: ... here.
20292         * sysdeps/unix/readdir.c: Renamed to ...
20293         * sysdeps/posix/readdir.c: ... here.
20294         * sysdeps/unix/readdir_r.c: Renamed to ...
20295         * sysdeps/posix/readdir_r.c: ... here.
20296         * sysdeps/unix/rewinddir.c: Renamed to ...
20297         * sysdeps/posix/rewinddir.c: ... here.
20298         * sysdeps/unix/seekdir.c: Renamed to ...
20299         * sysdeps/posix/seekdir.c: ... here.
20300         * sysdeps/unix/telldir.c: Renamed to ...
20301         * sysdeps/posix/telldir.c: ... here.
20302         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20303         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20304         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20305         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20306
20307         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20308         * bits/fcntl.h: ... here.
20309
20310         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20311         not 0.
20312         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20313         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20314         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20315         (struct flock): Move l_start, l_len to the beginning.
20316         Use __pid_t for l_pid.
20317         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20318         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20319         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20320         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20321         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20322         [__USE_LARGEFILE64] (struct flock64): New type.
20323         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20324
20325         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20326         * bits/dirent.h: ... here.
20327
20328         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20329         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20330
20331 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20332
20333         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20334         Change from 2.6.0 to 2.6.16.
20335         * sysdeps/unix/sysv/linux/configure: Regenerated.
20336         * sysdeps/unix/sysv/linux/kernel-features.h
20337         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20338         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20339         version.
20340         (__ASSUME_UTIMES): Likewise.
20341         (__ASSUME_CLONE_STOPPED): Remove.
20342         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20343         architectures, not kernel version.
20344         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20345         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20346         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20347         (__ASSUME_WAITID_SYSCALL): Likewise.
20348         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20349         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20350         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20351         refer to older versions.
20352
20353 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20354
20355         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20356         Define alphasort64 as an alias.
20357         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20358         Define versionsort64 as an alias.
20359         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20360         Define scandir64 as an alias.
20361         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20362         Define scandirat64 as an alias.
20363         * dirent/alphasort64.c (alphasort64):
20364         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20365         * dirent/versionsort64.c: Likewise.
20366         * dirent/scandir64.c: Likewise.
20367         * dirent/scandirat64.c: Likewise.
20368         * sysdeps/wordsize-64/alphasort.c: File removed.
20369         * sysdeps/wordsize-64/alphasort64.c: File removed.
20370         * sysdeps/wordsize-64/scandir.c: File removed.
20371         * sysdeps/wordsize-64/scandir64.c: File removed.
20372         * sysdeps/wordsize-64/scandirat.c: File removed.
20373         * sysdeps/wordsize-64/scandirat64.c: File removed.
20374         * sysdeps/wordsize-64/versionsort.c: File removed.
20375         * sysdeps/wordsize-64/versionsort64.c: File removed.
20376         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20377         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20378         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20379         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20380         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20381         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20382         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20383         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20384
20385         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20387         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20388         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20389         [defined __arch64__ || defined __sparcv9]
20390         (__INO_T_MATCHES_INO64_T): New macro.
20391         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20392         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20393         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20394         * sysdeps/unix/sysv/linux/bits/dirent.h
20395         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20396         (_DIRENT_MATCHES_DIRENT64): New macro.
20397
20398         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20399         Define lockf64 as an alias.
20400         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20401         Define fseeko64 as an alias.
20402         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20403         Define ftello64 as an alias.
20404         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20405         Define _IO_fgetpos64 and fgetpos64 as aliases.
20406         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20407         Define _IO_fsetpos64 and fsetpos64 as aliases.
20408         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20409         Conditionalize body on this.
20410         * libio/fseeko64.c: Likewise.
20411         * libio/ftello64.c: Likewise.
20412         * libio/iofgetpos64.c: Likewise.
20413         * libio/iofsetpos64.c: Likewise.
20414         * sysdeps/wordsize-64/lockf.c: File removed.
20415         * sysdeps/wordsize-64/lockf64.c: File removed.
20416         * sysdeps/wordsize-64/fseeko.c: File removed.
20417         * sysdeps/wordsize-64/fseeko64.c: File removed.
20418         * sysdeps/wordsize-64/ftello.c: File removed.
20419         * sysdeps/wordsize-64/ftello64.c: File removed.
20420         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20421         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20422         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20423         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20424         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20425         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20426         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20427         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20428         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20429         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20430         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20431         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20432         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20434
20435         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20436         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20437         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20439         [defined __arch64__ || defined __sparcv9]
20440         (__OFF_T_MATCHES_OFF64_T): New macro.
20441         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20442         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20443         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20444         (__OFF_T_MATCHES_OFF64_T): New macro.
20445
20446 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20447
20448         * stdlib/secure-getenv.c (__secure_getenv): Replace
20449         GLIBC_2_16 with GLIBC_2_17.
20450
20451 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20452
20453         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20454         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20455
20456 2012-08-03  David S. Miller  <davem@davemloft.net>
20457
20458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20459
20460 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20461
20462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20463         Remove.
20464         (__ASSUME_CORRECT_SI_PID): Likewise.
20465         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20466         (__ASSUME_TMPFS_NAME): Likewise.
20467         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20468         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20469         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20470         (HAVE_AUX_SECURE): Make definition unconditional.
20471         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20472         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20473
20474 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20475
20476         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20477         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20478         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20479         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20480         __eloop_threshold instead of SYMLOOP_MAX.
20481
20482         * sysdeps/generic/eloop-threshold.h: New file.
20483         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20484         of MAXSYMLINKS.
20485         * elf/chroot_canon.c (chroot_canon): Likewise.
20486
20487 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20488
20489         [BZ #13717]
20490         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20491         Change to 2.6.0 everywhere.
20492         * sysdeps/unix/sysv/linux/configure: Regenerated.
20493         * sysdeps/unix/sysv/linux/kernel-features.h
20494         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20495         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20496         kernel versions.
20497         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20498         (__ASSUME_FUTEX_REQUEUE): Remove.
20499         (__ASSUME_STATFS64): Define unconditionally.
20500         (__ASSUME_AT_SECURE): Likewise.
20501         (__ASSUME_CORRECT_SI_PID): Likewise.
20502         (__ASSUME_TGKILL): Define without depending on kernel version for
20503         i386.
20504         (__ASSUME_UTIMES): Likewise.
20505         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20506         kernel version.
20507         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20508         (__ASSUME_TMPFS_NAME): Likewise.
20509         * README: Update reference to Linux kernel versions.
20510
20511 2012-08-02  Marek Polacek  <polacek@redhat.com>
20512
20513         [BZ# 14150]
20514         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20515         libc_cv_asm_type_prefix with %.
20516         * configure: Regenerated.
20517         * include/libc-symbols.h: Remove comment about
20518         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20519         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20520         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20521         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20522         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20523         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20524         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20525         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20526         * elf/tst-unique2mod1.c: Likewise.
20527         * elf/tst-unique1mod2.c: Likewise.
20528         * elf/tst-unique1mod1.c: Likewise.
20529         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20530         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20531         Replace ASM_TYPE_DIRECTIVE with .type.
20532         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20533         * sysdeps/i386/sysdep.h: Likewise.
20534         * sysdeps/x86_64/sysdep.h: Likewise.
20535         * sysdeps/sh/sysdep.h: Likewise.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20537         Do not define ASM_TYPE_DIRECTIVE.
20538         * sysdeps/powerpc/sysdep.h: Likewise.
20539         * sysdeps/powerpc/powerpc32/sysdep.h:
20540         Replace ASM_TYPE_DIRECTIVE with .type.
20541         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20542         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20543         * sysdeps/i386/fpu/e_powf.S: Likewise.
20544         * sysdeps/i386/fpu/e_expl.S: Likewise.
20545         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20546         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20547         * sysdeps/i386/fpu/e_pow.S: Likewise.
20548         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20549         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20550         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20551         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20552         * sysdeps/i386/fpu/e_log2.S: Likewise.
20553         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20554         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20555         * sysdeps/i386/fpu/e_powl.S: Likewise.
20556         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20557         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20558         * sysdeps/i386/fpu/e_logl.S: Likewise.
20559         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20560         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20561         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20562         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20563         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20564         * sysdeps/i386/fpu/e_log.S: Likewise.
20565         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20566         * sysdeps/i386/fpu/e_logf.S: Likewise.
20567         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20568         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20569         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20570         * sysdeps/i386/fpu/e_log10.S: Likewise.
20571         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20572         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20573         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20574         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20575         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20576         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20577         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20578         * sysdeps/i386/i686/strtok.S: Likewise.
20579         * sysdeps/i386/i386-mcount.S: Likewise.
20580         * sysdeps/i386/strtok.S: Likewise.
20581         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20582         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20583         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20584         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20585         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20586         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20587         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20588         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20589         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20590         * sysdeps/x86_64/_mcount.S: Likewise.
20591         * sysdeps/x86_64/strtok.S: Likewise.
20592         * sysdeps/sh/_mcount.S: Likewise.
20593
20594 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20595
20596         * libio/iofopen.c: Include <fcntl.h>.
20597         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20598         (_IO_fopen64, fopen64): Define as aliases.
20599         * libio/iofopen64.c: Include <fcntl.h>.
20600         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20601         Conditionalize body on this.
20602         * sysdeps/wordsize-64/iofopen.c: File removed.
20603         * sysdeps/wordsize-64/iofopen64.c: File removed.
20604
20605 2012-08-01  Marek Polacek  <polacek@redhat.com>
20606
20607         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20608         Use dlfcn directly instead of a variable.
20609         (binfmt-subdir): Do not define.
20610         (dlfcn): Likewise.
20611
20612 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20613
20614         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20615         Remove all definitions.
20616         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20617         <kernel-features.h>.
20618         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20619         (miss_F_GETOWN_EX): Remove all definitions.
20620         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20621         macro definition.
20622         [!__ASSUME_FCNTL64]: Remove conditional code.
20623         [__ASSUME_FCNTL64]: Make code unconditional.
20624         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20625         <kernel-features.h>.
20626         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20627         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20628         (lockf64) [__NR_fcntl64]: Make code unconditional.
20629         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20630
20631         * sysdeps/unix/sysv/linux/kernel-features.h
20632         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20633         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20634         Make code unconditional.
20635         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20636         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20638         [__NR_vfork]: Make code unconditional.
20639         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20640         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20642         [__NR_vfork]: Make code unconditional.
20643         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20644         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20645
20646 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20647
20648         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20649         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20650
20651         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20652         Define mkstemp64 as an alias.
20653         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20654         Define mkstemps64 as an alias.
20655         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20656         Define mkostemp64 as an alias.
20657         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20658         Define mkostemps64 as an alias.
20659         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20660         Conditionalize body on this.
20661         * misc/mkostemp64.c: Likewise.
20662         * misc/mkostemps64.c: Likewise.
20663         * misc/mkstemps64.c: Likewise.
20664         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20665         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20666         * sysdeps/wordsize-64/mkostemp.c: File removed.
20667         * sysdeps/wordsize-64/mkstemp.c: File removed.
20668         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20669         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20671         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20672
20673         [BZ #14138]
20674         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20675         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20676         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20677         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20678
20679         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20680         compat_symbol macros from <shlib-compat.h> rather than the underlying
20681         default_symbol_version and symbol_version macros, so that DEFAULT
20682         lines in shlib-versions are respected.
20683         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20684
20685 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20686
20687         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20688         Declare with warn_unused_result.
20689         (setgid, setregid, setegid, setresgid): Likewise.
20690         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20691         Likewise.
20692         * WUR-REPORT: Remove set*id functions.
20693
20694 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20695
20696         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20697
20698 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20699
20700         [BZ #10191]
20701         * include/sys/socket.h (__libc_accept, __libc_accept4):
20702         Add attribute_hidden.
20703         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20704
20705         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20706         use of PTR_MANGLE.
20707         * inet/getnetgrent_r.c (setup): Likewise.
20708
20709         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20710
20711 2012-07-31  David S. Miller  <davem@davemloft.net>
20712
20713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20714
20715 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20716
20717         [BZ #13629]
20718         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20719         value between 1.0 and 2.0 and smaller part has absolute value less
20720         than 1.0.
20721         * math/s_clog10.c (__clog10): Likewise.
20722         * math/s_clog10f.c (__clog10f): Likewise.
20723         * math/s_clog10l.c (__clog10l): Likewise.
20724         * math/s_clogf.c (__clogf): Likewise.
20725         * math/s_clogl.c (__clogl): Likewise.
20726         * math/libm-test.inc (clog_test): Add more tests.
20727         (clog10_test): Likewise.
20728         * sysdeps/i386/fpu/libm-test-ulps: Update.
20729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20730
20731 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20732
20733         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20734         Exit with zero in case no suitable GID is found, and write a
20735         message to standard error.
20736
20737 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20738
20739         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20740         rather than to 1.
20741         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20742         (MAXPATHLEN): Removed.
20743         (NOGROUP, NODEV): New macros.
20744         (setbit, clrbit, isset, isclr): New macros.
20745         (howmany, roundup, powerof2): New macros.
20746         (DEV_BSIZE): New macro.
20747
20748         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20749         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20750
20751         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20752         definition on [!__NO_LONG_DOUBLE_MATH].
20753
20754         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20755         PTR_MANGLE and PTR_DEMANGLE.
20756
20757         * socket/accept4.c (accept4): Rename to __libc_accept4.
20758         Define accept4 as a weak alias.
20759
20760         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20761         on [_DIRENT_HAVE_D_TYPE].
20762         * io/ftw.c (ftw_dir): Likewise.
20763
20764         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20765
20766         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20767
20768         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20769         Use the BSD numbers rather than the arbitrary ones we had.
20770         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20771         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20772         (SIGXCPU, SIGXFSZ): New macros.
20773         (_NSIG): Now 32.
20774
20775         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20776         initializer on [_LIBC_REENTRANT].
20777
20778         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20779         definitions inside [_POSIX_MAPPED_FILES].
20780
20781         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20782
20783         * dirent/opendir.c: Include <fcntl.h>.
20784
20785         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20786         (__libc_getspecific): Likewise.
20787         (__libc_key_create): Likewise.
20788
20789         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20790         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20791         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20792         (tmpfile64): Define as alias.
20793         * sysdeps/wordsize-64/tmpfile.c: File removed.
20794         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20795         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20797
20798         * stdio-common/vfscanf.c: Include <stdbool.h>.
20799         * nss/makedb.c: Likewise.
20800         * stdio-common/_i18n_number.h: Likewise.
20801         * argp/argp-help.c: Likewise.
20802         * posix/wordexp.c: Likewise.
20803         * sysdeps/posix/spawni.c: Likewise.
20804         * nss/nss_files/files-initgroups.c: Likewise.
20805         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20806         * nss/nss_files/files-initgroups.c: Likewise.
20807         * nss/nss_db/db-netgrp.c: Likewise.
20808         * nss/nss_db/db-initgroups.c: Likewise.
20809         * io/fchmodat.c: Include <sys/stat.h>.
20810
20811         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20812         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20813
20814         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20815         [HAVE_MMAP].
20816
20817         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20818         Add multiple inclusion protection.
20819
20820 2012-07-27  David S. Miller  <davem@davemloft.net>
20821
20822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20823
20824 2012-07-27  Gary Benson  <gbenson@redhat.com>
20825
20826         [BZ #14298]
20827         * elf/rtld.c: Include <stap-probe.h>.
20828         (dl_main): Added static probes "init_start" and "init_complete".
20829         * elf/dl-load.c: Include <stap-probe.h>.
20830         (lose): Take new parameter "nsid".
20831         Added static probe "map_failed".
20832         (_dl_map_object_from_fd): Pass namespace id to lose.
20833         Added static probe "map_start".
20834         (open_verify): Pass namespace id to lose.
20835         * elf/dl-open.c: Include <stap-probe.h>.
20836         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20837         and "reloc_complete".
20838         * elf/dl-close.c: Include <stap-probe.h>.
20839         (_dl_close_worker): Added static probes "unmap_start" and
20840         "unmap_complete".
20841         * elf/rtld-debugger-interface.txt: New file documenting the above.
20842
20843 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20844
20845         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20846         rather than a string variable.
20847         * sunrpc/rpc_main.c (h_output): Likewise.
20848         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20849
20850 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20851
20852         * inet/check_native.c: New file.
20853
20854 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20855
20856         [BZ #13629]
20857         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20858         if larger part has absolute value 1.0.
20859         * math/s_clog10.c (__clog10): Likewise.
20860         * math/s_clog10f.c (__clog10f): Likewise.
20861         * math/s_clog10l.c (__clog10l): Likewise.
20862         * math/s_clogf.c (__clogf): Likewise.
20863         * math/s_clogl.c (__clogl): Likewise.
20864         * math/libm-test.inc (clog_test): Add more tests.
20865         (clog10_test): Likewise.
20866         * sysdeps/i386/fpu/libm-test-ulps: Update.
20867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20868
20869         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20870         (pltexit): Likewise.
20871         (La_regs): Likewise.
20872         (La_retval): Likewise.
20873         (int_retval): Likewise.
20874         Update #error for removed macros to refer only to definitions in
20875         tst-audit.h.
20876         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20877         macro.
20878         (pltexit): Likewise.
20879         (La_regs): Likewise.
20880         (La_retval): Likewise.
20881         (int_retval): Likewise.
20882         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20883         macro.
20884         (pltexit): Likewise.
20885         (La_regs): Likewise.
20886         (La_retval): Likewise.
20887         (int_retval): Likewise.
20888         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20889         macro.
20890         (pltexit): Likewise.
20891         (La_regs): Likewise.
20892         (La_retval): Likewise.
20893         (int_retval): Likewise.
20894         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20895         macro.
20896         (pltexit): Likewise.
20897         (La_regs): Likewise.
20898         (La_retval): Likewise.
20899         (int_retval): Likewise.
20900         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20901         macro.
20902         (pltexit): Likewise.
20903         (La_regs): Likewise.
20904         (La_retval): Likewise.
20905         (int_retval): Likewise.
20906         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20907         macro.
20908         (pltexit): Likewise.
20909         (La_regs): Likewise.
20910         (La_retval): Likewise.
20911         (int_retval): Likewise.
20912         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20913         macro definitions in tst-audit.h.
20914         * sysdeps/i386/tst-audit.h: New file.
20915         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20916         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20917         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20918         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20919         * sysdeps/sh/tst-audit.h: Likewise.
20920         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20921         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20922         * sysdeps/x86_64/tst-audit.h: Likewise.
20923
20924 2012-07-26  Andreas Jaeger  <aj@suse.de>
20925
20926         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20927         ptrace.
20928
20929         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20930         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20931         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20932         PTRACE_O_MASK.
20933         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20934         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20935         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20936
20937         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20938         value.
20939
20940         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20941         _sigsys.
20942         (si_call_addr, si_syscall, si_arch): Define new macro.
20943         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20944         _sigsys.
20945         (si_call_addr, si_syscall, si_arch): Define new marcro.
20946         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20947         _sigsys.
20948         (si_call_addr, si_syscall, si_arch): Define new macro.
20949         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20950         _sigsys.
20951         (si_call_addr, si_syscall, si_arch): Define new macro.
20952
20953 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20954
20955         [BZ #13717]
20956         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20957         Change to 2.4.21 where previously 2.4.1.
20958         * sysdeps/unix/sysv/linux/configure: Regenerated.
20959         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20960         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20961         Linux kernel version.
20962         (__ASSUME_STD_AUXV): Remove.
20963         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20964         kernel version.
20965         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20966         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20967         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20968         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20969         (__ASSUME_NETLINK_SUPPORT): Likewise.
20970         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20971         (__no_netlink_support): Remove conditional definition.
20972         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20973         Remove.
20974         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20975         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20976         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20977         (if_nameindex_ioctl): Remove.
20978         (if_nameindex_netlink): Do not handle __no_netlink_support.
20979         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20980         code.
20981         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20982         Remove conditional code.
20983         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20984         code.
20985         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20986         unconditional.
20987         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20988         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20989         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20990         Remove.
20991         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20992         [!__ASSUME_STD_AUXV]: Remove conditional code.
20993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20994         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20995         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20997         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20998         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20999         code.
21000         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21002         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21003         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21004         conditional code.
21005         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21007         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21008         code.
21009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21010         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21011         conditional code.
21012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21013         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21014         code unconditional.
21015         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21016         conditional code.
21017         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21018         unconditional.
21019         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21020         conditional code.
21021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21022         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21023         unconditional.
21024         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21025         conditional code.
21026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21027         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21028         code unconditional.
21029         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21030         conditional code.
21031         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21032         unconditional.
21033         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21034         conditional code.
21035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21036         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21037         code unconditional.
21038         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21039         conditional code.
21040         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21041         unconditional.
21042         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21043         conditional code.
21044
21045 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21046
21047         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21048         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21049         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21050         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21051         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21052         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21053         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21054         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21055         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21056         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21057         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21058         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21059         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21060         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21061         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21062         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21063         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21064         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21065         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21067         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21068         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21069         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21070
21071 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21072
21073         * Versions.def: Add GLIBC_2.17.
21074         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21075         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21076         Introduce __libc_secure_getenv.
21077         * stdlib/Versions (2.17): Add secure_getenv
21078         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21079         * stdlib/secure-getenv.c: Rename __secure_getenv to
21080         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21081         symbol __secure_getenv for GLIBC_2.0.
21082         * stdlib/tst-secure-getenv.c: New.
21083         * stdlib/Makefile (tests): Add testcase.
21084         * manual/startup.texi (Environment Access): Document
21085         secure_getenv.
21086         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21087         __libc_secure_getenv.
21088         * inet/ruserpass.c (ruserpass): Likewise.
21089         * malloc/mtrace.c (mtrace): Likewise.
21090         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21091         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21092         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21093         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21094         HAVE_SECURE_GETENV.
21095         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21096         __secure_getenv to __libc_secure_getenv.
21097         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21099         Likewise.
21100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21101         Likewise.
21102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21104         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21109
21110 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21111
21112         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21113         (struct La_i86_retval): Likewise.
21114         (struct La_x86_64_regs): Likewise.
21115         (struct La_x86_64_retval): Likewise.
21116         (struct La_x32_regs): Likewise.
21117         (struct La_x32_retval): Likewise.
21118         (struct La_ppc32_regs): Likewise.
21119         (struct La_ppc32_retval): Likewise.
21120         (struct La_ppc64_regs): Likewise.
21121         (struct La_ppc64_retval): Likewise.
21122         (struct La_sh_regs): Likewise.
21123         (struct La_sh_retval): Likewise.
21124         (struct La_s390_32_regs): Likewise.
21125         (struct La_s390_32_retval): Likewise.
21126         (struct La_s390_64_regs): Likewise.
21127         (struct La_s390_64_retval): Likewise.
21128         (struct La_sparc32_regs): Likewise.
21129         (struct La_sparc32_retval): Likewise.
21130         (struct La_sparc64_regs): Likewise.
21131         (struct La_sparc64_retval): Likewise.
21132         (struct audit_ifaces): Remove architecture-specific pltenter and
21133         pltexit members.
21134         * sysdeps/i386/ldsodefs.h: New file.
21135         * sysdeps/powerpc/ldsodefs.h: Likewise.
21136         * sysdeps/s390/ldsodefs.h: Likewise.
21137         * sysdeps/sh/ldsodefs.h: Likewise.
21138         * sysdeps/sparc/ldsodefs.h: Likewise.
21139         * sysdeps/x86_64/ldsodefs.h: Likewise.
21140
21141 2012-07-25  Marek Polacek  <polacek@redhat.com>
21142
21143         [BZ #6808]
21144         * math/libm-test.inc (yn_test): Add another test.
21145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21146         to ERANGE when the result is +-Inf.
21147         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21148         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21149         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21150         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21151
21152 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21153
21154         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21155         equal to 0.
21156         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21157         clock_t.
21158         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21159
21160 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21161
21162         * configure.in <sysdeps resolving>: Correct printing
21163         Implies_before.
21164         * configure: Regenerate.
21165
21166 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21167
21168         * math/w_ilogb.c: Include <limits.h>.
21169         * math/w_ilogbl.c: Likewise.
21170
21171 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21172
21173         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21174         va_copy.  Document allowing for unavailable va_copy only as
21175         pre-C99 compatibility.
21176         * manual/string.texi (Copying and Concatenation): Use va_copy
21177         instead of __va_copy in concat example.
21178
21179 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21180
21181         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21182         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21183         it if not null.
21184
21185         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21186         with O_NOLINK passed to __file_name_lookup.
21187
21188         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21189         with O_NOLINK passed to __file_name_lookup.
21190
21191         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21192         negative N or less than NGIDS.
21193
21194         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21195         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21196         enough.  Use memcpy instead of strncpy.
21197
21198 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21199
21200         * elf/Makefile (check-data): Remove.
21201         (localplt.data): New vpath directive.
21202         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21203         instead of $(check-data).
21204         * scripts/data/localplt-generic.data: Move to ...
21205         * sysdeps/generic/localplt.data: ... here.
21206         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21207         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21208         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21210         ... here.
21211         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21213         ... here.
21214         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21216         ... here.
21217         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21219         ... here.
21220         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21222         ... here.
21223         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21225         ... here.
21226
21227 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21228
21229         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21230         PPC32 and PPC64 files.
21231         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21232         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21233
21234 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21235
21236         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21237         __makecontext_ret to ...
21238         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21239         ... here and call exit if uc_link is NULL.  New file.
21240         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21241         __makecontext_ret.S.
21242         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21243         __makecontext_ret to ...
21244         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21245         ... here and call exit if uc_link is NULL.  New file.
21246         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21247         __makecontext_ret.S.
21248
21249 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21250
21251         * elf/elf.h (R_390_IRELATIVE): New definition.
21252         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21253         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21254         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21255         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21256         (elf_machine_lazy_rel): Likewise.
21257         * sysdeps/s390/dl-irel.h: New file.
21258         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21259         * sysdeps/s390/s390-64/memset.S: New asm code.
21260         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21261         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21263         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21264         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21265         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21266         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21267         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21268         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21269         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21270         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21271         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21272         * sysdeps/s390/s390-32/memset.S: New asm code.
21273         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21274
21275 2012-07-17  Marek Polacek  <polacek@redhat.com>
21276
21277         [BZ #14349]
21278         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21279         * sysdeps/s390/s390-64/configure.in: Likewise.
21280         * sysdeps/sparc/configure.in: Likewise.
21281         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21282         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21283         * sysdeps/i386/configure.in: Likewise.
21284         * sysdeps/x86_64/configure.in: Likewise.
21285         * sysdeps/sh/configure.in: Likewise.
21286         * sysdeps/s390/s390-32/configure: Regenerated.
21287         * sysdeps/s390/s390-64/configure: Likewise.
21288         * sysdeps/x86_64/configure: Likewise.
21289         * sysdeps/sh/configure: Likewise.
21290         * sysdeps/powerpc/powerpc64/configure: Likewise.
21291         * sysdeps/powerpc/powerpc32/configure: Likewise.
21292         * sysdeps/sparc/configure: Likwise.
21293         * sysdeps/i386/configure: Likewise.
21294
21295         * elf/dl-open.c: Comment fixes.
21296
21297 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21298
21299         * Makefile [CXX] (check-data): Remove.
21300         [CXX] (c++-types.data): New vpath directive.
21301         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21302         vpath.  Do not allow for C++ type data being missing.
21303         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21304         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21305         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21306         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21307         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21308         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21309         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21311         ... here.
21312         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21314         ... here.
21315         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21317         ... here.
21318         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21320         ... here.
21321         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21323         ... here.
21324         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21326         ... here.
21327         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21329         ... here.
21330         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21332
21333         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21334         definitions to architecture-specific files.
21335         (TLS_IE): Likewise.
21336         (TLS_LD): Likewise.
21337         (TLS_GD): Likewise.
21338         * sysdeps/i386/tls-macros.h: New file.
21339         * sysdeps/powerpc/tls-macros.h: Likewise.
21340         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21341         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21342         * sysdeps/sh/tls-macros.h: Likewise.
21343         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21344         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21345         * sysdeps/x86_64/tls-macros.h: Likewise.
21346
21347 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21348
21349         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21350         zero value for regular exit case.
21351
21352         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21353         (__start_context): Preserve zero value for regular exit case.
21354
21355 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21356             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21357
21358         * manual/setjmp.texi (setcontext): Clarify normal process
21359         termination when uc_link is the null pointer.
21360         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21361         exit call.
21362
21363 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21364
21365         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21366         preprocessor.  Test for each exception mask separately.
21367
21368 2012-07-16  Andreas Jaeger  <aj@suse.de>
21369
21370         * po/ru.po: Update from translation team.
21371
21372 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21373
21374         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21375         equal to 0.
21376         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21377         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21378         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21379         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21380         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21381
21382 2012-07-13  Andreas Jaeger  <aj@suse.de>
21383
21384         * po/fr.po: Update from translation team.
21385
21386 2012-07-12  Marek Polacek  <polacek@redhat.com>
21387
21388         [BZ #14173]
21389         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21390         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21391         loop condition.
21392
21393 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21394
21395         [BZ #13717]
21396         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21397         Change to 2.4.1 where previously 2.4.0.
21398         * sysdeps/unix/sysv/linux/configure: Regenerated.
21399         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21400         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21401         version.
21402         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21403         (__ASSUME_AT_CLKTCK): Remove.
21404         (__ASSUME_AT_PAGESIZE): Likewise.
21405         (__ASSUME_AT_XID): Likewise.
21406         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21407         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21408         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21409         unconditionally.
21410         (HAVE_AUX_PAGESIZE): Likewise.
21411         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21412         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21413         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21414
21415 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21416
21417         [BZ #14307]
21418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21419         the temporary buffer used to invoke __gethostbyname2_r,
21420         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21421         host_data / struct gaih_addrtuple.
21422         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21423         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21424         header file nss/nsswitch.h.
21425         * nss/nsswitch.h (global scope): Add definition of implementation
21426         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21427         resolv/nss_dns/dns-host.c).
21428
21429 2012-07-11  Andreas Jaeger  <aj@suse.de>
21430
21431         * po/fr.po: Update from translation team.
21432
21433         * po/sv.po: Update from translation team
21434         * po/fr.po: Another update from translation team.
21435
21436 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21437
21438         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21439         for subnormals or multiply small sinh result by itself.
21440         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21442
21443 2012-07-11  David S. Miller  <davem@davemloft.net>
21444
21445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21446
21447 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21448
21449         [BZ #14347]
21450         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21451         (INTERNAL_MARK): Shift it here.
21452
21453 2012-07-10  Marek Polacek  <polacek@redhat.com>
21454
21455         [BZ #14151]
21456         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21457         libc_cv_asm_global_directive with .globl.
21458         * configure: Regenerated.
21459         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21460         with .globl.
21461         * sysdeps/i386/configure: Regenerated.
21462         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21463         with .globl.
21464         * sysdeps/x86_64/configure: Regenerated.
21465         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21466         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21467         * elf/tst-unique2mod2.c: Likewise.
21468         * elf/tst-unique2mod1.c: Likewise.
21469         * elf/tst-unique1mod2.c: Likewise.
21470         * elf/tst-unique1mod1.c: Likewise.
21471         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21472         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21473         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21474         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21475         * sysdeps/mach/sysdep.h: Likewise.
21476         * sysdeps/i386/sysdep.h: Likewise.
21477         * sysdeps/i386/i386-mcount.S: Likewise.
21478         * sysdeps/x86_64/_mcount.S: Likewise.
21479         * sysdeps/x86_64/sysdep.h: Likewise.
21480         * sysdeps/sh/_mcount.S: Likewise.
21481         * sysdeps/sh/sysdep.h: Likewise.
21482         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21483         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21484         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21485         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21486         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21487         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21488         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21489         * locale/localeinfo.h: Likewise.
21490         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21491         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21492
21493 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21494
21495         [BZ #14336]
21496         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21497         system".
21498         * manual/message.texi (The Uniforum approach): Likewise.
21499         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21500         (glibc iconv Implementation): Likewise.
21501
21502 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21503
21504         [BZ #14337]
21505         * math/s_clog.c (__clog): Avoid scaling a value down where that
21506         could result in underflow.
21507         * math/s_clog10.c (__clog10): Likewise.
21508         * math/s_clog10f.c (__clog10f): Likewise.
21509         * math/s_clog10l.c (__clog10l): Likewise.
21510         * math/s_clogf.c (__clogf): Likewise.
21511         * math/s_clogl.c (__clogl): Likewise.
21512         * math/libm-test.inc (clog_test): Add more tests.
21513         (clog10_test): Likewise.
21514         * sysdeps/i386/fpu/libm-test-ulps: Update.
21515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21516
21517 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21518
21519         [BZ #14283]
21520         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21521         by 7 not 8 to examine high bit of fractional part.
21522
21523         [BZ #14042]
21524         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21525         for call to __mcount_internal.
21526         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21527         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21528         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21529
21530 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21531
21532         [BZ #14154]
21533         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21534         approximation for values within 0x1p-13f of an odd multiple of
21535         pi/4.
21536         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21537         exception.  Add more tests.
21538         * sysdeps/i386/fpu/libm-test-ulps: Update.
21539
21540         [BZ #6778]
21541         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21542         inputs and return -1 for them.  Do not check for +Inf in case not
21543         reachable for +Inf.
21544         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21545         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21546         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21547         and return -1 for them.  Do not check for +Inf in case not
21548         reachable for +Inf.
21549         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21550         define.
21551         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21552         and return -1 for them.  Do not check for +Inf in case not
21553         reachable for +Inf.
21554         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21555         spurious underflow.
21556         * sysdeps/i386/fpu/libm-test-ulps: Update.
21557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21558
21559 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21560
21561         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21562
21563 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21564
21565         [BZ #14157]
21566         [BZ #14331]
21567         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21568         could result in spurious underflow.  Scale down values above
21569         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21570         * math/s_csqrtf.c (__csqrtf): Likewise.
21571         * math/s_csqrtl.c (__csqrtl): Likewise.
21572         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21573         spurious underflow.
21574         * sysdeps/i386/fpu/libm-test-ulps: Update.
21575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21576
21577 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21578
21579         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21580         xopen-msg.sed.
21581         * catgets/xopen-msg.awk: New file.
21582         * catgets/xopen-msg.sed: Removed.
21583
21584         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21585         po2text.sed.
21586         * intl/po2test.awk: New file.
21587         * intl/po2test.sed: Removed.
21588
21589 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21590
21591         [BZ #14328]
21592         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21593         or multiply small sinh result by itself.
21594         * math/s_ctanf.c (__ctanf): Likewise.
21595         * math/s_ctanh.c (__ctanh): Likewise.
21596         * math/s_ctanhf.c (__ctanhf): Likewise.
21597         * math/s_ctanhl.c (__ctanhl): Likewise.
21598         * math/s_ctanl.c (__ctanl): Likewise.
21599         * math/libm-test.inc (ctan_test_tonearest): New function.
21600         (ctan_test_towardzero): Likewise.
21601         (ctan_test_downward): Likewise.
21602         (ctan_test_upward): Likewise.
21603         (ctanh_test_tonearest): Likewise.
21604         (ctanh_test_towardzero): Likewise.
21605         (ctanh_test_downward): Likewise.
21606         (ctanh_test_upward): Likewise.
21607         (main): Call these new functions.
21608         * sysdeps/i386/fpu/libm-test-ulps: Update.
21609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21610
21611 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21612
21613         * .gitignore: Delete /ports entry.
21614
21615 2012-07-03  Andreas Jaeger  <aj@suse.de>
21616
21617         * po/bg.po: Update from translation team.
21618         * po/cs.po: Likewise.
21619         * po/de.po: Likewise.
21620         * po/hr.po: Likewise.
21621         * po/nl.pl: Likewise.
21622         * po/pl.po: Likewise.
21623         * po/vi.po: Likewise.
21624
21625 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21626
21627         * Makeconfig [!+link] (+link-before-libc): New variable.
21628         [!+link] (+link-after-libc): Likewise.
21629         [!+link] (+link-tests): Likewise.
21630         [!+link] (+link): Define in terms of $(+link-before-libc) and
21631         $(+link-after-libc).
21632         [!+link-static] (+link-static-before-libc): New variable.
21633         [!+link-static] (+link-static-after-libc): Likewise.
21634         [!+link-static] (+link-static-tests): Likewise.
21635         [!+link-static] (+link-static): Define in terms of
21636         $(+link-static-before-libc) and $(+link-static-after-libc).
21637         [build-shared] (link-libc-before-gnulib): New variable.
21638         [build-shared] (link-libc-tests): Likewise.
21639         [build-shared] (link-libc): Define in terms of
21640         $(link-libc-before-gnulib).
21641         [!build-shared] (link-libc-tests): New variable.
21642         (link-libc-static-tests): New variable.
21643         [!gnulib] (gnulib-arch): New variable.
21644         [!gnulib] (gnulib-tests): Likewise.
21645         [!gnulib] (static-gnulib-arch): Likewise.
21646         [!gnulib] (static-gnulib-tests): Likewise.
21647         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21648         Define with "=" instead of ":=".
21649         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21650         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21651         * Rules (binaries-all-notests): New variable.
21652         (binaries-all-tests): Likewise.
21653         (binaries-static-notests): Likewise.
21654         (binaries-static-tests): Likewise.
21655         (binaries-all): Define using $(binaries-all-notests) and
21656         $(binaries-all-tests).
21657         (binaries-static): Define using $(binaries-static-notests) and
21658         $(binaries-static-tests).
21659         (binaries-shared-tests): New variable.
21660         (binaries-shared-notests): Likewise.
21661         (binaries-shared): Remove variable.
21662         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21663         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21664         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21665         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21666         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21667         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21668         * elf/Makefile (sln-modules): New variable.
21669         (extra-objs): Add $(sln-modules:=.o).
21670         (ldconfig-modules): Add static-stubs.
21671         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21672         * elf/static-stubs.c: New file.
21673
21674         [BZ #14283]
21675         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21676         by 7 not 8 to examine high bit of fractional part.  Use volatile
21677         variables when splitting into final array of floats if
21678         __FLT_EVAL_METHOD__ != 0.
21679         * math/libm-test.inc (cos_test): Add another test.
21680         (sin_test): Likewise.
21681         * sysdeps/i386/fpu/libm-test-ulps: Update.
21682
21683         [BZ #14273]
21684         * math/libm-test.inc (cosh_test): Add more tests.
21685
21686         * version.h (RELEASE): Set to "development".
21687         (VERSION): Set to "2.16.90".
21688
21689 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21690
21691         * NEWS: Update copyright. Remove last-updated date.
21692         Mention math library bug fixes and timezone data changes.
21693         * README: Mention GNU/Hurd, x32, and HPPA support status.
21694
21695 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21696
21697         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21698
21699 2012-06-27  Andreas Jaeger  <aj@suse.de>
21700
21701         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21702
21703 2012-06-25  Andreas Jaeger  <aj@suse.de>
21704
21705         * sysdeps/s390/fpu/libm-test-ulps: Update.
21706
21707 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21708             Thomas Schwinge  <thomas@codesourcery.com>
21709
21710         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21711         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21712         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21713         fanotify_mark.
21714
21715 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21716
21717         * sysdeps/mach/start.c: Remove file.
21718         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21719         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21720         * sysdeps/sh/init-first.c: Likewise.
21721
21722         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21723         registers for frame unwinding purposes, add CFI directives.
21724         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21725         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21726         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21727         Likewise.
21728
21729         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21730         __fortify_fail returning.
21731         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21732
21733         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21734         sysdeps/sh/____longjmp_chk.S.
21735         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21736         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21737         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21738         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21739
21740         * sysdeps/sh/abort-instr.h: New file.
21741         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21742         process in case exit returns.
21743
21744         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21745         initialize the GOT register before use.
21746
21747         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21748         calculation of ARGC > 4.
21749
21750         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21751         meaningful names to some local labels.
21752
21753 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21754             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21755
21756         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21757         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21758         (__arch_compare_and_exchange_val_16_acq): Likewise.
21759         (__arch_compare_and_exchange_val_32_acq): Likewise.
21760         (atomic_exchange_and_add): Fix gUSA sequence.
21761         (atomic_add): Likewise.
21762         (atomic_add_negative): Likewise.
21763         (atomic_add_zero): Likewise.
21764         (atomic_bit_test_set): Likewise.
21765
21766 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21767
21768         [BZ #13579]
21769         * include/link.h (struct link_map): Add l_free_initfini.
21770         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21771         l_initfini.
21772         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21773         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21774         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21775         set.
21776
21777 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21778
21779         * configure.in: Use AC_LANG_SOURCE.
21780         * configure: Regenerate.
21781
21782 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21783
21784         * configure.in (libc_cv_localstatedir): New substituted variable.
21785         * configure: Regenerated.
21786         * config.make.in (localstatedir): New variable, substituted from
21787         libc_cv_localstatedir.
21788         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21789         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21790         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21791         * sysdeps/gnu/configure: Regenerated.
21792
21793 2012-06-21  Jeff Law  <law@redhat.com>
21794
21795         [BZ #14277]
21796         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21797         free.  Simplify list management for _LIBC case.
21798
21799 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21800
21801         [BZ #14273]
21802         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21803         Clear sign bit of 64-bit integer value before comparing against
21804         overflow value.
21805
21806         * sysdeps/mach/configure: Regenerated.
21807
21808 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21809
21810         [BZ #14278]
21811         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21812
21813 2012-06-21  Jeff Law  <law@redhat.com>
21814
21815         [BZ #13882]
21816         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21817         uint16_t for elements in the "seen" array to avoid char overflows.
21818         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21819         * elf/dl-open.c (dl_open_worker): Likewise.
21820
21821 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21822
21823         * scripts/list-sources.sh: Scan PORTS for translations.
21824         * po/libc.pot: Regenerated.
21825
21826 2012-06-21  Andreas Jaeger  <aj@suse.de>
21827
21828         [BZ #12194]
21829         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21830         warning.
21831         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21832         * bits/byteswap-16.h (__bswap_16): Likewise.
21833         * bits/byteswap.h (__bswap_constant_16): Likewise.
21834
21835 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21836
21837         [BZ #14117]
21838         * sysdeps/i386/fpu_control.h: Removed.
21839         * sysdeps/x86_64/fpu_control.h: Moved to ...
21840         * sysdeps/x86/fpu_control.h: Here.
21841
21842         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21843         (_FPU_SETCW): Likewise.
21844
21845 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21846
21847         [BZ #14117]
21848         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21849         * sysdeps/x86/fpu/bits/mathinline.h: This.
21850         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21851
21852         [BZ #14050]
21853         [BZ #14117]
21854         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21855         functions if __x86_64__ is defined.
21856
21857 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21858
21859         * string/endian.h: Add !__ASSEMBLER__ condition for including
21860         conversion interfaces.
21861
21862 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21863
21864         [BZ #14241]
21865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21866         of ABS(x) in calculating zero to negative powers other than odd
21867         integers.
21868         * math/libm-test.inc (pow_test): Add more tests.
21869
21870 2012-06-15  Andreas Jaeger  <aj@suse.de>
21871
21872         * manual/contrib.texi (Contributors): Update entry of Liubov
21873         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21874         Machado Filho.
21875
21876 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21877
21878         * string/string.h: Add __wur to GNU version of strerror_r.
21879
21880 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21881
21882         [BZ #14229]
21883         * string/Makefile (tests): Add tst-strtok_r.
21884         * string/tst-strtok_r.c: New file.
21885         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21886         RAX_LP/RDX_LP on SAVE_PTR.
21887
21888 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21889
21890         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21891
21892 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21893
21894         * libm_test.inc (csqrt_test): Allow more spurious underflow
21895         exceptions.
21896         (j0_test): Likewise.
21897         (j1_test): Likewise.
21898         (y0_test): Likewise.
21899         (y1_test): Likewise.
21900
21901 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21902
21903         * po/Makefile (libc.pot): Use UTF-8 charset.
21904
21905 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21906
21907         [BZ #14210]
21908         Suppress sign-conversion warning from FD_SET.
21909         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21910         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21911         not unsigned long int.
21912         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21913
21914 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21915
21916         [BZ #14050]
21917         [BZ #14117]
21918         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21919         __extern_always_inline instead of __extern_inline.
21920         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21921         (__signbit): Likewise.
21922         (__signbitl): Support C++ namespace.
21923         (lrintf): New inline function.
21924         (lrint): Likewise.
21925         (llrintf): Likewise.
21926         (llrint): Likewise.
21927         (fmaxf): Likewise.
21928         (fmax): Likewise.
21929         (fminf): Likewise.
21930         (fmin): Likewise.
21931         (rint): Likewise.
21932         (rintf): Likewise.
21933         (ceil): Likewise.
21934         (ceilf): Likewise.
21935         (floor): Likewise.
21936         (floorf): Likewise.
21937         (nearbyint): Likewise.
21938         (nearbyintf): Likewise.
21939
21940 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21941
21942         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21943         non-default versions.
21944
21945 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21946
21947         [BZ #14218]
21948         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21949
21950 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21951
21952         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21953         (FE_UPWARD, FE_DOWNWARD): Don't define.
21954         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21955         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21956
21957         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21958         reading it.
21959         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21960         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21961
21962 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21963
21964         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21965         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21966         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21967         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21968
21969 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21970
21971         [BZ #14117]
21972         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21973         * sysdeps/i386/fpu/Implies: New file.
21974         * sysdeps/x86_64/fpu/Implies: Likewise.
21975         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21976         * sysdeps/x86/fpu/bits/fenv.h: This.
21977
21978         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21979         __SSE_MATH__.
21980
21981 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21982
21983         [BZ #14134]
21984         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21985         character 0xffff that matches the last element of the
21986         conversion table.
21987
21988 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21989
21990         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21991         fmodl commit.
21992
21993 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21994
21995         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21996         values higher than 25.6283.
21997
21998 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21999
22000         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22001         subnormal exponent extraction and add some __builtin_expect.
22002         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22003         Fix for subnormal mantissa calculation.
22004
22005 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22006
22007         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22008         cpu2 is -1 and errno is not ENOSYS.
22009
22010 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22011
22012         [BZ #14117]
22013         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22014         * sysdeps/x86/bits/string.h: This.
22015         * sysdeps/x86_64/bits/string.h: Removed.
22016
22017         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22018         if not compiling for x86-64, but compiling for >= i486.
22019
22020         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22021         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22022
22023         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22024         New macro from Linux kernel 3.4.0.
22025         (FP_XSTATE_MAGIC2): Likewise.
22026         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22027         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22028         (struct _fpx_sw_bytes): New struct.
22029         (struct _xsave_hdr): Likewise.
22030         (struct _ymmh_state): Likewise.
22031         (struct _xstate): Likewise.
22032
22033         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22034         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22035         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22036         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22037         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22038         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22039
22040         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22041         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22042         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22043         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22044         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22045         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22046
22047 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22048
22049         [BZ #13743]
22050         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22051         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22052         (sysdep_headers): Include sys/platform/ppc.h.
22053         * sysdeps/powerpc/test-gettimebase.c: Test for
22054         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22055         * manual/Makefile (appendices): Include platform.texi.
22056         * manual/contrib.texi (Contributors): Update @node pointers.
22057         * manual/maint.texi (Maintenance): Likewise.
22058         (Platform): New node.
22059         * manual/platform.texi: New file.  Document the new features.
22060
22061 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22062             Jakub Jelinek  <jakub@redhat.com>
22063
22064         [BZ #14188]
22065         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22066         where __builtin_expect is unavailable.
22067
22068 2012-06-03  David S. Miller  <davem@davemloft.net>
22069
22070         * stdlib/longlong.h: Updated from GCC.
22071
22072 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22073
22074         [BZ #14042]
22075         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22076         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22077         __mcount_internal.
22078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22079         (GLIBC_2.16): Likewise.
22080
22081 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22082
22083         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22084
22085 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22086
22087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22088         (default-abi): New variable.
22089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22090         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22091         variable.
22092         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22093         Likewise.
22094         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22095         Likewise.
22096         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22097         Likewise.
22098
22099         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22100         definition.  Document in comment.
22101
22102 2012-06-01  David S. Miller  <davem@davemloft.net>
22103
22104         * stdlib/longlong.h: Updated from GCC.
22105
22106 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22107
22108         [BZ #14117]
22109         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22110         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22111         sys/debugreg.h sys/io.h here.
22112         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22113         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22114         sys/io.h.
22115         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22116         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22117         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22118         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22119         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22120         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22121
22122         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22123         Define only if __x86_64__ is defined.
22124
22125 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22126
22127         [BZ #14048]
22128         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22129         Use int64_t for variable i.
22130         * math/libm-test.inc (fmod_test): Add more tests.
22131
22132         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22133         z computation is not scheduled after fetestexcept.
22134         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22135         Use math_force_eval instead of asm to ensure calculation scheduled
22136         before exception test.
22137         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22138         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22139
22140 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22141
22142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22143         computation is not scheduled after fetestexcept.
22144
22145 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22146
22147         [BZ #14117]
22148         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22149         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22150
22151 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22152
22153         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22154         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22155
22156 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22157
22158         [BZ #14117]
22159         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22160         <bits/wordsize.h>.
22161         (__WCHAR_MIN): Support __WORDSIZE == 64.
22162         (__WCHAR_MAX): Likewise.
22163
22164         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22165         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22166
22167         [BZ #14183]
22168         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22169         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22170
22171         [BZ #14117]
22172         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22173         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22174
22175         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22176         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22177
22178         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22179         Defined to 1 if __x86_64__ isn't defined.
22180         (_STAT_VER_LINUX_OLD): New.
22181         (st_atime): Remove duplicate.
22182         (st_mtime): Likewise.
22183         (st_ctime): Likewise.
22184
22185 2012-05-31  David S. Miller  <davem@davemloft.net>
22186
22187         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22188         entries.
22189
22190 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22191
22192         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22193         gen-libm-test.pl.
22194
22195         [BZ #14132]
22196         * elf/dl-reloc.c: Include <_itoa.h>.
22197         (_dl_reloc_bad_type): Remove use of INTUSE.
22198         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22199         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22200         * stdio-common/psiginfo.c (psiginfo): Likewise.
22201         * stdio-common/psignal.c (psignal): Likewise.
22202         * string/strsignal.c (strsignal): Likewise.
22203         * include/signal.h (_sys_siglist): Declare hidden proto.
22204         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22205         INTVARDEF with libc_hidden_data_def.
22206         * stdio-common/itoa-udigits.c: Likewise.
22207         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22208         (_itoa_lower_digits_internal): Remove declaration.
22209         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22210         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22211         (_sys_sigabbrev_internal): Remove aliases.
22212         (_sys_siglist): Define hidden alias.
22213
22214 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22215
22216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22217         bits/sysctl.h.
22218
22219 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22220
22221         [BZ #14117]
22222         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22223         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22224
22225         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22226         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22227         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22228         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22229         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22230         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22231
22232         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22233         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22234         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22235
22236         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22237         with __addr.
22238         (insw): Likewise.
22239         (insl): Likewise.
22240         (outsb): Likewise.
22241         (outsw): Likewise.
22242         (outsl): Likewise.
22243
22244         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22245         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22246         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22247
22248         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22249         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22250         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22251         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22252         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22253         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22254
22255         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22256         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22257
22258         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22259         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22260
22261         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22262         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22263         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22264
22265         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22266         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22267         to ...
22268         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22269
22270         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22271         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22272         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22273
22274         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22275         for x86-64.
22276         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22277
22278 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22279
22280         * math/math.h (M_El): Use two more decimal places.
22281         (M_LOG2El): Likewise.
22282         (M_LOG10El): Likewise.
22283         (M_LN2l): Likewise.
22284         (M_LN10l): Likewise.
22285         (M_PIl): Likewise.
22286         (M_PI_2l): Likewise.
22287         (M_PI_4l): Likewise.
22288         (M_1_PIl): Likewise.
22289         (M_2_PIl): Likewise.
22290         (M_2_SQRTPIl): Likewise.
22291         (M_SQRT2l): Likewise.
22292         (M_SQRT1_2l): Likewise.
22293
22294 2012-05-31  David S. Miller  <davem@davemloft.net>
22295
22296         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22297         values between float registers.
22298         * sysdeps/sparc/sparc64/memset.S: Likewise.
22299         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22300
22301 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22302
22303         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22304         -D_FORTIFY_SOURCE=1.
22305         (CPPFLAGS-tst-longjmp_chk.c): Define.
22306         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22307         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22308         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22309         CFLAGS-tst-wchar-h.c.
22310
22311 2012-05-31  Marek Polacek  <polacek@redhat.com>
22312
22313         [BZ #14132]
22314         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22315         __endmntent_internal): Remove declaration.
22316         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22317         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22318         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22319
22320 2012-05-30  David S. Miller  <davem@davemloft.net>
22321
22322         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22323         (___Q_simulate_exceptions): Use real FP ops rather than writing
22324         into the %fsr.
22325         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22326         Likewise.
22327
22328 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22329
22330         [BZ #14117]
22331         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22332         * sysdeps/x86/bits/xtitypes.h: This.
22333
22334         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22335         * sysdeps/x86/bits/wordsize.h: This.
22336
22337         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22338         * sysdeps/x86/bits/huge_vall.h: This.
22339
22340         * sysdeps/i386/bits/select.h: Removed.
22341         * sysdeps/x86_64/bits/select.h: Renamed to ...
22342         * sysdeps/x86/bits/select.h: This.
22343
22344         * sysdeps/i386/bits/setjmp.h: Removed.
22345         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22346         * sysdeps/x86/bits/setjmp.h: This.
22347
22348         * sysdeps/i386/bits/mathdef.h: Removed.
22349         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22350         * sysdeps/x86/bits/mathdef.h: This.
22351
22352 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22353
22354         [BZ #14132]
22355         * include/sys/socket.h (__connect_internal)
22356         (__libc_sa_len_internal): Remove declaration.
22357         (__connect, __libc_sa_len): Declare hidden_proto.
22358         (SA_LEN): Remove use of INTUSE.
22359         * socket/connect.c: Add libc_hidden_def.
22360         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22361         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22362         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22363         alias.
22364         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22365         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22366         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22367         of adding _internal alias.
22368
22369 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22370
22371         [BZ #14117]
22372         * sysdeps/i386/bits/link.h: Removed.
22373         * sysdeps/i386/bits/linkmap.h: Likewise.
22374         * sysdeps/x86_64/bits/link.h: Renamed to ...
22375         * sysdeps/x86/bits/link.h: This.
22376         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22377         * sysdeps/x86/bits/linkmap.h: This.
22378
22379         * sysdeps/i386/bits/endian.h: Removed.
22380         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22381         * sysdeps/x86/bits/endian.h: This.
22382
22383         * sysdeps/i386/bits/byteswap.h: Removed.
22384         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22385         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22386         * sysdeps/x86/bits/byteswap.h: This.
22387         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22388         * sysdeps/x86/bits/byteswap-16.h: This.
22389         * sysdeps/i386/Implies: Add x86.
22390         * sysdeps/x86_64/Implies: Likewise.
22391
22392 2012-05-30  David S. Miller  <davem@davemloft.net>
22393
22394         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22395         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22396         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22397         (FP_TRAPPING_EXCEPTIONS): Define.
22398         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22399         (FP_TRAPPING_EXCEPTIONS): Define.
22400         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22401         subnormals only when inexact has been signalled or underflow
22402         exceptions are enabled.
22403         (_FP_PACK_CANONICAL): Likewise.
22404
22405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22406
22407         [BZ #14183]
22408         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22409         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22410
22411 2012-05-30  Richard Henderson  <rth@twiddle.net>
22412
22413         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22414         with #ifndef NOT_IN_libc.
22415
22416         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22417         marked to avoid plt entry.
22418
22419 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22420
22421         [BZ #14112]
22422         * Makeconfig (default-abi): New macro.
22423         (abi-includes): Likewise.
22424         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22425         $(abi-$(default-abi)-lib-soname) for soname if defined.
22426         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22427         abi-variants.
22428         * Makefile (installed-stubs): Likewise.
22429         * include/stubs-biarch.h: Removed.
22430         * scripts/lib-names.awk: Only handle one library at a time.
22431         * scripts/soversions.awk: Remove WORDSIZE support.
22432         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22433         entries.
22434         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22435         Removed.
22436         (syscall-list-default-condition): Likewise.
22437         (syscall-list-default-condition): Likewise.
22438         (syscall-list-includes): Likewise.
22439         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22440         syscall-list-* with abi-*.  Handle undefined abi-variants.
22441         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22442         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22443         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22444         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22445         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22446         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22447         Removed.
22448         (syscall-list-32-options): Likewise.
22449         (syscall-list-32-condition): Likewise.
22450         (syscall-list-64-options): Likewise.
22451         (syscall-list-64-condition): Likewise.
22452         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22453         macro.
22454         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22455         Renamed to ...
22456         (abi-*): This.
22457         (abi-64-ld-soname): New macro.
22458         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22459         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22460         Renamed to ...
22461         (abi-*): This.
22462         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22463         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22464
22465 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22466
22467         * sysdeps/unix/sysv/linux/kernel-features.h
22468         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22469         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22470         include <kernel-features.h>.
22471         [!__NR_ftruncate64]: Remove conditional code.
22472         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22473         [__NR_ftruncate64]: Make code unconditional.
22474         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22475         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22476         include <kernel-features.h>.
22477         [!__NR_ftruncate64]: Remove conditional code.
22478         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22479         [__NR_ftruncate64]: Make code unconditional.
22480         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22482         include <kernel-features.h>.
22483         [!__NR_ftruncate64]: Remove conditional code.
22484         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22485         [__NR_ftruncate64]: Make code unconditional.
22486         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22488         include <kernel-features.h>.
22489         [!__NR_ftruncate64]: Remove conditional code.
22490         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22491         [__NR_ftruncate64]: Make code unconditional.
22492         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22493
22494         * configure.in (libc_cv_fpie): Weaken to a compile test using
22495         LIBC_TRY_CC_OPTION.
22496         * configure: Regenerated.
22497
22498 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22499
22500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22504         Refreshed.
22505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22511         Refreshed.
22512
22513 2012-05-27  David S. Miller  <davem@davemloft.net>
22514
22515         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22516         (___Q_zero): New.
22517         (__Q_simulate_exceptions): Return void.  Change to simulate
22518         exceptions by writing into the %fsr.
22519         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22520         (__Qp_handle_exceptions): Likewise.
22521         (numbers): Delete.
22522         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22523         __Qp_handle_exceptions.
22524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22525         __Qp_handle_exceptions.
22526         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22527         as unused and give dummy FP_RND_NEAREST initializer.
22528         (FP_INHIBIT_RESULTS): Define.
22529         (___Q_simulate_exceptions): Update declaration.
22530         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22531         formatting.
22532         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22533         as unused and give dummy FP_RND_NEAREST initializer.
22534         (__Qp_handle_exceptions): Update declaration.
22535         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22536         formatting.
22537
22538 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22539
22540         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22541         the temporary FPU control word.
22542         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22543         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22544         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22545         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22546         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22547         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22548         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22549         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22550         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22551         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22552         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22553
22554 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22555
22556         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22557         fields.
22558
22559 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22560
22561         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22562         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22563         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22564         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22565         Likewise.
22566         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22567         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22568         Likewise.
22569
22570 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22571
22572         * po/h.po: Update from translation team.
22573
22574 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22575
22576         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22577
22578         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22579         handling of denormals.
22580         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22581         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22582         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22583         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22585         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22587         Likewise.
22588
22589 2012-05-26  Marek Polacek  <polacek@redhat.com>
22590
22591         [BZ #14152]
22592         * math/libm-test.inc (fma_test): Don't always expect underflow
22593         exception.
22594
22595 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22596
22597         [BZ #12416]
22598         * elf/tst-execstack.c: Include stackinfo.h.
22599         (do_test): Adjust test case to ensure that pthread_getattr_np
22600         behaviour remains the same after marking stack executable.
22601
22602 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22603
22604         * sysdeps/unix/sysv/linux/kernel-features.h
22605         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22606         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22607         kernel-features.h.
22608         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22609         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22610         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22611         kernel-features.h.
22612         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22613         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22614
22615 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22616
22617         * configure.in: Define the default includes to being none.
22618         * configure: Regenerated.
22619
22620 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22621
22622         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22623         * sysdeps/x86_64/setjmp.S: Likewise.
22624         * sysdeps/i386/bsd-setjmp.S: Likewise.
22625         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22626         * sysdeps/i386/setjmp.S: Likewise.
22627         * sysdeps/i386/__longjmp.S: Likewise.
22628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22629         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22630
22631         * include/stap-probe.h: New file.
22632         * configure.in: Handle --enable-systemtap.
22633         * configure: Regenerated.
22634         * config.h.in (USE_STAP_PROBE): New #undef.
22635         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22636         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22637         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22638
22639 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22640
22641         [BZ #13717]
22642         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22643         to 2.4.0 where earlier.
22644         * sysdeps/unix/sysv/linux/configure: Regenerated.
22645         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22646         <kernel-features.h>.
22647         [__ASSUME_32BITUIDS]: Make code unconditional.
22648         [!__ASSUME_32BITUIDS]: Remove conditional code.
22649         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22650         <kernel-features.h>.
22651         [__ASSUME_32BITUIDS]: Make code unconditional.
22652         [!__ASSUME_32BITUIDS]: Remove conditional code.
22653         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22654         [__ASSUME_32BITUIDS]: Make code unconditional.
22655         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22656         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22657         <kernel-features.h>.
22658         [__ASSUME_32BITUIDS]: Make code unconditional.
22659         [!__ASSUME_32BITUIDS]: Remove conditional code.
22660         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22661         <kernel-features.h>.
22662         [__ASSUME_32BITUIDS]: Make code unconditional.
22663         [!__ASSUME_32BITUIDS]: Remove conditional code.
22664         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22665         <kernel-features.h>.
22666         [__ASSUME_32BITUIDS]: Make code unconditional.
22667         [!__ASSUME_32BITUIDS]: Remove conditional code.
22668         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22669         <kernel-features.h>.
22670         [__ASSUME_32BITUIDS]: Make code unconditional.
22671         [!__ASSUME_32BITUIDS]: Remove conditional code.
22672         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22673         <kernel-features.h>.
22674         [__ASSUME_32BITUIDS]: Make code unconditional.
22675         [!__ASSUME_32BITUIDS]: Remove conditional code.
22676         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22677         <kernel-features.h>.
22678         [__ASSUME_32BITUIDS]: Make code unconditional.
22679         [!__ASSUME_32BITUIDS]: Remove conditional code.
22680         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22681         <kernel-features.h>.
22682         [__ASSUME_32BITUIDS]: Make code unconditional.
22683         [!__ASSUME_32BITUIDS]: Remove conditional code.
22684         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22685         <kernel-features.h>.
22686         [__ASSUME_32BITUIDS]: Make code unconditional.
22687         [!__ASSUME_32BITUIDS]: Remove conditional code.
22688         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22689         <kernel-features.h>.
22690         [__ASSUME_32BITUIDS]: Make code unconditional.
22691         [!__ASSUME_32BITUIDS]: Remove conditional code.
22692         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22693         <kernel-features.h>.
22694         [__ASSUME_32BITUIDS]: Make code unconditional.
22695         [!__ASSUME_32BITUIDS]: Remove conditional code.
22696         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22697         <kernel-features.h>.
22698         [__NR_setresgid] (__setresgid): Do not declare.
22699         [__ASSUME_32BITUIDS]: Make code unconditional.
22700         [!__ASSUME_32BITUIDS]: Remove conditional code.
22701         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22702         <kernel-features.h>.
22703         [__NR_setresuid] (__setresuid): Do not declare.
22704         [__ASSUME_32BITUIDS]: Make code unconditional.
22705         [!__ASSUME_32BITUIDS]: Remove conditional code.
22706         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22707         <kernel-features.h>.
22708         [__ASSUME_32BITUIDS]: Make code unconditional.
22709         [!__ASSUME_32BITUIDS]: Remove conditional code.
22710         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22711         <kernel-features.h>.
22712         [__ASSUME_32BITUIDS]: Make code unconditional.
22713         [!__ASSUME_32BITUIDS]: Remove conditional code.
22714         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22715         <kernel-features.h>.
22716         [__ASSUME_32BITUIDS]: Make code unconditional.
22717         [!__ASSUME_32BITUIDS]: Remove conditional code.
22718         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22719         <kernel-features.h>.
22720         [__ASSUME_32BITUIDS]: Make code unconditional.
22721         [!__ASSUME_32BITUIDS]: Remove conditional code.
22722         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22723         <kernel-features.h>.
22724         [__ASSUME_32BITUIDS]: Make code unconditional.
22725         [!__ASSUME_32BITUIDS]: Remove conditional code.
22726         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22727         <kernel-features.h>.
22728         [__ASSUME_32BITUIDS]: Make code unconditional.
22729         [!__ASSUME_32BITUIDS]: Remove conditional code.
22730         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22731         <kernel-features.h>.
22732         [__ASSUME_32BITUIDS]: Make code unconditional.
22733         [!__ASSUME_32BITUIDS]: Remove conditional code.
22734         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22735         <kernel-features.h>.
22736         [__ASSUME_32BITUIDS]: Make code unconditional.
22737         [!__ASSUME_32BITUIDS]: Remove conditional code.
22738         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22739         <kernel-features.h>.
22740         [__ASSUME_32BITUIDS]: Make code unconditional.
22741         [!__ASSUME_32BITUIDS]: Remove conditional code.
22742         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22743         <kernel-features.h>.
22744         [__ASSUME_32BITUIDS]: Make code unconditional.
22745         [!__ASSUME_32BITUIDS]: Remove conditional code.
22746         * sysdeps/unix/sysv/linux/kernel-features.h
22747         (__ASSUME_SETRESUID_SYSCALL): Remove.
22748         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22749         (__ASSUME_32BITUIDS): Likewise.
22750         (__ASSUME_LDT_WORKS): Likewise.
22751         (__ASSUME_O_DIRECTORY): Likewise.
22752         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22753         architecture but not kernel version.
22754         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22755         (__ASSUME_MMAP2_SYSCALL): Likewise.
22756         (__ASSUME_STAT64_SYSCALL): Likewise.
22757         (__ASSUME_IPC64): Likewise.
22758         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22759         <kernel-features.h>.
22760         [__ASSUME_32BITUIDS]: Make code unconditional.
22761         [!__ASSUME_32BITUIDS]: Remove conditional code.
22762         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22763         <kernel-features.h>.
22764         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22765         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22766         132096]: Remove conditional code.
22767         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22768         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22769         <kernel-features.h>.
22770         [__ASSUME_32BITUIDS]: Make code unconditional.
22771         [!__ASSUME_32BITUIDS]: Remove conditional code.
22772         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22773         <kernel-features.h>.
22774         [__ASSUME_32BITUIDS]: Make code unconditional.
22775         [!__ASSUME_32BITUIDS]: Remove conditional code.
22776         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22777         <kernel-features.h>.
22778         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22779         unconditional.
22780         (__setresgid): Do not declare.
22781         [__ASSUME_32BITUIDS]: Make code unconditional.
22782         [!__ASSUME_32BITUIDS]: Remove conditional code.
22783         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22784         <kernel-features.h>.
22785         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22786         unconditional.
22787         (__setresuid): Do not declare.
22788         [__ASSUME_32BITUIDS]: Make code unconditional.
22789         [!__ASSUME_32BITUIDS]: Remove conditional code.
22790         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22791         <kernel-features.h>.
22792         [__ASSUME_32BITUIDS]: Make code unconditional.
22793         [!__ASSUME_32BITUIDS]: Remove conditional code.
22794         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22795         <kernel-features.h>.
22796         [__ASSUME_32BITUIDS]: Make code unconditional.
22797         [!__ASSUME_32BITUIDS]: Remove conditional code.
22798
22799 2012-05-25  Richard Henderson  <rth@twiddle.net>
22800
22801         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22802         dl_hwcap to ifunc resolver.
22803         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22804         elf_ifunc_invoke.
22805         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22806         dl_hwcap to ifunc resolver.
22807         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22808
22809 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22810
22811         [BZ #14153]
22812         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22813         for |x| <= 2**-26, not 2**-57.
22814         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22815         exception.
22816
22817 2012-05-24  Jeff Law  <law@redhat.com>
22818
22819         * stdio-common/Makefile (tests): Add bug25.
22820         * stdio-common/bug25.c: New test.
22821
22822 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22823
22824         [BZ #13576]
22825         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22826         multiple of MALLOC_ALIGNMENT in size.
22827         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22828
22829 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22830
22831         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22832         Require >= 256.
22833         (FILENAME_MAX): Use macro-int-constant.
22834         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22835         (_IOFBF): Use macro-int-constant.
22836         (_IOLBF): Likewise.
22837         (_IONBF): Likewise.
22838         (SEEK_CUR): Likewise.
22839         (SEEK_END): Likewise.
22840         (SEEK_SET): Likewise.
22841         (TMP_MAX): Likewise.
22842         (EOF): Use macro-int-constant.  Require < 0.
22843         (NULL): Use macro-constant.  Require == 0.
22844         (stdin): Require type to be FILE *.
22845         (stdout): Likewise.
22846         (stderr): Likewise.
22847         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22848         macro-int-constant.
22849         (EXIT_SUCCESS): Likewise.
22850         (NULL): Use macro-constant.  Require == 0.
22851         (RAND_MAX): Use macro-int-constant.
22852         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22853         [C99-based standards] (strtof): Require function.
22854         [C99-based standards] (strtold): Likewise.
22855         [C99-based standards] (strtoll): Likewise.
22856         [C99-based standards] (strtoull): Likewise.
22857         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22858         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22859         [ISO || ISO99 || ISO11] (math.h): Likewise.
22860         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22861         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22862         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22863
22864 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22865
22866         [BZ #14132]
22867         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22868         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22869         * intl/dgettext.c (DCGETTEXT): Likewise.
22870         * intl/gettext.c (DCGETTEXT): Likewise.
22871         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22872         * posix/regex_internal.h (gettext): Likewise.
22873         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22874         Remove declaration.
22875         * include/argz.h (__argz_count_internal)
22876         (__argz_stringify_internal): Remove declaration.
22877         (__argz_count, __argz_stringify): Declare hidden proto.
22878         * intl/dcgettext.c: Remove use of INTDEF.
22879         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22880         * string/argz-stringify.c: Likewise.
22881         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22882         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22883         Declare hidden proto.
22884         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22885         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22886         Declare hidden proto.
22887         * include/stdio.h (__asprintf_internal): Don't declare.
22888         (__asprintf): Don't define as macro.  Declare hidden proto.
22889         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22890         (__fsetlocking): Declare hidden proto.
22891         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22892         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22893         hidden proto.
22894         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22895         (_IO_setlinebuf): Remove use of INTUSE.
22896         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22897         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22898         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22899         Remove declaration.
22900         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22901         (_IO_do_flush): Remove use of INTUSE.
22902         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22903         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22904         (_IO_adjust_column, _IO_least_wmarker)
22905         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22906         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22907         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22908         (_IO_default_doallocate, _IO_wdefault_doallocate)
22909         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22910         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22911         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22912         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22913         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22914         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22915         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22916         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22917         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22918         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22919         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22920         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22921         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22922         proto.
22923         (_IO_flush_all_internal, _IO_adjust_column_internal)
22924         (_IO_default_uflow_internal, _IO_default_finish_internal)
22925         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22926         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22927         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22928         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22929         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22930         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22931         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22932         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22933         (_IO_file_close_internal, _IO_file_close_it_internal)
22934         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22935         (_IO_file_init_internal, _IO_file_attach_internal)
22936         (_IO_file_fopen_internal, _IO_file_read_internal)
22937         (_IO_file_sync_internal, _IO_file_seek_internal)
22938         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22939         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22940         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22941         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22942         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22943         (_IO_list_all_internal, _IO_link_in_internal)
22944         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22945         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22946         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22947         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22948         (_IO_do_write_internal, _IO_padn_internal)
22949         (_IO_getline_info_internal, _IO_getline_internal)
22950         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22951         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22952         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22953         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22954         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22955         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22956         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22957         with libc_hidden_ver, remove use of INTUSE.
22958         * libio/genops.c: Likewise.
22959         * libio/freopen.c: Likewise.
22960         * libio/freopen64.c: Likewise.
22961         * libio/iofclose.c: Likewise.
22962         * libio/iofdopen.c: Likewise.
22963         * libio/iofflush.c: Likewise.
22964         * libio/iofflush_u.c: Likewise.
22965         * libio/iofgets.c: Likewise.
22966         * libio/iofgets_u.c: Likewise.
22967         * libio/iofopen.c: Likewise.
22968         * libio/iofopncook.c: Likewise.
22969         * libio/iofread.c: Likewise.
22970         * libio/iofread_u.c: Likewise.
22971         * libio/ioftell.c: Likewise.
22972         * libio/iofwrite.c: Likewise.
22973         * libio/iogetline.c: Likewise.
22974         * libio/iogets.c: Likewise.
22975         * libio/iogetwline.c: Likewise.
22976         * libio/iopadn.c: Likewise.
22977         * libio/iopopen.c: Likewise.
22978         * libio/ioseekoff.c: Likewise.
22979         * libio/ioseekpos.c: Likewise.
22980         * libio/iosetbuffer.c: Likewise.
22981         * libio/iosetvbuf.c: Likewise.
22982         * libio/ioungetc.c: Likewise.
22983         * libio/ioungetwc.c: Likewise.
22984         * libio/iovdprintf.c: Likewise.
22985         * libio/iovsprintf.c: Likewise.
22986         * libio/iovsscanf.c: Likewise.
22987         * libio/memstream.c: Likewise.
22988         * libio/obprintf.c: Likewise.
22989         * libio/oldfileops.c: Likewise.
22990         * libio/oldiofclose.c: Likewise.
22991         * libio/oldiofdopen.c: Likewise.
22992         * libio/oldiofopen.c: Likewise.
22993         * libio/oldiopopen.c: Likewise.
22994         * libio/oldstdfiles.c: Likewise.
22995         * libio/putc.c: Likewise.
22996         * libio/setbuf.c: Likewise.
22997         * libio/setlinebuf.c: Likewise.
22998         * libio/stdfiles.c: Likewise.
22999         * libio/strops.c: Likewise.
23000         * libio/vasprintf.c: Likewise.
23001         * libio/vscanf.c: Likewise.
23002         * libio/vsnprintf.c: Likewise.
23003         * libio/vswprintf.c: Likewise.
23004         * libio/wfiledoalloc.c: Likewise.
23005         * libio/wfileops.c: Likewise.
23006         * libio/wgenops.c: Likewise.
23007         * libio/wmemstream.c: Likewise.
23008         * libio/wstrops.c: Likewise.
23009         * libio/__fpurge.c: Likewise.
23010         * libio/__fsetlocking.c: Likewise.
23011         * assert/assert.c: Likewise.
23012         * debug/fgets_chk.c: Likewise.
23013         * debug/fgets_u_chk.c: Likewise.
23014         * debug/fread_chk.c: Likewise.
23015         * debug/fread_u_chk.c: Likewise.
23016         * debug/gets_chk.c: Likewise.
23017         * debug/obprintf_chk.c: Likewise.
23018         * debug/vasprintf_chk.c: Likewise.
23019         * debug/vdprintf_chk.c: Likewise.
23020         * debug/vsnprintf_chk.c: Likewise.
23021         * debug/vsprintf_chk.c: Likewise.
23022         * malloc/mtrace.c: Likewise.
23023         * misc/error.c: Likewise.
23024         * misc/syslog.c: Likewise.
23025         * stdio-common/asprintf.c: Likewise.
23026         * stdio-common/fxprintf.c: Likewise.
23027         * stdio-common/getw.c: Likewise.
23028         * stdio-common/isoc99_fscanf.c: Likewise.
23029         * stdio-common/isoc99_scanf.c: Likewise.
23030         * stdio-common/isoc99_vfscanf.c: Likewise.
23031         * stdio-common/isoc99_vscanf.c: Likewise.
23032         * stdio-common/isoc99_vsscanf.c: Likewise.
23033         * stdio-common/printf-prs.c: Likewise.
23034         * stdio-common/printf_fp.c: Likewise.
23035         * stdio-common/printf_fphex.c: Likewise.
23036         * stdio-common/printf_size.c: Likewise.
23037         * stdio-common/putw.c: Likewise.
23038         * stdio-common/scanf.c: Likewise.
23039         * stdio-common/sprintf.c: Likewise.
23040         * stdio-common/tmpfile.c: Likewise.
23041         * stdio-common/vfprintf.c: Likewise.
23042         * stdio-common/vfscanf.c: Likewise.
23043         * stdlib/strfmon_l.c: Likewise.
23044         * sunrpc/openchild.c: Likewise.
23045         * sunrpc/xdr_stdio.c: Likewise.
23046         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23047         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23048
23049 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23050
23051         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23052
23053         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23054         in the third column, to generate for the shared library an IFUNC
23055         that uses _dl_vdso_vsym.
23056         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23057         * Makeconfig (object-suffixes-noshared): New variable.
23058
23059         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23060         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23061         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23062         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23063
23064         [BZ #14132]
23065         * include/sys/time.h (__gettimeofday): Remove macro.
23066         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23067         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23068         Remove INTDEF.
23069         (__gettimeofday): Add libc_hidden_def.
23070         (gettimeofday): Add libc_hidden_weak.
23071         * sysdeps/mach/gettimeofday.c: Likewise.
23072         * sysdeps/posix/gettimeofday.c: Likewise.
23073         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23074         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23075         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23076         (__gettimeofday_internal): Remove strong_alias.
23077         (__gettimeofday): Add libc_hidden_def.
23078         (gettimeofday): Add libc_hidden_weak.
23079         * sysdeps/unix/syscalls.list (gettimeofday):
23080         Remove __gettimeofday_internal alias.
23081
23082 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23083             H.J. Lu  <hongjiu.lu@intel.com>
23084
23085         [BZ #12495]
23086         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23087         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23088         (largebin_index_32_big): New.
23089         (largebin_index): Use it for 16-byte alignment.
23090         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23091         correction with front_misalign.
23092
23093 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23094
23095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23097         Likewise.
23098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23099         Likewise.
23100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23101         Likewise.
23102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23103         Likewise.
23104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23105         Likewise.
23106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23107         Likewise.
23108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23109         Likewise.
23110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23111         Likewise.
23112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23113         Likewise.
23114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23115         Likewise.
23116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23117         Likewise.
23118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23119         Likewise.
23120
23121         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23122         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23123
23124 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23125
23126         [BZ #10846]
23127         [BZ #14036]
23128         * math/libm-test.inc (exp_test): Add test from bug 14036.
23129         (pow_test): Add test from bug 10846.
23130
23131         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23132         and other flags.
23133         (special_function): Do not include flags in test name.
23134         (parse_args): Likewise.
23135         * sysdeps/i386/fpu/libm-test-ulps: Update.
23136         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23137         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23138         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23140
23141         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23142         exceptions.
23143         * math/libm-test.inc ("Philosophy"): Update comment about
23144         exception testing.
23145         (UNDERFLOW_EXCEPTION): New macro.
23146         (UNDERFLOW_EXCEPTION_OK): Likewise.
23147         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23148         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23149         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23150         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23151         (INVALID_EXCEPTION_OK): Update value.
23152         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23153         (OVERFLOW_EXCEPTION_OK): Likewise.
23154         (IGNORE_ZERO_INF_SIGN): Likewise.
23155         (test_exceptions): Handle underflow exceptions.
23156         (acos_test): Update for underflow exception expectations.
23157         (cexp_test): Likewise.
23158         (clog_test): Likewise.
23159         (clog10_test): Likewise.
23160         (csqrt_test): Likewise.
23161         (ctan_test): Likewise.
23162         (ctanh_test): Likewise.
23163         (exp_test): Likewise.
23164         (exp10_test): Likewise.
23165         (exp2_test): Likewise.
23166         (expm1_test): Likewise.
23167         (fma_test): Likewise.
23168         (j0_test): Likewise.
23169         (jn_test): Likewise.
23170         (nexttoward_test): Likewise.
23171         (pow_test): Likewise.
23172         (scalbn_test): Likewise.
23173         (scalbln_test): Likewise.
23174         (tan_test): Likewise.
23175         (y1_test): Likewise.
23176         * sysdeps/i386/fpu/libm-test-ulps: Update.
23177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23178
23179 2012-05-23  David S. Miller  <davem@davemloft.net>
23180
23181         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23182         (__libc_sigaction): Remove unused local variables.
23183
23184 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23185
23186         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23187
23188 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23189
23190         mktime: avoid signed integer overflow
23191         * time/mktime.c (__mktime_internal): Do not mishandle the case
23192         where diff == INT_MIN.
23193
23194         mktime: simplify computation of average
23195         * time/mktime.c (ranged_convert): Use new time_t_avg function
23196         instead of rolling our own (probably-slower) code.
23197
23198         mktime: do not assume signed right shift propagates sign bit
23199         * time/mktime.c (isdst_differ): New static function.
23200         (__mktime_internal): No need to normalize tm_isdst now.
23201         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23202         tm_isdst values.
23203
23204         mktime: merge another wrapv change from gnulib
23205         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23206         from some compilers.
23207
23208         mktime: remove incorrect attempt at unusual arithmetics
23209         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23210         The code didn't really work on such machines anyway.
23211         (TYPE_MINIMUM): Assume two's complement.
23212         (twos_complement_arithmetic): Verify that long_int and time_t
23213         are two's complement (or unsigned, in the latter case).
23214
23215         mktime: check signed shifts on long_int and time_t, too
23216         * time/mktime.c (SHR): Check that shifts work as desired
23217         on the types long_int and time_t too, as SHR is used on
23218         such types.
23219
23220         mktime: do not assume 'long' is wide enough
23221         * time/mktime.c (verify): Move decl up.
23222         (long_int): New type.
23223         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23224         to remove assumption in the code that 'long' is wide enough to
23225         store year values.  This assumption is not true on x32 and on
23226         some non-glibc platforms.
23227
23228         mktime: merge wrapv change from gnulib
23229         * time/mktime.c (WRAPV): New macro.
23230         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23231         (guess_time_tm, __mktime_internal): Do not assume that signed
23232         integer overflow wraps around; modern compilers generate code
23233         where this assumption is no longer valid.
23234
23235 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23236
23237         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23238         Replace "jmp L(pseudo_end)" with "ret".
23239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23240         Likewise.
23241
23242 2012-05-23  Andreas Jaeger  <aj@suse.de>
23243
23244         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23245         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23246
23247 2012-05-23  Andreas Jaeger  <aj@suse.de>
23248             Maximilian Attems  <max@stro.at>
23249
23250         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23251         New macros.
23252
23253 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23254
23255         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23256         code so that pseudo_end is just ret and the stack pointer is
23257         correct also for static library in error case.
23258
23259 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23260
23261         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23262         move to syscalls.list.
23263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23267
23268         * manual/install.texi (Running make install): Do not mention Linux
23269         kernel version for which pt_chown is not needed.
23270         (Linux): Do not mention problems with nscd with 2.0 kernels.
23271         * INSTALL: Regenerated.
23272
23273 2012-05-23  Andreas Jaeger  <aj@suse.de>
23274
23275         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23276         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23277         macro.
23278         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23279         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23280         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23281         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23282         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23283         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23284         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23285         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23286         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23287         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23288         * sysdeps/unix/sysv/linux/bits/in.h
23289         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23290
23291 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23292
23293         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23294         (PREPARE_VERSION): Just use assert instead, it will be elided
23295         under [NDEBUG] anyway.
23296
23297 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23298
23299         * sysdeps/unix/sysv/linux/Makefile: Include
23300         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23301         (sysdep_routines): Remove sysctl.
23302         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23303         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23304         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23305         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23306         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23307
23308 2012-05-22  Andreas Jaeger  <aj@suse.de>
23309
23310         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23311         that pseudo_end is just ret and the stack pointer is correct also
23312         for static library in error case.
23313
23314 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23315
23316         [BZ #14122]
23317         * nss/nsswitch.c (defconfig_entries): New variable.
23318         (__nss_database_lookup): Don't leak defconfig entries.
23319         (nss_parse_service_list): Don't leak on error paths.
23320         (free_database_entries): New function.
23321         (free_defconfig): New function.
23322         (free_mem): Move common code to free_database_entries.
23323
23324 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23325
23326         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23327         Add arch_prctl.
23328         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23329
23330         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23331         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23332         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23333         New macro.
23334         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23335         (INTERNAL_SYSCALL_TYPES): Likewise.
23336         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23337         (LOAD_REGS_TYPES_[1-6]): Likewise.
23338         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23339         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23340
23341 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23342
23343         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23344         copysignl for GLIBC_2_0.
23345         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23346         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23348         logbl for GLIBC_2_0.
23349         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23350         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23351
23352 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23353
23354         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23355         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23356
23357         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23358         Use "neg %eax".
23359
23360         * time/mktime.c: Update copyright years.
23361
23362 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23363
23364         mktime: merge comment-quoting-style change from gnulib
23365         * time/mktime.c: Quote 'like this' in comments.
23366         The GNU coding standards suggest that we no longer quote `like this',
23367         as "`" and "'" are typically rendered asymmetrically nowadays.
23368         The typical gnulib style is to quote 'like this' when quoting
23369         code, and "like this" when quoting English.
23370
23371         * time/mktime.c (compile-command): Add "-I.".
23372
23373         mktime: merge mktime-internal.h change from gnulib
23374         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23375
23376         mktime: merge time_r change from gnulib
23377         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23378
23379         mktime: merge DEBUG change from gnulib
23380         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23381         case system <time.h> has a #define.
23382
23383         mktime: merge <sys/types.h> change from gnulib
23384         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23385         since <time.t> is now guaranteed to define time_t.
23386
23387         mktime: merge HAVE_CONFIG_H change from gnulib
23388         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23389
23390 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23391
23392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23393         Use "neg %eax".
23394
23395         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23396         __rlim_t cast.
23397         (struct rusage): Use anonymous union to pad each field to
23398         __syscall_slong_t.
23399
23400 2012-05-21  David S. Miller  <davem@davemloft.net>
23401
23402         * Makefules (o-iterator): Remove .s cases.
23403         (compile-command.s): Delete.
23404         (COMPILE.s): Delete.
23405         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23406
23407 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23408
23409         * configure.in (libc_cv_predef_stack_protector): Only consider
23410         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23411         * configure: Regenerated.
23412
23413 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23414
23415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23416         New macro.  Use R*LP on int and pointer.
23417         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23418         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23419         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23420         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23421
23422         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23423         [__WORDSIZE_TIME64_COMPAT32] instead of
23424         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23425         (struct utmp): Likewise.
23426         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23427         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23428         Renamed to ...
23429         (__WORDSIZE_TIME64_COMPAT32): This.
23430         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23431         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23432         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23433         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23434         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23435         (__WORDSIZE_TIME64_COMPAT32): New macro.
23436
23437 2012-05-21  Andreas Jaeger  <aj@suse.de>
23438
23439         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23440         only if [SHARED]. Add prototype for __wcschr_ia32.
23441
23442 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23443
23444         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23445         of %rbp unmolested in the jmp_buf while mangling the low bits.
23446         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23447         unmolested high bits of %rbp while demangling the low bits.
23448         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23449
23450 2012-05-21  Andreas Jaeger  <aj@suse.de>
23451
23452         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23453         * sunrpc/svc_simple.c: Use it for registerrpc.
23454         * sunrpc/xcrypt.c: Use it for passwd2des.
23455
23456         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23457
23458 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23459
23460         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23461         Don't define if [__SYSCALL_WORDSIZE != 32].
23462         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23463         New macro.
23464
23465 2012-05-21  Bruno Haible  <bruno@clisp.org>
23466             Andreas Jaeger  <aj@suse.de>
23467
23468         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23469         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23470         inptr and inend for must_buffer_ch.
23471         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23472         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23473         * stdio-common/Makefile (tests): Remove bug15.
23474         (bug15-ENV): Remove macro.
23475         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23476         anymore.
23477
23478 2012-05-19  Andreas Jaeger  <aj@suse.de>
23479             Roland McGrath  <roland@hack.frob.com>
23480
23481         * manual/contrib.texi: Completely rewritten. It contains now an
23482         alphabetical list of contributors and their contributions.
23483
23484 2012-05-21  Richard Henderson  <rth@twiddle.net>
23485
23486         * misc/getauxval.c (__getauxval): Use unsigned long int.
23487         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23488         (getauxval): Use unsigned long int.
23489
23490 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23491
23492         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23493
23494 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23495
23496         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23497         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23498         __alignof__ (long double).
23499
23500 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23501
23502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23503
23504 2012-05-20  Richard Henderson  <rth@twiddle.net>
23505
23506         * misc/getauxval.c: New file.
23507         * misc/sys/auxv.h: New file.
23508         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23509         (routines): Add getauxval.
23510         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23511         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23512         * elf/dl-sysdep.c (_dl_auxv): Remove.
23513         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23514         * elf/dl-support.c (_dl_auxv): New variable.
23515         (_dl_aux_init): Initialize it.
23516         * manual/startup.texi (Auxiliary Vector): New node.
23517         * sysdeps/generic/bits/hwcap.h: New file.
23518         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23519         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23520         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23521         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23522         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23523         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23525         Update.
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23534
23535 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23536
23537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23538
23539 2012-05-19  David S. Miller  <davem@davemloft.net>
23540
23541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23542
23543 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23544
23545         [BZ #14123]
23546         * math/s_ccosh.c: Include <float.h>
23547         (__ccosh): Avoid internal overflow calculating sinh and cosh
23548         values before multiplying by sin and cos values.
23549         * math/s_ccoshf.c: Likewise.
23550         * math/s_ccoshl.c: Likewise.
23551         * math/s_csin.c: Likewise.
23552         * math/s_csinf.c: Likewise.
23553         * math/s_csinl.c: Likewise.
23554         * math/s_csinh.c: Likewise.
23555         * math/s_csinhf.c: Likewise.
23556         * math/s_csinhl.c: Likewise.
23557         * math/libm-test.inc (ccos_test): Add more tests.
23558         (ccosh_test): Likewise.
23559         (csin_test): Likewise.
23560         (csinh_test): Likewise.
23561         * sysdeps/i386/fpu/libm-test-ulps: Update.
23562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23563
23564 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23565
23566         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23567         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23568
23569         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23570
23571 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23572
23573         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23574         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23575         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23576         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23577         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23578         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23579         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23580         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23581         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23582         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23583         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23584         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23585         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23586         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23587         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23588         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23589         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23590         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23591         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23592         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23593         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23594         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23595         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23596         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23597         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23598         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23599         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23600         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23601         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23602         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23603         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23604
23605 2012-05-18  Andreas Jaeger  <aj@suse.de>
23606
23607         * csu/.gitignore: Delete.
23608
23609 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23610
23611         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23612         (timex): Use __syscall_slong_t.
23613
23614 2012-05-18  Andreas Jaeger  <aj@suse.de>
23615             Carlos O'Donell  <carlos_odonell@mentor.com>
23616
23617         * manual/install.texi (Configuring and compiling): Update
23618         description about files modified in the source directory.
23619         * INSTALL: Regenerated.
23620
23621 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23622
23623         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23624         value.  Use "or" to set return value to -1.
23625         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23626         negate return value.
23627
23628 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23629
23630         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23631         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23632         failure if the compiler has Graphite support disabled.
23633         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23634         Likewise.
23635         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23636         CFLAGS-memmove.c): Likewise.
23637         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23638         Likewise.
23639
23640 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23641
23642         * sysdeps/x86_64/x32/_itoa.h: New file.
23643
23644         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23645         getdents system call only if kernel and user dirents have the
23646         same d_ino and d_off.
23647
23648         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23649         LLONG_MAX != LONG_MAX.
23650         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23651         (_fitoa_word): Likewise.
23652
23653         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23654         years.
23655         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23656         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23657         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23658
23659         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23660         include <bits/wordsize.h>.  Check __x86_64__ instead of
23661         __WORDSIZE.
23662         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23663         if __x86_64__ is defined.  Use anonymous union on fpstate.
23664
23665         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23666         anonymous union.
23667
23668 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23669
23670         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23671         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23672         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23673         Refer to _rtld_local_ro instead of _rtld_global_ro.
23674         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23675         Likewise.
23676         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23677         Likewise.
23678         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23679         Likewise.
23680         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23681         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23682         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23683
23684         * sysdeps/powerpc/powerpc32/dl-machine.c
23685         (__elf_machine_runtime_setup) [PROF]: Don't reference
23686         _dl_prof_resolve.
23687
23688 2012-05-18  Andreas Jaeger  <aj@suse.de>
23689
23690         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23691         function only available for GCCs before 3.4 since GCC 3.4
23692         introduced a builtin.
23693         (lrint): Likewise.
23694         (llrintf): Likewise.
23695         (llrint): Likewise.
23696         (fmaxf): Likewise.
23697         (fmax): Likewise.
23698         (fminf): Likewise.
23699         (fmin): Likewise.
23700         (rint): Likewise.
23701         (rintf): Likewise.
23702         (nearbyint): Likewise.
23703         (nearbyintf): Likewise.
23704         (ceil): Likewise.
23705         (ceilf): Likewise.
23706         (floor): Likewise.
23707         (floorf): Likewise.
23708
23709 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23710
23711         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23712         on both fields and cast pointer to __syscall_ulong_t.
23713
23714         * bits/types.h (__fsword_t): New type.
23715         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23716         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23717         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23718         (__FSWORD_T_TYPE): Likewise.
23719         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23720         (__FSWORD_T_TYPE): Likewise.
23721         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23722         (__FSWORD_T_TYPE): Likewise.
23723         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23724         (__FSWORD_T_TYPE): Likewise.
23725         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23726         __SWORD_TYPE with __fsword_t.
23727         (statfs64): Likewise.
23728
23729 2012-05-17  David S. Miller  <davem@davemloft.net>
23730
23731         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23732
23733 2012-05-17  Andreas Jaeger  <aj@suse.de>
23734
23735         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23736         warning.
23737
23738 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23739
23740         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23741
23742 2012-05-17  Andreas Jaeger  <aj@suse.de>
23743
23744         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23745         when it is used.
23746
23747 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23748
23749         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23750
23751 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23752
23753         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23754         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23755
23756 2012-05-17  Andreas Jaeger  <aj@suse.de>
23757             Carlos O'Donell  <carlos_odonell@mentor.com>
23758
23759         [BZ #14059]
23760         * sysdeps/x86_64/multiarch/init-arch.h
23761         (bit_YMM_Usable): Rename to...
23762         (bit_AVX_Usable): ... this.
23763         (bit_FMA4_Usable): New macro.
23764         (bit_XMM_state): New macro.
23765         (bit_YMM_state): New macro.
23766         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23767         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23768         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23769         (CPUID_OSXSAVE): New macro.
23770         (CPUID_AVX): New macro.
23771         (CPUID_FMA4): New macro.
23772         (index_YMM_Usable): Rename to...
23773         (index_AVX_Usable): ... this.
23774         (HAS_AVX): Use HAS_ARCH_FEATURE.
23775         (HAS_FMA4): Likewise.
23776         (HAS_YMM_USABLE): Remove.
23777         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23778         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23779         are present.
23780         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23781         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23782         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23783         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23784         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23785
23786 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23787
23788         * math/libm-test.c: Support platforms without multiple rounding modes.
23789         * math/bug-nextafter.c: Support platforms without FP exceptions.
23790         * math/bug-nexttoward.c: Likewise.
23791         * math/test-fenv.c: Likewise.
23792         * math/test-misc.c: Likewise.
23793         * stdlib/bug-getcontext.c: Likewise.
23794
23795 2012-05-17  Andreas Jaeger  <aj@suse.de>
23796
23797         * manual/examples/search.c (critter_cmp): Change signature to
23798         avoid warnings.
23799         * manual/string.texi (Collation Functions): Likewise.
23800
23801 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23802
23803         * bits/types.h: Fold copyright years.
23804         * bits/typesizes.h: Likewise.
23805         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23806         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23807         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23808         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23809         * time/time.h: Likewise.
23810
23811 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23812
23813         [BZ #208]
23814         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23815         in instead of returning them.  Return void.
23816         (__libc_mallinfo): Accumulate over all arenas.
23817         (__malloc_stats): Adjust for change in int_mallinfo interface.
23818
23819 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23820
23821         [BZ #10375]
23822         * configure.in (NM): Add AC_CHECK_TOOL for it.
23823         (libc_extra_cflags): New substituted variable.
23824         Check for -fstack-protector being used implicitly.
23825         * configure: Regenerated.
23826         * config.make.in (config-extra-cflags): New variable,
23827         gets @libc_extra_cflags@.
23828         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23829
23830         [BZ #10375]
23831         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23832         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23833         * configure: Regenerated.
23834         * config.make.in (CPPUNDEFS): New substituted variable.
23835         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23836         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23837         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23838
23839 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23840
23841         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23842         (mq_attr): Use __syscall_slong_t.
23843
23844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23845
23846         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23847         Check __x86_64__ instead of __WORDSIZE.
23848         (_STAT_VER_LINUX): Likewise.
23849         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23850         __syscall_ulong_t and __syscall_slong_t.
23851         (stat64): Likewise.
23852
23853 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23854
23855         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23856
23857 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23858
23859         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23860
23861 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23862
23863         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23864         __syscall_ulong_t.
23865
23866         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23867         include <bits/wordsize.h>.  Check __x86_64__ instead of
23868         __WORDSIZE.
23869         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23870         defined.
23871         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23872
23873         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23874         include <bits/wordsize.h>.  Check __x86_64__ instead of
23875         __WORDSIZE.
23876         (user_regs_struct): Use "__extension__ unsigned long long"
23877         instead of "unsigned long" if __x86_64__ is defined.
23878         (user): Likewise.  Pad after pointer field if __ILP32__ is
23879         defined.
23880
23881 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23882
23883         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23884         versions 5 to 9.
23885         * configure: Regenerated.
23886         * manual/install.texi (texinfo): Increase version requirement to
23887         4.5 or later.
23888         * INSTALL: Regenerated.
23889
23890         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23891
23892 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23893
23894         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23895
23896         * sysdeps/x86_64/x32/ffs.c: New file.
23897
23898         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23899         __syscall_ulong_t.
23900         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23901         defined.  Use __syscall_ulong_t.
23902         (shminfo): Use __syscall_ulong_t.
23903         (shm_info): Likewise.
23904
23905         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23906         __syscall_ulong_t.
23907
23908         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23909         <bits/wordsize.h>.
23910         (msgqnum_t): Use __syscall_ulong_t.
23911         (msglen_t): Likewise.
23912         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23913         __syscall_ulong_t.
23914
23915         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23916         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23917
23918         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23919
23920         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23921         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23922
23923         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23924         __syscall_slong_t.
23925
23926         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23927         include <bits/wordsize.h>.  Check __x86_64__ instead of
23928         __WORDSIZE.
23929
23930         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23931         "unsigned long long int" if __x86_64__ is defined.
23932         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23933
23934         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23935         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23936         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23937
23938         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23939         <stdint.h>.
23940         (GET_PC): Cast to uintptr_t first.
23941         (GET_FRAME): Likewise.
23942         (GET_STACK): Likewise.
23943
23944         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23945         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23946         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23947         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23948         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23949         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23950         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23951         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23952         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23953         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23954         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23955         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23956         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23957         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23958         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23959         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23960         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23961         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23962         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23963         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23964         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23965         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23966         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23967         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23968         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23969         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23970         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23971         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23972         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23973
23974 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23975
23976         * Makerules (+depfiles): Also collect depfiles from .oS in
23977         $(extra-objs).
23978         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23979         .oS, $(libnldbl-routines)).
23980
23981         * Makerules (native-compile-mkdep-flags): Define.
23982         * sunrpc/Makefile (extra-objs): Add $(addprefix
23983         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23984         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23985         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23986         calling $(make-target-directory).
23987
23988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23989
23990         * bits/types.h (__snseconds_t): Removed.
23991         * time/time.h (struct timespec): Replace __snseconds_t with
23992         __syscall_slong_t.
23993         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23994         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23995         Likewise.
23996         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23997         (__SNSECONDS_T_TYPE): Likewise.
23998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23999         (__SNSECONDS_T_TYPE): Likewise.
24000         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24001         (__SNSECONDS_T_TYPE): Likewise.
24002
24003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24004
24005         * sysdeps/mach/hurd/bits/typesizes.h
24006         (__SYSCALL_SLONG_TYPE): New macro.
24007         (__SYSCALL_ULONG_TYPE): Likewise.
24008
24009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24010
24011         * bits/types.h (__syscall_slong_t): New type.
24012         (__syscall_ulong_t): Likewise.
24013
24014         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24015         (__SYSCALL_ULONG_TYPE): Likewise.
24016         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24017         (__SYSCALL_SLONG_TYPE): Likewise.
24018         (__SYSCALL_ULONG_TYPE): Likewise.
24019         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24020         (__SYSCALL_SLONG_TYPE): Likewise.
24021         (__SYSCALL_ULONG_TYPE): Likewise.
24022         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24023         (__SYSCALL_SLONG_TYPE): Likewise.
24024         (__SYSCALL_ULONG_TYPE): Likewise.
24025
24026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24027
24028         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24029         Add sigaltstack-offsets.sym.
24030         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24031         <sigaltstack-offsets.h>.
24032         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24033         longjmp_msg pointer.
24034         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24035         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24036         signal stack.
24037         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24038
24039 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24040
24041         * elf/stackguard-macros.h: Remove file.
24042         * sysdeps/generic/stackguard-macros.h: New file.
24043         * sysdeps/i386/stackguard-macros.h: Likewise.
24044         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24045         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24046         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24047         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24048         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24049         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24050         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24051         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24052         <elf/stackguard-macros.h>.
24053
24054         [BZ #14109]
24055         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24056         __aligned__ in attribute.
24057         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24058         (gregset_t): Likewise.
24059
24060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24061
24062         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24063         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24064         * sysdeps/x86_64/x32/Implies-after: New file.
24065
24066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24067
24068         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24069         and access return value for _dl_profile_fixup.  Use R10_LP to
24070         load frame size.
24071
24072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24073
24074         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24075
24076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24077
24078         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24079         * sysdeps/x86_64/x32/sysdep.h: New file.
24080
24081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24082
24083         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24084         * sysdeps/x86_64/setjmp.S: Likewise.
24085
24086 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24087
24088         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24089         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24090         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24091         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24092         remove unused global constant.
24093
24094 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24095
24096         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24097         include of <not-cancel.h>.
24098
24099 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24100
24101         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24102
24103 2012-05-15  Jeff Law  <law@redhat.com>
24104             Andreas Jaeger  <aj@suse.de>
24105
24106         [BZ #13594]
24107         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24108         out from...
24109         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24110         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24111         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24112         code changing __hst_map_handle.map.
24113
24114 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24115
24116         * configure.in (sysnames): Look for Implies-before and Implies-after
24117         files.
24118         * configure: Regenerated.
24119
24120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24121
24122         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24123         8-byte data alignment with LP_SIZE alignment.
24124
24125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24126
24127         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24128         into R10_LP.
24129
24130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24131
24132         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24133
24134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24135
24136         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24137         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24138         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24139         Likewise.
24140         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24141
24142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24143
24144         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24145         (stackinfo_sub_sp): Likewise.
24146
24147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24148
24149         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24150         RAX_LP.
24151
24152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24153
24154         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24155         into R*_LP.
24156
24157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24158
24159         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24160         sizes into R*_LP.
24161
24162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24163
24164         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24165
24166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24167
24168         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24169         into R11_LP and load __x86_64_shared_cache_size_half into
24170         R8_LP.
24171
24172 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24173
24174         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24175         R8_LP.
24176
24177 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24178
24179         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24180         logb for POWER7.
24181         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24182         logbf for POWER7.
24183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24184         logbl for POWER7.
24185         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24186         powerpc32/power7/fpu/s_logb.c via #include.
24187         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24188         powerpc32/power7/fpu/s_logbf.c via #include.
24189         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24190         powerpc32/power7/fpu/s_logbl.c via #include.
24191
24192 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24193
24194         * README.libm: Remove file.
24195
24196 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24197
24198         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24199         count for x32.  Use R*_LP and omit operand-size suffix.
24200
24201 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24202
24203         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24204         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24205         * sysdeps/x86_64/x32/shlib-versions: New file.
24206
24207 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24208
24209         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24210         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24211         Use _dl_fatal_printf instead.
24212
24213 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24214
24215         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24216         set if not set by the user.  Do not allow for being unset.
24217         * sysdeps/unix/sysv/linux/configure: Regenerated.
24218
24219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24220
24221         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24222         the `q' suffix from lea and replace .quad with ASM_ADDR.
24223
24224 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24225
24226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24227         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24228         instead of $17.
24229         (PTR_DEMANGLE): Likewise.
24230
24231 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24232
24233         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24234         (LP_OP): Likewise.
24235         (ASM_ADDR): Likewise.
24236         (RAX_LP): Likewise.
24237         (RBP_LP): Likewise.
24238         (RBX_LP): Likewise.
24239         (RCX_LP): Likewise.
24240         (RDI_LP): Likewise.
24241         (RSI_LP): Likewise.
24242         (RSP_LP): Likewise.
24243         (R8_LP): Likewise.
24244         (R9_LP): Likewise.
24245         (R10_LP): Likewise.
24246         (R10_LP): Likewise.
24247         (R11_LP): Likewise.
24248         (R12_LP): Likewise.
24249         (R13_LP): Likewise.
24250         (R14_LP): Likewise.
24251         (R15_LP): Likewise.
24252
24253 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24254
24255         * sysdeps/x86_64/x32/dl-machine.h: New file.
24256
24257 2012-05-14  Andreas Jaeger  <aj@suse.de>
24258
24259         * manual/Makefile (subdir): Remove export of subdir.
24260         (all): Remove target.
24261         (.PHONY): Remove all from list.
24262         (mkinstalldirs): Remove.
24263         (.PHONY): Remove installdirs from list.
24264         ($(inst_infodir)/libc.info): Use make-target-directory.
24265         (installdirs): Remove.
24266         (subdir_%): Remove.
24267         (glibc-targets): Remove.
24268         (lib): Remove.
24269         (stubs): Remove.
24270         ($(objpfx)stubs ../po/manual.pot): Remove.
24271         ($(objpfx)stamp%): Remove.
24272         (make-target-directory): Remove.
24273         (subdir_install): Remove.
24274         (routines): Remove.
24275         (aux): Remove.
24276         (sources): Remove.
24277         (objects): Remove.
24278         (headers): Remove.
24279
24280         [BZ #13750]
24281         * manual/.gitignore: Remove, it's not needed anymore.
24282         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24283         all files in it.
24284         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24285         directory.
24286         (texis): Renamed to $(objpfx)texis.
24287         (texis-path): New, contains path to generated files.
24288         (chapters.%): Use texis-path for complete path, add extra argument
24289         libc-texinfo.sh.
24290         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24291         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24292         (summary,texi, stamp-summary): Use complete path of
24293         files. Generate files in build dir.
24294         (dir-add.texi): Build in build dir.
24295         (libm-err.texi,stamp-libm-err): Likewise.
24296         (version.texi, stamp-version): Likewise.
24297         (.%c.texi): Likewise.
24298         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24299         (mostlyclean): Remove target.
24300         (realclean): Remove target.
24301         (generated): Add new variable with contents from mostlyclean and
24302         realclean, remove entries duplicated in common-mostlyclean, add
24303         stamp-libm-err and stamp-version.
24304         (generated-dirs): Add libc directory.
24305         ($(inst_infodir)/libc.info): Install files from build dir.
24306
24307         * manual/install.texi (Configuring and compiling): Adjust since
24308         the info files are not part of the tar ball anymore.
24309
24310 2012-05-14  Andreas Jaeger  <aj@suse.de>
24311
24312         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24313         variable.
24314
24315 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24316
24317         [BZ #13717]
24318         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24319         to 2.2.0 where earlier.
24320         * sysdeps/unix/sysv/linux/configure: Regenerated.
24321         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24322         Remove conditional code.
24323         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24324         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24325         Remove conditional code.
24326         [!__NR_lchown]: Likewise.
24327         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24328         [__NR_lchown]: Likewise.
24329         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24330         comment referencing __ASSUME_LCHOWN_SYSCALL.
24331         * sysdeps/unix/sysv/linux/i386/sigaction.c
24332         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24333         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24334         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24335         Remove conditional code.
24336         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24337         (__protocol_available): Remove #if 0 code.
24338         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24339         conditional code.
24340         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24341         * sysdeps/unix/sysv/linux/kernel-features.h
24342         (__ASSUME_GETCWD_SYSCALL): Don't define.
24343         (__ASSUME_REALTIME_SIGNALS): Likewise.
24344         (__ASSUME_PREAD_SYSCALL): Likewise.
24345         (__ASSUME_PWRITE_SYSCALL): Likewise.
24346         (__ASSUME_POLL_SYSCALL): Likewise.
24347         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24348         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24349         non-SPARC.
24350         (__ASSUME_SIOCGIFNAME): Don't define.
24351         (__ASSUME_MSG_NOSIGNAL): Likewise.
24352         (__ASSUME_SENDFILE): Define unconditionally.
24353         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24354         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24355         conditional code.
24356         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24357         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24358         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24359         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24360         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24361         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24362         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24364         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24365         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24367         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24370         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24371         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24373         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24374         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24376         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24377         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24379         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24380         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24382         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24383         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24385         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24386         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24387         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24388         Remove conditional code.
24389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24390         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24391         Remove conditional code.
24392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24393         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24394         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24395         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24396         Remove conditional code.
24397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24398         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24399         Remove conditional code.
24400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24401         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24402         Remove conditional code.
24403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24404         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24405         Remove conditional code.
24406         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24407         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24408         Remove conditional code.
24409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24410         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24411         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24412         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24413         * sysdeps/unix/sysv/linux/sigaction.c
24414         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24415         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24416         * sysdeps/unix/sysv/linux/sigpending.c
24417         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24418         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24419         * sysdeps/unix/sysv/linux/sigprocmask.c
24420         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24421         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24422         * sysdeps/unix/sysv/linux/sigsuspend.c
24423         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24424         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24425         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24426         (__libc_missing_rt_sigs): Remove.
24427         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24428         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24429         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24430         Remove conditional code.
24431         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24432         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24433         return 1.
24434         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24435         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24436         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24437         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24438
24439 2012-05-14  Andreas Jaeger  <aj@suse.de>
24440
24441         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24442         it's not used in glibc.
24443         (__coshm1): Likewise.
24444         (__acosh1p): Likewise.
24445         (__sgn): Likewise.
24446
24447         * manual/string.texi (Copying and Concatenation): Add missing
24448         variable in concat example.
24449         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24450
24451 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24452
24453         [BZ #14103]
24454         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24455         __builtin_clzl with __builtin_clzll.
24456
24457 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24458
24459         [BZ #14104]
24460         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24461         libc_freeres_ptr.
24462
24463 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24464
24465         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24466         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24467         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24468         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24469
24470 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24471
24472         * NEWS: Update ia64 info.
24473
24474 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24475
24476         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24477         used as bcopy.
24478
24479 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24480
24481         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24482         * sysdeps/unix/syscalls.list (dup3): Likewise.
24483         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24484         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24485
24486 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24487
24488         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24489         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24490
24491 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24492
24493         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24494         thread pointer.
24495         (TLS_IE): Use mov/add instead of movq/addq to load thread
24496         pointer.
24497         (TLS_GD_PREFIX): New.
24498         (TLS_GD): Use it.
24499
24500 2012-05-11  David S. Miller  <davem@davemloft.net>
24501
24502         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24503         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24504         (_FPU_SETCW): Likewise.
24505
24506 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24507
24508         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24509         is 32-byte aligned.
24510
24511 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24512
24513         [BZ #11837]
24514         * iconvdata/gb18030.c: Update tables.
24515         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24516         characters specially.
24517         (BODY for TO_LOOP): Add encoding of missing ranges.
24518
24519 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24520
24521         [BZ #13673]
24522         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24523         * sysdeps/mach/hurd/dup3.c: Likewise.
24524         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24525         * sysdeps/powerpc/memmove.c:: Likewise.
24526
24527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24528
24529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24530         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24531
24532 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24533
24534         * elf/elf.h (R_X86_64_RELATIVE64): New.
24535         (R_X86_64_NUM): Updated.
24536         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24537         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24538         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24539         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24540         tst-quad1pie tst-quad2pie
24541         (modules-names): Add tst-quadmod1 tst-quadmod2.
24542         ($(objpfx)tst-quad1): New dependency.
24543         ($(objpfx)tst-quad2): Likewise.
24544         ($(objpfx)tst-quad1pie): Likewise.
24545         ($(objpfx)tst-quad2pie): Likewise.
24546         * sysdeps/x86_64/tst-quad1.c: New file.
24547         * sysdeps/x86_64/tst-quad1pie.c: New file.
24548         * sysdeps/x86_64/tst-quad2.c: Likewise.
24549         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24550         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24551         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24552         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24553         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24554
24555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24556
24557         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24558         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24559         * streams/stropts.h (t_scalar_t): Define type.
24560
24561         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24562         (_PATH_PRESERVE): Set to "/var/lib".
24563         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24564
24565         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24566         instead of int.
24567
24568         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24569         if __dir_mkfile succeeded.
24570
24571         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24572         checking for _hurd_dtablesize.  Unlock it right after having
24573         finished _hurd_dtable allocation.
24574
24575 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24576
24577         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24578         * sysdeps/mach/hurd/configure: Regenerated.
24579         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24580         special-casing to...
24581         * sysdeps/gnu/configure.in: ... this new file.
24582         * sysdeps/unix/sysv/linux/configure: Regenerated.
24583         * sysdeps/gnu/configure: New generated file.
24584
24585         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24586         for Linux: use nsec instead of usec, as well as:
24587         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24588         members of type struct timespec.
24589         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24590         New macros.
24591         (struct stat64): Likewise.
24592         (_STATBUF_ST_NSEC): New macro.
24593         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24594
24595         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24596         __strtoul_internal rather than strtoul.
24597
24598 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24599
24600         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24601         and reject them.
24602
24603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24604
24605         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24606         which preserves existing values.
24607         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24608
24609 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24610
24611         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24612         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24613         greater than FD_SETSIZE.
24614
24615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24616
24617         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24618         allocated, call __vm_protect to finish enabling the existing space, and
24619         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24620         allocate the remainder.
24621
24622 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24623
24624         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24625         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24626
24627 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24628
24629         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24630         sysdeps/mach/hurd/readlink.c.
24631
24632         * posix/tst-sysconf.c (posix_options): Only use
24633         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24634         _POSIX_SYNCHRONIZED_IO when they are defined
24635         * sysdeps/mach/hurd/bits/posix_opt.h:
24636         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24637         (_XOPEN_REALTIME): Undefine macro.
24638         (_XOPEN_REALTIME_THREADS): Undefine macro.
24639         (_XOPEN_SHM): Undefine macro.
24640         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24641         macro to -1.
24642         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24643         macro to -1.
24644         (_POSIX_ASYNC_IO): Undefine macro.
24645         (_POSIX_PRIORITIZED_IO): Undefine macro.
24646         (_POSIX_SPIN_LOCKS): Define macro to -1.
24647
24648         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24649         SA_NODEFER, SA_RESETHAND.
24650         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24651         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24652         F_DUPFD_CLOEXEC.
24653
24654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24655
24656         * elf/Makefile (pldd-modules): Define unconditionally.
24657
24658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24659
24660         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24661
24662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24663
24664         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24665         Return ENOENT when name is empty.
24666         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24667
24668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24669
24670         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24671
24672         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24673
24674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24675
24676         Fix mlock in all cases except non-readable pages.
24677         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24678         instead of VM_PROT_ALL as parameter to __vm_wire function.
24679
24680         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24681         (__mkdir): When path is `/', just fail with EEXIST.
24682         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24683
24684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24685
24686         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24687         <sys/uio.h> (for writev).
24688         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24689         and <sys/param.h> (for MIN).
24690
24691 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24692
24693         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24694         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24695         if interrupted.
24696
24697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24698
24699         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24700         Depend on against $(link-rpcuserlibs).
24701
24702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24703
24704         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24705         (__libc_stack_end): Do not use attribute_relro.
24706         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24707         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24708         to libthread-provided value.
24709         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24710         attribute_relro.
24711
24712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24713
24714         [BZ #3748]
24715         * bits/libc-lock.h (__libc_once_get): New macro.
24716         * sysdeps/mach/bits/libc-lock.h: Likewise.
24717         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24718         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24719         instead of using implementation details.
24720
24721         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24722         * libio/freopen.c: Likewise.
24723         * libio/freopen64.c: Likewise.
24724         * misc/syslog.c: Likewise.
24725         * nscd/connections.c: Likewise.
24726         * nscd/netgroupcache.c: Likewise.
24727         * sysdeps/posix/getcwd.c: Likewise.
24728
24729 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24730
24731         * math/w_ilogbf.c: Add #include <limits.h>.
24732
24733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24734
24735         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24736         path instead of returning without unlocking.
24737
24738         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24739         immediate-write ioctls.
24740         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24741
24742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24743
24744         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24745         __builtin_frame_address instead of making assumptions about the
24746         location of the return address relative to DATA.  Force early load of
24747         the return address.
24748         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24749         __builtin_frame_address.
24750
24751         dup3 for GNU Hurd.
24752         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24753         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24754         implement dup3 and do some further code clean-ups.
24755         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24756         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24757
24758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24759
24760         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24761
24762         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24763         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24764         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24765         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24766         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24767         d->port.lock.
24768
24769         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24770         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24771         when handler == SIG_ERR, not when handler != SIG_ERR.
24772
24773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24774
24775         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24776         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24777         definitions.
24778
24779         accept4 for GNU Hurd.
24780         * include/sys/socket.h (__libc_accept4): New prototype.
24781         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24782         to implement __libc_accept4.
24783         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24784         __libc_accept4.
24785         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24786
24787         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24788         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24789         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24790         signal-defines.sym.
24791
24792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24793
24794         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24795
24796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24797
24798         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24799         assertion on O_CLOEXEC flag.
24800         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24801         * hurd/intern-fd.c: Likewise.
24802         * hurd/port2fd.c: Likewise.
24803
24804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24805
24806         [BZ #3906]
24807         * bits/in.h (IPV6_PKTINFO): Define new macro.
24808         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24809
24810 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24811
24812         [BZ #13954]
24813         [BZ #13955]
24814         [BZ #13956]
24815         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24816         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24817         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24818         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24819         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24820         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24821         * math/libm-test.inc (logb_test) : Additional logb tests.
24822
24823 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24824             Andreas Jaeger  <aj@suse.de>
24825
24826         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24827         * configure: Regenerated.
24828         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24829         * config.make.in (link-obsolete-rpc): New substituted variable.
24830         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24831         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24832         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24833         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24834         so that libc.a contains the symbols.
24835         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24836         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24837         * sunrpc/auth_none.c: Likewise.
24838         * sunrpc/auth_unix.c: Likewise.
24839         * sunrpc/authdes_prot.c: Likewise.
24840         * sunrpc/authuxprot.c: Likewise.
24841         * sunrpc/clnt_gen.c: Likewise.
24842         * sunrpc/clnt_perr.c: Likewise.
24843         * sunrpc/clnt_raw.c: Likewise.
24844         * sunrpc/clnt_simp.c: Likewise.
24845         * sunrpc/clnt_tcp.c: Likewise.
24846         * sunrpc/clnt_udp.c: Likewise.
24847         * sunrpc/clnt_unix.c: Likewise.
24848         * sunrpc/des_crypt.c: Likewise.
24849         * sunrpc/des_soft.c: Likewise.
24850         * sunrpc/get_myaddr.c: Likewise.
24851         * sunrpc/key_call.c: Likewise.
24852         * sunrpc/key_prot.c: Likewise.
24853         * sunrpc/netname.c: Likewise.
24854         * sunrpc/pm_getmaps.c: Likewise.
24855         * sunrpc/pm_getport.c: Likewise.
24856         * sunrpc/pmap_clnt.c: Likewise.
24857         * sunrpc/pmap_prot.c: Likewise.
24858         * sunrpc/pmap_prot2.c: Likewise.
24859         * sunrpc/pmap_rmt.c: Likewise.
24860         * sunrpc/publickey.c: Likewise.
24861         * sunrpc/rpc_cmsg.c: Likewise.
24862         * sunrpc/rpc_common.c: Likewise.
24863         * sunrpc/rpc_dtable.c: Likewise.
24864         * sunrpc/rpc_prot.c: Likewise.
24865         * sunrpc/rpc_thread.c: Likewise.
24866         * sunrpc/rtime.c: Likewise.
24867         * sunrpc/svc.c: Likewise.
24868         * sunrpc/svc_auth.c: Likewise.
24869         * sunrpc/svc_raw.c: Likewise.
24870         * sunrpc/svc_run.c: Likewise.
24871         * sunrpc/svc_tcp.c: Likewise.
24872         * sunrpc/svc_udp.c: Likewise.
24873         * sunrpc/svc_unix.c: Likewise.
24874         * sunrpc/svcauth_des.c: Likewise.
24875         * sunrpc/xcrypt.c: Likewise.
24876         * sunrpc/xdr.c: Likewise.
24877         * sunrpc/xdr_array.c: Likewise.
24878         * sunrpc/xdr_float.c: Likewise.
24879         * sunrpc/xdr_intXX_t.c: Likewise.
24880         * sunrpc/xdr_mem.c: Likewise.
24881         * sunrpc/xdr_rec.c: Likewise.
24882         * sunrpc/xdr_ref.c: Likewise.
24883         * sunrpc/xdr_sizeof.c: Likewise.
24884         * sunrpc/xdr_stdio.c: Likewise.
24885
24886 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24887
24888         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24889         change.  Update copyright years.
24890
24891 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24892
24893         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24894
24895 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24896             Joseph Myers  <joseph@codesourcery.com>
24897             Paul Pluzhnikov  <ppluzhnikov@google.com>
24898
24899         [BZ #14012]
24900         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24901         requiring rpcgen.
24902         [cross-compiling] (extra-libs): Likewise.
24903         [cross-compiling] (extra-libs-others): Likewise.
24904         [cross-compiling] (librpcsvc-routines): Likewise.
24905         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24906         [cross-compiling] (omit-deps): Likewise.
24907         (sunrpc-CPPFLAGS): New variable.
24908         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24909         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24910         (cross-rpcgen-objs): New variable.
24911         (extra-objs): Append $(cross-rpcgen-objs).
24912         ($(cross-rpcgen-objs)): New rule.
24913         ($(objpfx)cross-rpcgen): Likewise.
24914         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24915         comment.
24916         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24917         ($(objpfx)x%.stmp): Likewise.
24918         * sunrpc/proto.h [IS_IN_build] (_): Define.
24919         [IS_IN_build] (_libc_intl_domainname): Likewise.
24920
24921 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24922
24923         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24924         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24925         and R_X86_64_TPOFF64.
24926
24927 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24928
24929         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24930         sysdeps/unix/sysv/syscalls.list.
24931         (stime): Likewise.
24932         (utime): Likewise.
24933         * sysdeps/unix/sysv/syscalls.list: Remove file.
24934
24935 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24936
24937         [BZ #3440]
24938         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24939         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24940         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24941         (__LC_IDENTIFICATION): Make these macros useful in #if
24942         expressions, as required by C99.
24943
24944 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24945
24946         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24947         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24948         after this.
24949
24950 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24951
24952         * stdlib/longlong.h: Updated from GCC.
24953
24954 2012-05-09  Andreas Jaeger  <aj@suse.de>
24955
24956         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24957         default is first entry.
24958         (run_mode): Set type.
24959         (main): Remove informal message about syslog.
24960         (options): Fix typo.
24961
24962         [BZ #14053]
24963         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24964         to asm.
24965         (lrint): Likewise.
24966         (llrintf): Likewise.
24967         (llrint): Likewise.
24968         (rint): Likewise.
24969         (rintf): Likewise.
24970         (nearbyint): Likewise.
24971         (nearbyintf): Likewise.
24972
24973 2012-05-09  Andreas Jaeger  <aj@suse.de>
24974             Pedro Alves  <palves@redhat.com>
24975
24976         * nscd/nscd.c (run_mode): Use enum.
24977         (main): Cleanup coding style issue.
24978
24979 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24980             Andreas Jaeger  <aj@suse.de>
24981
24982         * nscd/nscd.c (go_background): Replaced with...
24983         (run_mode): ... this.
24984         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24985         (options): Add -F --foreground.
24986         (main): Implement it.
24987         (parse_opt): Parse it.
24988
24989 2012-05-09  Andreas Jaeger  <aj@suse.de>
24990
24991         [BZ #14083]
24992         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24993         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24994         -Wconversion warning.
24995         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24996         Likewise.
24997
24998 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24999
25000         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25001         == 0.
25002         (LC_ALL): Use macro-int-constant.
25003         (LC_COLLATE): Likewise.
25004         (LC_CTYPE): Likewise.
25005         (LC_MESSAGES): Likewise.
25006         (LC_MONETARY): Likewise.
25007         (LC_NUMERIC): Likewise.
25008         (LC_TIME): Likewise.
25009         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25010         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25011         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25012         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25013         Specify type.
25014         [C99-based standards] (float_t): Expect type.
25015         [C99-based standards] (double_t): Expect type.
25016         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25017         type.
25018         [C99-based standards] (HUGE_VALL): Likewise.
25019         [C99-based standards] (INFINITY): Likewise.
25020         [C99-based standards] (NAN): Likewise.
25021         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25022         [C99-based standards] (FP_NAN): Likewise.
25023         [C99-based standards] (FP_NORMAL): Likewise.
25024         [C99-based standards] (FP_SUBNORMAL): Likewise.
25025         [C99-based standards] (FP_ZERO): Likewise.
25026         [C99-based standards] (FP_FAST_FMA): Use
25027         optional-macro-int-constant.  Specify type.  Require == 1.
25028         [C99-based standards] (FP_FAST_FMAF): Likewise.
25029         [C99-based standards] (FP_FAST_FMAL): Likewise.
25030         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25031         [C99-based standards] (FP_ILOGBNAN): Likewise.
25032         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25033         Specify type.
25034         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25035         [C99-based standards] (math_errhandling): Specify type.
25036         [ISO99 || ISO11] (signgam): Do not allow.
25037         [non-C99-based standards] (copysignf): Do not allow.
25038         [non-C99-based standards] (exp2f): Likewise.
25039         [non-C99-based standards] (log2f): Likewise.
25040         [non-C99-based standards] (modff): Allow.
25041         [non-C99-based standards] (erff): Do not allow.
25042         [non-C99-based standards] (erfcf): Likewise.
25043         [non-C99-based standards] (gammaf): Likewise.
25044         [non-C99-based standards] (hypotf): Likewise.
25045         [non-C99-based standards] (j0f): Likewise.
25046         [non-C99-based standards] (j1f): Likewise.
25047         [non-C99-based standards] (jnf): Likewise.
25048         [non-C99-based standards] (lgammaf): Likewise.
25049         [non-C99-based standards] (tgammaf): Likewise.
25050         [non-C99-based standards] (y0f): Likewise.
25051         [non-C99-based standards] (y1f): Likewise.
25052         [non-C99-based standards] (ynf): Likewise.
25053         [non-C99-based standards] (isnanf): Likewise.
25054         [non-C99-based standards] (acoshf): Likewise.
25055         [non-C99-based standards] (asinhf): Likewise.
25056         [non-C99-based standards] (atanhf): Likewise.
25057         [non-C99-based standards] (cbrtf): Likewise.
25058         [non-C99-based standards] (expm1f): Likewise.
25059         [non-C99-based standards] (ilogbf): Likewise.
25060         [non-C99-based standards] (log1pf): Likewise.
25061         [non-C99-based standards] (logbf): Likewise.
25062         [non-C99-based standards] (nextafterf): Likewise.
25063         [non-C99-based standards] (remainderf): Likewise.
25064         [non-C99-based standards] (rintf): Likewise.
25065         [non-C99-based standards] (scalbf): Likewise.
25066         [non-C99-based standards] (copysignl): Likewise.
25067         [non-C99-based standards] (exp2l): Likewise.
25068         [non-C99-based standards] (log2l): Likewise.
25069         [non-C99-based standards] (modfl): Allow.
25070         [non-C99-based standards] (erfl): Do not allow.
25071         [non-C99-based standards] (erfcl): Likewise.
25072         [non-C99-based standards] (gammal): Likewise.
25073         [non-C99-based standards] (hypotl): Likewise.
25074         [non-C99-based standards] (j0l): Likewise.
25075         [non-C99-based standards] (j1l): Likewise.
25076         [non-C99-based standards] (jnl): Likewise.
25077         [non-C99-based standards] (lgammal): Likewise.
25078         [non-C99-based standards] (tgammal): Likewise.
25079         [non-C99-based standards] (y0l): Likewise.
25080         [non-C99-based standards] (y1l): Likewise.
25081         [non-C99-based standards] (ynl): Likewise.
25082         [non-C99-based standards] (isnanl): Likewise.
25083         [non-C99-based standards] (acoshl): Likewise.
25084         [non-C99-based standards] (asinhl): Likewise.
25085         [non-C99-based standards] (atanhl): Likewise.
25086         [non-C99-based standards] (cbrtl): Likewise.
25087         [non-C99-based standards] (expm1l): Likewise.
25088         [non-C99-based standards] (ilogbl): Likewise.
25089         [non-C99-based standards] (log1pl): Likewise.
25090         [non-C99-based standards] (logbl): Likewise.
25091         [non-C99-based standards] (nextafterl): Likewise.
25092         [non-C99-based standards] (remainderl): Likewise.
25093         [non-C99-based standards] (rintl): Likewise.
25094         [non-C99-based standards] (scalbl): Likewise.
25095         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25096         [non-C99-based standards] (FP_*): Do not allow.
25097         [C99-based standards] (FP_*): Change to
25098         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25099         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25100         allow.
25101         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25102         (SIG_ERR): Likewise.
25103         [X/Open-based standards] (SIG_HOLD): Likewise.
25104         (SIG_IGN): Likewise.
25105         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25106         positive value.
25107         (SIGFPE): Likewise.
25108         (SIGILL): Likewise.
25109         (SIGINT): Likewise.
25110         (SIGSEGV): Likewise.
25111         (SIGTER): Likewise.
25112         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25113         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25114         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25115         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25116         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25117         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25118         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25119         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25120         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25121         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25122         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25123         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25124         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25125         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25126         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25127         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25128         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25129         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25130         [X/Open-based standards] (SIGTRAP): Likewise.
25131         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25132         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25133         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25134         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25135         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25136         allow.
25137
25138 2012-05-08  Ian Wienand  <ianw@vmware.com>
25139
25140         [BZ #14080]
25141         * time/tzset.c (__tzset_parse_tz): Update default rules for
25142         daylight time changes in the Energy Policy Act of 2005.
25143
25144 2012-05-09  Andreas Jaeger  <aj@suse.de>
25145
25146         [BZ #13983]
25147         * elf/ldconfig.c (parse_conf): Change string to make clear that
25148         ldconfig only issued a warning if ld.so.conf does not exist.
25149
25150 2012-05-08  David S. Miller  <davem@davemloft.net>
25151
25152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25153         movxtod instead of popping the value on the stack.
25154
25155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25156
25157 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25158
25159         * config.h.in: Add HAVE_ARM_PCS_VFP.
25160
25161 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25162
25163         [BZ #13979]
25164         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25165         checking but the checks are disabled for any reason.
25166
25167 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25168
25169         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25170         and ELF64_R_TYPE with ELFW(R_TYPE).
25171
25172 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25173
25174         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25175         (ulimit): Likewise.
25176
25177         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25178         (settimeofday): Likewise.
25179
25180 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25181
25182         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25183         a struct th_u2 inside the union, and move tu_block/tu_code into
25184         a new th_u3 union of tu_block/tu_code inside of that.  Move
25185         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25186         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25187         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25188         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25189         (th_stuff): Change to th_u1.tu_stuff.
25190         (th_data): Define.
25191         (th_msg): Change to th_u1.th_u2.tu_data.
25192
25193 2012-05-07  David S. Miller  <davem@davemloft.net>
25194
25195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25196
25197         [BZ #14074]
25198         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25199         (SETUP_PIC_REG): Use it.
25200         (SETUP_PIC_REG_LEAF): Use it.
25201
25202 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25203
25204         [BZ #13885]
25205         [BZ #13923]
25206         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25207         USE_AS_EXPM1L.
25208         (EXPL_FINITE): Likewise.
25209         (FLDLOG): Likewise.
25210         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25211         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25212         e_expl.S.
25213         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25214         USE_AS_EXPM1L.
25215         (EXPL_FINITE): Likewise.
25216         (FLDLOG): Likewise.
25217         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25218         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25219         e_expl.S.
25220         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25221         test of -max_value argument for long double.
25222         * sysdeps/i386/fpu/libm-test-ulps: Update.
25223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25224
25225 2012-05-06  David S. Miller  <davem@davemloft.net>
25226
25227         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25228         quad soft-float symbols whose references which are compiler
25229         generated.
25230         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25231
25232 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25233
25234         [BZ #13884]
25235         [BZ #13914]
25236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25237         USE_AS_EXP10L.
25238         (EXPL_FINITE): Likewise.
25239         (FLDLOG): Likewise.
25240         (c0): Likewise.
25241         (c1): Likewise.
25242         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25243         Adjust comments for base varying.
25244         (__expl_finite): Change alias to EXPL_FINITE.
25245         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25246         e_expl.S.
25247         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25248         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25249         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25250         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25251         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25252         USE_AS_EXP10L.
25253         (EXPL_FINITE): Likewise.
25254         (FLDLOG): Likewise.
25255         (c0): Likewise.
25256         (c1): Likewise.
25257         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25258         Adjust comments for base varying.
25259         (__expl_finite): Change alias to EXPL_FINITE.
25260         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25261         tests for bugs.
25262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25263
25264         [BZ #14064]
25265         * math/libm-test.inc (check_float_internal): Correct ulp
25266         calculation for subnormal expected results.
25267
25268 2012-05-06  Andreas Jaeger  <aj@suse.de>
25269
25270         * Makeconfig (+math-flags): New, set to -frounding-math.
25271         (+cflags): Add +math-flags so that all of glibc gets compiled with
25272         it.
25273
25274         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25275
25276 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25277
25278         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25279         Disable one test.
25280
25281         [BZ #13787]
25282         [BZ #13922]
25283         [BZ #14036]
25284         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25285         (__ieee754_expl): Allow for and saturate large arguments.
25286         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25287         (u_threshold): Likewise.
25288         (__exp): Call __ieee754_exp before checking for overflow and
25289         underflow.
25290         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25291         (u_threshold): Likewise.
25292         (__expf): Call __ieee754_expf before checking for overflow and
25293         underflow.
25294         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25295         (u_threshold): Likewise.
25296         (__expl): Call __ieee754_expl before checking for overflow and
25297         underflow.
25298         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25299         (__ieee754_expl): Allow for and saturate large arguments.
25300         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25301         missing overflow exception on overflow.
25302         (expm1_test): Do not allow missing overflow exception on overflow.
25303
25304         * sysdeps/i386/fpu/e_expl.c: Move to ...
25305         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25306         rather than using inline asm.
25307         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25308         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25309         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25310
25311         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25312         (nice): Likewise.
25313         (poll): Likewise.
25314         (signal): Likewise.
25315         (time): Likewise.
25316         (times): Likewise.
25317
25318 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25319
25320         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25321         sysdeps/unix/common/syscalls.list.
25322         (fchmod): Likewise.
25323         (fchown): Likewise.
25324         (ftruncate): Likewise.
25325         (getrusage): Likewise.
25326         (gettimeofday): Likewise.
25327         (setpgid): Likewise.
25328         (setregid): Likewise.
25329         (setreuid): Likewise.
25330         (sigaction): Likewise.
25331         (truncate): Likewise.
25332         (vhangup): Likewise.
25333         * sysdeps/unix/common/syscalls.list: Remove file.
25334         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25335         * sysdeps/unix/sysv/linux/Implies: Likewise.
25336
25337 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25338
25339         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25341         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25342         Moved to ...
25343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25344         Here.
25345         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25346         to ...
25347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25348         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25349         to ...
25350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25351         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25352         to ...
25353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25354         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25355         to ...
25356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25357         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25358         to ...
25359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25360         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25361         to ...
25362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25363         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25364         to ...
25365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25366         Here.
25367         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25368         to ...
25369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25370         Here.
25371         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25372         to ...
25373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25374         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25375         Moved to ...
25376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25377         Here.
25378         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25379         to ...
25380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25381
25382 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25383
25384         * sysdeps/unix/common/bits/dirent.h: Remove file.
25385         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25386
25387         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25388         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25389         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25390         * sysdeps/unix/bsd/isatty.c: Likewise.
25391         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25392         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25393         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25394
25395 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25396
25397         [BZ #13563]
25398         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25399         long double comparison inaccuracies.
25400         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25402
25403 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25404
25405         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25406         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25407
25408 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25409
25410         [BZ #14049]
25411         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25412         nonzero digits before rounding a hex value.
25413         * stdlib/tst-strtod.c (tests): Add another test.
25414
25415 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25416
25417         * sysdeps/s390/fpu/libm-test-ulps: Update.
25418
25419 2012-05-03  Andreas Jaeger  <aj@suse.de>
25420
25421         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25422         does not get optimized out.
25423         (malloc_opt_barrier): New.
25424
25425 2012-05-03  Andreas Jaeger  <aj@suse.de>
25426             Roland McGrath  <roland@hack.frob.com>
25427
25428         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25429         intermediate file deletion.
25430         (generated): Add .symlist files.
25431
25432 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25433
25434         [BZ #13775]
25435         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25436         Redirect under this condition.
25437         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25438         [__USE_GNU] (__dprintf_chk): Not under this condition.
25439         [__USE_GNU] (__vdprintf_chk): Likewise.
25440         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25441         under this condition.
25442         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25443         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25444         [__USE_XOPEN2K8] (vdprintf): Likewise.
25445         [__USE_GNU] (__dprintf_chk): Not under this condition.
25446         [__USE_GNU] (__vdprintf_chk): Likewise.
25447         [__USE_GNU] (dprintf): Likewise.
25448         [__USE_GNU] (vdprintf): Likewise.
25449
25450 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25451
25452         * elf/Makefile (common-generated): Set this instead of generated for
25453         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25454         $(all-built-dso)-derived lists.
25455
25456 2012-05-03  Andreas Jaeger  <aj@suse.de>
25457
25458         * sysdeps/i386/fpu/libm-test-ulps: Update.
25459
25460         * FAQ: Removed.
25461         * FAQ.in: Likewise.
25462         * scripts/gen-FAQ.pl: Likewise.
25463         * manual/install.texi (Installation): Point to online location of
25464         FAQ.
25465         * Makefile (files-for-dist): Remove FAQ.
25466         (FAQ): Remove.
25467
25468 2012-05-02  Allan McRae  <allan@archlinux.org>
25469
25470         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25471         (LDFLAGS-reldepmod5.so): Likewise.
25472         (LDFLAGS-reldep6mod1.so): Likewise.
25473         (LDFLAGS-reldep6mod4.so): Likewise.
25474         (LDFLAGS-reldep8mod3.so): Likewise.
25475         (LDFLAGS-unload4mod1.so): Likewise.
25476         (LDFLAGS-unload4mod2.so): Likewise.
25477         (LDFLAGS-tst-initorder): Likewise.
25478         (LDFLAGS-tst-initordera2.so): Likewise.
25479         (LDFLAGS-tst-initordera3.so): Likewise.
25480         (LDFLAGS-tst-initordera4.so): Likewise.
25481         (LDFLAGS-tst-initorderb2.so): Likewise.
25482         (LDFLAGS-noload): Likewise.
25483         (LDFLAGS-next): Likewise.
25484         (LDFLAGS-order2mod1.so): Likewise.
25485         (LDFLAGS-order2mod2.so): Likewise.
25486         (LDFLAGS-tst-initorder2): Likewise.
25487         (LDFLAGS-tst-initorder2a.so): Likewise.
25488         (LDFLAGS-tst-initorder2b.so): Likewise.
25489         (LDFLAGS-tst-initorder2c.so): Likewise.
25490         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25491
25492 2012-05-02  David S. Miller  <davem@davemloft.net>
25493
25494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25495
25496 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25497
25498         [BZ #14055]
25499         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25500
25501 2012-05-02  Andreas Jaeger  <aj@suse.de>
25502
25503         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25504         since we manipulate rounding mode.
25505         (CPPFLAGS-test-idouble.c): Likewise.
25506         (CPPFLAGS-test-ifloat.c): Likewise.
25507         (CFLAGS-test-ldouble.c): Likewise.
25508         (CFLAGS-test-double.c): Likewise.
25509         (CFLAGS-test-float.c): Likewise.
25510         (CFLAGS-test-misc.c): Likewise.
25511         (CFLAGS-test-test-fenv.c): Likewise.
25512
25513 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25514
25515         [BZ #2550]
25516         [BZ #2570]
25517         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25518         comparisons to determine direction to adjust input.
25519
25520 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25521
25522         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25523         output to the target.
25524
25525         * scripts/localplt.awk: New file.
25526         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25527         (check-localplt-CFLAGS): Variable removed.
25528         ($(all-built-dso:=.jmprel)): New static pattern rule.
25529         (generated): Add those targets.
25530         (localplt-built-dso): New variable.
25531         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25532
25533         * elf/check-localplt.c: File removed.
25534
25535         * scripts/check-execstack.awk: New file.
25536         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25537         (check-execstack-CFLAGS): Variable removed.
25538         ($(objpfx)check-execstack.h): Target removed.
25539         ($(objpfx)execstack-default): New target.
25540         (generated): Add that instead of check-execstack.h.
25541         ($(all-built-dso:=.phdr)): New static pattern rule.
25542         (generated): Add those targets.
25543         * elf/check-execstack.c: File removed.
25544
25545         * scripts/check-textrel.awk: New file.
25546         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25547         (check-textrel-CFLAGS): Variable removed.
25548         (all-built-dso): Use := to define.o
25549         ($(all-built-dso:=.dyn)): New static pattern rule.
25550         (generated): Add those targets.
25551         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25552         * config.make.in (READELF): New substituted variable.
25553         * elf/check-textrel.c: File removed.
25554
25555 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25556
25557         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25558         allow.
25559         * conform/data/ctype.h-data [C99-based standards] (isblank):
25560         Expect function.
25561         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25562         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25564         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25565         Specify type.  Require positive value.
25566         (EILSEQ): Likewise.
25567         (ERANGE): Likewise.
25568         [ISO || POSIX] (EILSEQ): Do not expect.
25569         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25570         Specify type.  Require positive value.
25571         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25572         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25573         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25574         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25575         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25576         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25577         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25578         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25579         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25580         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25581         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25582         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25583         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25584         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25585         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25586         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25587         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25588         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25589         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25590         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25591         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25592         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25593         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25594         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25595         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25596         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25597         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25598         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25599         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25600         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25601         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25602         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25603         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25604         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25605         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25606         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25607         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25608         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25609         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25610         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25611         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25612         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25613         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25614         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25615         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25616         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25617         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25618         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25619         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25620         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25621         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25622         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25623         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25624         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25625         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25626         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25627         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25628         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25629         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25630         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25631         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25632         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25633         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25634         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25635         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25636         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25637         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25638         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25639         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25640         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25641         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25642         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25643         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25644         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25645         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25646         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25647         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25648         Require >= 2.
25649         (FLT_ROUNDS): Expect as macro, not constant.
25650         (FLT_MANT_DIG): Use macro-int-constant.
25651         (DBL_MANT_DIG): Likewise.
25652         (LDBL_MANT_DIG): Likewise.
25653         (FLT_DIG): Likewise.
25654         (DBL_DIG): Likewise.
25655         (LDBL_DIG): Likewise.
25656         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25657         (DBL_MIN_EXP): Likewise.
25658         (LDBL_MIN_EXP): Likewise.
25659         (FLT_MAX_EXP): Use macro-int-constant.
25660         (DBL_MAX_EXP): Likewise.
25661         (LDBL_MAX_EXP): Likewise.
25662         (FLT_MAX_10_EXP): Likewise.
25663         (DBL_MAX_10_EXP): Likewise.
25664         (LDBL_MAX_10_EXP): Likewise.
25665         (FLT_MAX): Use macro-constant.
25666         (DBL_MAX): Likewise.
25667         (LDBL_MAX): Likewise.
25668         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25669         (DBL_EPSILON): Likewise.
25670         (LDBL_EPSILON): Likewise.
25671         (FLT_MIN): Likewise.
25672         (DBL_MIN): Likewise.
25673         (LDBL_MIN): Likewise.
25674         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25675         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25676         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25677         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25678         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25679         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25680         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25681         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25682         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25683         [ISO11] (FLT_TRUE_MIN): Likewise.
25684         [ISO11] (LDBL_TRUE_MIN): Likewise.
25685         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25686         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25687         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25688         (SCHAR_MAX): Likewise.
25689         (UCHAR_MAX): Likewise.
25690         (CHAR_MIN): Likewise.
25691         (CHAR_MAX): Likewise.
25692         (MB_LEN_MAX): Use macro-int-constant.
25693         (SHRT_MIN): Use macro-int-constant.  Specify type.
25694         (SHRT_MAX): Likewise.
25695         (USHRT_MAX): Likewise.
25696         (INT_MAX): Likewise.
25697         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25698         bound negative.
25699         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25700         bound with "U".
25701         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25702         bound with "L".
25703         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25704         bound negative.  Suffix upper bound with "L".
25705         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25706         bound with "UL".
25707         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25708         Specify type.
25709         [C99-based standards] (LLONG_MAX): Likewise.
25710         [C99-based standards] (ULLONG_MAX): Likewise.
25711         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25712         == 0.
25713         [ISO11] (max_align_t): Require type.
25714         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25715
25716         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25717         from $CFLAGS, without defining away __attribute__ calls.
25718         (checknamespace): Use $CFLAGS_namespace.
25719
25720         * conform/conformtest.pl (@keywords): Only include C99 keywords
25721         for standards based on C99 or C11.
25722
25723         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25724         Disable tests.
25725         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25726         UNIX98]: Likewise.
25727
25728         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25729         usability of symbols in #if.
25730
25731         * conform/conformtest.pl: If macro or constant types start
25732         "promoted:", expect the symbol to be of the following type
25733         promoted by the integer promotions.
25734
25735         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25736         in one place.  Also handle "macro-constant".
25737
25738         * conform/conformtest.pl: Only accept expected macro values with
25739         "==".  Parse all "macro" lines in one place.
25740         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25741
25742         * conform/conformtest.pl: Handle braced types on "constant" lines
25743         instead of handling "typed-constant".
25744         * conform/data/signal.h-data: Use "constant" instead of
25745         "typed-constant".
25746
25747         * conform/conformtest.pl: Handle "optional-" at start of lines in
25748         one place rather than duplicating several cases.  Handle each
25749         format of "macro" line with initial "optional-".
25750
25751         * conform/conformtest.pl: Only accept expected constant or
25752         optional-constant values with "==".  Parse all "constant" lines in
25753         one place.  Parse all "optional-constant" lines in one place.
25754         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25755         * conform/data/fmtmsg.h-data: Likewise.
25756         * conform/data/netinet/in.h-data: Likewise.
25757         * conform/data/tar.h-data: Likewise.
25758         * conform/data/limits.h-data: Use "==" form on "constant" and
25759         "optional-constant" lines.
25760
25761         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25762         Use -std=c99 for XOPEN2K.
25763         (@knownproblems): Remove.
25764         (newtoken): Don't check %isknown.
25765
25766         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25767         Do not expect macro.
25768         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25769         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25770         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25771         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25772         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25773         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25774         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25775         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25776         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25777         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25778         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25779         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25780         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25781         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25782         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25783         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25784         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25785         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25786         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25787         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25788         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25789         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25790         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25791         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25792         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25793         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25794         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25795         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25796         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25797         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25798         [XPG3] (acosh): Likewise.
25799         [XPG3] (asinh): Likewise.
25800         [XPG3] (atanh): Likewise.
25801         [XPG3] (cbrt): Likewise.
25802         [XPG3] (expm1): Likewise.
25803         [XPG3] (ilogb): Likewise.
25804         [XPG3] (log1p): Likewise.
25805         [XPG3] (logb): Likewise.
25806         [XPG3] (nextafter): Likewise.
25807         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25808         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25809         [XPG3] (remainder): Likewise.
25810         [XPG3] (rint): Likewise.
25811         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25812         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25813         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25814         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25815         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25816         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25817         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25818         [UNIX98 || XOPEN2K] (scalb): Expect.
25819         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25820         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25821         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25822         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25823         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25824         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25825         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25826         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25827         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25828         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25829         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25830         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25831         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25832         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25833         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25834         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25835         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25836         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25837         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25838         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25839         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25840         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25841         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25842         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25843         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25844         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25845         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25846         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25847         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25848         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25849         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25850         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25851         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25852         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25853         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25854         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25855         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25856         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25857         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25858         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25859         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25860         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25861         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25862         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25863         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25864         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25865         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25866         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25867         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25868         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25869         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25870         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25871         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25872         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25873         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25874         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25875         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25876         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25877         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25878         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25879         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25880         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25881         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25882         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25883         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25884         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25885         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25886         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25887         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25888         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25889         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25890         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25891         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25892         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25893         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25894         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25895         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25896         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25897         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25898         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25899         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25900         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25901         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25902         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25903         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25904         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25905         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25906         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25907         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25908         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25909         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25910         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25911         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25912         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25913         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25914         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25915         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25916         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25917         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25918         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25919         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25920         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25921         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25922         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25923         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25924         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25925         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25926         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25927         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25928         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25929         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25930         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25931         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25932         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25933         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25934         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25935         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25936         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25937         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25938         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25939         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25940         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25941         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25942         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25943         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25944         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25945         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25946         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25947         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25948         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25949         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25950         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25951         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25952         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25953         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25954         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25955         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25956
25957         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25958         _XOPEN_SOURCE_EXTENDED for XPG4.
25959
25960         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25961
25962         * Makeconfig (localtime): Remove variable.
25963         (inst_localtime-file): Likewise.
25964
25965 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25966
25967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25968         Update.
25969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25970         Update.
25971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25972         Update.
25973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25974         Update.
25975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25976         Update.
25977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25978         Update.
25979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25980         Update.
25981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25982         Update.
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25984         Update.
25985
25986 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25987
25988         [BZ #2550]
25989         [BZ #2570]
25990         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25991         comparisons to determine direction to adjust input.
25992         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25993         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25994         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25995         Likewise.
25996         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25997         Likewise.
25998         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25999         Likewise.
26000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26002         Likewise.
26003         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26004         Likewise.
26005         * math/libm-test.inc (nexttoward_test): Add more tests.
26006
26007 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26008
26009         [BZ #14040]
26010         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26011         in version GLIBC_2.1, not GLIBC_2.0.
26012         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26013         Likewise.
26014
26015 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26016
26017         [BZ #13942]
26018         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26019         (1 - x) * (1 + x).
26020         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26021         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26022         * math/libm-test.inc (acos_test): Add more tests.
26023         (asin_test): Likewise.
26024         * sysdeps/i386/fpu/libm-test-ulps: Update.
26025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26026
26027         [BZ #14034]
26028         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26029         of square root.
26030         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26031         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26032         * math/libm-test.inc (acos_test_tonearest): New function.
26033         (acos_test_towardzero): Likewise.
26034         (acos_test_downward): Likewise.
26035         (acos_test_upward): Likewise.
26036         (asin_test_tonearest): Likewise.
26037         (asin_test_towardzero): Likewise.
26038         (asin_test_downward): Likewise.
26039         (asin_test_upward): Likewise.
26040         (main): Call the new functions.
26041         * sysdeps/i386/fpu/libm-test-ulps: Update.
26042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26043
26044         [BZ #13884]
26045         [BZ #13924]
26046         * math/e_exp10.c: Include <float.h>.
26047         (__ieee754_exp10): Handle underflow here rather than multiplying
26048         large negative argument by M_LN10.
26049         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26050         of __ieee754_expf.
26051         * math/e_exp10l.c: Include <float.h>.
26052         (__ieee754_exp10l): Handle underflow here rather than multiplying
26053         large negative argument by M_LN10l.
26054         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26055         spurious overflow exception on underflow.
26056
26057 2012-04-29  Marek Polacek  <polacek@redhat.com>
26058
26059         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26060         (__fortify_function): New macro.
26061         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26062         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26063         __extern_always_inline.
26064         * libio/bits/stdio2.h: Likewise.
26065         * libio/bits/stdio.h: Likewise.
26066         * string/string.h: Likewise.
26067         * string/bits/string3.h: Likewise.
26068         * include/stdio.h: Likewise.
26069         * stdlib/bits/stdlib.h: Likewise.
26070         * stdlib/stdlib.h: Likewise.
26071         * rt/bits/mqueue2.h: Likewise.
26072         * rt/mqueue.h: Likewise.
26073         * posix/bits/unistd.h: Likewise.
26074         * posix/unistd.h: Likewise.
26075         * io/bits/poll2.h: Likewise.
26076         * io/bits/fcntl2.h: Likewise.
26077         * io/fcntl.h: Likewise.
26078         * io/sys/poll.h: Likewise.
26079         * misc/bits/syslog.h: Likewise.
26080         * misc/bits/syslog-ldbl.h: Likewise.
26081         * misc/sys/syslog.h: Likewise.
26082         * socket/bits/socket2.h: Likewise.
26083         * socket/sys/socket.h: Likewise.
26084         * debug/tst-chk1.c: Likewise.
26085         * wcsmbs/bits/wchar2.h: Likewise.
26086         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26087         * wcsmbs/wchar.h: Likewise.
26088
26089 2012-04-29  Andreas Jaeger  <aj@suse.de>
26090
26091         * Makerules (tests): Remove enable-check-abi protection.
26092         (check-abi-warn): Remove.
26093         (check-abi-%): Remove check-abi-warn usage.
26094
26095         * configure.in: Remove check-abi configure option.
26096         * configure: Regenerated.
26097         * config.make.in (enable-check-abi): Remove.
26098
26099 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26100
26101         [BZ #14033]
26102         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26103         double functions to double *_finite functions.
26104
26105         [BZ #13941]
26106         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26107         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26108         LDBL_MIN_EXP.
26109         * stdio-common/Makefile (tests): Add tst-sprintf3.
26110         * stdio-common/tst-sprintf3.c: New file.
26111
26112         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26113         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26114
26115 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26116
26117         * conform/conformtest.pl: Remove duplicate typed-constant
26118         handling.
26119
26120 2012-04-28  David S. Miller  <davem@davemloft.net>
26121
26122         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26123         (check-abi-%): Remove AWK script prerequisite and explicit
26124         abilist directory.
26125         (check-abi): Rewrite to just diff the symlist with the abilist.
26126         (config-tls, config-abi-config): Delete, no longer used.
26127         (update-abi-%): Remove AWK script and explicit abilist directory.
26128         (update-abi): Rewrite to simply compare and conditionally copy the
26129         symlist and the sysdep abilist file.  Remove update-abi-config
26130         checks.
26131         * abilist/ld.abilist: Remove.
26132         * abilist/libBrokenLocale.abilist: Remove.
26133         * abilist/libanl.abilist: Remove.
26134         * abilist/libcrypt.abilist: Remove.
26135         * abilist/libdl.abilist: Remove.
26136         * abilist/librt.abilist: Remove.
26137         * abilist/libthread_db.abilist: Remove.
26138         * abilist/libutil.abilist: Remove.
26139         * scripts/extract-abilist.awk: Remove.
26140         * scripts/merge-abilist.awk: Remove.
26141         * sysdeps/generic/libcidn.abilist: New file.
26142         * sysdeps/generic/libnss_compat.abilist: New file.
26143         * sysdeps/generic/libnss_db.abilist: New file.
26144         * sysdeps/generic/libnss_dns.abilist: New file.
26145         * sysdeps/generic/libnss_files.abilist: New file.
26146         * sysdeps/generic/libnss_hesiod.abilist: New file.
26147         * sysdeps/generic/libnss_nis.abilist: New file.
26148         * sysdeps/generic/libnss_nisplus.abilist: New file.
26149         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26150         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26151         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26152         file.
26153         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26154         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26155         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26156         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26157         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26158         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26159         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26160         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26161         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26162         file.
26163         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26164         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26165         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26166         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26167         file.
26168         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26169         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26170         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26171         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26172         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26173         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26174         file.
26175         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26176         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26177         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26178         file.
26179         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26181         New file.
26182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26183         New file.
26184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26185         New file.
26186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26187         New file.
26188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26189         New file.
26190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26191         New file.
26192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26193         New file.
26194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26195         New file.
26196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26197         New file.
26198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26199         New file.
26200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26201         New file.
26202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26203         New file.
26204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26205         New file.
26206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26207         file.
26208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26209         New file.
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26211         New file.
26212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26213         file.
26214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26215         New file.
26216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26217         New file.
26218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26219         file.
26220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26221         New file.
26222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26223         New file.
26224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26225         New file.
26226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26227         New file.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26229         New file.
26230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26231         New file.
26232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26234         file.
26235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26236         New file.
26237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26238         file.
26239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26240         file.
26241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26242         file.
26243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26244         file.
26245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26246         file.
26247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26248         New file.
26249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26250         file.
26251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26252         file.
26253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26254         New file.
26255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26256         file.
26257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26259         file.
26260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26261         New file.
26262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26263         file.
26264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26265         file.
26266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26267         file.
26268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26269         file.
26270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26271         file.
26272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26273         New file.
26274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26275         file.
26276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26277         file.
26278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26279         New file.
26280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26281         file.
26282         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26283         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26284         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26285         file.
26286         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26287         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26288         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26289         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26290         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26291         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26292         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26293         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26294         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26295         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26298         file.
26299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26300         New file.
26301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26302         file.
26303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26304         file.
26305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26306         file.
26307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26308         file.
26309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26310         file.
26311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26312         New file.
26313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26314         New file.
26315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26316         file.
26317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26318         New file.
26319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26320         file.
26321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26323         file.
26324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26325         New file.
26326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26327         file.
26328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26329         file.
26330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26331         file.
26332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26333         file.
26334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26335         file.
26336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26337         New file.
26338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26339         New file.
26340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26341         file.
26342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26343         New file.
26344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26345         file.
26346
26347 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26348
26349         * conform/conformtest.pl: Fix typo in handling typed-constant from
26350         allow-header.
26351
26352 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26353
26354         * README: Cut down references to pre-2.6 Linux kernels and
26355         Linuxthreads.  Update lists of configurations in libc and ports
26356         and sort alphabetically.  Say "or newer" with Linux kernel version
26357         requirements.
26358
26359         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26360
26361 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26362
26363         [BZ #887]
26364         * math/libm-test.inc (logb_test_downward): New test to expose
26365         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26366         rounding mode.
26367
26368 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26369
26370         [BZ #14027]
26371         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26372         to be done.
26373         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26374         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26375
26376 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26377
26378         * sysdeps/unix/i386/brk.S: Remove file.
26379         * sysdeps/unix/i386/dl-brk.S: Likewise.
26380         * sysdeps/unix/i386/pipe.S: Likewise.
26381         * sysdeps/unix/i386/sigreturn.S: Likewise.
26382         * sysdeps/unix/i386/syscall.S: Likewise.
26383         * sysdeps/unix/i386/vfork.S: Likewise.
26384         * sysdeps/unix/i386/wait.S: Likewise.
26385
26386         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26387         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26388
26389         * configure.in (arm*-none*): Do not allow without
26390         --enable-hacker-mode.
26391         (netbsd*): Remove case setting base_os.
26392         (386bsd*): Likewise.
26393         (freebsd*): Likewise.
26394         (bsdi*): Likewise.
26395         (osf*): Likewise.
26396         (sunos*): Likewise.
26397         (ultrix*): Likewise.
26398         (newsos*): Likewise.
26399         (dynix*): Likewise.
26400         (*bsd*): Likewise.
26401         (sysv*): Likewise.
26402         (isc*): Likewise.
26403         (esix*): Likewise.
26404         (sco*): Likewise.
26405         (minix*): Likewise.
26406         (irix4*): Likewise.
26407         (irix6*): Likewise.
26408         (solaris[2-9]*): Likewise.
26409         (none): Likewise.
26410         * configure: Regenerated.
26411
26412 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26413
26414         [BZ #11521]
26415         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26416         overflow or cancellation in calculating denominator.
26417         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26418         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26419         down expression to avoid unexpected rounding in newer GCCs.
26420         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26421
26422 2012-04-26  David S. Miller  <davem@davemloft.net>
26423
26424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26425         long-double compat symbols.
26426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26439
26440 2012-04-25  David S. Miller  <davem@davemloft.net>
26441
26442         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26443         HWCAP_* values only after the memory barriers have been defined.
26444         (atomic_full_barrier): Define.
26445         (atomic_read_barrier): Define.
26446         (atomic_write_barrier): Define.
26447
26448 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26449
26450         * shlib-versions: Add libgcc_s version information.
26451         * sysdeps/generic/libgcc_s.h: Remove.
26452         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26453         libgcc_s.h.
26454         * sysdeps/gnu/unwind-resume.c: Likewise.
26455         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26456
26457 2012-04-25  David S. Miller  <davem@davemloft.net>
26458
26459         * sysdeps/unix/sparc/brk.S: Delete.
26460         * sysdeps/unix/sparc/dl-brk.S: Delete.
26461         * sysdeps/unix/sparc/pipe.S: Delete.
26462         * sysdeps/unix/sparc/sysdep.S: Delete.
26463         * sysdeps/unix/sparc/sysdep.h: Delete.
26464         * sysdeps/unix/sparc/vfork.S: Delete.
26465         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26466         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26467         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26468         ret_ERRVAL, r0, r1, MOVE): Define.
26469         (JUMPTARGET): Remove.
26470         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26471         sysdeps/unix/sparc/sysdep.h
26472         (ENTRY, END): Remove.
26473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26474
26475 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26476
26477         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26478         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26479         -DIS_IN_build.
26480
26481         * timezone/README: Update upstream location and email address for
26482         tzcode and tzdata.
26483         * timezone/zdump.c: Update from tzcode 2012b.
26484         * timezone/zic.c: Likewise.
26485
26486         * configure.in (libc_cv_as_needed): Remove test.
26487         * configure: Regenerated.
26488         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26489         conditional definition.
26490         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26491         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26492         * config.make.in (have-as-needed): Remove variable.
26493
26494 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26495             Paul Pluzhnikov  <ppluzhnikov@google.com>
26496
26497         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26498         strings correctly.
26499
26500 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26501
26502         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26503         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26504         * sysdeps/sh/strlen.S: Likewise.
26505
26506 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26507
26508         * sysdeps/unix/fork.S: Remove file.
26509         * sysdeps/unix/i386/fork.S: Likewise.
26510         * sysdeps/unix/sparc/fork.S: Likewise.
26511
26512         * sysdeps/unix/system.c: Remove file.
26513         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26514
26515         * sysdeps/unix/getegid.S: Remove file.
26516         * sysdeps/unix/geteuid.S: Likewise.
26517
26518 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26519
26520         * scripts/check-localplt.awk: New file.
26521         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26522         of diff.
26523         * scripts/data/localplt-generic.data: Add a comment.
26524
26525         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26526         NODE when __dir_mkfile failed.
26527         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26528         Reported by Ludovic Courtès <ludo@gnu.org>.
26529
26530 2012-04-24  Andreas Jaeger  <aj@suse.de>
26531
26532         * Makerules (common-clean): Also remove gen-as-const-headers
26533         files.
26534
26535 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26536
26537         * Makerules (native-compile): Do not change working directory for
26538         build.  Use $(OUTPUT_OPTION) in command.
26539         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26540
26541 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26542
26543         [BZ #13886]
26544         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26545         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26546         * math/libm-test.inc (floor_test): Add more tests.
26547         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26548
26549 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26550
26551         * sysdeps/unix/getdents.c: Remove file.
26552         * sysdeps/unix/sysv/getdents.c: Likewise.
26553         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26554
26555         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26556         sysdeps/unix/mman/syscalls.list.
26557         (mmap): Likewise.
26558         (mprotect): Likewise.
26559         (msync): Likewise.
26560         (munmap): Likewise.
26561         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26562         * sysdeps/unix/mman/syscalls.list: Remove.
26563         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26564
26565         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26566         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26567         * configure: Regenerated.
26568         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26569         $(libgcc_s_suffix).
26570         * config.make.in (libgcc_s_suffix): Remove variable.
26571
26572 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26573
26574         * sysdeps/unix/sysv/gethostname.c: Move to ...
26575         * sysdeps/posix/gethostname.c: ... here.
26576
26577         * sysdeps/unix/execve.S: Remove file.
26578
26579         * sysdeps/unix/_exit.S: Remove file.
26580
26581 2012-04-23  Andreas Jaeger  <aj@suse.de>
26582
26583         [BZ #13739]
26584         * manual/Makefile: Remove make dist support, there's no
26585         need for a stand-alone documentation tar ball.
26586         (TEXI2DVI): Define always, it's not in Makeconfig.
26587         (dist): Removed.
26588         (tar-it): Removed.
26589         (edition): Removed.
26590         (glibc-doc-$(edition).tar): Removed
26591         (%.Z): Removed.
26592         (%.gz): Removed.
26593         (%.uu): Removed.
26594         (ETAGS): Remove, it's in Makeconfig.
26595         (move-if-change): Remove, it's in Makeconfig.
26596
26597 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26598
26599         [BZ #13970]
26600         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26601         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26602         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26603         (strtod_l, strtof_l, strtold_l): Remove __wur.
26604         It is not necessarily an error to ignore strtol's return value.
26605         One can reliably look at the stored endptr to decide whether
26606         the number had valid syntax.
26607
26608 2012-04-21  Andreas Jaeger  <aj@suse.de>
26609
26610         [BZ #13739]
26611         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26612
26613 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26614
26615         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26616         * sysdeps/unix/sysv/Versions: Remove file.
26617
26618 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26619
26620         [BZ #13927]
26621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26622
26623 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26624
26625         [BZ #7064]
26626         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26627         version from __vm86.
26628
26629 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26630
26631         * sysdeps/unix/common/lxstat.c: Remove file.
26632         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26633
26634         * sysdeps/unix/sysv/Makefile: Remove file.
26635
26636         * sysdeps/unix/sysv/direct.h: Remove file.
26637
26638         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26639         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26640         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26641         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26642         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26643         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26644         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26645
26646         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26647
26648         * sysdeps/unix/xmknod.c: Remove file.
26649         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26650
26651         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26652
26653         * sysdeps/unix/sysv/i386/time.S: Remove file.
26654
26655         * sysdeps/unix/fxstat.c: Remove file.
26656         * sysdeps/unix/xstat.c: Likewise.
26657         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26658
26659         * sysdeps/unix/sysv/sigaction.c: Remove file.
26660
26661         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26662         (sysdep_headers): Remove variable.
26663         [termio.h not in sysdep_headers] (generated): Likewise.
26664         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26665         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26666         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26667         * sysdeps/unix/sysv/tcflow.c: Likewise.
26668         * sysdeps/unix/sysv/tcflush.c: Likewise.
26669         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26670         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26671         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26672         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26673         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26674
26675         * sysdeps/unix/siglist.c: Remove file.
26676
26677         * sysdeps/unix/getppid.S: Remove file.
26678
26679         * sysdeps/unix/mkdir.c: Remove file.
26680         * sysdeps/unix/rmdir.c: Likewise.
26681
26682 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26683
26684         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26685         ERR_MAX value.
26686         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26687         errlist-compat value.
26688
26689 2012-04-18  David S. Miller  <davem@davemloft.net>
26690
26691         * sysdeps/generic/memcopy.h (reg_char): Delete.
26692         * debug/strcat_chk.c: Use char, not reg_char.
26693         * debug/strcpy_chk.c: Likewise.
26694         * debug/strncat_chk.c: Likewise.
26695         * debug/strncpy_chk.c: Likewise.
26696         * string/memchr.c: Likewise.
26697         * string/memrchr.c: Likewise.
26698         * string/rawmemchr.c: Likewise.
26699         * string/strcat.c: Likewise.
26700         * string/strchr.c: Likewise.
26701         * string/strchrnul.c: Likewise.
26702         * string/strcmp.c: Likewise.
26703         * string/strcpy.c: Likewise.
26704         * string/strncat.c: Likewise.
26705         * string/strncmp.c: Likewise.
26706         * string/strncpy.c: Likewise.
26707
26708 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26709
26710         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26711         __builtin_memcopy is called when src and dest ranges are known to not
26712         overlap.
26713
26714 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26715
26716         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26717         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26718         fwd_align_merge macro call.
26719         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26720         bwd_align_merge macro call.
26721         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26722
26723 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26724
26725         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26726         bwd_align_merge macros.
26727         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26728         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26729         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26730
26731 2012-04-18  David S. Miller  <davem@davemloft.net>
26732
26733         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26734
26735 2012-04-18  Andreas Jaeger  <aj@suse.de>
26736
26737         [BZ# 6794]
26738         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26739         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26740         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26741
26742         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26743         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26744         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26745
26746         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26747         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26748         Adjust for changed ldbl-128 files.
26749
26750         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26751         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26752         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26753
26754 2012-04-17  David S. Miller  <davem@davemloft.net>
26755
26756         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26757
26758 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26759
26760         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26761         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26762         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26763         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26764         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26765         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26766
26767 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26768
26769         [BZ #6794]
26770         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26771         * math/libm-test.inc: Add ilogb errno and exception tests.
26772         * math/w_ilogb.c: New file: ilogb wrapper.
26773         * math/w_ilogbf.c: New file: ilogbf wrapper.
26774         * math/w_ilogbl.c: New file: ilogbl wrapper.
26775         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26776         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26777         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26778         exception being thrown with 0.0 as argument.
26779         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26780         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26781         exception being thrown with 0.0 as argument.
26782         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26783         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26784         exception being thrown with 0.0 as argument.
26785         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26786         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26787         exception being thrown with 0.0 as argument.
26788         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26789         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26790         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26791         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26792         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26793         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26794         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26795         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26796         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26797
26798 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26799
26800         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26801         with altivec.
26802
26803 2012-04-16  Marek Polacek  <polacek@redhat.com>
26804
26805         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26806
26807 2012-04-16  Marek Polacek  <polacek@redhat.com>
26808
26809         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26810         operands of fdivp instruction.
26811
26812 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26813
26814         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26815         * elf/tst-auditmod3b.c: Likewise.
26816         * elf/tst-auditmod4b.c: Likewise.
26817         * elf/tst-auditmod5b.c: Likewise.
26818         * elf/tst-auditmod6b.c: Likewise.
26819         * elf/tst-auditmod6c.c: Likewise.
26820         * elf/tst-auditmod7b.c: Likewise.
26821         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26822         * sysdeps/x86_64/preconfigure.in: Likewise.
26823         * sysdeps/x86_64/preconfigure: Regenerated.
26824
26825 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26826
26827         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26828         __ILP32__.
26829
26830 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26831
26832         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26833         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26834
26835 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26836
26837         [BZ #13973]
26838         * locale/iso-639.def: Fix gl language name. Spotted by
26839         Yaron Shahrabani.
26840
26841 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26842
26843         [BZ #2074]
26844         * libio/libio.h (__io_write_fn): Update comment.
26845
26846 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26847
26848         [BZ #2074]
26849         * stdio.texi (Hook Functions): The user provided writer function
26850         is not allowed to return -1.
26851
26852 2012-04-11  David S. Miller  <davem@davemloft.net>
26853
26854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26855
26856 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26857
26858         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26859         Add a leading slash to rtkaio.
26860
26861 2012-04-11  Jim Meyering  <meyering@redhat.com>
26862
26863         [BZ #11959]
26864         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26865         It is not necessarily an error to ignore fwrite's return
26866         value.  One can reliably use ferror to test for errors after
26867         the fact.
26868
26869 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26870
26871         * bits/types.h (__snseconds_t): New type.
26872         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26873
26874         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26875         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26876         (__SNSECONDS_T_TYPE): Likewise.
26877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26878         (__SNSECONDS_T_TYPE): Likewise.
26879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26880         (__SNSECONDS_T_TYPE): Likewise.
26881
26882 2012-04-10  Andreas Jaeger  <aj@suse.de>
26883
26884         [BZ #2636]
26885         * manual/time.texi (Processor Time): Return type of times is
26886         elapsed real time since an arbitrary point in the past.
26887         (CPU Time): Move CLK_TCK from here...
26888         (Processor Time): ...to here.  Correct description.
26889         * manual/conf.texi (Constants for Sysconf): Correct description of
26890         _SC_CLK_TCK.
26891
26892 2012-04-10  David S. Miller  <davem@davemloft.net>
26893
26894         [BZ #13967]
26895         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26896         where the is a gap between DT_REL(A) and DT_JMPREL.
26897
26898 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26899
26900         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26901         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26902         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26903
26904 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26905
26906         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26907         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26908         (dl_main): Handle --inhibit-cache.
26909         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26910         _dl_inhibit_cache.
26911         * elf/dl-load.c (_dl_map_object): Use it.
26912         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26913
26914 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26915
26916         [BZ #13872]
26917         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26918         (__ieee754_powl): Saturate large exponents rather than testing for
26919         overflow of y*log2(x).
26920         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26921         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26922         exceptions.
26923
26924         [BZ #11521]
26925         * math/s_ctan.c: Include <float.h>.
26926         (__ctan): Avoid internal overflow or cancellation in calculating
26927         denominator.
26928         * math/s_ctanf.c: Likewise.
26929         * math/s_ctanl.c: Likewise.
26930         * math/s_ctanh.c: Likewise.
26931         * math/s_ctanhf.c: Likewise.
26932         * math/s_ctanhl.c: Likewise.
26933         * math/libm-test.inc (ctan_test): Add more tests.
26934         (ctanh_test): Likewise.
26935         * sysdeps/i386/fpu/libm-test-ulps: Update.
26936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26937
26938 2012-04-09  Andreas Jaeger  <aj@suse.de>
26939
26940         [BZ #6894]
26941         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26942         is an optional BSD extension.
26943
26944         [BZ #10254]
26945         * manual/stdio.texi (Opening Streams): Document additional fopen
26946         parameters.
26947
26948 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26949
26950         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26951         %eax without telling the compiler.
26952
26953 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26954
26955         [BZ # 13963]
26956         * manual/install.texi: Use sourceware.org.
26957
26958 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26959
26960         [BZ #13873]
26961         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26962         (__ieee754_pow): Generate overflow and underflow using huge*huge
26963         and tiny*tiny rather than just returning constant infinity or zero
26964         for large exponents.
26965         * math/libm-test.inc (pow_test): Require overflow exceptions for
26966         applicable cases of large exponents.
26967
26968         [BZ #706]
26969         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26970         (__ieee754_pow): Use iterative multiplication algorithm only for
26971         integer exponents with absolute value below 1024.  Check for odd
26972         integer exponents when using algorithm for real exponents.
26973         * math/libm-test.inc (pow_test): Add more tests.
26974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26975
26976 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26977
26978         [BZ #13705]
26979         * math/libm-test.inc (exp_test): Do not allow overflow exception
26980         on underflow test.
26981
26982 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26983
26984         [BZ #13705]
26985         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26986         instead of __kernel_standard_f.
26987
26988 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26989
26990         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26991         * sysdeps/x86_64/memset_chk.S: Likewise.
26992
26993 2012-04-08  Andreas Jaeger  <aj@suse.de>
26994
26995         [BZ #10153]
26996         * manual/startup.texi (Environment Access): Describe return value
26997         for putenv and setenv.
26998
26999         [BZ #6895]
27000         * manual/filesys.texi (Directory Entries): Add description for
27001         DT_LNK.
27002
27003         [BZ #6890]
27004         * manual/filesys.texi (Directory Entries): Clarify that it's file
27005         system not operating system in the description of DT_UNKNOWN.
27006
27007         [BZ #6578]
27008         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27009
27010 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27011
27012         [BZ #6649]
27013         * manual/llio.texi (Opening and Closing Files): Add cross
27014         reference to explain mode argument.
27015
27016 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27017
27018         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27019         * sysdeps/x86_64/memset_chk.S: Likewise.
27020
27021 2012-04-07  David S. Miller  <davem@davemloft.net>
27022
27023         * elf/elf.h (R_SPARC_WDISP10): Define.
27024         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27025         R_SPARC_SIZE32.
27026         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27027         R_SPARC_SIZE64 and R_SPARC_H34.
27028
27029 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27030
27031         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27032         conditions and remove no longer applicable assertion.
27033
27034 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27035
27036         * bits/byteswap.h: Include <features.h>.
27037         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27038         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27039
27040 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27041
27042         * bits/byteswap.h (__bswap_16): Removed.
27043         Include <bits/byteswap-16.h> to get __bswap_16.
27044         * sysdeps/i386/bits/byteswap.h: Likewise.
27045         * sysdeps/s390/bits/byteswap.h: Likewise.
27046         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27047         * bits/byteswap-16.h: New file.
27048         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27049         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27050         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27051         * string/Makefile (headers): Add bits/byteswap-16.h.
27052
27053 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27054
27055         [BZ #13895]
27056         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27057         extra indirection.
27058         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27059         * nss/tst-nss-static.c: New.
27060
27061 2012-04-06  Robert Millan  <rmh@gnu.org>
27062
27063         [BZ #6486]
27064         * manual/llio.texi (File Position Primitive): lseek
27065         refers to WHENCE when it really means OFFSET.
27066
27067 2012-04-06  Andreas Jaeger  <aj@suse.de>
27068
27069         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27070         strncmp declarations.
27071
27072         * abilist/libc.abilist: Add __poll and __ppoll.
27073
27074 2012-04-05  David S. Miller  <davem@davemloft.net>
27075
27076         * scripts/check-local-headers.sh: Accept a host triplet in the
27077         path matched by the exclude regexp.
27078
27079         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27080         definition.
27081         * sysdeps/powerpc/powerpc32/dl-machine.h
27082         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27083         * sysdeps/s390/s390-32/dl-machine.h
27084         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27085         * sysdeps/sparc/sparc32/dl-machine.h
27086         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27087         * sysdeps/sparc/sparc64/dl-machine.h
27088         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27089
27090         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27091         lazy binding.
27092         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27093         undefined symbol errors.
27094
27095         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27096         DT_NEEDED entries.
27097
27098 2012-04-05  Michael Matz  <matz@suse.de>
27099
27100         [BZ #13592]
27101         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27102
27103 2012-04-05  Andreas Jaeger  <aj@suse.de>
27104
27105         [BZ #13908]
27106         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27107         comment.
27108
27109 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27110
27111         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27112         which ROUND is no valid rounding mode.
27113
27114 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27115
27116         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27117         read again.
27118         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27119
27120 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27121
27122         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27123         an exception using FPU order intentionally.
27124
27125 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27126
27127         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27128         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27129         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27130         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27131
27132 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27133
27134         [BZ #12340]
27135         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27136         EINVAL when BUFLEN is too smal.
27137
27138 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27139
27140         [BZ #13553]
27141         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27142         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27143
27144 2012-04-03  Andreas Jaeger  <aj@suse.de>
27145
27146         [BZ #13938]
27147         * manual/setjmp.texi (System V contexts): Fix sentence.
27148
27149         [BZ #13926]
27150         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27151         New macro for this case.
27152         [!__GNUC__] (__bswap_64): New inline function for this case.
27153         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27154         * bits/byteswap.h: Likewise.
27155         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27156         ull, guard with __GLIBC_HAVE_LONG_LONG.
27157
27158         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27159         __GLIBC_HAVE_LONG_LONG.
27160
27161         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27162         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27163
27164 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27165
27166         [BZ #13691]
27167         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27168         inptr and inend, rather than using last_ch.
27169
27170 2012-04-02  David S. Miller  <davem@davemloft.net>
27171
27172         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27173         * stdio-common/printf-parse.h (read_int): Change return type to
27174         'int', return -1 on INT_MAX overflow.
27175         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27176         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27177         overflows INT_MAX.  Check for overflow of in-format-string precision
27178         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27179         SIZE_MAX not INT_MAX for integer overflow test.
27180         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27181         skip the construct in the format string but do not record anything.
27182         * stdio-common/bug22.c: Adjust to test both width/prevision
27183         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27184         explicitly for proper errno values.
27185
27186 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27187
27188         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27189         CHAR_MAX.
27190         * string/test-strcmp.c [! WIDE]: Likewise.
27191         * time/tst-mktime2.c: Likewise for INT_MAX.
27192         * string/test-string.h: #include <sys/param.h> for MIN.
27193
27194         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27195         * sysdeps/i386/init-first.c (init): Likewise.
27196         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27197         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27198         * sysdeps/sh/init-first.c (init): Likewise.
27199
27200 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27201
27202         * po/ru.po: Update from translation team.
27203         * po/vi.po: Likewise.
27204
27205 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27206
27207         * resolv/nss_dns/dns-host.c: Merge copyright years.
27208
27209 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27210
27211         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27212         Optimize memcpy with prefetch if
27213         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27214         src, dst pointers have unequal 16 byte alignments.
27215
27216 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27217
27218         [BZ #13928]
27219         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27220         from a CNAME entry and return the minimum ttl for the query.
27221         (gaih_getanswer_slice): Likewise.
27222
27223 2012-03-30  Jeff Law  <law@redhat.com>
27224
27225         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27226         due to long keys.
27227         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27228         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27229
27230         * resolv/nss_dns/dns-host.c: Update copyright year.
27231
27232 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27233
27234         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27235         requests to save a system call.  Fix check that all bytes are sent.
27236
27237         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27238         comments for sendmmsg.
27239
27240 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27241
27242         [BZ #13691]
27243         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27244         with only 1 character between 0x0041 and 0x01b0.
27245         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27246         * wcsmbs/tst-mbsnrtowcs.c: New file.
27247
27248 2012-03-29  David S. Miller  <davem@davemloft.net>
27249
27250         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27251         small copies by hand.
27252
27253 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27254
27255         [BZ #13761]
27256         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27257         _nss_compat_initgroups_dyn): Fall back to malloc/free
27258         for large group memberships.
27259
27260 2012-03-28  David S. Miller  <davem@davemloft.net>
27261
27262         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27263         that branches into memcpy.
27264         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27265         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27267         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27269         bits.
27270         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27271         implementation too.
27272         * sysdeps/sparc/mempcpy.S: New file.
27273
27274         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27275         the IFUNC routine in the libc case.
27276         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27277
27278         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27279         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27280         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27281         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27282         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27283         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27284         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27285         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27286
27287         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27288         loop to 256 bytes instead of 64 bytes and fix test signedness.
27289
27290         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27291         * sysdeps/sparc/sparc32/Makefile: rather than here...
27292         * sysdeps/sparc/sparc64/Makefile: and here.
27293
27294 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27295
27296         * malloc/mallocbug.c: Avoid warnings about unused variables.
27297
27298 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27299
27300         [BZ #13760]
27301         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27302         in the right place. Discard and retry query if response is
27303         larger than input buffer size.
27304
27305 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27306
27307         [BZ #369]
27308         [BZ #2678]
27309         [BZ #3866]
27310         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27311         x for large integer exponent.
27312         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27313         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27314         sign of result as needed afterwards.
27315         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27316         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27317         result for underflowing pow the same as for overflow.
27318         (__kernel_standard_l): Handle powl overflow and underflow here
27319         rather than calling __kernel_standard.
27320         * math/libm-test.inc (pow_test): Add more tests.
27321
27322         [BZ #3868]
27323         [BZ #13879]
27324         [BZ #13910]
27325         [BZ #13911]
27326         [BZ #13912]
27327         [BZ #13913]
27328         [BZ #13915]
27329         [BZ #13916]
27330         [BZ #13917]
27331         [BZ #13918]
27332         [BZ #13919]
27333         [BZ #13920]
27334         [BZ #13921]
27335         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27336         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27337         (__kernel_standard_l): New function.
27338         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27339         __kernel_standard.
27340         * math/w_acosl.c (__acosl): Likewise.
27341         * math/w_asinl.c (__asinl): Likewise.
27342         * math/w_atan2l.c (__atan2l): Likewise.
27343         * math/w_atanhl.c (__atanhl): Likewise.
27344         * math/w_coshl.c (__coshl): Likewise.
27345         * math/w_exp10l.c (__exp10l): Likewise.
27346         * math/w_exp2l.c (__exp2l): Likewise.
27347         * math/w_fmodl.c (__fmodl): Likewise.
27348         * math/w_hypotl.c (__hypotl): Likewise.
27349         * math/w_j0l.c (__j0l, __y0l): Likewise.
27350         * math/w_j1l.c (__j1l, __y1l): Likewise.
27351         * math/w_jnl.c (__jnl, __ynl): Likewise.
27352         * math/w_lgammal.c (__lgammal): Likewise.
27353         * math/w_log10l.c (__log10l): Likewise.
27354         * math/w_log2l.c (__log2l): Likewise.
27355         * math/w_logl.c (__logl): Likewise.
27356         * math/w_powl.c (__powl): Likewise.
27357         * math/w_remainderl.c (__remainderl): Likewise.
27358         * math/w_scalbl.c (sysv_scalbl): Likewise.
27359         * math/w_sinhl.c (__sinhl): Likewise.
27360         * math/w_sqrtl.c (__sqrtl): Likewise.
27361         * math/w_tgammal.c (__tgammal): Likewise.
27362         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27363         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27364         * math/libm-test.inc (acos_test): Add more tests.
27365         (acosh_test): Likewise.
27366         (asin_test): Likewise.
27367         (atanh_test): Likewise.
27368         (exp_test): Likewise.
27369         (exp10_test): Likewise.
27370         (exp2_test): Likewise.
27371         (expm1_test): Likewise.
27372         (lgamma_test): Likewise.
27373         (log_test): Likewise.
27374         (log10_test): Likewise.
27375         (log1p_test): Likewise.
27376         (log2_test): Likewise.
27377         (pow_test): Do not allow some spurious overflow exceptions.
27378         (sqrt_test): Add more tests.
27379         (tgamma_test): Likewise.
27380         (y0_test): Likewise.
27381         (y1_test): Likewise.
27382         (yn_test): Likewise.
27383
27384 2012-03-27  Anton Blanchard  <anton@samba.org>
27385
27386         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27387         MAP_HUGETLB.
27388         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27389         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27390         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27391
27392 2012-03-27  David S. Miller  <davem@davemloft.net>
27393
27394         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27395
27396         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27397         have-as-vis3 check.
27398
27399 2012-03-27  Andreas Jaeger  <aj@suse.de>
27400
27401         * sysdeps/x86_64/elf/configure.in: Moved to ...
27402         * sysdeps/x86_64/configure.in: ... here.
27403         * sysdeps/x86_64/elf/start.S: Moved to ...
27404         * sysdeps/x86_64/start.S: ... here.
27405         * sysdeps/x86_64/elf/configure: Delete.
27406
27407         * sysdeps/x86_64/configure.in: Merge contents from
27408         sysdeps/i386/configure.in (without i686 check).
27409
27410         * sysdeps/i386/elf/Versions: Merge into ...
27411         * sysdeps/i386/Versions: ... this.
27412         * sysdeps/i386/elf/Versions: Delete file.
27413         * sysdeps/i386/elf/start.S: Moved to ...
27414         * sysdeps/i386/start.S: ...here.
27415         * sysdeps/i386/elf/configure.in: Merge into...
27416         * sysdeps/i386/configure.in: ...here.
27417         * sysdeps/i386/elf/configure.in: Delete file.
27418         * sysdeps/i386/elf/configure: Delete file.
27419
27420         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27421         * debug/backtracesyms.c: ... here.
27422         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27423         * debug/backtracesymsfd.c: ... here.
27424         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27425         * sysdeps/generic/ifunc-sel.h: ... here.
27426
27427         * sysdeps/unix/i386/start.c: Delete file.
27428         * sysdeps/unix/sparc/start.c: Delete file.
27429         * sysdeps/unix/start.c: Delete file.
27430
27431         * sysdeps/sh/elf/configure.in: Moved to ...
27432         * sysdeps/sh/configure.in: ... here.
27433         * sysdeps/sh/elf/start.S: Moved to ...
27434         * sysdeps/sh/start.S: ... here.
27435         * sysdeps/sh/elf/configure: Delete file.
27436
27437         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27438         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27439         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27440         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27441         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27442         * sysdeps/powerpc/powerpc64/start.S: here.
27443         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27444         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27445         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27446         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27447         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27448
27449         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27450         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27451         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27452         * sysdeps/powerpc/powerpc32/start.S: ... here.
27453         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27454         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27455         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27456
27457         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27458         * sysdeps/powerpc/ifunc-sel.h: ... here.
27459         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27460         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27461
27462         * sysdeps/sparc/elf/configure.in: Moved to ...
27463         * sysdeps/sparc/configure.in: ... here.
27464         * sysdeps/sparc/elf/configure: Delete file.
27465         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27466         * sysdeps/sparc/sparc32/start.S: ... here.
27467         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27468         * sysdeps/sparc/sparc64/start.S: ... here.
27469         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27470         * sysdeps/sparc/sparc32/Makefile: ... this.
27471         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27472         * sysdeps/sparc/sparc64/Makefile: ... this.
27473
27474         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27475         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27476         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27477         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27478         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27479         * sysdeps/s390/s390-32/setjmp.S: ... here.
27480         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27481         * sysdeps/s390/s390-32/configure.in: ... here.
27482         * sysdeps/s390/s390-32/elf/configure: Delete file.
27483         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27484         * sysdeps/s390/s390-32/start.S: ... here.
27485
27486         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27487         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27488         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27489         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27490         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27491         * sysdeps/s390/s390-64/setjmp.S: ... here.
27492         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27493         * sysdeps/s390/s390-64/configure.in: ... here
27494         * sysdeps/s390/s390-64/elf/configure: Delete file.
27495         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27496         * sysdeps/s390/s390-64/start.S: ... here.
27497         * sysdeps/s390/s390-64/elf/configure: Delete.
27498
27499         * configure.in: Remove support for elf directories in sysdeps.
27500
27501         * configure: Regenerated.
27502         * sysdeps/i386/configure: Regenerated.
27503         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27504         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27505         * sysdeps/s390/s390-32/configure: Regenerated.
27506         * sysdeps/s390/s390-64/configure: Regenerated.
27507         * sysdeps/sh/configure: Regenerated.
27508         * sysdeps/sparc/configure: Regenerated.
27509         * sysdeps/x86_64/configure: Regenerated.
27510
27511 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27512
27513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27514
27515         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27516         denormal result into account.
27517
27518 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27519
27520         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27521         Reported by Allan McRae <allan@archlinux.org>.
27522
27523 2012-03-23  Jeff Law  <law@redhat.com>
27524
27525         * nss/getnssent.c (__nss_getent): Fix typo.
27526
27527 2012-03-23  David S. Miller  <davem@davemloft.net>
27528
27529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27530
27531 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27532
27533         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27534         to pad to uint64_t for each field.
27535         (dl_tls_index): Replace unsigned long with uint64_t.
27536
27537 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27538         Paul Pluzhnikov  <ppluzhnikov@google.com>
27539
27540         [BZ #6528]
27541         * grp/Makefile (otherlibs): Don't set it.
27542         * inet/Makefile (otherlibs): Likewise.
27543         * login/Makefile (otherlibs): Likewise.
27544         * nscd/Makefile (otherlibs): Likewise.
27545         * posix/Makefile (otherlibs): Likewise.
27546         * pwd/Makefile (otherlibs): Likewise.
27547         * rt/Makefile (otherlibs): Likewise.
27548         * sunrpc/Makefile (otherlibs): Likewise.
27549         * nss/Makefile (otherlibs): Likewise.
27550         Add libnss_files to routines and static-only-routines.
27551         ($(objpfx)getent): Remove rule.
27552         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27553         static-only-routines.
27554
27555 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27556
27557         [BZ #13892]
27558         * math/s_cexp.c: Include <float.h>.
27559         (__cexp): Handle exp result overflowing not necessarily
27560         overflowing both real and imaginary parts of result.
27561         * math/s_cexpf.c: Likewise.
27562         * math/s_cexpl.c: Likewise.
27563         * math/libm-test.inc (cexp_test): Add more tests.
27564         * sysdeps/i386/fpu/libm-test-ulps: Update.
27565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27566
27567 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27568
27569         * include/link.h (ELFW): New macro.
27570         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27571         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27572
27573 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27574
27575         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27576         with uint64_t.
27577
27578 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27579
27580         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27581         declaration.
27582         (struct La_x32_retval): Likewise.
27583
27584 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27585
27586         * sysdeps/x86_64/preconfigure.in: New file.
27587         * sysdeps/x86_64/preconfigure: New generated file.
27588
27589 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27590
27591         [BZ #13824]
27592         * math/e_exp2l.c: Include <float.h>.
27593         (__ieee754_exp2l): Handle overflow and underflow cases
27594         separately.  Only pass fractional part of argument to
27595         __ieee754_expl.
27596         * math/libm-test.inc (exp2_test): Add more tests.
27597
27598         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27599         negating x to take absolute value.
27600         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27601         Likewise.
27602         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27603         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27604         Likewise.
27605         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27606         computing low part if x was negated.
27607         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27608
27609 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27610
27611         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27612         la_x32_gnu_pltexit.
27613         (pltexit): Cast int_retval to ptrdiff_t.
27614         * elf/tst-auditmod3b.c: Likewise.
27615         * elf/tst-auditmod4b.c: Likewise.
27616         * elf/tst-auditmod5b.c: Likewise.
27617         * elf/tst-auditmod6b.c: Likewise.
27618         * elf/tst-auditmod6c.c: Likewise.
27619         * elf/tst-auditmod7b.c: Likewise.
27620
27621         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27622         and x32_gnu_pltexit.
27623
27624         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27625         __ELF_NATIVE_CLASS.
27626         (La_x32_regs): New macro.
27627         (La_x32_retval): Likewise.
27628         (la_x32_gnu_pltenter): New function prototype.
27629         (la_x32_gnu_pltexit): Likewise.
27630
27631 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27632
27633         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27634         exponent.
27635
27636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27637
27638         * configure.in (libc_cv_cc_nofma): Check for option to disable
27639         generation of FMA instructions.
27640         * configure: Regenerate.
27641         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27642         * sysdeps/ieee754/dbl-64/Makefile: New file.
27643         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27644         Remove brandred-fma4.
27645         (CFLAGS-brandred-fma4.c): Remove.
27646         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27647         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27648         define.
27649         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27650         define.
27651
27652 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27653
27654         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27655         LLONG_MAX != LONG_MAX.
27656         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27657         (_fitoa_word): Likewise.
27658         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27659         LLONG_MAX != LONG_MAX.
27660         * stdio-common/_itowa.h: Include <_itoa.h>.
27661         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27662         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27663         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27664         only if not defined.
27665         (_ITOA_WORD_TYPE): Likewise.
27666         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27667         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27668
27669 2012-03-21  David S. Miller  <davem@davemloft.net>
27670
27671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27672
27673 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27674
27675         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27676         of x86_64 when setting libc_cv_slibdir, libdir and
27677         libc_cv_localedir.
27678         * sysdeps/unix/sysv/linux/configure: Regenerated.
27679
27680 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27681
27682         * manual/lang.texi (Old Varargs): Remove section.
27683         (How Variadic): Update menu.
27684         (va_start): Do not mention varargs.h.
27685
27686 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27687             Joseph Myers  <joseph@codesourcery.com>
27688
27689         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27690         link test.
27691         * configure: Regenerated.
27692
27693 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27694
27695         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27696         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27697         conformtest.pl
27698
27699 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27700
27701         * NOTES: Remove.
27702         * Makefile (files-for-dist): Remove NOTES.
27703         (NOTES): Remove rule.
27704         * README: Don't refer to NOTES.
27705         * manual/creature.texi: Don't include macros.texi.
27706         * manual/intro.texi (creature.texi): Remove comment referring to
27707         NOTES.
27708
27709         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27710         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27711         * configure: Regenerated.
27712         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27713         LIBC_TRY_CC_OPTION.
27714         (libc_cv_as_i686): Likewise.
27715         (libc_cv_cc_avx): Likewise.
27716         (libc_cv_cc_sse2avx): Likewise.
27717         (libc_cv_cc_fma4): Likewise.
27718         (libc_cv_cc_novzeroupper): Likewise.
27719         * sysdeps/i386/configure: Regenerated.
27720
27721         [BZ #13883]
27722         * sysdeps/i386/fpu/s_cexp.S: Remove.
27723         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27724         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27725         * math/libm-test.inc (cexp_test): Add more tests.
27726         * sysdeps/i386/fpu/libm-test-ulps: Update.
27727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27728
27729 2012-03-21  Allan McRae  <allan@archlinux.org>
27730
27731         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27732
27733 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27734
27735         [BZ #13871]
27736         * math/w_exp2.c: Do not include <float.h>.
27737         (o_threshold, u_threshold): Remove.
27738         (__exp2): Calculate result before checking finiteness and calling
27739         __kernel_standard.
27740         * math/w_exp2f.c: Likewise.
27741         * math/w_exp2l.c: Likewise.
27742         * math/libm-test.inc (exp2_test): Require overflow exception for
27743         1e6 input.
27744
27745         [BZ #3866]
27746         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27747         range of signed 64-bit integers before using fistpll.  Remove
27748         checks for whether integers fit in mantissa bits.
27749         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27750         the range of signed 32-bit integers before using fistpl.  Remove
27751         checks for whether integers fit in mantissa bits.
27752         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27753         (__ieee754_powl): Test for y outside the range of signed 64-bit
27754         integers before using fistpll.  Reduce 64-bit values to 63-bit
27755         ones as needed.
27756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27757         divide-by-zero is raised for zero to large negative powers.
27758         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27759         (__ieee754_powl): Test for y outside the range of signed 64-bit
27760         integers before using fistpll.  Reduce 64-bit values to 63-bit
27761         ones as needed.
27762         * math/libm-test.inc (pow_test): Add more tests.
27763
27764 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27765
27766         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27767         <stdio-common/_itoa.h>.
27768         * debug/segfault.c: Likewise.
27769         * elf/dl-cache.c: Likewise.
27770         * elf/dl-minimal.c: Likewise.
27771         * elf/dl-misc.c: Likewise.
27772         * elf/dl-sysdep.c: Likewise.
27773         * elf/dl-version.c: Likewise.
27774         * elf/rtld.c: Likewise.
27775         * hurd/hurdsock.c: Likewise.
27776         * hurd/lookup-retry.c: Likewise.
27777         * malloc/malloc.c: Likewise.
27778         * malloc/mtrace.c: Likewise.
27779         * nscd/nscd_getgr_r.c: Likewise.
27780         * nscd/nscd_getpw_r.c: Likewise.
27781         * nscd/nscd_getserv_r.c: Likewise.
27782         * posix/getopt_init.c: Likewise.
27783         * posix/wordexp.c: Likewise.
27784         * stdio-common/_itoa.c: Likewise.
27785         * stdio-common/printf_fphex.c: Likewise.
27786         * stdio-common/vfprintf.c: Likewise.
27787         * string/_strerror.c: Likewise.
27788         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27789         * sysdeps/i386/i686/hp-timing.h: Likewise.
27790         * sysdeps/mach/_strerror.c: Likewise.
27791         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27792         * sysdeps/mach/hurd/sethostid.c: Likewise.
27793         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27794         * sysdeps/mach/xpg-strerror.c: Likewise.
27795         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27796         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27797         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27798         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27799         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27800         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27801         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27802         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27803         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27804         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27805         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27806         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27807         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27808         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27809         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27810         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27811         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27812         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27813         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27814         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27815         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27816
27817         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27818
27819         * stdio-common/_itoa.h: Moved to ...
27820         * sysdeps/generic/_itoa.h: Here.
27821
27822         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27823
27824         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27825         instead of "_itoa.h" and "_itowa.h".
27826         * stdio-common/vfprintf.: Likewise.
27827
27828 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27829
27830         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27831         <bits/wordsize.h>.
27832         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27833         (__signbit): Likwise.
27834         (llrintf): Likwise.
27835         (llrint): Likwise.
27836
27837 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27838
27839         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27840         __WORDSIZE != 64.
27841
27842 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27843
27844         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27845         OVERFLOW_EXCEPTION_OK.
27846         * math/libm-test.inc ("Philosophy"): Update comment about
27847         exception testing.
27848         (OVERFLOW_EXCEPTION): Define.
27849         (OVERFLOW_EXCEPTION_OK): Likewise.
27850         (INVALID_EXCEPTION_OK): Renumber.
27851         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27852         (IGNORE_ZERO_INF_SIGN): Likewise.
27853         (test_exceptions): Handle FE_OVERFLOW.
27854         (exp10_test): Expect overflow exceptions.
27855         (exp2_test): Likewise.
27856         (expm1_test): Likewise.
27857         (nextafter_test): Likewise.
27858         (pow_test): Likewise.
27859         (scalbn_test): Likewise.
27860         (scalbln_test): Likewise.
27861
27862 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27863
27864         * sysdeps/x86_64/bits/atomic.h
27865         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27866         64bit integer.
27867         (atomic_exchange_acq): Likewise.
27868         (__arch_exchange_and_add_body): Likewise.
27869         (__arch_add_body): Likewise.
27870         (atomic_add_negative): Likewise.
27871         (atomic_add_zero): Likewise.
27872
27873 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27874
27875         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27876         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27877
27878 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27879
27880         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27881         Check __x86_64__ instead of __WORDSIZE.
27882
27883 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27884
27885         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27886
27887 2012-03-19  David S. Miller  <davem@davemloft.net>
27888
27889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27890
27891         * sysdeps/sparc/fpu/fenv_private.h: New file.
27892         * sysdeps/sparc/fpu/math_private.h: Use it.
27893         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27894         Remove.
27895         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27896         (libc_feholdexcept_setroundl): Remove.
27897         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27898         Remove.
27899         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27900         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27901
27902 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27903
27904         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27905         int64_t instead of long int.
27906         (INSERT_WORDS64): Likwise.
27907
27908 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27909
27910         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27911         _Unwind_GetCFA return to _Unwind_Ptr first.
27912
27913 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27914
27915         [BZ #13629]
27916         * math/s_clog.c: Include <float.h>.
27917         (__clog): Scale large or subnormal inputs.
27918         * math/s_clogf.c: Likewise.
27919         * math/s_clogl.c: Likewise.
27920         * math/s_clog10.c: Include <float.h>.
27921         (M_LOG10_2): Define.
27922         (__clog10): Scale large or subnormal inputs.
27923         * math/s_clog10f.c: Likewise.
27924         * math/s_clog10l.c: Likewise.
27925         * math/libm-test.inc (clog_test): Add more tests.
27926         (clog10_test): Likewise.
27927         * sysdeps/i386/fpu/libm-test-ulps: Update.
27928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27929
27930         [BZ #11451]
27931         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27932         x and y.
27933         * math/libm-test.inc (atan2_test): Add another test.
27934
27935         * Makerules (common-objdir-compile): Remove.
27936         * sysdeps/unix/Makefile (config-generated): Do not add
27937         $(unix-generated) to variable.
27938         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27939         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27940         Remove rule.
27941         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27942         Likewise.
27943         [generic bits/local_lim.h] (before-compile): Do not append to
27944         variable.
27945         [generic bits/local_lim.h] (common-generated): Likewise.
27946         [generic sys/param.h] (before-compile): Do not append to variable.
27947         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27948         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27949         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27950         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27951         include.
27952         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27953         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27954         [generic sys/param.h] ($(addprefix
27955         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27956         [generic sys/param.h] (common-generated): Do not append to
27957         variable.
27958         [generic sys/param.h] (sysdep_headers): Likewise.
27959         [generic bits/errno.h] (before-compile): Do not append to
27960         variable.
27961         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27962         rule.
27963         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27964         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27965         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27966         [generic bits/errno.h] (common-generated): Do not append to
27967         variable.
27968         [generic bits/ioctls.h] (before-compile): Do not append to
27969         variable.
27970         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27971         rule.
27972         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27973         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27974         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27975         rule.
27976         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27977         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27978         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27979         [generic bits/ioctls.h] (common-generated): Do not append to
27980         variable.
27981         [generic sys/syscall.h] (syscall.h): Remove variable.
27982         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27983         rule.
27984         [generic sys/syscall.h] (before-compile): Do not append to
27985         variable.
27986         [generic sys/syscall.h] (common-generated): Likewise.
27987         * sysdeps/unix/errnos-tmpl.c: Remove file.
27988         * sysdeps/unix/errnos.awk: Likewise.
27989         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27990         * sysdeps/unix/ioctls.awk: Likewise.
27991         * sysdeps/unix/mk-local_lim.c: Likewise.
27992         * sysdeps/unix/snarf-ioctls: Likewise.
27993
27994 2012-03-19  Richard Henderson  <rth@twiddle.net>
27995
27996         * sysdeps/i386/fpu/fenv_private.h: New file.
27997         * sysdeps/i386/fpu/math_private.h: Use it.
27998         (math_opt_barrier, math_force_eval): Remove.
27999         (libc_feholdexcept_setround_53bit): Remove.
28000         (libc_feupdateenv_53bit): Remove.
28001         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28002         (math_opt_barrier, math_force_eval): Remove.
28003         (libc_feholdexcept): Remove.
28004         (libc_feholdexcept_setround): Remove.
28005         (libc_fetestexcept, libc_fesetenv): Remove.
28006         (libc_feupdateenv_test): Remove.
28007         (libc_feupdateenv, libc_feholdsetround): Remove.
28008         (libc_feresetround): Remove.
28009
28010         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28011         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28012
28013         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28014         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28015         (libc_feupdateenv_testl): New.
28016         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28017         (libc_feupdateenv_testf): New.
28018         (libc_feupdateenv): Use libc_feupdateenv_test.
28019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28020         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28021
28022         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28023         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28024         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28025         (libc_feresetround_noex): New.
28026         (libc_feresetround_noexf): New.
28027         (libc_feresetround_noexl): New.
28028         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28029         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28030         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28031         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28032         SET_RESTORE_ROUND.
28033         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28035         (__cos): Likewise.
28036         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28037         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28038         SET_RESTORE_ROUND_NOEX.
28039         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28040         SET_RESTORE_ROUND_NOEXF.
28041         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28042         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28043         (libc_feholdsetroundf): New.
28044         (libc_feresetround, libc_feresetroundf): New.
28045
28046         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28047         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28048         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28049
28050         * sysdeps/generic/math_private.h: Include <fenv.h>.
28051         (default_libc_feholdexcept): New.
28052         (default_libc_feholdexcept_setround): New.
28053         (default_libc_fesetenv, default_libc_feupdateenv): New.
28054         (libc_feholdexcept): Only define if undefined.
28055         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28056         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28057         (libc_feholdexcept_setroundl): Likewise.
28058         (libc_feholdexcept_setround_53bit): Likewise.
28059         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28060         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28061         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28062         (libc_feupdateenv_53bit): Likewise.
28063         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28064         (libc_feholdexcept): Convert from macro to inline function.
28065         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28066         (libc_fesetenv, libc_feupdateenv): Likewise.
28067
28068         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28069         not previously defined.
28070         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28071         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28072         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28073         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28074         * sysdeps/ieee754/flt-32/math_private.h: New file.
28075         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28076         math_private.h below SET_FLOAT_WORD.
28077         (__isnan, __isinf_ns, __finite): Remove.
28078         (__isnanf, __isinf_nsf, __finitef): Remove.
28079
28080 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28081
28082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28083
28084 2012-03-17  David S. Miller  <davem@davemloft.net>
28085
28086         [BZ #6471]
28087         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28088         for 2.16.
28089
28090 2012-03-16  David S. Miller  <davem@davemloft.net>
28091
28092         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28093         warnings.
28094
28095         [BZ #6471]
28096         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28097         properly.
28098         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28099         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28100         sysdep_routines when subdir is sysvipc.
28101         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28102         __getshmlba helper.
28103
28104         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28105
28106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28107
28108         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28109         [__LP64__].
28110
28111 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28112
28113         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28114         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28115         (__lround): Renamed to ...
28116         (__llround): This.  Replace long int with long long int.
28117         Define lround functions as aliases of llround functions.
28118         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28119
28120 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28121
28122         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28123         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28124         adresses to uintptr_t.  Replace "long int" and "unsigned long
28125         int" with "greg_t" on va_arg.
28126
28127 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28128
28129         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28130         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28131
28132         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28133         Move e_machine check before EI_CLASS check.  Handle x32
28134         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28135         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28136         SKIP_EM_IA_64 and include
28137         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28138
28139         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28140         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28141         (add_system_dir): New macro.
28142
28143         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28144         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28145
28146 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28147
28148         [BZ #2551]
28149         [BZ #2552]
28150         [BZ #2553]
28151         [BZ #2554]
28152         [BZ #2562]
28153         [BZ #2563]
28154         [BZ #2565]
28155         [BZ #2566]
28156         [BZ #2576]
28157         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28158         (y0): Likewise.
28159         * math/w_j0f.c (j0f): Likewise.
28160         (y0f): Likewise.
28161         * math/w_j0l.c (__j0l): Likewise.
28162         (__y0l): Likewise.
28163         * math/w_j1.c (j1): Likewise.
28164         (y1): Likewise.
28165         * math/w_j1f.c (j1f): Likewise.
28166         (y1f): Likewise.
28167         * math/w_j1l.c (__j1l): Likewise.
28168         (__y1l): Likewise.
28169         * math/w_jn.c (jn): Likewise.
28170         (yn): Likewise.
28171         * math/w_jnf.c (jnf): Likewise.
28172         (ynf): Likewise.
28173         * math/w_jnl.c (__jnl): Likewise.
28174         (__ynl): Likewise.
28175         * math/libm-test.inc (j0_test): Add more tests.
28176         (j1_test): Likewise.
28177         (jn_test): Likewise.  Add trailing semicolon to existing test.
28178         (y0_test): Likewise.
28179         (y1_test): Likewise.
28180         * sysdeps/i386/fpu/libm-test-ulps: Update.
28181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28182
28183         [BZ #13851]
28184         [BZ #13854]
28185         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28186         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28187         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28188         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28189         (__tanl): Set errno for infinite argument.
28190         * sysdeps/i386/fpu/mptan.c: Remove.
28191         * sysdeps/i386/fpu/s_tan.S: Likewise.
28192         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28193         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28194         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28195         * math/libm-test.inc (tan_test): Add more tests and enable more
28196         tests for double and long double.
28197         * sysdeps/i386/fpu/libm-test-ulps: Update.
28198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28199
28200 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28201
28202         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28203         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28204
28205 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28206
28207         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28208         * configure.in: Use it for both main tree and add-ons.
28209         * configure: Regenerated.
28210
28211 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28212
28213         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28214
28215 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28216
28217         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28218         in comment.
28219
28220         [BZ #13851]
28221         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28222         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28223         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28224         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28225         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28226         infinite argument.
28227         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28228         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28229         != 0 for prec == 2.
28230         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28231         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28232         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28233         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28234         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28235         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28236         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28237         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28238         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28239         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28240         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28241         * math/libm-test.inc (cos_test): Add more tests and enable more
28242         tests for long double.
28243         (sin_test): Likewise.
28244         (sincos_test): Likewise.
28245         * sysdeps/i386/fpu/libm-test-ulps: Update.
28246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28247
28248 2012-03-16  David S. Miller  <davem@davemloft.net>
28249
28250         * sysdeps/sparc/fpu/math_private.h: New file.
28251
28252 2012-03-15  David S. Miller  <davem@davemloft.net>
28253
28254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28255         file.
28256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28258         file.
28259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28264         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28265         sysdep routines.
28266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28267
28268         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28269         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28270
28271         * sysdeps/sparc/sparc-ifunc.h: New file.
28272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28273         sparc-ifunc.h
28274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28276         Likewise.
28277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28278         Likewise.
28279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28283         Likewise.
28284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28289         Likewise.
28290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28291         Likewise.
28292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28310         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28311         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28312         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28313         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28314         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28315         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28316
28317 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28318
28319         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28320         scaling.
28321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28322
28323 2012-03-15  Andreas Jaeger  <aj@suse.de>
28324
28325         [BZ #13852]
28326         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28327         ieee754/flt-32 implementation for sin, cos and sincos.
28328         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28329         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28330         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28331         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28332         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28333         ieee754/flt-32 implementation for tan.
28334
28335         * math/libm-test.inc (cos_test): Enable some large input tests for
28336         float as well
28337         (sin_test): Likewise.
28338         (sincos_test): Likewise.
28339         (tan_test): Add tests for large input.
28340
28341         * sysdeps/i386/fpu/libm-test-ulps: Update.
28342
28343 2012-03-15  Andreas Jaeger  <aj@suse.de>
28344
28345         [BZ #13658]
28346         * math/libm-test.inc (cos_test): Add more test cases.
28347         (sin_test): Likewise.
28348         (sincos_test): Likewise.
28349
28350 2012-03-15  Andreas Jaeger  <aj@suse.de>
28351
28352         [BZ #13837]
28353         * math/libm-test.inc (cos_test): Add a test case for large input
28354         value.
28355         (sin_test): Likewise.
28356         (sincos_test): Likewise.
28357
28358 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28359         Joseph Myers  <joseph@codesourcery.com>
28360
28361         [BZ #13658]
28362         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28363         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28364         * sysdeps/i386/fpu/branred.c: Likewise.
28365         * sysdeps/i386/fpu/dosincos.c: Likewise.
28366         * sysdeps/i386/fpu/mpa.c: Likewise.
28367         * sysdeps/i386/fpu/s_cos.S: Likewise.
28368         * sysdeps/i386/fpu/s_sin.S: Likewise.
28369         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28370         * sysdeps/i386/fpu/sincos32.c: Likewise.
28371
28372         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28373         Define.
28374         (libc_feupdateenv_53bit): Define.
28375         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28376         Define.
28377         (libc_feupdateenv_53bit): Define.
28378
28379         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28380         53 bit (without extend i386 double precision).
28381
28382         * math/libm-test.inc (sincos_test): Add tests for large input.
28383         (sin): Likewise.
28384         (cos): Likewise.
28385
28386         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28387
28388 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28389
28390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28391
28392 2012-03-15  David S. Miller  <davem@davemloft.net>
28393
28394         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28395         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28396         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28397         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28402         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28410         file.
28411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28413         file.
28414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28416         file.
28417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28419         file.
28420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28421         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28422         fmin/fmax sysdep routines.
28423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28424
28425 2012-03-14  David S. Miller  <davem@davemloft.net>
28426
28427         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28431         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28432         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28433         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28434         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28439         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28447         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28448         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28450         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28451         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28452         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28453         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28454         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28455         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28456         routines.
28457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28458         file.
28459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28461         file.
28462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28464         file.
28465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28467         file.
28468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28470         file.
28471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28473         file.
28474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28475         file.
28476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28477         file.
28478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28479         file.
28480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28481         New file.
28482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28483         file.
28484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28485         file.
28486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28488         file.
28489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28491         file.
28492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28494         file.
28495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28497         VIS3 routines.
28498
28499         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28500         New file.
28501
28502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28503
28504         * sysdeps/sparc/configure.in: New file.
28505         * sysdeps/sparc/configure: Generate.
28506         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28507         * configure: Regenerate.
28508         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28509         * config.make.in (have-as-vis3): New.
28510         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28511         available use -Av9d instead of -Av9a.
28512         * sysdeps/sparc/sparc64/Makefile: Likewise.
28513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28515         New file.
28516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28517         file.
28518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28519         New file.
28520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28521         file.
28522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28523         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28524         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28525         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28526         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28527
28528         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28529         fzeros/fnegs to load 0x80000000 into a float register instead of
28530         using the stack.
28531         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28532
28533 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28534
28535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28536         bits/syscall.h.
28537         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28538         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28539         ($(inst_includedir)/bits/syscall.h): Remove rule.
28540         ($(objpfx)bits/syscall.d): Include instead of
28541         $(objpfx)syscall-list.d.
28542         (generated): Change syscall-list.h and syscall-list.d to
28543         bits/syscall.h and bits/syscall.d.
28544
28545 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28546
28547         [BZ #13846]
28548         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28549
28550 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28551
28552         [BZ #13841]
28553         * math/s_csqrt.c: Include <float.h>.
28554         (__csqrt): Scale large or subnormal inputs.
28555         * math/s_csqrtf.c: Likewise.
28556         * math/s_csqrtl.c: Likewise.
28557         * math/libm-test.inc (csqrt_test): Add more tests.
28558         * sysdeps/i386/fpu/libm-test-ulps: Update.
28559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28560
28561         [BZ #13840]
28562         * math/libm-test.inc (hypot_test): Add more tests.
28563
28564 2012-03-13  David S. Miller  <davem@davemloft.net>
28565
28566         [BZ #13840]
28567         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28568         double-precision for the calculation instead of scaling.
28569
28570 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28571
28572         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28573         manipulate bits before adding and subtracting TWO52[sx].
28574         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28575         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28576         Likewise.
28577         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28578
28579 2012-03-13  David S. Miller  <davem@davemloft.net>
28580
28581         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28582         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28584         rtld-global-offsets.h
28585         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28586
28587         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28588         large parameters.
28589
28590         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28591
28592         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28593         'err' in the ifdef scope in which it is actually used.
28594
28595         * nss/nss_db/db-init.c: Include string.h
28596
28597 2012-03-12  David S. Miller  <davem@davemloft.net>
28598
28599         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28600         masking out of the most significant byte of random value used.
28601         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28602         Fix coding style in previous change.
28603
28604         * sysdeps/unix/sysv/linux/kernel-features.h
28605         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28606         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28607         expression.
28608         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28609         later.
28610
28611 2012-03-11  David S. Miller  <davem@davemloft.net>
28612
28613         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28614         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28615         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28616         for 'resultvar' otherwise things get truncated on 64-bit.
28617
28618         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28619         Fix masking out of the most significant byte of random value used.
28620
28621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28622
28623 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28624
28625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28626
28627 2012-03-09  David S. Miller  <davem@davemloft.net>
28628
28629         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28630         variables with appropriate CPP guards.
28631         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28632         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28633         on resulting framesize and the management of the outregs buffer for pltexit.
28634         Preserve floating point return values across _dl_call_pltexit call.
28635         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28636         framesize and the management of the outregs buffer for pltexit.
28637         Preserve floating point return values across _dl_call_pltexit
28638         call.
28639         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28640         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28641         (print_exit): Fix format string for return register value.
28642
28643 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28644
28645         * sunrpc/Makefile (others): Add rpcgen.
28646         ($(objpfx)rpcgen): Remove special build rule and dependency on
28647         libc.
28648         * sunrpc/rpcgen.c: New file.
28649
28650 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28651
28652         [BZ #13673]
28653         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28654         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28655         * sysdeps/i386/crti.S: Likewise.
28656         * sysdeps/i386/crtn.S: Likewise.
28657         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28658         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28659         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28660         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28661         * sysdeps/sh/crti.S: Likewise.
28662         * sysdeps/sh/crtn.S: Likewise.
28663         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28664
28665         [BZ #13673]
28666         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28667         with URL.
28668         * locale/programs/locfile-kw.gperf: Likewise.
28669         * locale/programs/charmap-kw.h: Regenerated.
28670         * locale/programs/locfile-kw.h: Likewise.
28671
28672         [BZ #13673]
28673         * intl/plural.y: Replace FSF snail mail address with URL.
28674         * intl/plural.c: Regenerated.
28675
28676 2012-03-09  Richard Henderson  <rth@twiddle.net>
28677
28678         * include/math_private.h: Remove file.
28679         * math/math_private.h: Move file ...
28680         * sysdeps/generic/math_private.h: ... here.
28681
28682         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28683         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28684         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28685
28686         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28687         and <math_private.h>.
28688         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28689         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28690         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28691         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28692         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28693         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28694         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28695         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28696         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28697         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28699         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28700         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28701         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28702         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28703         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28704         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28705         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28706         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28707         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28708         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28709         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28710         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28712         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28713         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28714         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28715         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28716         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28717         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28718         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28719         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28720         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28721         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28722         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28723         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28724         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28725         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28726         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28727         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28728         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28729         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28730         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28731         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28732         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28733         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28734         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28735         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28736         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28737         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28738         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28739         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28740         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28741         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28742         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28743         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28744         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28745         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28746         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28747         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28748         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28749         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28750         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28751         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28752         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28753         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28754         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28755         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28756         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28757         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28758         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28759         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28760         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28761         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28762         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28763         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28764         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28765         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28766         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28767         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28768         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28769         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28770         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28771         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28772         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28773         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28774         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28775         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28776         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28777         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28778         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28779         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28780         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28781         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28782         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28783         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28784         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28785         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28786         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28787         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28788         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28789         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28790         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28791         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28792         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28793         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28794         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28795         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28796         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28797         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28798         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28799         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28800         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28801         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28802         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28803         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28804         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28805         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28806         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28807         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28808         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28809         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28810         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28811         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28812         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28813         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28814         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28815         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28816         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28817         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28818         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28819         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28820         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28821         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28822         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28823         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28824         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28825         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28826         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28827         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28828         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28829         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28830         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28831         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28832         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28833         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28834         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28835         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28836         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28837         * sysdeps/ieee754/k_standard.c: Likewise.
28838         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28839         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28840         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28841         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28842         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28843         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28844         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28845         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28846         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28847         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28848         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28849         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28850         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28851         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28852         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28853         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28854         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28855         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28856         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28857         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28858         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28859         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28860         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28861         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28862         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28863         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28864         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28865         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28866         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28867         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28868         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28869         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28870         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28871         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28872         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28873         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28874         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28875         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28876         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28877         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28878         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28879         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28880         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28881         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28882         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28883         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28884         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28886         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28887         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28888         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28889         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28890         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28891         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28892         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28893         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28894         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28895         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28896         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28897         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28898         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28899         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28900         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28901         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28904         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28905         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28906         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28907         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28908         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28909         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28910         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28911         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28912         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28913         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28914         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28915         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28916         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28917         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28918         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28919         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28920         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28928         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28929         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28930         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28931         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28932         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28933         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28936         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28937         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28939         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28940         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28941         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28942         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28943         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28944         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28945         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28946         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28947         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28948         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28949         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28950         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28951         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28952         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28953         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28954         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28955         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28956         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28957         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28958         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28959         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28960         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28961         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28962         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28963         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28964         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28965         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28966         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28967         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28968         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28969         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28970         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28971         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28972         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28973         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28974         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28975         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28976         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28977         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28978         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28979         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28980         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28981         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28982         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28983         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28984         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28985         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28986         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28987         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28988         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28989         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28990         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28992         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28993         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28994         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28995         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28996         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28997         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28998         * sysdeps/ieee754/s_lib_version.c: Likewise.
28999         * sysdeps/ieee754/s_matherr.c: Likewise.
29000         * sysdeps/ieee754/s_signgam.c: Likewise.
29001         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29002         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29003         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29004         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29005         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29006         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29007         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29008         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29009         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29010         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29011         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29012         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29013         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29014         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29015         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29016         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29017         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29018         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29019         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29020         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29022
29023 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29024
29025         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29026         * sunrpc/rpc_main.c: Likewise.
29027         * sunrpc/rpc_svcout.c: Likewise.
29028
29029 2012-03-09  David S. Miller  <davem@davemloft.net>
29030
29031         * include/math_private.h: New file.
29032
29033 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29034
29035         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29036         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29037         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29038         from <bits/socket_type.h>.
29039         (enum __socket_type): Don't define here.
29040         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29042         bits/socket_type.h.
29043
29044         [BZ #13566]
29045         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29046         checking __USE_GNU.
29047
29048         * Makerules ($(inst_includedir)/%.h): New rule.
29049         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29050         (install-others): Remove variable setting.
29051         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29052
29053 2012-03-08  Richard Henderson  <rth@twiddle.net>
29054
29055         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29056         from macro to inline function; merge with the
29057         !__LIBC_INTERNAL_MATH_INLINES version.
29058         (__ieee754_sqrtf): Likewise.
29059
29060         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29061         to inline function.
29062         (__rintf, __floor, __floorf): Likewise.
29063
29064         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29065         macro to inline function.
29066         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29067
29068         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29069         not <math/math_private.h>.
29070
29071 2012-03-08  David S. Miller  <davem@davemloft.net>
29072
29073         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29074         copyright year.
29075         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29076
29077 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29078
29079         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29080         normalization.
29081         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29082         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29083
29084 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29085
29086         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29087         be defined individually, they must be defined as a block.  Define
29088         S for printing a string instead of hidint the different by using a
29089         macro for adding the 'l'.
29090         * stdio-common/tst-fphex-wide.c: Adjust.
29091
29092 2012-03-07  Marek Polacek  <polacek@redhat.com>
29093
29094         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29095
29096 2012-03-08  Marek Polacek  <polacek@redhat.com>
29097
29098         [BZ #13806]
29099         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29100         * stdio-common/tst-fphex.c: Define a few macros to make the
29101         test reusable.  Use them.
29102         * stdio-common/tst-fphex-wide.c: New file.
29103
29104 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29105
29106         [BZ #6911]
29107         * manual/macros.texi (gnusystems): New macro.
29108         (nongnusystems): Likewise.
29109         (gnulinuxhurdsystems): Likewise.
29110         (gnuhurdsystems): Likewise..
29111         (gnulinuxsystems): Likewise.
29112         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29113         variants of the GNU system, not "GNU system".
29114         * manual/conf.texi: Likewise.
29115         * manual/errno.texi: Likewise.  Update example of errno macro
29116         expansion.
29117         * manual/filesys.texi: Likewise.
29118         (getumask): Document as specific to GNU/Hurd.
29119         * manual/install.texi: Likewise.  Reword some references to
29120         GNU/Linux.
29121         * manual/intro.texi: Likewise.
29122         * manual/io.texi: Likewise.
29123         (File Name Portability): Detail which constraints are inapplicable
29124         to all GNU systems and which are only inapplicable to GNU/Hurd.
29125         * manual/job.texi: Likewise.
29126         * manual/llio.texi: Likewise.
29127         (O_NOCTTY): Document as present on GNU/Linux.
29128         * manual/maint.texi: Likewise.
29129         * manual/memory.texi: Likewise.
29130         * manual/pattern.texi: Likewise.
29131         * manual/pipe.texi: Likewise.
29132         * manual/process.texi: Likewise.
29133         * manual/resource.texi: Likewise.
29134         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29135         child on GNU/Hurd.
29136         * manual/setjmp.texi: Likewise.
29137         * manual/signal.texi: Likewise.
29138         * manual/startup.texi: Likewise.
29139         * manual/stdio.texi: Likewise.
29140         * manual/terminal.texi: Likewise.
29141         (ONLCR): Document as POSIX.
29142         (OXTABS): Document availability on GNU/Linux as XTABS.
29143         (ONOEOT): Document availability separately from other bits.
29144         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29145         * manual/time.texi: Likewise.
29146         * manual/users.texi: Likewise.
29147         * INSTALL: Regenerated.
29148         * sysdeps/gnu/errlist.c: Regenerated.
29149
29150         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29151         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29152         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29153         puts.
29154         * configure: Regenerated.
29155
29156 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29157
29158         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29159         default includes instead of AC_HEADER_CHECK.
29160         * sysdeps/i386/configure: Regenerated.
29161
29162         [BZ #10716]
29163         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29164         * math/s_cacoshf.c (__cacoshf): Likewise.
29165         * math/s_cacoshl.c (__cacoshl): Likewise.
29166         * math/s_casinh.c (__casinh): Set signs of result from argument.
29167         * math/s_casinhf.c (__casinhf): Likewise.
29168         * math/s_casinhl.c (__casinhl): Likewise.
29169         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29170         (casinh_test): Add more tests.
29171         * sysdeps/i386/fpu/libm-test-ulps: Update.
29172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29173
29174 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29175
29176         * po/zh_TW.po: Update from translation team.
29177
29178         * login/Makefile (distribute): Remove variable.
29179         * catgets/Makefile: Likewise.
29180         * mach/Makefile: Likewise.
29181         * malloc/Makefile: Likewise.
29182         * misc/Makefile: Likewise.
29183         * iconv/Makefile: Likewise.
29184         * nscd/Makefile: Likewise.
29185         * hurd/Makefile: Likewise.
29186         * manual/Makefile: Likewise.
29187         * locale/Makefile: Likewise.
29188         * intl/Makefile: Likewise.
29189         * conform/Makefile: Likewise.
29190         * nss/Makefile: Likewise.
29191         * time/Makefile: Likewise.
29192         * soft-fp/Makefile: Likewise.
29193         * dirent/Makefile: Likewise.
29194         * gmon/Makefile: Likewise.
29195         * po/Makefile: Likewise.
29196         * rt/Makefile: Likewise.
29197         * socket/Makefile: Likewise.
29198         * math/Makefile: Likewise.
29199         * signal/Makefile: Likewise.
29200         * debug/Makefile: Likewise.
29201         * elf/Makefile: Likewise.
29202         * timezone/Makefile: Likewise.
29203         * stdlib/Makefile: Likewise.
29204         * iconvdata/Makefile: Likewise.
29205         * sunrpc/Makefile: Likewise.
29206         * io/Makefile: Likewise.
29207         * argp/Makefile: Likewise.
29208         * inet/Makefile: Likewise.
29209         * hesiod/Makefile: Likewise.
29210         * grp/Makefile: Likewise.
29211         * csu/Makefile: Likewise.
29212         * wctype/Makefile: Likewise.
29213         * crypt/Makefile: Likewise.
29214         * libio/Makefile: Likewise.
29215         * string/Makefile: Likewise.
29216         * nis/Makefile: Likewise.
29217         * resolv/Makefile: Likewise.
29218         * stdio-common/Makefile: Likewise.
29219         * wcsmbs/Makefile: Likewise.
29220         * dlfcn/Makefile: Likewise.
29221         * posix/Makefile: Likewise.
29222
29223         [BZ #6959]
29224         * timezone/Makefile: Don't install timezone files, just the programs
29225         and scripts.
29226
29227 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29228
29229         * nss/databases.def: Add missing gshadow entry.
29230
29231         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29232
29233 2012-03-06  Marek Polacek  <polacek@redhat.com>
29234
29235         [BZ #13726]
29236         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29237         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29238         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29239         * stdio-common/tst-long-dbl-fphex.c: New file.
29240
29241 2012-03-06  David S. Miller  <davem@davemloft.net>
29242
29243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29244         (set_obp_int): New function.
29245         (get_obp_int): New function.
29246         (__get_clockfreq_via_dev_openprom): Likewise.
29247         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29248         Avoid unused variable warnings on 'val' and use builtin_expect.
29249         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29250         __builtin_expect.
29251         (INLINE_CLONE_SYSCALL): Likewise.
29252
29253 2012-03-05  David S. Miller  <davem@davemloft.net>
29254
29255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29256
29257 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29258
29259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29260
29261         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29262         only for |x| >= 40.
29263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29264
29265 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29266
29267         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29268         Replace gettimeofday with __vdso_gettimeofday.
29269
29270         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29271         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29272         __vdso_clock_gettime and __vdso_getcpu.
29273
29274         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29275         time with __vdso_time.
29276
29277 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29278
29279         * manual/lang.texi (size_t): Note types to which size_t may be
29280         equivalent with the GNU C Library, but do not describe when
29281         differences between them are significant.
29282
29283 2012-03-05  Andreas Jaeger  <aj@suse.de>
29284
29285         * sysdeps/i386/fpu/libm-test-ulps: Update.
29286
29287 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29288
29289         [BZ #3976]
29290         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29291         (__ieee754_pow): Save and restore rounding mode and use
29292         round-to-nearest for main computations.
29293         * math/libm-test.inc (pow_test_tonearest): New function.
29294         (pow_test_towardzero): Likewise.
29295         (pow_test_downward): Likewise.
29296         (pow_test_upward): Likewise.
29297         (main): Call the new functions.
29298         * sysdeps/i386/fpu/libm-test-ulps: Update.
29299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29300
29301         [BZ #3976]
29302         * math/libm-test.inc (cosh_test_tonearest): New function.
29303         (cosh_test_towardzero): Likewise.
29304         (cosh_test_downward): Likewise.
29305         (cosh_test_upward): Likewise.
29306         (sinh_test_tonearest): Likewise.
29307         (sinh_test_towardzero): Likewise.
29308         (sinh_test_downward): Likewise.
29309         (sinh_test_upward): Likewise.
29310         (main): Call the new functions.
29311         * sysdeps/i386/fpu/libm-test-ulps: Update.
29312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29313
29314 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29315
29316         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29317         default stack guard is set in last bytes.
29318         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29319
29320 2012-03-05  Kees Cook  <keescook@chromium.org>
29321
29322         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29323
29324         [BZ #13656]
29325         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29326         possibly allocate from heap instead of stack.
29327         * stdio-common/bug-vfprintf-nargs.c: New file.
29328         * stdio-common/Makefile (tests): Add nargs overflow test.
29329
29330 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29331
29332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29333
29334 2012-03-03  Marek Polacek  <polacek@redhat.com>
29335
29336         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29337         * math/math_private.h: Likewise.
29338         * stdlib/tst-strtod.c: Likewise.
29339         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29340         * sysdeps/x86_64/bits/atomic.h: Likewise.
29341
29342 2012-03-02  David S. Miller  <davem@davemloft.net>
29343
29344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29348         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29349         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29350         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29351         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29352
29353 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29354
29355         [BZ #13792]
29356         * manual/examples/README: New file, says the example source files
29357         can be used under GPL>=2.
29358         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29359         line containing just "*/".
29360         * manual/examples/add.c: Add copyright header (GPL>=2).
29361         * manual/examples/argp-ex1.c: Likewise.
29362         * manual/examples/argp-ex2.c: Likewise.
29363         * manual/examples/argp-ex3.c: Likewise.
29364         * manual/examples/argp-ex4.c: Likewise.
29365         * manual/examples/atexit.c: Likewise.
29366         * manual/examples/db.c: Likewise.
29367         * manual/examples/dir.c: Likewise.
29368         * manual/examples/dir2.c: Likewise.
29369         * manual/examples/execinfo.c: Likewise.
29370         * manual/examples/filecli.c: Likewise.
29371         * manual/examples/filesrv.c: Likewise.
29372         * manual/examples/fmtmsgexpl.c: Likewise.
29373         * manual/examples/genpass.c: Likewise.
29374         * manual/examples/inetcli.c: Likewise.
29375         * manual/examples/inetsrv.c: Likewise.
29376         * manual/examples/isockad.c: Likewise.
29377         * manual/examples/longopt.c: Likewise.
29378         * manual/examples/memopen.c: Likewise.
29379         * manual/examples/memstrm.c: Likewise.
29380         * manual/examples/mkfsock.c: Likewise.
29381         * manual/examples/mkisock.c: Likewise.
29382         * manual/examples/mygetpass.c: Likewise.
29383         * manual/examples/pipe.c: Likewise.
29384         * manual/examples/popen.c: Likewise.
29385         * manual/examples/rprintf.c: Likewise.
29386         * manual/examples/search.c: Likewise.
29387         * manual/examples/select.c: Likewise.
29388         * manual/examples/setjmp.c: Likewise.
29389         * manual/examples/sigh1.c: Likewise.
29390         * manual/examples/sigusr.c: Likewise.
29391         * manual/examples/stpcpy.c: Likewise.
29392         * manual/examples/strdupa.c: Likewise.
29393         * manual/examples/strftim.c: Likewise.
29394         * manual/examples/strncat.c: Likewise.
29395         * manual/examples/subopt.c: Likewise.
29396         * manual/examples/swapcontext.c: Likewise.
29397         * manual/examples/termios.c: Likewise.
29398         * manual/examples/testopt.c: Likewise.
29399         * manual/examples/testpass.c: Likewise.
29400         * manual/examples/timeval_subtract.c: Likewise.
29401
29402         [BZ #13792]
29403         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29404         function to ...
29405         * manual/timeval_subtract.c.texi: ... here, new file.
29406
29407 2012-03-02  David S. Miller  <davem@davemloft.net>
29408
29409         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29410
29411 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29412
29413         [BZ #3976]
29414         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29415         (__sin): Save and restore rounding mode and use round-to-nearest
29416         for all computations.
29417         (__cos): Save and restore rounding mode and use round-to-nearest
29418         for all computations.
29419         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29420         <fenv.h>.
29421         (tan): Save and restore rounding mode and use round-to-nearest for
29422         all computations.
29423         * math/libm-test.inc (cos_test_tonearest): New function.
29424         (cos_test_towardzero): Likewise.
29425         (cos_test_downward): Likewise.
29426         (cos_test_upward): Likewise.
29427         (sin_test_tonearest): Likewise.
29428         (sin_test_towardzero): Likewise.
29429         (sin_test_downward): Likewise.
29430         (sin_test_upward): Likewise.
29431         (tan_test_tonearest): Likewise.
29432         (tan_test_towardzero): Likewise.
29433         (tan_test_downward): Likewise.
29434         (tan_test_upward): Likewise.
29435         (main): Call the new functions.
29436         * sysdeps/i386/fpu/libm-test-ulps: Update.
29437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29438
29439         [BZ #10135]
29440         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29441         small n, then large n, before computing and testing k+n.
29442         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29443         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29444         Likewise.
29445         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29446         Likewise.
29447         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29448         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29449         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29450         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29451         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29452         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29453         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29454         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29455         * math/libm-test.inc (scalbn_test): Add more tests.
29456         (scalbln_test): Likewise.
29457
29458         * manual/filesys.texi (mode_t): Describe constraints on size and
29459         signedness, not exact equivalence to a particular type.
29460         (ino_t): Likewise.
29461         (ino64_t): Likewise.
29462         (dev_t): Likewise.
29463         (nlink_t): Likewise.
29464         (blkcnt_t): Likewise.
29465         (blkcnt64_t): Likewise.
29466         * manual/llio.texi (off_t): Likewise.
29467
29468         [BZ #3976]
29469         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29470         (__ieee754_exp): Save and restore rounding mode and use
29471         round-to-nearest for all computations.
29472         * math/libm-test.inc (exp_test_tonearest): New function.
29473         (exp_test_towardzero): Likewise.
29474         (exp_test_downward): Likewise.
29475         (exp_test_upward): Likewise.
29476         (main): Call the new functions.
29477         * sysdeps/i386/fpu/libm-test-ulps: Update.
29478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29479
29480 2012-03-01  Chris Demetriou  <cgd@google.com>
29481
29482         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29483         have predictable order.
29484
29485 2012-03-01  David S. Miller  <davem@davemloft.net>
29486
29487         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29488
29489         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29490         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29491         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29492         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29493
29494         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29495         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29496         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29498         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29499         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29500         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29501         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29502         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29503
29504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29505
29506         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29507         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29508         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29509
29510         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29511         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29512         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29513         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29514         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29515         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29516         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29517         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29518         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29519         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29520         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29521         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29523         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29524         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29526         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29527         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29528         * sysdeps/sparc/elf/configure: Regenerated.
29529
29530 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29531
29532         * configure.in (AS, LD): Require binutils 2.20 or later.
29533         * configure: Regenerated.
29534         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29535         as required minimum version.
29536         * INSTALL: Regenerated.
29537
29538         [BZ #2541]
29539         [BZ #4108]
29540         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29541         before squaring exponent.
29542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29543         bottom long double and 27 bits of top long double before squaring
29544         exponent.
29545         * math/libm-test.inc (erfc_test): Add more tests.
29546         * sysdeps/i386/fpu/libm-test-ulps: Update.
29547         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29549
29550 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29551
29552         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29553         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29554         containing bit-fields.
29555         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29556         * soft-fp/single.h (_FP_UNION_S): Likewise.
29557         * soft-fp/double.h (_FP_UNION_D): Likewise.
29558
29559 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29560
29561         [BZ #13786]
29562         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29563         not include ../strcmp.S.
29564         [USE_AS_STRNCASECMP_L]: Likewise.
29565         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29566         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29567         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29568         (__strncasecmp_l_ia32): Define as alias to
29569         __strncasecmp_l_nonascii.
29570
29571         [BZ #5794]
29572         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29573         * sysdeps/i386/fpu/libm-test-ulps: Update.
29574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29575
29576         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29578
29579 2012-02-29  Jeff Law  <law@redhat.com>
29580
29581         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29582         out of bounds read.
29583
29584 2012-02-29  Marek Polacek  <polacek@redhat.com>
29585
29586         [BZ #13706]
29587         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29588         * elf/Makefile: Add rules to run tst-unused-dep.out.
29589
29590 2012-02-28  David S. Miller  <davem@davemloft.net>
29591
29592         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29593         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29594         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29595         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29596         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29597         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29598
29599 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29600
29601         * math/libm-test.inc (llround_test): Move one test from
29602         lround_test.  Use TEST_f_L in moved test.
29603         (lround_test): Move misplaced test to llround_test.  Add testcase
29604         from bug 2561.
29605
29606 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29607
29608         * sysdeps/x86_64/fpu/e_expf.S: New file.
29609         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29610
29611 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29612
29613         [BZ #13637]
29614         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29615         of remain_len that may cause incomplete multi-byte character and
29616         false match.
29617         * posix/bug-regex33.c: New file.
29618         * posix/Makefile (tests): Add bug-regex33.
29619
29620 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29621
29622         * manual/macros.texi: New file.
29623         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29624         * manual/libc.texinfo: Include macros.texi.
29625         * manual/creatute.texi: Likewise.
29626         * manual/install.texi: Likewise.
29627         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29628         @glibcadj{} in references to the GNU C Library.
29629         * manual/charset.texi: Likewise.
29630         * manual/conf.texi: Likewise.
29631         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29632         when not using those macros.
29633         * manual/creature.texi: Likewise.
29634         * manual/crypt.texi: Likewise.
29635         * manual/errno.texi: Likewise.
29636         * manual/filesys.texi: Likewise.
29637         * manual/header.texi: Likewise.
29638         * manual/install.texi: Likewise.
29639         * manual/intro.texi: Likewise.
29640         * manual/io.texi: Likewise.
29641         * manual/job.texi: Likewise.
29642         * manual/lang.texi: Likewise.
29643         * manual/libc.texiinfo: Likewise.
29644         * manual/llio.texi: Likewise.
29645         * manual/locale.texi: Likewise.
29646         * manual/maint.texi: Likewise.
29647         * manual/math.texi: Likewise.
29648         * manual/memory.texi: Likewise.
29649         * manual/message.texi: Likewise.
29650         * manual/nss.texi: Likewise.
29651         * manual/pattern.texi: Likewise.
29652         * manual/process.texi: Likewise.
29653         * manual/resource.texi: Likewise.
29654         * manual/search.texi: Likewise.
29655         * manual/setjmp.texi: Likewise.
29656         * manual/signal.texi: Likewise.
29657         * manual/socket.texi: Likewise.
29658         * manual/startup.texi: Likewise.
29659         * manual/stdio.texi: Likewise.
29660         * manual/string.texi: Likewise.
29661         * manual/sysinfo.texi: Likewise.
29662         * manual/syslog.texi: Likewise.
29663         * manual/terminal.texi: Likewise.
29664         * manual/time.texi: Likewise.
29665         * manual/users.texi: Likewise.
29666         * INSTALL: Regenerated.
29667         * NOTES: Regenerated.
29668         * sysdeps/gnu/errlist.c: Regenerated.
29669
29670 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29671
29672         * include/dirent.h: Include <dirstream.h> before
29673         <dirent/dirent.h>.
29674
29675 2012-02-28  David S. Miller  <davem@davemloft.net>
29676
29677         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29678         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29679         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29680         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29681
29682 2012-02-27  David S. Miller  <davem@davemloft.net>
29683
29684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29686         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29687         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29688
29689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29690         frame pointer instead of stack pointer relative arg slot.
29691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29692         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29693         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29694
29695 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29696
29697         [BZ #3992]
29698         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29699
29700 2012-02-27  David S. Miller  <davem@davemloft.net>
29701
29702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29706         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29707         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29708         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29709         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29710
29711 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29712
29713         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29714         later.  Allow versions 5-9.
29715         * configure: Regenerated.
29716         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29717         required minimum version and 4.6 as recommended version.  Do not
29718         mention bugs in GCC 2.7 and 2.8.
29719         * INSTALL: Regenerated.
29720
29721 2012-02-27  David S. Miller  <davem@davemloft.net>
29722
29723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29727         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29728         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29729         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29730         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29731
29732         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29733         manipulate bits before adding and subtracting TWO112[sx].
29734         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29735
29736 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29737
29738         [BZ #13775]
29739         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29740         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29741         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29742         being in POSIX, because they are in 1003.1-2008.
29743
29744         * rt/tst-aio.c: Include <fcntl.h>.
29745         * rt/tst-aio7.c: Likewise.
29746         * rt/tst-aio64.c: Likewise.
29747
29748         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29749
29750 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29751
29752         * manual/install.texi (--with-headers): Describe headers as
29753         interface headers, not private headers.
29754         (Specific advice for GNU/Linux systems): Describe use of headers
29755         from "make headers_install", not private headers from older
29756         kernels.
29757         * INSTALL: Regenerated.
29758         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29759         Change to 2.6.19.
29760         * sysdeps/unix/sysv/linux/configure: Regenerated.
29761
29762         * manual/llio.texi (fclean): Remove documentation.
29763
29764         * manual/Makefile (libc-texi-generated): New variable.  Include
29765         version.texi.
29766         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29767         $(libc-texi-generated), not duplicated list of files.
29768         (version.texi, stamp-version): New rules.
29769         (realclean): Remove $(libc-texi-generated), not individual files
29770         from that list.  Do not remove dir-add.texinfo.
29771         * manual/libc.texinfo: Comment out uses of edition numbers and
29772         references to printed manual.  Remove last-updated dates.
29773         (EDITION): Comment out.
29774         (ISBN): Likewise.
29775         (VERSION, UPDATED): Remove.
29776         (version.texi): Include.
29777
29778 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29779
29780         * sysdeps/posix/spawni.c: Include <signal.h>.
29781         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29782         * sysdeps/pthread/aio_fsync.c: Likewise.
29783
29784 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29785
29786         * conform/Makefile (tests): Run only when not cross-compiling and
29787         when fast-check is not defined.
29788
29789         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29790         * conform/data/limits.h-data: Fixes for POSIX2008.
29791         * conform/run-conformtest.sh: Run all tests.
29792         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29793         headers.
29794         * include/bits/dlfcn.h: Likewise.
29795         * include/langinfo.h: Likewise.
29796         * include/monetary.h: Likewise.
29797         * include/sys/poll.h: Likewise.
29798
29799         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29800         for __USE_GNU.
29801         * posix/spawn.h: Define __need_sigset_t.
29802         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29803         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29804         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29805         to get sigevent_t only.
29806         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29807         only for __USE_GNU.
29808         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29809         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29810         process_vm_writev only for __USE_GNU.
29811         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29812
29813         * conform/Makefile: For now ignore errors from run-conformtest.
29814         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29815         POSIX to avoid namespace pollution.  Don't prepend headers.
29816         * conform/data/aio.h-data: Fixes for POSIX testing.
29817         * conform/data/fcntl.h-data: Likewise.
29818         * conform/data/glob.h-data: Likewise.
29819         * conform/data/grp.h-data: Likewise.
29820         * conform/data/pthread.h-data: Likewise.
29821         * conform/data/pwd.h-data: Likewise.
29822         * conform/data/signal.h-data: Likewise.
29823         * conform/data/spawn.h-data: Likewise.
29824         * conform/data/stdio.h-data: Likewise.
29825         * conform/data/stdlib.h-data: Likewise.
29826         * conform/data/stropts.h-data: Likewise.
29827         * conform/data/sys/mman.h-data: Likewise.
29828         * conform/data/sys/stat.h-data: Likewise.
29829         * conform/data/sys/types.h-data: Likewise.
29830         * conform/data/sys/wait.h-data: Likewise.
29831         * conform/data/time.h-data: Likewise.
29832         * conform/data/unistd.h-data: Likewise.
29833         * conform/data/utime.h-data: Likewise.
29834
29835         * io/sys/stat.h: fchmod was always in POSIX.
29836         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29837         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29838         * rt/aio.h: Define __need_timespec before including <time.h>.
29839         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29840         struct.  Add forward declaration of pthread_attr_t and use it in
29841         sigevent.
29842         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29843         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29844         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29845         always remove CLK_TCK definition.
29846
29847 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29848
29849         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29850
29851 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29852
29853         * conform/run-conformtest.sh: New file.
29854         * conform/Makefile: Run run-conformtest for tests.
29855         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29856         support.
29857
29858         * conform/data/uchar.h-data: New file.
29859         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29860         * conform/data/arpa/inet.h-data: Likewise.
29861         * conform/data/assert.h-data: Likewise.
29862         * conform/data/complex.h-data: Likewise.
29863         * conform/data/cpio.h-data: Likewise.
29864         * conform/data/ctype.h-data: Likewise.
29865         * conform/data/dirent.h-data: Likewise.
29866         * conform/data/dlfcn.h-data: Likewise.
29867         * conform/data/errno.h-data: Likewise.
29868         * conform/data/fcntl.h-data: Likewise.
29869         * conform/data/float.h-data: Likewise.
29870         * conform/data/fmtmsg.h-data: Likewise.
29871         * conform/data/fnmatch.h-data: Likewise.
29872         * conform/data/ftw.h-data: Likewise.
29873         * conform/data/glob.h-data: Likewise.
29874         * conform/data/grp.h-data: Likewise.
29875         * conform/data/iconv.h-data: Likewise.
29876         * conform/data/inttypes.h-data: Likewise.
29877         * conform/data/langinfo.h-data: Likewise.
29878         * conform/data/libgen.h-data: Likewise.
29879         * conform/data/limits.h-data: Likewise.
29880         * conform/data/locale.h-data: Likewise.
29881         * conform/data/math.h-data: Likewise.
29882         * conform/data/monetary.h-data: Likewise.
29883         * conform/data/mqueue.h-data: Likewise.
29884         * conform/data/ndbm.h-data: Likewise.
29885         * conform/data/net/if.h-data: Likewise.
29886         * conform/data/netdb.h-data: Likewise.
29887         * conform/data/netinet/in.h-data: Likewise.
29888         * conform/data/nl_types.h-data: Likewise.
29889         * conform/data/poll.h-data: Likewise.
29890         * conform/data/pthread.h-data: Likewise.
29891         * conform/data/pwd.h-data: Likewise.
29892         * conform/data/regex.h-data: Likewise.
29893         * conform/data/sched.h-data: Likewise.
29894         * conform/data/search.h-data: Likewise.
29895         * conform/data/semaphore.h-data: Likewise.
29896         * conform/data/setjmp.h-data: Likewise.
29897         * conform/data/signal.h-data: Likewise.
29898         * conform/data/spawn.h-data: Likewise.
29899         * conform/data/stdarg.h-data: Likewise.
29900         * conform/data/stdio.h-data: Likewise.
29901         * conform/data/stdlib.h-data: Likewise.
29902         * conform/data/string.h-data: Likewise.
29903         * conform/data/strings.h-data: Likewise.
29904         * conform/data/stropts.h-data: Likewise.
29905         * conform/data/sys/ipc.h-data: Likewise.
29906         * conform/data/sys/mman.h-data: Likewise.
29907         * conform/data/sys/msg.h-data: Likewise.
29908         * conform/data/sys/resource.h-data: Likewise.
29909         * conform/data/sys/select.h-data: Likewise.
29910         * conform/data/sys/sem.h-data: Likewise.
29911         * conform/data/sys/shm.h-data: Likewise.
29912         * conform/data/sys/socket.h-data: Likewise.
29913         * conform/data/sys/stat.h-data: Likewise.
29914         * conform/data/sys/statvfs.h-data: Likewise.
29915         * conform/data/sys/time.h-data: Likewise.
29916         * conform/data/sys/timeb.h-data: Likewise.
29917         * conform/data/sys/times.h-data: Likewise.
29918         * conform/data/sys/types.h-data: Likewise.
29919         * conform/data/sys/uio.h-data: Likewise.
29920         * conform/data/sys/un.h-data: Likewise.
29921         * conform/data/sys/utsname.h-data: Likewise.
29922         * conform/data/sys/wait.h-data: Likewise.
29923         * conform/data/syslog.h-data: Likewise.
29924         * conform/data/tar.h-data: Likewise.
29925         * conform/data/termios.h-data: Likewise.
29926         * conform/data/utime.h-data: Likewise.
29927         * conform/data/utmpx.h-data: Likewise.
29928         * conform/data/varargs.h-data: Likewise.
29929         * conform/data/wchar.h-data: Likewise.
29930         * conform/data/wctype.h-data: Likewise.
29931         * conform/data/wordexp.h-data: Likewise.
29932
29933         * include/stropts.h: New file.
29934         * include/uchar.h: New file.
29935         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29936         * include/assert.h: Likewise.
29937         * include/ctype.h: Likewise.
29938         * include/dirent.h: Likewise.
29939         * include/dlfcn.h: Likewise.
29940         * include/fcntl.h: Likewise.
29941         * include/fnmatch.h: Likewise.
29942         * include/glob.h: Likewise.
29943         * include/grp.h: Likewise.
29944         * include/libio.h: Likewise.
29945         * include/locale.h: Likewise.
29946         * include/math.h: Likewise.
29947         * include/net/if.h: Likewise.
29948         * include/netdb.h: Likewise.
29949         * include/netinet/in.h: Likewise.
29950         * include/pthread.h: Likewise.
29951         * include/pwd.h: Likewise.
29952         * include/regex.h: Likewise.
29953         * include/sched.h: Likewise.
29954         * include/search.h: Likewise.
29955         * include/setjmp.h: Likewise.
29956         * include/signal.h: Likewise.
29957         * include/stdio.h: Likewise.
29958         * include/stdlib.h: Likewise.
29959         * include/string.h: Likewise.
29960         * include/sys/cdefs.h: Likewise.
29961         * include/sys/mman.h: Likewise.
29962         * include/sys/msg.h: Likewise.
29963         * include/sys/resource.h: Likewise.
29964         * include/sys/select.h: Likewise.
29965         * include/sys/socket.h: Likewise.
29966         * include/sys/stat.h: Likewise.
29967         * include/sys/statvfs.h: Likewise.
29968         * include/sys/time.h: Likewise.
29969         * include/sys/times.h: Likewise.
29970         * include/sys/uio.h: Likewise.
29971         * include/sys/utsname.h: Likewise.
29972         * include/sys/wait.h: Likewise.
29973         * include/termios.h: Likewise.
29974         * include/time.h: Likewise.
29975         * include/ulimit.h: Likewise.
29976         * include/unistd.h: Likewise.
29977         * include/utime.h: Likewise.
29978         * include/wchar.h: Likewise.
29979         * include/wctype.h: Likewise.
29980         * include/wordexp.h: Likewise.
29981
29982         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29983
29984         * time/time.h: TIME_UTC must be a macro.
29985         Make timespec_get available for ISO C11 only as well.
29986
29987 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29988
29989         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29990         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29991
29992 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29993
29994         * configure.in: Use -o not -a in test for unsupported multi-arch.
29995
29996 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29997
29998         * manual/texinfo.tex: Update to version 2012-01-19.16.
29999
30000 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30001
30002         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30003
30004 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30005
30006         [BZ #13738]
30007         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30008         * manual/fdl-1.3.texi: New file.
30009         * manual/fdl-1.1.texi: File removed.
30010
30011         [BZ #13738]
30012         * manual/libc.texinfo (FDL_VERSION): New @set.
30013         Use it for mention of FDL in cover text.
30014         (Documentation License): Use it in @include file name.
30015
30016 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30017             Roland McGrath  <roland@hack.frob.com>
30018
30019         [BZ #5461]
30020         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30021         not LONG_LONG_MAX and LONG_LONG_MIN.
30022         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30023         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30024         name.
30025         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30026
30027 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30028
30029         [BZ #2547]
30030         [BZ #11365]
30031         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30032         manipulate bits before adding and subtracting TWO23[sx].
30033         * math/libm-test.inc (nearbyint_test): Add more tests.
30034
30035 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30036
30037         [BZ #2548]
30038         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30039         bits before adding and subtracting TWO23[sx].
30040         * math/libm-test.inc (rint_test): Add more tests.
30041         (rint_test_tonearest): Likewise.
30042         (rint_test_towardzero): Likewise.
30043         (rint_test_downward): Likewise.
30044         (rint_test_upward: Likewise.
30045
30046 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30047
30048         [BZ #10110]
30049         * include/stdc-predef.h: New file.  Extracted from features.h.
30050         * include/features.h: Include stdc-predef.h.
30051         * Makefile (headers): Add stdc-predef.h.
30052         * CONFORMANCE (Compiler limitations): Update.
30053
30054 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30055
30056         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30057
30058 2012-02-21  David S. Miller  <davem@davemloft.net>
30059
30060         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30061         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30062
30063 2012-02-20  David S. Miller  <davem@davemloft.net>
30064
30065         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30066         using a normal save/restore sequence, rather than allocating a
30067         dummy stack frame just to store a frame pointer and restore.
30068         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30069
30070 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30071
30072         * manual/install.texi: Fix stray word in line-wrapped comment.
30073
30074 2012-02-20  David S. Miller  <davem@davemloft.net>
30075
30076         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30077         both binutils and gcc support GOTDATA.
30078
30079         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30080         "rd %pc" in the PIC register setup sequences.
30081
30082         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30083         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30084         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30085         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30086         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30088         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30089         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30091         (SYSCALL_ERROR_HANDLER): Likewise.
30092         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30093         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30095         (SYSCALL_ERROR_HANDLER): Likewise.
30096
30097         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30098         (HAVE_GCC_GOTDATA): New.
30099         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30100         relocation support in both binutils and gcc.
30101         * sysdeps/sparc/elf/configure: Regenerate.
30102
30103         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30104         * sysdeps/sparc/sparc32/elf/configure: Delete.
30105         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30106         * sysdeps/sparc/sparc64/elf/configure: Delete.
30107         * sysdeps/sparc/elf/configure.in: New file.
30108         * sysdeps/sparc/elf/configure: Generate.
30109
30110         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30111         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30112         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30113         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30114         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30115
30116 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30117
30118         * manual/install.texi: Do not mention specific glibc version
30119         numbers.
30120         * manual/libc.texinfo (VERSION, UPDATED): Update.
30121         (@copying): Use @copyright{} and range of years.
30122
30123 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30124
30125         [BZ #13695]
30126         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30127         [crti.S not in sysdirs] (generated): Do not append.
30128         [crti.S not in sysdirs] (omit-deps): Likewise.
30129         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30130         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30131         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30132         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30133         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30134         Likewise.
30135         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30136         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30137         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30138         * csu/defs.awk: Remove file.
30139         * sysdeps/generic/initfini.c: Likewise.
30140         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30141         variable.
30142         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30143         Likewise.
30144
30145 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30146
30147         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30148         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30149         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30150         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30151         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30152         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30153         <bits/epoll.h>.
30154         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30155         (__EPOLL_PACKED): Define to empty if not defined by
30156         <bits/epoll.h>.
30157         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30159         bits/epoll.h.
30160
30161 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30162
30163         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30164         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30165         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30166         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30167         <bits/timerfd.h>.
30168         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30170         bits/timerfd.h.
30171
30172 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30173
30174         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30175         in C locale.
30176         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30177         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30178         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30180
30181 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30182
30183         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30184         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30185
30186 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30187
30188         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30189         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30190         defined.
30191         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30192         Likewise.
30193         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30194         entry for 2.16.
30195
30196 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30197
30198         * math/w_acos.c: Use non-signaling floating-point comparisons.
30199         * math/w_acosf.c: Likewise.
30200         * math/w_acosh.c: Likewise.
30201         * math/w_acoshf.c: Likewise.
30202         * math/w_acoshl.c: Likewise.
30203         * math/w_acosl.c: Likewise.
30204         * math/w_asin.c: Likewise.
30205         * math/w_asinf.c: Likewise.
30206         * math/w_asinl.c: Likewise.
30207         * math/w_atanh.c: Likewise.
30208         * math/w_atanhf.c: Likewise.
30209         * math/w_atanhl.c: Likewise.
30210         * math/w_exp2.c: Likewise.
30211         * math/w_exp2f.c: Likewise.
30212         * math/w_exp2l.c: Likewise.
30213         * math/w_j0.c: Likewise.
30214         * math/w_j0f.c: Likewise.
30215         * math/w_j0l.c: Likewise.
30216         * math/w_j1.c: Likewise.
30217         * math/w_j1f.c: Likewise.
30218         * math/w_j1l.c: Likewise.
30219         * math/w_jn.c: Likewise.
30220         * math/w_jnf.c: Likewise.
30221         * math/w_log.c: Likewise.
30222         * math/w_log10.c: Likewise.
30223         * math/w_log10f.c: Likewise.
30224         * math/w_log10l.c: Likewise.
30225         * math/w_log2.c: Likewise.
30226         * math/w_log2f.c: Likewise.
30227         * math/w_log2l.c: Likewise.
30228         * math/w_logf.c: Likewise.
30229         * math/w_logl.c: Likewise.
30230         * math/w_sqrt.c: Likewise.
30231         * math/w_sqrtf.c: Likewise.
30232         * math/w_sqrtl.c: Likewise.
30233         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30234         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30235         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30236         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30237         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30238
30239 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30240
30241         [BZ #9739]
30242         * manual/string.texi (strnlen): Use correct parameter name in
30243         equivalent expression.
30244
30245 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30246
30247         [BZ #11174]
30248         * manual/users.texi (seteuid): Consistently use neweuid for
30249         argument name.
30250
30251 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30252
30253         [BZ #13704]
30254         * manual/nss.texi (Services in the NSS configuration): Correct
30255         list of services in example configuration file.
30256
30257 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30258
30259         [BZ #11322]
30260         * manual/arith.texi: Remove statements about negative zero
30261         behaving identically to zero.
30262
30263 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30264
30265         [BZ #5993]
30266         * manual/install.texi: Do not document upgrading from libc5.
30267
30268 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30269
30270         [BZ #4596]
30271         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30272
30273 2012-02-18  David S. Miller  <davem@davemloft.net>
30274
30275         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30276         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30277         %o7 across the call.
30278         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30279         instead.
30280         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30281         SETUP_PIC_REG_LEAF.
30282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30283         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30284         * sysdeps/sparc/crtn.S: Likewise.
30285
30286 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30287
30288         * aout/Makefile: Remove.
30289
30290 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30291
30292         [BZ #13058]
30293         * manual/examples/argp-ex1.c (main): Format definition in GNU
30294         style.
30295         * manual/examples/argp-ex2.c (main): Likewise.
30296         * manual/examples/argp-ex3.c (main): Likewise.
30297         * manual/examples/argp-ex4.c (main): Likewise.
30298         * manual/examples/longopt.c (main): Use new-style prototype
30299         definition.
30300         * manual/examples/strncat.c (main): Specify return type and use
30301         (void) for arguments.
30302         * manual/examples/subopt.c (main): Use char **argv argument.
30303
30304 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30305
30306         [BZ #5077]
30307         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30308         rounding modes.
30309
30310 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30311
30312         [BZ #6907]
30313         * manual/string.texi (strchr): Change when strchrnul is
30314         recommended.
30315
30316 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30317
30318         [BZ #174]
30319         * manual/locale.texi (setlocale): Document LOCPATH.
30320
30321 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30322
30323         [BZ #10210]
30324         * manual/process.texi (execle): Move @dots{} before last argument.
30325
30326 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30327
30328         [BZ #12047]
30329         * manual/charset.texi (Generic Charset Conversion): Fix typo
30330         (LC_TYPE -> LC_CTYPE).
30331
30332 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30333
30334         [BZ #5805]
30335         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30336         (scalbnf): Likewise.
30337         (scalbnl): Likewise.
30338         (scalbln): Likewise.
30339         (scalblnf): Likewise.
30340         (scalblnl): Likewise.
30341         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30342         (vwarnx): Likewise.
30343         (verr): Likewise.
30344         (verrx): Likewise.
30345         * manual/filesys.texi (telldir): Use braces around return type.
30346         * manual/llio.texi (mmap): Add space after comma.
30347         (mmap64): Likewise.
30348         * manual/math.texi (jn): Use @var{} on parameter names.
30349         (jnf): Likewise.
30350         (jnl): Likewise.
30351         (yn): Likewise.
30352         (ynf): Likewise.
30353         (ynl): Likewise.
30354         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30355         line.
30356         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30357         "...".
30358         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30359         (sched_get_priority_max): Likewise.
30360         * manual/signal.texi (sigvec): Add space after comma.
30361         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30362         names.
30363         (if_indextoname): Likewise.
30364         (if_freenameindex): Likewise.
30365         (sendto): Use ',' instead of '.' in prototype.
30366         * manual/startup.texi (syscall): Use @dots{} instead of literal
30367         "...".
30368         * manual/stdio.texi (__fpending): Separate initial words of
30369         paragraph from @deftypefun line.
30370         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30371         "...".
30372         (vsyslog): Use @var{} on parameter names.
30373         * manual/terminal.texi (stty): Use @var{} on parameter names.
30374         * manual/users.texi (getutmp): Use @var{} on parameter names.
30375         (getutmpx): Likewise.
30376
30377 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30378
30379         [BZ #6884]
30380         * manual/stdio.texi (fopen): Fix typos in description of
30381         ",ccs=STRING".
30382
30383 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30384
30385         [BZ #4026]
30386         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30387         get clock_id definition.
30388
30389 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30390
30391         [BZ #4822]
30392         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30393         (madvise): Cast every argument to void on its own.
30394
30395 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30396
30397         [BZ #9902]
30398         * manual/startup.texi (Exit Status): Fix typo.
30399
30400 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30401
30402         [BZ #10140]
30403         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30404         * manual/examples/argp-ex2.c: Likewise.
30405         * manual/examples/argp-ex3.c: Likewise.
30406
30407 2012-02-16  Richard Henderson  <rth@redhat.com>
30408
30409         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30410         * sysdeps/s390/s390-32/initfini.c: Remove.
30411         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30412         * sysdeps/s390/s390-64/initfini.c: Remove.
30413
30414 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30415
30416         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30417         compiler output for sysdeps/generic/initfini.c.
30418         * sysdeps/sh/elf/initfini.c: Remove file.
30419
30420 2012-02-16  David S. Miller  <davem@davemloft.net>
30421
30422         [BZ #11494]
30423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30424
30425         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30426         * sysdeps/sparc/crti.S: New file.
30427         * sysdeps/sparc/crtn.S: New file.
30428         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30429         * sysdeps/sparc/sparc64/Makefile: Likewise.
30430
30431 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30432
30433         [BZ #3335]
30434         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30435
30436 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30437
30438         [BZ #4822]
30439         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30440
30441         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30442         (write, read, close): Likewise.
30443         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30444
30445 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30446
30447         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30448         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30449         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30450         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30451         <bits/signalfd.h>.
30452         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30454         bits/signalfd.h.
30455
30456 2012-02-14  Marek Polacek  <polacek@redhat.com>
30457
30458         * sysdeps/x86_64/crti.S: New file.
30459         * sysdeps/x86_64/crtn.S: New file.
30460         * sysdeps/x86_64/elf/initfini.c: Remove file.
30461
30462 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30463
30464         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30465         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30466         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30467         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30468         <bits/inotify.h>.
30469         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30471         bits/inotify.h.
30472
30473 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30474
30475         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30476         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30477         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30478         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30479         <bits/eventfd.h>.
30480         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30481         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30482         bits/eventfd.h.
30483
30484 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30485
30486         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30487         __feraiseexcept instead of feraiseexcept.
30488
30489         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30490         nanosleep invocations.
30491         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30492         strings, and add error checking for a nanosleep invocations.
30493
30494 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30495
30496         Replace FSF snail mail address with URLs, as per GNU coding standards.
30497         Most of the snail mail addresses were wrong anyway, and omitting
30498         them makes the source code easier to maintain.  Almost all of the
30499         changes are to license notices and to locale LC_IDENTIFICATION
30500         addresses, except for this one:
30501         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30502         not its snail mail address.
30503
30504 2012-02-09  Richard Henderson  <rth@twiddle.net>
30505
30506         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30507         of kernel-features.h.
30508
30509         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30510
30511 2012-02-08  Marek Polacek  <polacek@redhat.com>
30512
30513         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30514         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30515         * sysdeps/gnu/_G_config.h: Likewise.
30516         * sysdeps/generic/_G_config.h: Likewise.
30517
30518 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30519
30520         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30521         tests.
30522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30523
30524         * sysdeps/powerpc/powerpc32/crti.S: New file.
30525         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30526         * sysdeps/powerpc/powerpc64/crti.S: New file.
30527         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30528
30529         * Makeconfig (have-initfini): Don't set.
30530         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30531         * configure.in (nopic_initfini): Don't substitute.
30532         * config.h.in (HAVE_INITFINI): Don't #undef.
30533         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30534         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30535
30536 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30537
30538         Support crti.S and crtn.S provided directly by architectures.
30539         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30540         [crti.S in sysdirs] (omit-deps): Likewise.
30541         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30542         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30543         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30544         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30545         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30546         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30547         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30548         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30549         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30550         compiler output for sysdeps/generic/initfini.c.
30551         * sysdeps/i386/elf/Makefile: Remove file.
30552         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30553
30554 2012-02-07  Marek Polacek  <polacek@redhat.com>
30555
30556         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30557         * sysdeps/gnu/_G_config.h: Likewise.
30558         * sysdeps/mach/hurd/_G_config.h: Likewise.
30559
30560 2012-02-07  Marek Polacek  <polacek@redhat.com>
30561
30562         * math/Makefile (tests): Add tst-CMPLX2.
30563         * math/tst-CMPLX2.c: New file.
30564
30565 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30566
30567         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30568
30569         * math/libm-test.inc (jn_test): Add missing L suffix.
30570
30571 2012-02-06  Marek Polacek  <polacek@redhat.com>
30572
30573         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30574         * sysdeps/i386/fpu/e_powf.S: Likewise.
30575         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30576         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30577         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30578         * sysdeps/i386/fpu/e_pow.S: Likewise.
30579         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30580         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30581         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30582         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30583         * sysdeps/i386/fpu/e_log2.S: Likewise.
30584         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30585         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30586         * sysdeps/i386/fpu/e_powl.S: Likewise.
30587         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30588         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30589         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30590         * sysdeps/i386/fpu/e_logl.S: Likewise.
30591         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30592         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30593         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30594         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30595         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30596         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30597         * sysdeps/i386/fpu/e_log.S: Likewise.
30598         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30599         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30600         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30601         * sysdeps/i386/fpu/e_logf.S: Likewise.
30602         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30603         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30604         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30605         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30606         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30607         * sysdeps/i386/fpu/e_log10.S: Likewise.
30608         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30609         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30610         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30611         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30612         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30613         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30614         * sysdeps/i386/asm-syntax.h: Likewise.
30615         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30616         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30617         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30618         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30619         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30620         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30621         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30622         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30623         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30624         * sysdeps/powerpc/sysdep.h: Likewise.
30625         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30626         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30627
30628 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30629
30630         [BZ #411]
30631         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30632
30633 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30634
30635         * sysdeps/i386/sysdep.h: Include <features.h>.
30636         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30637         version.
30638
30639 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30640
30641         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30642         Define.
30643         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30644         LOAD_PIC_REG_STR.
30645
30646 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30647
30648         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30649         (SETUP_PIC_REG): Use GET_PC_THUNK.
30650         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30651         macro.
30652
30653 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30654
30655         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30656         for non-PIC compilation.
30657         (SETUP_PIC_REG): Add .p2align directive.
30658         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30659         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30660         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30661         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30662         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30663         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30664         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30665         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30666         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30667         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30668         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30669         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30670         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30671         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30672         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30673         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30674         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30675         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30676         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30677         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30678         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30679         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30680         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30681         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30682         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30683         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30684         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30685         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30686         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30687         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30688         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30689         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30690         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30691         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30692         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30693         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30694         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30695         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30696         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30697         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30698         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30699
30700 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30701
30702         * math/tst-CMPLX.c: Include <stdio.h>.
30703
30704 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30705
30706         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30707         float.
30708         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30709         * sysdeps/sparc/bits/mathdef.h: Likewise.
30710
30711 2012-01-31  Marek Polacek  <polacek@redhat.com>
30712
30713         * libio/libio.h: Don't define _PARAMS.
30714         * locale/programs/config.h: Don't define PARAMS.
30715         * stdlib/strtol_l.c: Likewise.
30716         (__strtol_l): Remove PARAMS from the prototype.
30717
30718 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30719
30720         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30721         names.  Just use the correct names.  Remove unnecessary wrapper
30722         functions.
30723         * malloc/arena.c: Likewise.
30724         * malloc/hooks.c: Likewise.
30725
30726         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30727         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30728         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30729
30730 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30731
30732         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30733         into tail calls.
30734         (update_get_addr): New function.
30735         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30736         GET_ADDR_MODULE parameter.
30737
30738 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30739
30740         * crypt/cert.c: Remove __STDC__ conditionals.
30741         * crypt/crypt-entry.c: Likewise.
30742         * crypt/crypt_util.c: Likewise.
30743         * libio/filedoalloc.c: Likewise.
30744         * libio/fileops.c: Likewise.
30745         * libio/genops.c: Likewise.
30746         * libio/iofclose.c: Likewise.
30747         * libio/iofdopen.c: Likewise.
30748         * libio/iofopen.c: Likewise.
30749         * libio/iofopen64.c: Likewise.
30750         * libio/iogetdelim.c: Likewise.
30751         * libio/iopopen.c: Likewise.
30752         * libio/obprintf.c: Likewise.
30753         * libio/oldfileops.c: Likewise.
30754         * libio/oldiofclose.c: Likewise.
30755         * libio/oldiofdopen.c: Likewise.
30756         * libio/oldiofopen.c: Likewise.
30757         * libio/oldiopopen.c: Likewise.
30758         * libio/wfiledoalloc.c: Likewise.
30759         * libio/wgenops.c: Likewise.
30760         * locale/programs/xmalloc.c: Likewise.
30761         * misc/syslog.c: Likewise.
30762         * stdio-common/xbug.c: Likewise.
30763         * string/memchr.c: Likewise.
30764         * string/memcmp.c: Likewise.
30765         * string/memrchr.c: Likewise.
30766         * string/rawmemchr.c: Likewise.
30767         * sysdeps/posix/getcwd.c: Likewise.
30768         * time/strftime_l.c: Likewise.
30769
30770 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30771
30772         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30773         * config.make.in (config-cflags-sse2avx): Define.
30774         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30775         Fix typo.
30776
30777 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30778
30779         * scripts/config.guess: Update from upstream config git repository.
30780         * scripts/config.sub: Likewise.
30781
30782 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30783
30784         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30785         (EM_NUM): Update.
30786         (R_TILEPRO_*, R_TILEGX_*): New macros.
30787
30788         * scripts/firstversions.awk: Fix bug in version range handling.
30789
30790         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30791
30792         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30793
30794         * include/sys/epoll.h: New file.
30795         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30796         libc_hidden_def.
30797
30798 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30799
30800         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30801         Avoid unnecessary __WORDSIZE == 64 test.
30802         (fmaxf): Use VEX format if possible.
30803         (fmax): Likewise.
30804         (fminf): Likewise.
30805         (fmin): Likewise.
30806
30807         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30808         * math/math_private.h: Remove libc_fegetround* and
30809         libc_fesetround*.
30810         * sysdeps/i386/configure.in: Check for -msse2avx.
30811         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30812         also if SSE2AVX is defined.
30813         Remove libc_fegetround* and libc_fesetround*.
30814         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30815         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30816         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30817         of HAS_YMM_USABLE.
30818         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30819         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30820         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30821         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30822         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30823
30824         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30825
30826 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30827
30828         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30829         size is not set.
30830         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30831
30832 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30833
30834         [BZ #13618]
30835         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30836         relocation.
30837         * Makeconfig (libm): Define.
30838         * elf/Makefile: Add rules to build and run tst-relsort1.
30839         * elf/tst-relsort1.c: New file.
30840         * elf/tst-relsort1mod1.c: New file.
30841         * elf/tst-relsort1mod2.c: New file.
30842
30843 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30844
30845         * math/s_ldexp.c: Remove __STDC__ conditionals.
30846         * math/s_ldexpf.c: Likewise.
30847         * math/s_ldexpl.c: Likewise.
30848         * math/s_nextafter.c: Likewise.
30849         * math/s_nexttowardf.c: Likewise.
30850         * math/s_significand.c: Likewise.
30851         * math/s_significandf.c: Likewise.
30852         * math/s_significandl.c: Likewise.
30853         * math/w_jnl.c: Likewise.
30854         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30855         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30856         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30857         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30858         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30860         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30861         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30862         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30863         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30864         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30865         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30866         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30867         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30868         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30869         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30870         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30871         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30872         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30873         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30874         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30875         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30876         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30877         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30878         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30879         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30880         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30881         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30882         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30883         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30884         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30885         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30886         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30887         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30888         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30889         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30890         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30891         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30892         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30893         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30894         * sysdeps/ieee754/k_standard.c: Likewise.
30895         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30896         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30897         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30898         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30899         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30900         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30901         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30902         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30903         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30904         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30905         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30906         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30907         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30908         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30909         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30910         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30911         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30912         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30913         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30914         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30915         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30916         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30917         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30918         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30919         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30920         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30921         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30922         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30923         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30924         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30925         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30926         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30927         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30928         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30929         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30930         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30931         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30932         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30933         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30934         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30935         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30937         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30938         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30939         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30940         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30941         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30942         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30943         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30944         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30945         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30946         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30947         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30948         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30950         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30952         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30953         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30954         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30955         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30956         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30957         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30958         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30959         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30960         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30961         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30962         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30963         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30967         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30968         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30969         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30970         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30971         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30972         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30973         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30974         * sysdeps/ieee754/s_matherr.c: Likewise.
30975         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30976         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30977         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30978         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30979
30980 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30981
30982         * crypt/md5.h: Remove __STDC__ conditionals.
30983         * libio/libioP.h: Likewise.
30984         * locale/programs/config.h: Likewise.
30985         * sysdeps/generic/sysdep.h: Likewise.
30986         * sysdeps/i386/asm-syntax.h: Likewise.
30987         * sysdeps/s390/asm-syntax.h: Likewise.
30988         * sysdeps/unix/sysdep.h: Likewise.
30989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30991
30992 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30993
30994         * libio/libio.h: Remove __STDC__ conditionals.
30995         * malloc/obstack.h: Likewise.
30996         * math/complex.h: Likewise.
30997         * math/math.h: Likewise.
30998         * sysdeps/generic/_G_config.h: Likewise.
30999         * sysdeps/gnu/_G_config.h: Likewise.
31000         * sysdeps/mach/hurd/_G_config.h: Likewise.
31001         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31002         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31003         * sysdeps/sparc/bits/mathdef.h: Likewise.
31004
31005 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31006
31007         [BZ #13583]
31008         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31009         Clean up HAS_* macros.
31010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31011         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31012         possible.
31013         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31014         HAS_AVX.
31015         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31016         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31017         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31018         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31019         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31020
31021 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31022
31023         * elf/tst-unique3.cc (gets): Remove declaration.
31024         * elf/tst-unique3lib.cc (gets): Likewise.
31025         * elf/tst-unique3lib2.cc (gets): Likewise.
31026         * elf/tst-unique4.cc (gets): Likewise.
31027
31028 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31029
31030         * include/stdio.h: Add C++ protection.  Add gets declarations and
31031         definitions.
31032         * debug/tst-chk1.c: Don't declare gets here.
31033         * stdio-common/tst-gets.c: Likewise.
31034
31035 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31036
31037         * posix/glob: Remove directory.
31038
31039 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31040
31041         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31042
31043 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31044
31045         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31046         of the non-standard EPFNOSUPPORT.
31047
31048 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31049
31050         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31051         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31052         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31053
31054 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31055
31056         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31057
31058 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31059
31060         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31061         transient errors.
31062         * nscd/grpcache.c (cache_addgr): Likewise.
31063         * nscd/hstcache.c (cache_addhst): Likewise.
31064         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31065         * nscd/pwdcache.c (cache_addpw): Likewise.
31066         * nscd/servicescache.c (cache_addserv): Likewise.
31067
31068 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31069
31070         * malloc/malloc.c: Various cleanups.
31071         * malloc/hooks.c: Likewise.
31072
31073         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31074         * stdlib/bug-fmtmsg1.c: New file.
31075
31076         * stdlib/fmtmsg.c (init): Add missing unlock.
31077         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31078
31079 2012-01-12  Marek Polacek  <polacek@redhat.com>
31080
31081         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31082         and _GNU_SOURCE.
31083
31084 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31085
31086         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31087         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31088         macro to ensure uniqueness of label name.
31089         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31090         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31091
31092 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31093
31094         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31095
31096         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31097         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31098         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31099         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31100
31101 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31102
31103         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31104
31105         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31106         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31107         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31108
31109         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31110
31111         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31112         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31113         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31115
31116         * math/bits/math-finite.h: Add ldexp support.
31117
31118 2012-01-10  Marek Polacek  <polacek@redhat.com>
31119
31120         * locale/programs/localedef.h (show_archive_content): Add noreturn
31121         attribute.
31122
31123 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31124
31125         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31126
31127 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31128
31129         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31130
31131         * io/Makefile (headers): Add bits/poll2.h.
31132
31133 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31134
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31136         typo #include statement.
31137
31138 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31139
31140         * include/sys/cdefs.h: Define __attribute_alloc_size.
31141         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31142         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31143         * elf/pldd.c: Likewise.
31144         * iconv/iconv_charmap.c: Likewise.
31145         * iconv/iconvconfig.c: Likewise.
31146         * iconv/strtab.c: Likewise.
31147         * locale/programs/locale.c: Likewise.
31148         * locale/programs/localedef.h: Likewise.
31149         * locale/programs/simple-hash.c: Likewise.
31150         * nscd/nscd.h: Likewise.
31151         * nss/makedb.c: Likewise.
31152         * sysdeps/generic/ldconfig.h: Likewise.
31153         * locale/programs/localedef.c: Remove xmalloc prototype.
31154         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31155
31156 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31157
31158         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31159         appropriate.
31160
31161 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31162
31163         * math/Makefile (tests): Add tst-CMPLX.
31164         * math/tst-CMPLX.c: New file.
31165
31166         * math/complex.h (CMPLXL): Fix typo.
31167
31168         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31169         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31170         GLIBC_2.16.
31171         * debug/tst-chk1.c: Add poll and ppoll tests.
31172         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31173         * include/sys/poll.h: Add hidden proto for ppoll.
31174         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31175         * sysdeps/mach/hurd/ppoll.c: Likewise.
31176         * io/ppoll.c: Likewise.
31177         * debug/poll_chk.c: New file.
31178         * debug/ppoll_chk.c: New file.
31179         * include/bits/poll2.h: New file.
31180         * io/bits/poll2.h: New file.
31181
31182         [BZ #1350]
31183         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31184
31185         * configure.in: static is always set to yes.  Remove.
31186         * config.make.in: Don't set build-static.
31187         * Makeconfig: Remove use of build-static.
31188         * dlfcn/Makefile: Likewise.
31189         * elf/Makefile: Likewise.
31190         * math/Makefile: Likewise.
31191         * misc/Makefile: Likewise.
31192         * nptl/Makefile: Likewise.
31193         * sysdeps/mach/hurd/Makefile: Likewise.
31194
31195         * configure.in: PWD_P is not used anymore.
31196         * config.make.in: Remove PWD_P entry.
31197
31198         * configure.in: Remove last remnants of RANLIB.
31199         No need to check for signed size_t anymore.
31200         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31201         and IA-64.
31202         Remove __builtin_expect test because we require at least gcc 3.4.
31203         * aclocal.m4: Likewise.
31204
31205         * wcsmbs/mbrtoc16.c: Implement using towc function.
31206         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31207         * wcsmbs/wcsmbsload.c: Likewise.
31208         * iconv/gconv_simple.c: Likewise.
31209         * iconv/gconv_int.h: Likewise.
31210         * iconv/gconv_builtin.h: Likewise.
31211         * iconv/iconv_prog.c: Remove CHAR16 handling.
31212
31213         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31214
31215         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31216
31217         * configure.in: Remove --with-elf and --enable-bounded options.
31218         Dont set base_machine for ia64.  More non-ELF conditions removed.
31219         Remove testing and setting of leading underscore information.
31220         * config.make.in (build-bounded): Set to no.
31221         * config.h.in: Remove NO_UNDERSCORES entry.
31222         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31223         them.
31224         * csu/start.c: Remove !NO_UNDERSCORE code.
31225         * locale/localeinfo.h: Likewise.
31226         * sysdeps/generic/machine-gmon.h: Likewise.
31227         * sysdeps/generic/sysdep.h: Likewise.
31228         * sysdeps/i386/sysdep.h: Likewise.
31229         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31230         * sysdeps/mach/sysdep.h: Likewise.
31231         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31232         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31233         * sysdeps/sh/sysdep.h: Likewise.
31234         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31235         * sysdeps/unix/i386/sysdep.S: Likewise.
31236         * sysdeps/unix/sparc/start.c: Likewise.
31237         * sysdeps/unix/sparc/sysdep.S: Likewise.
31238         * sysdeps/unix/sparc/sysdep.h: Likewise.
31239         * sysdeps/unix/start.c: Likewise.
31240         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31241         * sysdeps/x86_64/sysdep.h: Likewise.
31242
31243 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31244
31245         [BZ #13553]
31246         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31247         for non-gcc.
31248         * argp/argp-fmtstream.h: Use const instead __const.
31249         * argp/argp.h: Likewise.
31250         * assert/assert.h: Likewise.
31251         * bits/fenv.h: Likewise.
31252         * bits/sched.h: Likewise.
31253         * bits/sigset.h: Likewise.
31254         * bits/sigthread.h: Likewise.
31255         * catgets/nl_types.h: Likewise.
31256         * conform/data/pthread.h-data: Likewise.
31257         * crypt/crypt-private.h: Likewise.
31258         * crypt/crypt.h: Likewise.
31259         * crypt/crypt_util.c: Likewise.
31260         * ctype/ctype.h: Likewise.
31261         * debug/execinfo.h: Likewise.
31262         * debug/mbsnrtowcs_chk.c: Likewise.
31263         * debug/mbsrtowcs_chk.c: Likewise.
31264         * debug/wcsnrtombs_chk.c: Likewise.
31265         * debug/wcsrtombs_chk.c: Likewise.
31266         * debug/wcstombs_chk.c: Likewise.
31267         * dirent/dirent.h: Likewise.
31268         * dlfcn/dlfcn.h: Likewise.
31269         * elf/neededtest4.c: Likewise.
31270         * grp/grp.h: Likewise.
31271         * gshadow/gshadow.h: Likewise.
31272         * iconv/gconv.h: Likewise.
31273         * iconv/gconv_int.h: Likewise.
31274         * iconv/gconv_simple.c: Likewise.
31275         * iconv/iconv.h: Likewise.
31276         * iconv/loop.c: Likewise.
31277         * iconv/skeleton.c: Likewise.
31278         * include/aio.h: Likewise.
31279         * include/aliases.h: Likewise.
31280         * include/argz.h: Likewise.
31281         * include/arpa/inet.h: Likewise.
31282         * include/assert.h: Likewise.
31283         * include/dirent.h: Likewise.
31284         * include/dlfcn.h: Likewise.
31285         * include/execinfo.h: Likewise.
31286         * include/fcntl.h: Likewise.
31287         * include/fenv.h: Likewise.
31288         * include/glob.h: Likewise.
31289         * include/grp.h: Likewise.
31290         * include/libintl.h: Likewise.
31291         * include/mntent.h: Likewise.
31292         * include/netdb.h: Likewise.
31293         * include/pwd.h: Likewise.
31294         * include/rpc/netdb.h: Likewise.
31295         * include/sched.h: Likewise.
31296         * include/search.h: Likewise.
31297         * include/shadow.h: Likewise.
31298         * include/signal.h: Likewise.
31299         * include/stdio.h: Likewise.
31300         * include/stdlib.h: Likewise.
31301         * include/string.h: Likewise.
31302         * include/sys/socket.h: Likewise.
31303         * include/sys/stat.h: Likewise.
31304         * include/sys/statfs.h: Likewise.
31305         * include/sys/statvfs.h: Likewise.
31306         * include/sys/syslog.h: Likewise.
31307         * include/sys/time.h: Likewise.
31308         * include/sys/uio.h: Likewise.
31309         * include/time.h: Likewise.
31310         * include/unistd.h: Likewise.
31311         * include/utmp.h: Likewise.
31312         * include/wchar.h: Likewise.
31313         * include/wctype.h: Likewise.
31314         * inet/aliases.h: Likewise.
31315         * inet/arpa/inet.h: Likewise.
31316         * inet/netinet/ether.h: Likewise.
31317         * inet/netinet/in.h: Likewise.
31318         * intl/libintl.h: Likewise.
31319         * io/bits/fcntl2.h: Likewise.
31320         * io/fcntl.h: Likewise.
31321         * io/ftw.h: Likewise.
31322         * io/sys/poll.h: Likewise.
31323         * io/sys/stat.h: Likewise.
31324         * io/sys/statfs.h: Likewise.
31325         * io/sys/statvfs.h: Likewise.
31326         * io/utime.h: Likewise.
31327         * libio/bits/stdio.h: Likewise.
31328         * libio/bits/stdio2.h: Likewise.
31329         * libio/libio.h: Likewise.
31330         * libio/libioP.h: Likewise.
31331         * libio/stdio.h: Likewise.
31332         * locale/lc-ctype.c: Likewise.
31333         * locale/locale.h: Likewise.
31334         * login/utmp.h: Likewise.
31335         * malloc/arena.c: Likewise.
31336         * malloc/malloc.c: Likewise.
31337         * malloc/malloc.h: Likewise.
31338         * malloc/mcheck.c: Likewise.
31339         * malloc/mtrace.c: Likewise.
31340         * math/bits/mathcalls.h: Likewise.
31341         * math/fenv.h: Likewise.
31342         * math/math_private.h: Likewise.
31343         * misc/bits/error.h: Likewise.
31344         * misc/bits/syslog.h: Likewise.
31345         * misc/err.h: Likewise.
31346         * misc/error.h: Likewise.
31347         * misc/fstab.h: Likewise.
31348         * misc/mntent.h: Likewise.
31349         * misc/regexp.h: Likewise.
31350         * misc/search.h: Likewise.
31351         * misc/sgtty.h: Likewise.
31352         * misc/sys/mman.h: Likewise.
31353         * misc/sys/syslog.h: Likewise.
31354         * misc/sys/uio.h: Likewise.
31355         * misc/sys/xattr.h: Likewise.
31356         * misc/ttyent.h: Likewise.
31357         * nis/rpcsvc/ypclnt.h: Likewise.
31358         * nss/nss.h: Likewise.
31359         * posix/bits/unistd.h: Likewise.
31360         * posix/fnmatch.h: Likewise.
31361         * posix/glob.h: Likewise.
31362         * posix/sched.h: Likewise.
31363         * posix/spawn.h: Likewise.
31364         * posix/sys/wait.h: Likewise.
31365         * posix/unistd.h: Likewise.
31366         * posix/wordexp.h: Likewise.
31367         * pwd/pwd.h: Likewise.
31368         * resolv/netdb.h: Likewise.
31369         * resource/sys/resource.h: Likewise.
31370         * rt/aio.h: Likewise.
31371         * rt/bits/mqueue2.h: Likewise.
31372         * rt/mqueue.h: Likewise.
31373         * shadow/shadow.h: Likewise.
31374         * signal/signal.h: Likewise.
31375         * socket/send.c: Likewise.
31376         * socket/sendto.c: Likewise.
31377         * socket/sys/socket.h: Likewise.
31378         * stdio-common/printf.h: Likewise.
31379         * stdlib/bits/stdlib.h: Likewise.
31380         * stdlib/fmtmsg.h: Likewise.
31381         * stdlib/monetary.h: Likewise.
31382         * stdlib/stdlib.h: Likewise.
31383         * stdlib/ucontext.h: Likewise.
31384         * streams/stropts.h: Likewise.
31385         * string/argz.h: Likewise.
31386         * string/bits/string2.h: Likewise.
31387         * string/string.h: Likewise.
31388         * string/strings.h: Likewise.
31389         * sunrpc/rpc/auth.h: Likewise.
31390         * sunrpc/rpc/auth_des.h: Likewise.
31391         * sunrpc/rpc/clnt.h: Likewise.
31392         * sunrpc/rpc/netdb.h: Likewise.
31393         * sunrpc/rpc/pmap_clnt.h: Likewise.
31394         * sunrpc/rpc/xdr.h: Likewise.
31395         * sysdeps/generic/inttypes.h: Likewise.
31396         * sysdeps/generic/net/if.h: Likewise.
31397         * sysdeps/generic/sys/swap.h: Likewise.
31398         * sysdeps/gnu/net/if.h: Likewise.
31399         * sysdeps/gnu/utmpx.h: Likewise.
31400         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31401         * sysdeps/i386/i486/bits/string.h: Likewise.
31402         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31403         * sysdeps/s390/bits/string.h: Likewise.
31404         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31405         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31406         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31407         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31408         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31409         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31410         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31411         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31412         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31413         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31414         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31415         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31416         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31417         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31418         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31419         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31420         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31421         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31422         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31423         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31424         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31425         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31426         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31427         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31428         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31429         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31430         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31431         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31432         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31433         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31434         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31435         * sysvipc/sys/ipc.h: Likewise.
31436         * sysvipc/sys/msg.h: Likewise.
31437         * sysvipc/sys/sem.h: Likewise.
31438         * sysvipc/sys/shm.h: Likewise.
31439         * termios/termios.h: Likewise.
31440         * time/sys/time.h: Likewise.
31441         * time/time.h: Likewise.
31442         * wcsmbs/bits/wchar2.h: Likewise.
31443         * wcsmbs/uchar.h: Likewise.
31444         * wcsmbs/wchar.h: Likewise.
31445         * wctype/wctype.h: Likewise.
31446
31447         [BZ #13551]
31448         * Makeconfig: Remove all but ELF support including AIX support.
31449         * Makerules: Likewise.
31450         * config.h.in: Likewise.
31451         * config.make.in: Likewise.
31452         * configure: Likewise.
31453         * configure.in: Likewise.
31454         * csu/Makefile: Likewise.
31455         * csu/version.c: Likewise.
31456         * debug/Makefile: Likewise.
31457         * dlfcn/Makefile: Likewise.
31458         * elf/Makefile: Likewise.
31459         * extra-lib.mk: Likewise.
31460         * iconv/Makefile: Likewise.
31461         * include/libc-symbols.h: Likewise.
31462         * include/shlib-compat.h: Likewise.
31463         * resolv/Makefile: Likewise.
31464         * resolv/res_libc.c: Likewise.
31465         * rt/Makefile: Likewise.
31466         * sysdeps/i386/asm-syntax.h: Likewise.
31467         * sysdeps/i386/sysdep.h: Likewise.
31468         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31469         * sysdeps/mach/sysdep.h: Likewise.
31470         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31471         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31472         * sysdeps/s390/asm-syntax.h: Likewise.
31473         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31475         * sysdeps/sh/sysdep.h: Likewise.
31476         * sysdeps/unix/sparc/sysdep.h: Likewise.
31477         * sysdeps/wordsize-32/divdi3.c: Likewise.
31478         * sysdeps/x86_64/sysdep.h: Likewise.
31479
31480         * argp/Versions: Remove _argp_unlock_xxx.
31481
31482         [BZ #13559]
31483         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31484         * abilist/libBrokenLocale.abilist: Likewise.
31485         * abilist/libanl.abilist: Likewise.
31486         * abilist/libc.abilist: Likewise.
31487         * abilist/libcrypt.abilist: Likewise.
31488         * abilist/libdl.abilist: Likewise.
31489         * abilist/libm.abilist: Likewise.
31490         * abilist/libnsl.abilist: Likewise.
31491         * abilist/libpthread.abilist: Likewise.
31492         * abilist/libresolv.abilist: Likewise.
31493         * abilist/librt.abilist: Likewise.
31494         * abilist/libthread_db.abilist: Likewise.
31495         * abilist/libutil.abilist: Likewise.
31496         * abilist/libnss_db.abilist: New file.
31497
31498         * scripts/abilist.awk: Add support for indirect functions.
31499
31500         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31501
31502         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31503
31504         * shlib-versions: Remove entries for ports architectures.
31505
31506         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31507         files in ports.
31508         * elf/stackguard-macros.h: Remove support for IA-64.
31509         * elf/tst-auditmod1.c: Likewise.
31510         * sysdeps/generic/ldsodefs.h: Likewise.
31511
31512         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31513         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31514         configure files.
31515
31516         [BZ #13552]
31517         * configure.in: Remove --enable-omitfp support.
31518         * FAQ.in: Adjust.
31519         * config.make.in: Likewise.
31520         * Makeconfig: Likewise.
31521         * manual/install.texi: Likewise.
31522
31523         In case anyone cares, the IA-64 architecture could move to ports.
31524         * sysdeps/ia64/*: Removed.
31525         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31526         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31527
31528         [BZ #13555]
31529         * configure.in: Remove entries for unsupported architectures.
31530
31531         [BZ #13533]
31532         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31533         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31534         routines.
31535         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31536         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31537         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31538         fall back to using wcrtomb.
31539         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31540         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31541         renaming.
31542         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31543         * wcsmbs/tst-c16c32-1.c: New file.
31544
31545         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31546         local variable.
31547
31548         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31549
31550         * elf/tst-unique3.cc: Add explicit declaration of gets.
31551         * elf/tst-unique3lib.cc: Likewise.
31552         * elf/tst-unique3lib2.cc: Likewise.
31553         * elf/tst-unique4.cc: Likewise.
31554
31555         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31556
31557 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31558
31559         [BZ #13566]
31560         * assert/assert.h (static_assert): Don't define for C++.
31561         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31562         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31563
31564 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31565
31566         * iconv/loop.c (single loop): Fix assertion in storing of
31567         remaining bytes.
31568
31569         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31570
31571 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31572
31573         * posix/getconf.c: Update copyright year.
31574         * nss/getent.c: Likewise.
31575         * nss/makedb.c: Likewise.
31576         * iconv/iconvconfig.c: Likewise.
31577         * iconv/iconv_prog.c: Likewise.
31578         * elf/ldconfig.c: Likewise.
31579         * elf/pldd.c: Likewise.
31580         * elf/sotruss.ksh: Likewise.
31581         * catgets/gencat.c: Likewise.
31582         * csu/version.c: Likewise.
31583         * elf/ldd.bash.in: Likewise.
31584         * elf/sprof.c (print_version): Likewise.
31585         * locale/programs/locale.c: Likewise.
31586         * locale/programs/localedef.c: Likewise.
31587         * login/programs/pt_chown.c: Likewise.
31588         * nscd/nscd.c (print_version): Likewise.
31589         * debug/xtrace.sh: Likewise.
31590         * malloc/memusage.sh: Likewise.
31591         * malloc/mtrace.pl: Likewise.
31592         * debug/catchsegv.sh: Likewise.
31593
31594 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31595
31596         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31597         pure attribute.
31598
31599 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31600
31601         [BZ #13533]
31602         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31603         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31604         transformations.
31605         * iconv/gconv_int.h: Likewise.
31606         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31607         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31608         from libc for GLIBC_2.16.
31609         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31610         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31611         * wcsmbs/uchar.h: Really define mbstate_t.
31612         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31613         * wcsmbs/c16rtomb.c: New file.
31614         * wcsmbs/mbrtoc16.c: New file.
31615         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31616         for C/POSIX locale.
31617         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31618         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31619
31620         * wcsmbs/wchar.h: Add missing __restrict.
31621
31622 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31623
31624         [BZ #13532]
31625         * time/Makefile (routines): Add timespec_get.
31626         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31627         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31628         timespec for ISO C11.
31629         * time/timespec_get.c: New file.
31630         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31631         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31632
31633         [BZ #13531]
31634         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31635         * stdlib/stdlib.h: Declare aligned_alloc.
31636         * Versions.def: Add GLIBC_2.16 for libc.
31637         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31638
31639         [BZ 13527]
31640         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31641         ISO C11.
31642
31643         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31644         code.
31645
31646         [BZ #13528]
31647         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31648
31649         [BZ #13529]
31650         * assert/assert.h (static_assert): Define.
31651
31652         * version.h: Update for 2.16 development version.
31653
31654         [BZ #13526]
31655         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31656         _ISOC11_SOURCE.
31657
31658         * version.h (RELEASE): Bump for 2.15 release.
31659         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31660
31661         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31662         Patch by Marek Polacek <mpolacek@redhat.com>.
31663
31664         * bits/byteswap.h: Protect long long constants with __extension__.
31665         * sysdeps/i386/bits/byteswap.h: Likewise.
31666         * sysdeps/ia64/bits/byteswap.h: Likewise.
31667         * sysdeps/s390/bits/byteswap.h: Likewise.
31668         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31669
31670 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31671
31672         [BZ #13540]
31673         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31674         destination buffer.
31675         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31676
31677 2011-12-23  Marek Polacek  <polacek@redhat.com>
31678
31679         * elf/dl-addr.c (determine_info): Add inline keyword.
31680         * elf/tst-auditmod4b.c (check_avx): Likewise.
31681         * elf/tst-auditmod6b.c (check_avx): Likewise.
31682         * elf/tst-auditmod6c.c (check_avx): Likewise.
31683         * elf/tst-auditmod7b.c (check_avx): Likewise.
31684
31685 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31686
31687         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31688         !__SSE_MATH__.
31689
31690 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31691
31692         [BZ #13540]
31693         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31694         processing for last bytes.
31695
31696 2011-08-06  Bruno Haible  <bruno@clisp.org>
31697
31698         [BZ #13061]
31699         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31700         U+0385, not to U+1FEE.
31701
31702         [BZ #13062]
31703         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31704         entry for U+00A5 U+0301.
31705
31706 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31707
31708         [BZ #13166]
31709         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31710         buffer for the output is too small.
31711
31712         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31713         optimization.
31714
31715         [BZ #13185]
31716         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31717         SSE flags if possible.
31718
31719 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31720
31721         [BZ #13540]
31722         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31723         processing for last bytes.
31724
31725 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31726
31727         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31728         (syscall-list-default-options, syscall-list-default-condition)
31729         (syscall-list-includes): Define.
31730         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31731         list of ABIs and options and #if conditions for each ABI.  Do not
31732         handle common syscalls between ABIs specially.
31733         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31734         Remove.
31735         (syscall-list-variants, syscall-list-32bit-options)
31736         (syscall-list-32bit-condition, syscall-list-64bit-options)
31737         (syscall-list-64bit-condition): Define.
31738         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31739         (syscall-list-variants, syscall-list-32bit-options)
31740         (syscall-list-32bit-condition, syscall-list-64bit-options)
31741         (syscall-list-64bit-condition): Define.
31742         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31743         Remove.
31744         (syscall-list-variants, syscall-list-32bit-options)
31745         (syscall-list-32bit-condition, syscall-list-64bit-options)
31746         (syscall-list-64bit-condition): Define.
31747         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31748         Remove.
31749         (syscall-list-variants, syscall-list-32bit-options)
31750         (syscall-list-32bit-condition, syscall-list-64bit-options)
31751         (syscall-list-64bit-condition): Define.
31752
31753 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31754
31755         * locale/iso-639.def: Add brx entry.
31756
31757         [BZ #13328]
31758         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31759         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31760
31761         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31762         __feraiseexcept_renamed.
31763
31764 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31765
31766         [BZ #13538]
31767         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31768         EPOLLET with unsigned values.
31769         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31770         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31771
31772         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31773         to large cancellation.
31774         * math/s_cacoshf.c: Likewise.
31775         * math/s_cacoshl.c: Likewise.
31776
31777 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31778
31779         [BZ #13305]
31780         [BZ #12786]
31781         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31782         * math/s_cacoshf.c: Likewise.
31783         * math/s_cacoshl.c: Likewise.
31784
31785 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31786
31787         [BZ #13439]
31788         * iconv/gconv.h: Define __GCONV_SWAP.
31789         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31790         * iconvdata/utf-16.c: Likewise.
31791         * iconvdata/utf-32.c: Likewise.
31792
31793 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31794
31795         [BZ #13524]
31796         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31797         numerator after shifting it by one limb.
31798
31799 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31800
31801         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31802         under [__USE_EXTERN_INLINES].
31803
31804 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31805
31806         [BZ #13446]
31807         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31808
31809 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31810
31811         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31812         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31813         optimized code.
31814         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31815         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31816         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31817         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31818         for strncasecmp/strncasecmp_l compilation.
31819         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31820         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31821
31822 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31823
31824         [BZ #13484]
31825         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31826         of __asm__.
31827
31828 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31829
31830         [BZ #13506]
31831         * time/tzfile.c (__tzfile_read): Check values from file header.
31832
31833 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31834
31835         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31836         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31837         * powerpc/powerpc32/dl-start.S: Likewise.
31838         * powerpc/powerpc32/elf/start.S: Likewise.
31839         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31840         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31841         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31842         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31843         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31844         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31845         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31846         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31847         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31848         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31849         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31850         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31851         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31852         * powerpc/powerpc32/memset.S: Likewise.
31853         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31854         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31855         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31856         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31857         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31858         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31859         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31860         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31861         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31862         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31863         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31864         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31865         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31866
31867 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31868
31869         * math/libm-test.inc: Added more nearbyint tests.
31870         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31871         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31872         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31873         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31874
31875 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31876
31877         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31878         FD_CLOEXEC.
31879
31880 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31881
31882         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31883         Add wcscpy-ssse3 wcscpy-c.
31884         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31885         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31886         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31887         * sysdeps/x86_64/wcschr.S: New file.
31888         * sysdeps/x86_64/wcsrchr.S: New file.
31889         * string/test-strcmp.c: Remove checking of wcscmp function for
31890         wrong alignments.
31891         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31892         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31893         wcsrchr-sse2 wcsrchr-c.
31894         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31895         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31896         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31897         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31898         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31899         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31900         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31901         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31902         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31903         * wcsmbc/wcschr.c (WCSCHR): New macro.
31904
31905 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31906
31907         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31908         * wcsmbs/test-wcsrchr.c: New file.
31909         * string/test-strrchr.c: Add wcsrchr support.
31910         (WIDE): New macro.
31911         * wcsmbs/test-wcscpy.c: New file.
31912         * string/test-strcpy.c: Add wcscpy support.
31913         (WIDE): New macro.
31914
31915 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31916
31917         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31918         the inner loop.
31919
31920 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31921
31922         [BZ #13472]
31923         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31924
31925 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31926
31927         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31928         Minor optimizations.
31929
31930         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31931         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31932         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31933
31934 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31935
31936         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31937         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31938         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31939         for gcc to avoid warnings.
31940         * inet/Makefile (tests): Add tst-checks.
31941         * inet/tst-checks.c: New file.
31942
31943         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31944         warning.
31945
31946         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31947         __wmemcmp_sse2.
31948
31949         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31950         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31951
31952         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31953
31954 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31955
31956         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31957         problem.
31958
31959         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31960
31961 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31962
31963         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31964         conditional on GCC version.
31965         (__arch_compare_and_exchange_val_8_acq)
31966         (__arch_compare_and_exchange_val_16_acq)
31967         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31968         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31969         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31970
31971 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31972
31973         * sysdeps/sh/backtrace.c: New file.
31974
31975 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31976
31977         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31978         parenthesis.
31979
31980 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31981
31982         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31983         falling back to utime.
31984
31985 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31986
31987         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31988         expectations for float.
31989
31990 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31991
31992         * locale/weight.h (findidx): Add parameter len.
31993         * locale/weightwc.h (findidx): Likewise.
31994         * posix/fnmatch_loop.c (FCT): Adjust caller.
31995         * posix/regcomp.c (build_equiv_class): Likewise.
31996         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31997         * posix/regexec.c (check_node_accept_bytes): Likewise.
31998         * string/strcoll_l.c (STRCOLL): Likewise.
31999         * string/strxfrm_l.c (STRXFRM): Likewise.
32000
32001 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32002
32003         * Makefile.in: Remove CVSOPT handling.
32004         * configure.in: Remove use of AC_REVISION.
32005         * iconvdata/Makefile (distribute): No need to filter out CVS.
32006         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32007         handling.
32008
32009 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32010
32011         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32012         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32013         [USE_AS_STRNCASECMP_L]: Likewise.
32014         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32015         NO_TLS_DIRECT_SEG_REFS.
32016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32017         Fix argument offsets for non-PIC.
32018         [USE_AS_STRNCASECMP_L]: Likewise.
32019         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32020         NO_TLS_DIRECT_SEG_REFS.
32021
32022 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32023
32024         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32025         O_CLOEXEC.
32026         * locale/loadlocale.c (_nl_load_locale): Likewise.
32027
32028 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32029
32030         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32031         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32032         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32033         (SYSCALL_GETTIME): Set errno on error.
32034
32035         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32036         count references to noai6ai_cached.
32037
32038 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32039
32040         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32041
32042         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32043         FD_CLOEXEC for /proc/self/maps.
32044
32045         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32046         FD_CLOEXEC for /proc/meminfo.
32047
32048         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32049         gai.conf.
32050
32051         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32052         FD_CLOEXEC for given file.
32053
32054         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32055
32056         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32057         FD_CLOEXEC for /etc/hosts.
32058         (_gethtent): Likewise.
32059
32060         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32061
32062         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32063         cancellation and set FD_CLOEXEC for /etc/netgroup.
32064
32065         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32066         reading /etc/publickey.
32067
32068         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32069         allow cancellation when reading /etc/group.
32070
32071         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32072         cancellation.
32073         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32074
32075         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32076         when using data file.
32077
32078         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32079
32080         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32081         (write_nis_obj): Use "c" and "e" in fopen.
32082
32083         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32084
32085         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32086
32087         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32088
32089         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32090
32091         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32092         locale.alias.
32093
32094         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32095
32096         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32097
32098         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32099
32100         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32101         file parsing and set FD_CLOEXEC.
32102
32103 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32104
32105         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32106
32107 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32108
32109         * malloc/arena.c (arena_get2): Don't call reused_arena when
32110         _int_new_arena failed.
32111
32112 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32113
32114         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32115         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32116         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32117         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32118         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32119         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32120         to compile strcasecmp and strncasecmp.
32121         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32122         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32123
32124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32125
32126 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32127
32128         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32129         locale-defines.sym to gen-as-const-headers.
32130         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32131         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32132         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32133         to compile strcasecmp and strncasecmp.
32134         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32135         strcasecmp_l and strncasecmp_l.
32136         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32137         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32138         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32139         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32140         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32141         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32142         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32143         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32144         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32145         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32146         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32147
32148 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32149
32150         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32151         result of SYSDEP_GETTIME_CPU to retval.
32152         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32153         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32154
32155         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32156         variable.
32157
32158         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32159         mantissa words.
32160         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32161
32162         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32163         from unused variable.
32164
32165         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32166         DWARF definitions.
32167         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32168         for assembling.
32169
32170         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32171         over namespaces.
32172
32173         * sunrpc/rpc_prot.c (rejected): Fix case value.
32174
32175         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32176         unsigned long long int to avoid warnings in shift.
32177
32178         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32179         of use of trans.
32180         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32181         variable tmp.
32182
32183         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32184         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32185         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32186
32187         * nis/nis_table.c (nis_list): Use variable of correct type for
32188         result of __follow_path call.
32189
32190 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32191
32192         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32193         of math functions ceil, trunc, floor, round, and sqrt, when
32194         avaliable on the platform.
32195         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32196         name clash.
32197         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32198         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32199         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32200
32201 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32202
32203         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32204         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32205
32206 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32207
32208         * include/unistd.h: Fix __readlink return type.
32209         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32210
32211 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32212
32213         * stdlib/ucontext.h: Undo last change for makecontext.
32214
32215 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32216
32217         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32218
32219         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32220         * setjmp/setjmp.h: Mark functions as non-leaf.
32221         * setjmp/bits/setjmp2.h: Likewise.
32222         * stdlib/ucontext.h: Likewise.
32223
32224 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32225
32226         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32227         (reused_arena): Don't check arena limit.
32228         (arena_get2): Atomically check arena limit.
32229
32230 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32231
32232         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32233         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32234
32235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32236         instructions.
32237
32238 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32239
32240         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32241         handler when locking.
32242
32243         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32244         Fix size of allocated buffer.
32245
32246 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32247
32248         [BZ #10103]
32249         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32250         declarations for long double functions.
32251         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32252
32253         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32254
32255 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32256
32257         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32258         installed.
32259
32260         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32261         is disabled.
32262
32263 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32264
32265         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32266
32267 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32268
32269         * include/alloca.h (stackinfo_alloca_round): Define.
32270         (extend_alloca): Use it.
32271         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32272         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32273         here.
32274
32275         * scripts/check-local-headers.sh: Ignore libaudit.h.
32276
32277         * nscd/Makefile (extra-objs): Make recursively expanded.
32278
32279 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32280
32281         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32282         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32283
32284         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32285         * posix/tst-rfc3484-2.c: Likewise.
32286         * posix/tst-rfc3484-3.c: Likewise.
32287
32288         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32289         process_vm_writev.
32290         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32291         process_vm_writev.
32292         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32293         process_vm_writev from libc using GLIBC_2.15 version.
32294
32295         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32296
32297 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32298
32299         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32300         stack usage.
32301
32302 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32303
32304         [BZ #13367]
32305         * nss/getent.c (initgroups_keys): Show error message in case no group
32306         names are given.
32307
32308         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32309         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32310         __bump_nl_timestamp.
32311         * nscd/connections (nscd_init): When host database is served open
32312         netlink socket and request notification about configuration changes.
32313         (main_loop_poll): Track netlink file descriptor and bump timestamp
32314         in case data becomes available.
32315         (main_loop_epoll): Likewise.
32316         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32317         (database_pers_head): Add extra_data fileds.
32318         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32319         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32320         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32321         Adjust caller.
32322         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32323         in6ai data, call __free_in6ai.
32324         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32325         Add -DHAVE_NETLINK.
32326         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32327         interface information.  Reuse previous data if netlink timestamp
32328         is not changed.
32329         (__bump_nl_timestamp): New function.
32330         (__free_in6ai): New function.
32331
32332 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32333
32334         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32335         close_not_cancel_no_status here.
32336         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32337
32338 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32339
32340         [BZ #13276]
32341         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32342         return value.
32343
32344         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32345         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32346         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32347
32348 2011-07-03  Andreas Jaeger  <aj@suse.de>
32349
32350         [BZ #10709]
32351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32352         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32353         * math/libm-test.inc (sin_test): Add test case.
32354
32355 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32356
32357         [BZ #13337]
32358         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32359         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32360
32361         * elf/chroot_canon.c (chroot_canon): Cleanups.
32362
32363         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32364
32365         [BZ #13335]
32366         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32367         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32368
32369         * string/test-strchr.c: Make usable for strchrnul testing.
32370         * string/test-strchrnul.c: New file.
32371         * string/Makefile (strop-tests): Add strchrnul.
32372
32373         * po/it.po: Update from translation team.
32374         * po/es.po: Likewise.
32375
32376 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32377
32378         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32379         the three constants needed as parameters.  Drop the others.
32380         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32381         __m128i_strloadu_tolower.
32382         Create and initialize variable zero and use it in all the places
32383         where _mm_setzero_si128 was used.
32384
32385         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32386         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32387         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32388         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32389         anymore.
32390         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32391         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32392         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32393         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32394         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32395         __mpranred, __mptan.
32396         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32397         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32398         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32399         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32400         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32401         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32402         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32403         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32404         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32405
32406 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32407
32408         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32409         redefine if SHARED.
32410         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32411
32412         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32413         wide char related routines to wcsmbs subdir.
32414
32415 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32416
32417         [BZ #13344]
32418         * misc/sys/cdefs.h (__THROWNL): Define.
32419         * posix/unistd.h: Use __THREADNL instead of __THREAD
32420         for memory synchronization functions.
32421
32422 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32423
32424         [BZ #13349]
32425         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32426         doesn't exist.
32427         * manual/stdio.texi (Obstack Streams): Node removed.
32428
32429 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32430
32431         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32432         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32433         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32434
32435         * math/math_private.h (math_force_eval): Allow non-addressable
32436         arguments.
32437         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32438
32439 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32440
32441         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32442         file is not needed.
32443
32444         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32445         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32446         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32447         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32448         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32449         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32450         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32451         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32452         Add AVX variants.
32453         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32454         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32455         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32456         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32457         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32458         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32459         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32460         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32461         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32462         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32463         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32464         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32465         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32466         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32467         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32468         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32469         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32470         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32471         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32472
32473         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32474         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32475
32476         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32477         place.  Use VEX encoding when compiling for AVX.
32478
32479 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32480
32481         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32482         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32483
32484         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32485
32486 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32487
32488         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32489         useless if() expression.
32490         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32491         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32492         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32493         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32494         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32495         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32496         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32497         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32498         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32499         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32500         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32501         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32502         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32503         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32504         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32505         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32506         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32507         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32508         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32509
32510         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32511
32512 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32513
32514         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32515         condition.
32516         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32517
32518 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32519
32520         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32521         .text section.  Avoid duplicate constants.
32522         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32524         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32526         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32528         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32530         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32531         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32532         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32533         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32534         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32535         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32536         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32537         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32538         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32539         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32540         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32541         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32542         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32543         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32544         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32545         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32546         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32547         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32548         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32549         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32550         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32551         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32552         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32553         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32554         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32555         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32556         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32557         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32558         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32559         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32560         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32561         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32562         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32563         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32564         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32565         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32566         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32567
32568 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32569
32570         * sysdeps/x86_64/dla.h: Move to ...
32571         * sysdeps/x86_64/fpu/dla.h: ...here.
32572         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32573         situations.  Use __builtin_fma only for gcc 4.6 and up.
32574
32575         * config.make.in: Add have-mfma4 entry.
32576         * configure.in: Substitute libc_cv_cc_fma4.
32577         * math/Makefile (dbl-only-routines): Add sincostab.
32578         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32579         Use __sincostab not sincos.
32580         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32581         name is a macro.
32582         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32586         using __copysign.
32587         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32588         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32589         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32590         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32591         and __inv.
32592         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32593         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32594         __copysign.
32595         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32596         define aliases when function name is a macro.
32597         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32598         sysdeps/ieee754/dbl-64/sincos.tbl.
32599         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32600         fma4-enabled routines.
32601         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32602         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32603         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32604         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32605         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32606         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32607         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32608         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32609         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32610         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32611         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32612         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32613         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32614         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32615         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32616         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32617         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32618         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32619         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32620         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32621         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32622         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32623         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32624         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32625         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32626         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32627         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32628         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32629         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32630         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32631
32632         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32633         rename.
32634         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32635         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32636         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32637         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32639         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32640         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32641         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32642
32643 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32644
32645         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32646
32647 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32648
32649         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32650
32651         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32652         prediction.
32653         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32654
32655         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32656         Remove unused variable magic_bits.
32657         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32658
32659         * string/strnlen.c: Define and use STRNLEN macro.
32660         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32661         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32662         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32663         * wcsmbs/wcslen.c: Define and use WCSLEN.
32664         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32665         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32666         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32667         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32668         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32669         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32670         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32671
32672 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32673
32674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32675         strnlen-sse2-no-bsf.
32676         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32677         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32678         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32679         Add strnlen support.
32680         (USE_AS_STRNLEN): New macro.
32681         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32682         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32683         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32684         * sysdeps/x86_64/wcslen.S: New file.
32685
32686 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32687
32688         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32689         XMM-moves are used for copying on small sizes.
32690
32691 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32692
32693         * wcsmbs/Makefile (strop-tests): Add wcschr.
32694         * wcsmbs/test-wcschr.c: New file.
32695         * string/test-strchr.c: Update.
32696         Add wcschr support.
32697         (WIDE): New macro.
32698
32699 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32700
32701         * wcsmbs/Makefile (strop-tests): Add wcslen.
32702         * wcsmbs/test-wcslen.c: New file.
32703         * string/test-strlen.c: Update.
32704         Add wcslen support.
32705         (WIDE): New macro.
32706
32707 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32708
32709         * po/it.po: Update from translation team.
32710
32711 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32712
32713         * sysdeps/x86_64/wcscmp.S: Update.
32714         Fix wrong comparison semantics.
32715         wcscmp shall use signed comparison not unsigned.
32716         Don't use substraction to avoid overflow bug.
32717         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32718         * wcsmbc/wcscmp.c: Likewise.
32719         * string/test-strcmp.c: Likewise.
32720         Add new tests to check cases with negative values.
32721
32722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32723
32724         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32725         * sysdeps/x86_64/dla.h: ...here.  New file.
32726         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32727         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32728         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32729         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32730         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32731         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32732         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32733         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32734         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32735
32736 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32737
32738         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32739         __ynl_finite aliases.
32740
32741 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32742
32743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32744
32745         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32746         define DLA_FMA.
32747         [DLA_FMA] (EMULV): Use DLA_FMA.
32748         [DLA_FMA] (MUL12): Use EMULV.
32749         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32750         that are not needed.
32751         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32753         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32755         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32756         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32757         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32758
32759 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32760
32761         * math/s_nan.c: Undef __nan.
32762         * math/s_nanf.c: Undef __nanf.
32763         * math/s_nanl.c: Undef __nanl.
32764         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32765         "math_private.h".
32766
32767 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32768
32769         * math/s_catan.c: Add branch predictions.
32770         * math/s_catanf.c: Likewise.
32771         * math/s_catanh.c: Likewise.
32772         * math/s_catanhf.c: Likewise.
32773         * math/s_catanhl.c: Likewise.
32774         * math/s_catanl.c: Likewise.
32775         * math/s_cexp.c: Likewise.
32776         * math/s_cexpf.c: Likewise.
32777         * math/s_cexpl.c: Likewise.
32778         * math/s_clog.c: Likewise.
32779         * math/s_clog10.c: Likewise.
32780         * math/s_clog10f.c: Likewise.
32781         * math/s_clog10l.c: Likewise.
32782         * math/s_clogf.c: Likewise.
32783         * math/s_clogl.c: Likewise.
32784         * math/s_csqrt.c: Likewise.
32785         * math/s_csqrtf.c: Likewise.
32786         * math/s_csqrtl.c: Likewise.
32787         * math/s_ctanf.c: Likewise.
32788         * math/s_ctanh.c: Likewise.
32789         * math/s_ctanhf.c: Likewise.
32790         * math/s_ctanhl.c: Likewise.
32791         * math/s_ctanl.c: Likewise.
32792
32793         * math/math_private.h: Define __nan, __nanf, __nanl.
32794         * math/s_cacosh.c: Include <math_private.h>.
32795         * math/s_cacoshl.c: Likewise.
32796         * math/s_casinh.c: Likewise.
32797         * math/s_casinhf.c: Likewise.
32798         * math/s_casinhl.c: Likewise.
32799         * math/s_ccos.c: Rely entire on ccosh.
32800         * math/s_ccosf.c: Rely entire on ccoshf.
32801         * math/s_ccosl.c: Rely entirely on ccoshl.
32802         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32803         Remove tests for FE_INVALID.
32804         * math/s_ccoshf.c: Likewise.
32805         * math/s_ccoshl.c: Likewise.
32806         * math/s_csin.c: Likewise.
32807         * math/s_csinf.c: Likewise.
32808         * math/s_csinh.c Likewise.
32809         * math/s_csinhf.c: Likewise.
32810         * math/s_csinhl.c: Likewise.
32811         * math/s_csinl.c: Likewise.
32812         * math/s_ctan.c: Likewise.
32813         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32814         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32815         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32816
32817 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32818
32819         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32820         compilation problems.
32821
32822         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32823         __builtin_expect.
32824
32825 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32826
32827         * sysdeps/i386/configure.in: Test for -mfma4 option.
32828         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32829         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32830         COMMON_CPUID_INDEX_80000001.
32831         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32832         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32833         use it if FMA3 is not supported.
32834         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32835
32836         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32837         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32838
32839 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32840
32841         [BZ #12892]
32842         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32843         it would create a cycle with a link time dependency.
32844
32845 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32846
32847         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32848         instruction.
32849         * string/Makefile (strop-tests): Add rawmemchr.
32850         * string/test-rawmemchr.c: New file.
32851
32852         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32853         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32854         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32855         when compiling str{,n}casecmp and when AVX is available.  Hook up
32856         new optimized code in initializers.
32857
32858 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32859
32860         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32861         __feraiseexcept instead of feraiseexcept.
32862
32863 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32864
32865         * math/math_private.h: Define defaults for libc_fetestexcept and
32866         libc_feupdateenv.
32867         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32868         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32869         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32870         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32871         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32872         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32873         libc_fetestexcept and libc_feupdateenv.
32874
32875         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32876         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32877         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32878         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32879         libc_feholdexcept_setround.
32880
32881         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32882         Add s_nearbyint-c and s_nearbyintf-c.
32883         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32884         nearbyintf inlines.
32885         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32886         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32887         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32888         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32889
32890         * math/math_private.h: Define defaults for libc_fegetround,
32891         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32892         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32893         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32894         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32895         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32896         standard functions.
32897         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32898         Remove comments and hacks for old compiler versions.
32899         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32900         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32901         libc_feholdexceptl.
32902
32903 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32904
32905         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32906         (__feraiseexcept_renamed): Add __NTH.
32907         (feraiseexcept): Add __NTH.  Rename local variables to fix
32908         namespace violations.
32909
32910 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32911
32912         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32913
32914         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32915
32916         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32917         recently added interfaces.
32918         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32919
32920         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32921         about macro parameter expansion.
32922
32923         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32924         __NO_MATH_INLINES is defined.  Cleanups.
32925
32926         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32927         and __floorf is target has SSE4.1.
32928         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32929         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32930         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32931         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32932
32933         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32934         name.
32935         (floorf): Likewise.
32936
32937         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32938
32939 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32940
32941         * misc/sys/cdefs.h: Fix last change.
32942
32943         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32944         database lookup.
32945
32946 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32947
32948         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32949
32950         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32951         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32952         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32953         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32954         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32955         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32956         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32957         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32958         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32959         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32960         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32961         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32962         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32963         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32964         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32965         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32966         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32967         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32968         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32969         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32970         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32971         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32972
32973         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32974         ceil, ceilf, floor, floorf.
32975
32976         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32977         Perform IRELATIVE relocations last.
32978
32979         * elf/do-rel.h: Add another parameter nrelative, replacing the
32980         local variable with the same name.  Change name of the function
32981         to end in Rel or Rela (uppercase).
32982         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32983         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32984         elf_dynamic_do_##reloc function.
32985
32986 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32987
32988         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32989         is sufficient, at least on modern CPUs.
32990
32991         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32992
32993         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32994         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32995
32996         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32997         __expl_finite.
32998         * math/bits/math-finite.h: Add entries for exp.
32999         * math/e_expl.c: Add __*_finite alias.
33000         * sysdeps/i386/fpu/e_exp.S: Likewise.
33001         * sysdeps/i386/fpu/e_expf.S: Likewise.
33002         * sysdeps/i386/fpu/e_expl.c: Likewise.
33003         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33004         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33005         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33006         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33008         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33009         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33010
33011         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33012         is sufficient, at least on modern CPUs.
33013
33014         * ctype/ctype-info.c (__ctype_init): Define.
33015         * include/ctype.h (__ctype_init): Declare.
33016         (__ctype_b_loc): The variable is always initialized.
33017         (__ctype_toupper_loc): Likewise.
33018         (__ctype_tolower_loc): Likewise.
33019         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33020         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33021
33022 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33023
33024         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33025
33026         * configure.in: Also look in $cxxmachine/include for C++ system
33027         headers.
33028
33029 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33030
33031         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33032         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33033         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33034         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33035         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33036         (USE_AS_WMEMCMP): New macro.
33037         Fixing indents.
33038         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33039         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33040         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33041         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33042         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33043         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33044         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33045         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33046         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33047         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33048         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33049         (USE_AS_WMEMCMP): New macro.
33050         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33051         * sysdeps/string/test-memcmp.c: Update.
33052         Fix simple_wmemcmp.
33053         Add new tests.
33054         * wcsmbs/wmemcmp.c: Update.
33055         (WMEMCMP): New macro.
33056         Fix overflow bug.
33057
33058 2011-10-12  Andreas Jaeger  <aj@suse.de>
33059
33060         [BZ #13268]
33061         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33062
33063 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33064
33065         * libio/iofwide.c (do_length): Avoid warning.
33066
33067         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33068
33069 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33070
33071         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33072
33073         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33074         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33075         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33076         * sysdeps/i386/i686/fpu/e_log.S: New file.
33077         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33078         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33079
33080         * ctype/ctype.h: Add support for inlined isXXX functions when
33081         compiling C++ code.
33082
33083 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33084
33085         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33086
33087         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33088
33089 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33090
33091         [BZ #13291]
33092         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33093
33094 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33095
33096         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33097         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33098         feraiseexcept.
33099
33100         * sysdeps/x86_64/memrchr.S: Check for zero size.
33101
33102         * string/stratcliff.c: Add memrchr tests.
33103
33104 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33105
33106         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33107         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33108         rawmemchr-sse2 rawmemchr-sse2-bsf.
33109         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33110         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33111         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33112         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33113         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33114         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33115         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33116         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33117         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33118         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33119         * string/memrchr.c (MEMRCHR): New macro.
33120
33121 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33122
33123         Add integration with gcc's -ffinite-math-only and optimize wrapper
33124         functions in libm.
33125         * Versions.def: Define GLIBC_2.15 version for libm.
33126         * math/Makefile (headers): Add bits/math-finite.h.
33127         * math/bits/math-finite.h: New file.
33128         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33129         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33130         * math/e_acoshl.c: Add __*_finite alias.
33131         * math/e_acosl.c: Likewise.
33132         * math/e_asinl.c: Likewise.
33133         * math/e_atan2l.c: Likewise.
33134         * math/e_atanhl.c: Likewise.
33135         * math/e_coshl.c: Likewise.
33136         * math/e_exp10.c: Likewise.
33137         * math/e_exp10f.c: Likewise.
33138         * math/e_exp10l.c: Likewise.
33139         * math/e_exp2l.c: Likewise.
33140         * math/e_fmodl.c: Likewise.
33141         * math/e_gammal_r.c: Likewise.
33142         * math/e_hypotl.c: Likewise.
33143         * math/e_j0l.c: Likewise.
33144         * math/e_j1l.c: Likewise.
33145         * math/e_jnl.c: Likewise.
33146         * math/e_lgammal_r.c: Likewise.
33147         * math/e_log10l.c: Likewise.
33148         * math/e_log2l.c: Likewise.
33149         * math/e_logl.c: Likewise.
33150         * math/e_powl.c: Likewise.
33151         * math/e_sinhl.c: Likewise.
33152         * math/e_sqrtl.c: Likewise.
33153         * math/e_scalb.c: Completely rewritten and optimized.
33154         * math/e_scalbf.c: Likewise.
33155         * math/e_scalbl.c: Likewise.
33156         * math/w_acos.c: Likewise.
33157         * math/w_acosf.c: Likewise.
33158         * math/w_acosl.c: Likewise.
33159         * math/w_acosh.c: Likewise.
33160         * math/w_acoshf.c: Likewise.
33161         * math/w_acoshl.c: Likewise.
33162         * math/w_asin.c: Likewise.
33163         * math/w_asinf.c: Likewise.
33164         * math/w_asinl.c: Likewise.
33165         * math/w_atan2.c: Likewise.
33166         * math/w_atan2f.c: Likewise.
33167         * math/w_atan2l.c: Likewise.
33168         * math/w_atanh.c: Likewise.
33169         * math/w_atanhf.c: Likewise.
33170         * math/w_atanhl.c: Likewise.
33171         * math/w_exp10.c: Likewise.
33172         * math/w_exp10f.c: Likewise.
33173         * math/w_exp10l.c: Likewise.
33174         * math/w_fmod.c: Likewise.
33175         * math/w_fmodf.c: Likewise.
33176         * math/w_fmodl.c: Likewise.
33177         * math/w_j0.c: Likewise.
33178         * math/w_j0f.c: Likewise.
33179         * math/w_j0l.c: Likewise.
33180         * math/w_j1.c: Likewise.
33181         * math/w_j1f.c: Likewise.
33182         * math/w_j1l.c: Likewise.
33183         * math/w_jn.c: Likewise.
33184         * math/w_jnf.c: Likewise.
33185         * math/w_log.c: Likewise.
33186         * math/w_logf.c: Likewise.
33187         * math/w_logl.c: Likewise.
33188         * math/w_log10.c: Likewise.
33189         * math/w_log10f.c: Likewise.
33190         * math/w_log10l.c: Likewise.
33191         * math/w_log2.c: Likewise.
33192         * math/w_log2f.c: Likewise.
33193         * math/w_log2l.c: Likewise.
33194         * math/w_pow.c: Likewise.
33195         * math/w_powf.c: Likewise.
33196         * math/w_powl.c: Likewise.
33197         * math/w_remainder.c: Likewise.
33198         * math/w_remainderf.c: Likewise.
33199         * math/w_remainderl.c: Likewise.
33200         * math/w_scalb.c: Likewise.
33201         * math/w_scalbf.c: Likewise.
33202         * math/w_scalbl.c: Likewise.
33203         * math/w_sqrt.c: Likewise.
33204         * math/w_sqrtf.c: Likewise.
33205         * math/w_sqrtl.c: Likewise.
33206         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33207         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33208         used.
33209         * math/math_private.h: Declare __kernel_standard_f.
33210         * math/w_cosh.c: Remove cruft and optimize a bit.
33211         * math/w_coshf.c: Likewise.
33212         * math/w_coshl.c: Likewise.
33213         * math/w_exp2.c: Likewise.
33214         * math/w_exp2f.c: Likewise.
33215         * math/w_exp2l.c: Likewise.
33216         * math/w_hypot.c: Likewise.
33217         * math/w_hypotf.c: Likewise.
33218         * math/w_hypotl.c: Likewise.
33219         * math/w_lgamma.c: Likewise.
33220         * math/w_lgamma_r.c: Likewise.
33221         * math/w_lgammaf.c: Likewise.
33222         * math/w_lgammaf_r.c: Likewise.
33223         * math/w_lgammal.c: Likewise.
33224         * math/w_lgammal_r.c: Likewise.
33225         * math/w_sinh.c: Likewise.
33226         * math/w_sinhf.c: Likewise.
33227         * math/w_sinhl.c: Likewise.
33228         * math/w_tgamma.c: Likewise.
33229         * math/w_tgammaf.c: Likewise.
33230         * math/w_tgammal.c: Likewise.
33231         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33232         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33233         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33234         Minor optimizations.  Pretty printing.  Remove cruft.
33235         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33236         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33237         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33238         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33239         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33240         * sysdeps/i386/fpu/e_asin.S: Likewise.
33241         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33242         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33243         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33244         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33245         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33246         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33247         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33248         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33249         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33250         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33251         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33252         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33253         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33254         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33255         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33256         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33257         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33258         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33259         * sysdeps/i386/fpu/e_log.S: Likewise.
33260         * sysdeps/i386/fpu/e_log10.S: Likewise.
33261         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33262         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33263         * sysdeps/i386/fpu/e_log2.S: Likewise.
33264         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33265         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33266         * sysdeps/i386/fpu/e_logf.S: Likewise.
33267         * sysdeps/i386/fpu/e_logl.S: Likewise.
33268         * sysdeps/i386/fpu/e_pow.S: Likewise.
33269         * sysdeps/i386/fpu/e_powf.S: Likewise.
33270         * sysdeps/i386/fpu/e_powl.S: Likewise.
33271         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33272         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33273         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33274         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33275         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33276         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33277         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33278         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33279         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33280         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33281         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33283         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33284         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33285         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33286         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33287         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33288         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33289         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33290         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33291         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33293         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33294         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33296         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33297         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33298         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33299         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33300         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33301         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33302         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33303         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33304         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33305         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33306         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33307         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33308         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33309         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33310         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33311         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33312         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33313         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33314         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33315         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33316         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33317         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33318         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33319         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33320         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33321         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33322         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33323         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33324         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33325         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33326         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33327         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33328         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33329         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33330         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33331         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33332         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33333         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33334         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33335         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33336         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33337         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33338         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33339         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33340         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33341         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33342         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33343         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33344         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33345         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33346         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33347         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33348         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33349         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33350         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33351         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33352         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33353         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33354         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33355         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33356         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33357         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33358         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33359         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33360         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33361         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33362         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33363         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33364         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33365         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33366         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33367         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33368         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33369         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33370         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33371         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33372         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33373         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33374         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33375         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33376         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33377         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33378         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33379         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33380         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33381         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33382         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33383         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33384         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33385         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33386         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33387         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33388         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33389         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33390         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33391         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33392         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33393         (__isnanf): Likewise.
33394         (__isinf_ns): Likewise.
33395         (__isinf_nsf): Likewise.
33396         (__finite): Likewise.
33397         (__finitef): Likewise.
33398         (__ieee754_sqrt): Define as macro.
33399         (__ieee754_sqrtf): Define as macro.
33400         (__ieee754_sqrtl): Define as macro.
33401         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33402         inlined copy.
33403         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33404         __FINITE_MATH_ONLY__ consistent.
33405         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33406
33407 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33408
33409         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33410         of rawmemchr.
33411
33412         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33413
33414 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33415
33416         * po/ja.po: Update from translation team.
33417
33418 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33419
33420         * locale/programs/locarchive.c (prepare_address_space): New function.
33421         (create_archive, enlarge_archive, open_archive): Use it.
33422
33423         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33424         inside [SHARED], where it is used.
33425
33426         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33427
33428         * nss/getent.c (netgroup_keys): Remove unused variable.
33429         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33430
33431 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33432
33433         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33434         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33435         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33436         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33437         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33438         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33439         * math/Makefile (libm-calls): Add s_isinf_ns.
33440         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33441         * math/multc3.c: Likewise.
33442         * math/s_casin.c: Likewise.
33443         * math/s_casinf.c: Likewise.
33444         * math/s_casinl.c: Likewise.
33445         * math/s_ccos.c: Likewise.
33446         * math/s_ccosf.c: Likewise.
33447         * math/s_ccosl.c: Likewise.
33448         * math/s_ctan.c: Likewise.
33449         * math/s_ctanf.c: Likewise.
33450         * math/s_ctanh.c: Likewise.
33451         * math/s_ctanhf.c: Likewise.
33452         * math/s_ctanhl.c: Likewise.
33453         * math/s_ctanl.c: Likewise.
33454         * math/w_fmod.c: Likewise.
33455         * math/w_fmodf.c: Likewise.
33456         * math/w_fmodl.c: Likewise.
33457         * math/w_remainder.c: Likewise.
33458         * math/w_remainderf.c: Likewise.
33459         * math/w_remainderl.c: Likewise.
33460         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33461         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33462         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33463         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33464         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33465         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33466         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33467         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33468
33469         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33470         of the number.
33471         * stdio-common/printf_fphex.c: Likewise.
33472         * stdio-common/printf_size.c: Likewise.
33473
33474         * math/e_exp10.c: Include math_private.h using <...> not "...".
33475         * math/e_exp10f.c: Likewise.
33476         * math/e_exp10l.c: Likewise.
33477         * math/e_exp2l.c: Likewise.
33478         * math/e_j0l.c: Likewise.
33479         * math/e_j1l.c: Likewise.
33480         * math/e_jnl.c: Likewise.
33481         * math/e_lgammal_r.c: Likewise.
33482         * math/e_rem_pio2l.c: Likewise.
33483         * math/e_scalb.c: Likewise.
33484         * math/e_scalbf.c: Likewise.
33485         * math/e_scalbl.c: Likewise.
33486         * math/k_cosl.c: Likewise.
33487         * math/k_sinl.c: Likewise.
33488         * math/k_tanl.c: Likewise.
33489         * math/s_cacoshf.c: Likewise.
33490         * math/s_catan.c: Likewise.
33491         * math/s_catanf.c: Likewise.
33492         * math/s_catanh.c: Likewise.
33493         * math/s_catanhf.c: Likewise.
33494         * math/s_catanhl.c: Likewise.
33495         * math/s_catanl.c: Likewise.
33496         * math/s_ccosh.c: Likewise.
33497         * math/s_ccoshf.c: Likewise.
33498         * math/s_ccoshl.c: Likewise.
33499         * math/s_cexp.c: Likewise.
33500         * math/s_cexpf.c: Likewise.
33501         * math/s_cexpl.c: Likewise.
33502         * math/s_clog.c: Likewise.
33503         * math/s_clog10.c: Likewise.
33504         * math/s_clog10f.c: Likewise.
33505         * math/s_clog10l.c: Likewise.
33506         * math/s_clogf.c: Likewise.
33507         * math/s_clogl.c: Likewise.
33508         * math/s_csin.c: Likewise.
33509         * math/s_csinf.c: Likewise.
33510         * math/s_csinh.c: Likewise.
33511         * math/s_csinhf.c: Likewise.
33512         * math/s_csinhl.c: Likewise.
33513         * math/s_csinl.c: Likewise.
33514         * math/s_csqrt.c: Likewise.
33515         * math/s_csqrtf.c: Likewise.
33516         * math/s_csqrtl.c: Likewise.
33517         * math/s_ctan.c: Likewise.
33518         * math/s_ctanf.c: Likewise.
33519         * math/s_ctanh.c: Likewise.
33520         * math/s_ctanhf.c: Likewise.
33521         * math/s_ctanhl.c: Likewise.
33522         * math/s_ctanl.c: Likewise.
33523         * math/s_ldexp.c: Likewise.
33524         * math/s_ldexpf.c: Likewise.
33525         * math/s_ldexpl.c: Likewise.
33526         * math/s_significand.c: Likewise.
33527         * math/s_significandf.c: Likewise.
33528         * math/s_significandl.c: Likewise.
33529         * math/w_acos.c: Likewise.
33530         * math/w_acosf.c: Likewise.
33531         * math/w_acosh.c: Likewise.
33532         * math/w_acoshf.c: Likewise.
33533         * math/w_acoshl.c: Likewise.
33534         * math/w_acosl.c: Likewise.
33535         * math/w_asin.c: Likewise.
33536         * math/w_asinf.c: Likewise.
33537         * math/w_asinl.c: Likewise.
33538         * math/w_atan2.c: Likewise.
33539         * math/w_atan2f.c: Likewise.
33540         * math/w_atan2l.c: Likewise.
33541         * math/w_atanh.c: Likewise.
33542         * math/w_atanhf.c: Likewise.
33543         * math/w_atanhl.c: Likewise.
33544         * math/w_cosh.c: Likewise.
33545         * math/w_coshf.c: Likewise.
33546         * math/w_coshl.c: Likewise.
33547         * math/w_dremf.c: Likewise.
33548         * math/w_exp10.c: Likewise.
33549         * math/w_exp10f.c: Likewise.
33550         * math/w_exp10l.c: Likewise.
33551         * math/w_exp2.c: Likewise.
33552         * math/w_exp2f.c: Likewise.
33553         * math/w_fmod.c: Likewise.
33554         * math/w_fmodf.c: Likewise.
33555         * math/w_fmodl.c: Likewise.
33556         * math/w_hypot.c: Likewise.
33557         * math/w_hypotf.c: Likewise.
33558         * math/w_hypotl.c: Likewise.
33559         * math/w_j0.c: Likewise.
33560         * math/w_j0f.c: Likewise.
33561         * math/w_j0l.c: Likewise.
33562         * math/w_j1.c: Likewise.
33563         * math/w_j1f.c: Likewise.
33564         * math/w_j1l.c: Likewise.
33565         * math/w_jn.c: Likewise.
33566         * math/w_jnf.c: Likewise.
33567         * math/w_jnl.c: Likewise.
33568         * math/w_lgamma.c: Likewise.
33569         * math/w_lgamma_r.c: Likewise.
33570         * math/w_lgammaf.c: Likewise.
33571         * math/w_lgammaf_r.c: Likewise.
33572         * math/w_lgammal.c: Likewise.
33573         * math/w_lgammal_r.c: Likewise.
33574         * math/w_log.c: Likewise.
33575         * math/w_log10.c: Likewise.
33576         * math/w_log10f.c: Likewise.
33577         * math/w_log10l.c: Likewise.
33578         * math/w_log2.c: Likewise.
33579         * math/w_log2f.c: Likewise.
33580         * math/w_log2l.c: Likewise.
33581         * math/w_logf.c: Likewise.
33582         * math/w_logl.c: Likewise.
33583         * math/w_pow.c: Likewise.
33584         * math/w_powf.c: Likewise.
33585         * math/w_powl.c: Likewise.
33586         * math/w_remainder.c: Likewise.
33587         * math/w_remainderf.c: Likewise.
33588         * math/w_remainderl.c: Likewise.
33589         * math/w_scalb.c: Likewise.
33590         * math/w_scalbf.c: Likewise.
33591         * math/w_scalbl.c: Likewise.
33592         * math/w_sinh.c: Likewise.
33593         * math/w_sinhf.c: Likewise.
33594         * math/w_sinhl.c: Likewise.
33595         * math/w_sqrt.c: Likewise.
33596         * math/w_sqrtf.c: Likewise.
33597         * math/w_sqrtl.c: Likewise.
33598         * math/w_tgamma.c: Likewise.
33599         * math/w_tgammaf.c: Likewise.
33600         * math/w_tgammal.c: Likewise.
33601
33602         * po/ja.po: Update from translation team.
33603
33604 2011-09-29  Andreas Jaeger  <aj@suse.de>
33605
33606         [BZ #13179]
33607         * sunrpc/netname.c (netname2host): Fix logic.
33608
33609         [BZ #6779]
33610         [BZ #6783]
33611         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33612         correctly.
33613         * math/w_remainder.c (__remainder): Likewise.
33614         * math/w_remainderf.c (__remainderf): Likewise.
33615         * math/libm-test.inc (remainder_test): Add test cases.
33616
33617 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33618
33619         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33620         sdiv_qrnnd.
33621
33622 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33623
33624         * string/test-memcmp.c: Avoid unncessary #defines.
33625         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33626
33627 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33628
33629         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33630         Use new sse2 version for core i3 - i7 as it's faster
33631         than sse42 version.
33632         (bit_Prefer_PMINUB_for_stringop): New.
33633         * sysdeps/x86_64/rawmemchr.S: Update.
33634         Replace with faster SSE2 version.
33635         * sysdeps/x86_64/memrchr.S: New file.
33636         * sysdeps/x86_64/memchr.S: Update.
33637         Replace with faster SSE2 version.
33638
33639 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33640
33641         * elf/dl-load.c (lose): Add cast to avoid warning.
33642
33643 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33644
33645         * po/ca.po: Update from translation team.
33646
33647         * inet/getnetgrent_r.c: Hook up nscd.
33648         * nscd/Makefile (routines): Add nscd_netgroup.
33649         (nscd-modules): Add netgroupcache.
33650         (CFLAGS-netgroupcache.c): Define.
33651         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33652         (cache_search): Add const to second parameter.
33653         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33654         INNETGR.
33655         (dbs): Add netgrdb entry.
33656         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33657         (verify_persistent_db): Handle netgrdb.
33658         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33659         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33660         GETFDNETGR.
33661         (netgroup_response_header): Define.
33662         (innetgroup_response_header): Define.
33663         (datahead): Add netgroup_response_header and innetgroup_response_header
33664         elements.
33665         * nscd/nscd.conf: Add entries for netgroup cache.
33666         * nscd/nscd.h (dbtype): Add netgrdb.
33667         (_PATH_NSCD_NETGROUP_DB): Define.
33668         (netgroup_iov_disabled): Declare.
33669         (xmalloc, xcalloc, xrealloc): Move declarations here.
33670         (cache_search): Adjust prototype.
33671         Add netgroup-related prototypes.
33672         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33673         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33674         (__nscd_innetgr): Declare.
33675         * nscd/selinux.c (perms): Use access_vector_t as element type and
33676         add netgroup-related initializers.
33677         * nscd/netgroupcache.c: New file.
33678         * nscd/nscd_netgroup.c: New file.
33679         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33680         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33681         For four parameters use innetgr.
33682         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33683         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33684         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33685         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33686
33687         * nscd/connections.c (register_traced_file): Don't register file
33688         for disabled databases.
33689
33690 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33691
33692         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33693
33694         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33695         from tree and freeing node.
33696
33697 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33698
33699         * nss/nsswitch.c (__nss_database_lookup): Handle
33700         nss_parse_service_list out of memory case.
33701
33702 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33703
33704         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33705         out of memory case.
33706
33707 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33708
33709         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33710         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33711         pass it down.
33712         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33713         elf_machine_rela, elf_machine_lazy_rel.
33714         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33715         (ELF_DYNAMIC_DO_REL): Likewise.
33716         (ELF_DYNAMIC_DO_RELA): Likewise.
33717         (ELF_DYNAMIC_RELOCATE): Likewise.
33718         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33719         to ELF_DYNAMIC_DO_REL.
33720         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33721         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33722         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33723         elf_machine_rela.
33724         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33725         skip_ifunc, don't call ifunc function if non-zero.
33726         (elf_machine_rela): Likewise.
33727         (elf_machine_lazy_rel): Likewise.
33728         (elf_machine_lazy_rela): Likewise.
33729         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33730         (elf_machine_lazy_rel): Likewise.
33731         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33732         Likewise.
33733         (elf_machine_lazy_rel): Likewise.
33734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33735         Likewise.
33736         (elf_machine_lazy_rel): Likewise.
33737         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33738         (elf_machine_lazy_rel): Likewise.
33739         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33740         (elf_machine_lazy_rel): Likewise.
33741         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33742         (elf_machine_lazy_rel): Likewise.
33743         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33744         (elf_machine_lazy_rel): Likewise.
33745         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33746         (elf_machine_lazy_rel): Likewise.
33747         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33748         (elf_machine_lazy_rel): Likewise.
33749
33750 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33751
33752         * nss/nss_files/files-init.c (_nss_files_init): Use static
33753         initialization for all the *_traced_file variables.
33754
33755 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33756
33757         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33758
33759 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33760
33761         [BZ #13226]
33762         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33763
33764 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33765
33766         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33767         Reread the line before reparsing it.
33768
33769 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33770
33771         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33772
33773 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33774             Maxim Kuvyrkov  <maxim@codesourcery.com>
33775             Joseph Myers  <joseph@codesourcery.com>
33776
33777         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33778         if needed for __stack_chk_guard.
33779
33780 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33781
33782         * sysdeps/posix/spawni.c (script_execute): Always define it.
33783         It will be optimized away if unused.
33784         (maybe_script_execute): New function.
33785         (__spawni): Call it.
33786
33787         * Makerules: Don't include tls.make.
33788         (config-tls): Always set to thread.
33789         * tls.make.c: File removed.
33790
33791 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33792
33793         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33794         * config.make.in (CPPFLAGS-config): New substituted variable.
33795
33796 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33797
33798         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33799
33800         [BZ #13192]
33801         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33802         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33803
33804 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33805
33806         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33807         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33808         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33809         (CALL_FAIL): Likewise.
33810         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33811         (CALL_FAIL): Macro removed.
33812         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33813
33814 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33815
33816         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33817         for __FINITE_MATH_ONLY__ == 1.
33818
33819 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33820
33821         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33822         __ieee754_sqrt instead of sqrt.
33823         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33824         __ieee754_sqrtf instead of sqrtf.
33825         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33826         __floorf instead of floorf.
33827         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33828         __floorf, __truncf instead of floorf, truncf.
33829
33830 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33831
33832         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33833
33834         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33835         __extern_always_inline.
33836         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33837         32-bit.
33838
33839 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33840
33841         * elf/rtld.c (dl_main): Also relocate in dependency order when
33842         doing symbol dependency testing.
33843
33844 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33845
33846         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33847         Always define `refsym'.
33848
33849 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33850
33851         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33852         (__FD_ELT): Renamed from __FDELT.
33853         * misc/bits/select2.h (__FD_ELT): Likewise.
33854         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33855         __FD_MASK instead of __FDELT, __FDMASK.
33856         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33857         Likewise.
33858         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33859         Likewise.
33860
33861         * elf/Makefile (gen-ldd): Fix pattern.
33862
33863         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33864         (init_tls): Likewise.
33865
33866 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33867
33868         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33869
33870 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33871
33872         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33873         `struct cmsghdr *' instead of `void *'.
33874         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33875         Likewise.
33876
33877 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33878
33879         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33880         if non-absolute.
33881         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33882         ldd_rewrite_script.
33883
33884 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33885
33886         * configure.in: Remove --with-tls option.
33887         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33888         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33889         out in case it is missing.
33890         * sysdeps/ia64/elf/configure.in: Likewise.
33891         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33892         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33893         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33894         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33895         * sysdeps/sh/elf/configure.in: Likewise.
33896         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33897         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33898         * sysdeps/x86_64/elf/configure.in: Likewise.
33899         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33900         * sysdeps/mach/hurd/tls.h: Likewise.
33901
33902         [BZ #13067]
33903         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33904
33905         [BZ #13090]
33906         * configure.in: Fix use of AC_INIT.
33907
33908         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33909
33910 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33911
33912         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33913         __set_errno.
33914         * malloc/hooks.c: Likewise.
33915
33916         [BZ #11929]
33917         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33918         variables statically.
33919         (narenas): Initialize.
33920         (list_lock): Initialize.
33921         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33922         initializtion of main_arena and list_lock.  Small cleanups.
33923         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33924         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33925         Add initializers to main_arena and mp_.
33926         (malloc_state): Remove pagesize member.  Change all users to use
33927         GLRO(dl_pagesize).
33928
33929         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33930         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33931         is always initialized.
33932
33933         * malloc/malloc.c: Removed unused configurations and dead code.
33934         * malloc/arena.c: Likewise.
33935         * malloc/hooks.c: Likewise.
33936         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33937
33938         * include/tls.h: Removed.  USE___THREAD must always be defined.
33939         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33940         * elf/dl-libc.c: Likewise.
33941         * elf/dl-tsd.c: Likewise.
33942         * include/errno.h: Likewise.
33943         * include/netdb.h: Likewise.
33944         * include/resolv.h: Likewise.
33945         * inet/herrno-loc.c: Likewise.
33946         * inet/herrno.c: Likewise.
33947         * malloc/arena.c: Likewise.
33948         * malloc/hooks.c: Likewise.
33949         * malloc/malloc.c: Likewise.
33950         * resolv/res-state.c: Likewise.
33951         * resolv/res_libc.c: Likewise.
33952         * sysdeps/i386/dl-machine.h: Likewise.
33953         * sysdeps/ia64/dl-machine.h: Likewise.
33954         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33955         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33956         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33957         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33958         * sysdeps/sh/dl-machine.h: Likewise.
33959         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33960         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33961         * sysdeps/unix/i386/sysdep.S: Likewise.
33962         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33963         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33968         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33969         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33972         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33973         * sysdeps/x86_64/dl-machine.h: Likewise.
33974         * tls.make.c: Likewise.
33975
33976         * configure.in: Remove --with-__thread option.  Make tests for
33977         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33978         tls_model attribute fail if no support is available.  Remove
33979         USE_IN_LIBIO.
33980         * Makeconfig: Adjust for dropped configure option.  All features are
33981         now mandatory.
33982         * Makerules: Likewise.
33983         * Versions.def: Likewise.
33984         * argp/argp-fmtstream.c: Likewise.
33985         * argp/argp-fmtstream.h: Likewise.
33986         * argp/argp-help.c: Likewise.
33987         * assert/assert.c: Likewise.
33988         * config.h.in: Likewise.
33989         * config.make.in: Likewise.
33990         * configure: Likewise.
33991         * configure.in: Likewise.
33992         * csu/Versions: Likewise.
33993         * csu/init.c: Likewise.
33994         * elf/tst-audit2.c: Likewise.
33995         * elf/tst-tls10.c: Likewise.
33996         * elf/tst-tls10.h: Likewise.
33997         * elf/tst-tls11.c: Likewise.
33998         * elf/tst-tls12.c: Likewise.
33999         * elf/tst-tls14.c: Likewise.
34000         * elf/tst-tlsmod11.c: Likewise.
34001         * elf/tst-tlsmod12.c: Likewise.
34002         * elf/tst-tlsmod13.c: Likewise.
34003         * elf/tst-tlsmod13a.c: Likewise.
34004         * elf/tst-tlsmod14a.c: Likewise.
34005         * elf/tst-tlsmod15b.c: Likewise.
34006         * elf/tst-tlsmod16a.c: Likewise.
34007         * elf/tst-tlsmod16b.c: Likewise.
34008         * elf/tst-tlsmod7.c: Likewise.
34009         * elf/tst-tlsmod8.c: Likewise.
34010         * elf/tst-tlsmod9.c: Likewise.
34011         * gmon/gmon.c: Likewise.
34012         * grp/fgetgrent_r.c: Likewise.
34013         * grp/putgrent.c: Likewise.
34014         * hurd/fopenport.c: Likewise.
34015         * include/libc-symbols.h: Likewise.
34016         * include/tls.h: Likewise.
34017         * intl/gettextP.h: Likewise.
34018         * intl/loadinfo.h: Likewise.
34019         * locale/global-locale.c: Likewise.
34020         * locale/localeinfo.h: Likewise.
34021         * mach/devstream.c: Likewise.
34022         * malloc/arena.c: Likewise.
34023         * malloc/set-freeres.c: Likewise.
34024         * misc/err.c: Likewise.
34025         * misc/getttyent.c: Likewise.
34026         * misc/mntent_r.c: Likewise.
34027         * posix/getopt.c: Likewise.
34028         * posix/wordexp.c: Likewise.
34029         * pwd/fgetpwent_r.c: Likewise.
34030         * resolv/Versions: Likewise.
34031         * resolv/res_hconf.c: Likewise.
34032         * shadow/fgetspent_r.c: Likewise.
34033         * shadow/putspent.c: Likewise.
34034         * stdio-common/printf_fphex.c: Likewise.
34035         * stdio-common/tmpfile.c: Likewise.
34036         * stdlib/abort.c: Likewise.
34037         * stdlib/fmtmsg.c: Likewise.
34038         * sunrpc/auth_unix.c: Likewise.
34039         * sunrpc/clnt_perr.c: Likewise.
34040         * sunrpc/clnt_tcp.c: Likewise.
34041         * sunrpc/clnt_udp.c: Likewise.
34042         * sunrpc/clnt_unix.c: Likewise.
34043         * sunrpc/openchild.c: Likewise.
34044         * sunrpc/svc_simple.c: Likewise.
34045         * sunrpc/svc_tcp.c: Likewise.
34046         * sunrpc/svc_udp.c: Likewise.
34047         * sunrpc/svc_unix.c: Likewise.
34048         * sunrpc/xdr.c: Likewise.
34049         * sunrpc/xdr_array.c: Likewise.
34050         * sunrpc/xdr_rec.c: Likewise.
34051         * sunrpc/xdr_ref.c: Likewise.
34052         * sunrpc/xdr_stdio.c: Likewise.
34053
34054 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34055
34056         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34057
34058 2011-07-03  Andreas Jaeger  <aj@suse.de>
34059
34060         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34061         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34062         regenerate with gen-libm-tests.pl.
34063
34064 2010-05-12  Petr Baudis  <pasky@suse.cz>
34065
34066         [BZ #11589]
34067         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34068         around j0() zero points by switching to j1().
34069         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34070         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34071         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34072         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34073
34074 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34075
34076         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34077         instead of 0.
34078         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34079         instead of 0.
34080         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34081         Patch in part by Pavel Roskin <proski@gnu.org>.
34082
34083         [BZ #13138]
34084         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34085         realloc.
34086         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34087         Free memory block if necessary.
34088
34089         [BZ #12847]
34090         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34091         be NULL.  Don't lock in this case.
34092
34093 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34094
34095         * elf/elf.h (ELFOSABI_GNU): New macro.
34096         (ELFOSABI_LINUX): Define to that.
34097
34098 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34099
34100         * string/strncat.c (strncat): Undef the symbol in case it has been
34101         defined in bits/string.h.
34102
34103 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34104
34105         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34106
34107         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34108         link map.
34109
34110 2011-08-17  Andreas Jaeger  <aj@suse.de>
34111
34112         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34113
34114 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34115             Ian Lance Taylor  <iant@google.com>
34116
34117         * math/libm-test.inc (lround_test): New testcase.
34118         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34119
34120 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34121
34122         * Makefile: Remove support for automatic cvs check-ins.
34123         * Makerules: Likewise.
34124         * config.make.in: Likewise.
34125         * configure.in: Likewise.
34126         * intl/Makefile: Likewise.
34127         * locale/Makefile: Likewise.
34128         * po/Makefile: Likewise.
34129         * posix/Makefile: Likewise.
34130         * sysdeps/gnu/Makefile: Likewise.
34131         * sysdeps/mach/hurd/Makefile: Likewise.
34132         * sysdeps/sparc/sparc32/Makefile: Likewise.
34133
34134         [BZ #13118]
34135         * posix/Makefile (bug-regex32-ENV): Define.
34136         Patch by John Stanley <jpsinthemix@verizon.net>.
34137
34138         * misc/Makefile (headers): Add bits/select2.h.
34139         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34140         * misc/bits/select2.h: New file.
34141         * include/bits/select2.h: New file.
34142         * debug/Makefile (routines): Add fdelt_chk.
34143         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34144         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34145         FD_ISSET.
34146         * debug/fdelt_chk.c: New file.
34147
34148         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34149         * wcsmbs/test-wmemcmp.c: Likewise.
34150         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34151         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34152
34153 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34154
34155         * string/Makefile (strop-tests): Add memcmp.
34156         * string/test-wmemcmp.c: New file.
34157         * string/test-memcmp.c: Add wmemcmp support.
34158
34159 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34160
34161         [BZ #13153]
34162         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34163         2011-07-19 change.
34164
34165         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34166         garbage value in a __mach_port_mod_refs call in the cases of the
34167         task-self and thread-self ports.
34168
34169 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34170
34171         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34172
34173 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34174
34175         * elf/dl-load.c (lose): Check for non-null L.
34176
34177 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34178
34179         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34180
34181         * elf/dl-libc.c (dlerror_run): Pass back error code from
34182         dl_catch_error.
34183
34184         [BZ #13123]
34185         * elf/dl-load.c (lose): Free l_origin if it is valid.
34186
34187         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34188         names.
34189         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34190         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34191         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34192         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34193         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34194         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34195
34196 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34197
34198         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34199         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34200         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34201         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34202         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34203         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34204         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34205         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34206         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34207         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34208
34209 2011-08-15  Alan Modra  <amodra@gmail.com>
34210
34211         [BZ #13092]
34212         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34213         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34214         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34215         ppc_mcount to static-only-routines.
34216         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34217         __mcount_internal.
34218         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34219         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34220
34221 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34222
34223         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34224         for finite and infinity parameters.
34225
34226 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34227
34228         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34229         and add nop instructions for throughput optimization.
34230         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34231
34232 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34233
34234         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34235         aligned copy for power7 with vector-scalar instructions.
34236         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34237
34238 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34239
34240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34241         AVX check.
34242
34243 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34244
34245         [BZ #13144]
34246         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34247         last change.
34248
34249 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34250
34251         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34252         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34253         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34254         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34255         clock_gettime.
34256
34257 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34258
34259         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34260         Forgot to demangle the pointer.
34261
34262         * sysdeps/i386/sysdep.h: Define atom_text_section.
34263         * sysdeps/x86_64/sysdep.h: Likewise.
34264         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34265         section with atom_text_section.
34266         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34267         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34268         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34269         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34270         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34271
34272         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34273         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34274         already be defined.  Change to take two parameters and don't assign
34275         result to variable.  Adjust all users.
34276         Define INTERNAL_GETTIME if not already defined.
34277         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34278         call.
34279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34280         HAVE_CLOCK_GETTIME_VSYSCALL.
34281         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34282
34283         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34284         gettimeofday vsyscall, just use time.
34285
34286 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34287
34288         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34289         <errno.h>.
34290
34291 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34292
34293         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34294         syscall on x86-64.
34295         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34296         syscall.
34297         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34298         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34299         syscall if possible.
34300
34301 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34302
34303         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34304         e_ident.  Don't pass to find_mapsXX.
34305         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34306
34307 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34308
34309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34310         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34311         * sysdeps/x86_64/multiarch/strchr.S: Update.
34312         Check bit_slow_BSF bit.
34313         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34314         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34315         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34316
34317 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34318
34319         [BZ #13134]
34320         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34321         before glibc 2.15.
34322         (tryshell): Define.
34323         (__spawni): Change last parameter to be flag.  Test
34324         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34325         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34326         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34327         * posix/spawni.c: Likewise.
34328         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34329         * posix/spawnp.c: Likewise.  Change normal version to use
34330         SPAWN_XFLAGS_USE_PATH.
34331         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34332         SPAWN_XFLAGS_TRY_SHELL.
34333
34334         [BZ #13150]
34335         * posix/glob.h: Remove gcc 1.x support.
34336
34337         [BZ #13068]
34338         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34339
34340 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34341
34342         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34343         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34344         strrchr-sse2-bsf
34345         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34346         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34347         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34348         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34349         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34350         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34351
34352 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34353
34354         * sysdeps/x86_64/wcscmp.S: New file.
34355
34356         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34357         wcscmp-c wcscmp-sse2
34358         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34359         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34360         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34361         * wcsmbs/wcscmp.c: Allow renaming.
34362
34363 2011-09-05  David S. Miller  <davem@davemloft.net>
34364
34365         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34366         stack slot, rather than the struct return pointer slot.
34367         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34368         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34370         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34371
34372 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34373
34374         * po/ja.po: Update from translation team.
34375
34376         [BZ #13144]
34377         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34378         kernel in 64-bit binaries.
34379
34380 2011-09-01  David S. Miller  <davem@davemloft.net>
34381
34382         * elf/elf.h (HWCAP_SPARC_*): Move to..
34383         * sysdeps/sparc/sysdep.h: this new file and add new values.
34384         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34385         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34386         _DL_HWCAP_COUNT to 24.
34387         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34388         entries.
34389         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34390         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34391         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34393         instead of magic constants.
34394         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34395
34396 2011-08-31  David S. Miller  <davem@davemloft.net>
34397
34398         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34400         Reimplement to do errno handling inline.
34401         (SYSCALL_ERROR_HANDLER): New macro.
34402         (__SYSCALL_STRING): Do not do errno handling in asm.
34403         (__CLONE_SYSCALL_STRING): Delete.
34404         (__INTERNAL_SYSCALL_STRING): Delete.
34405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34406         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34407         (PSEUDO): Reimplement to do errno handling inline.
34408         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34409         (SYSCALL_ERROR_HANDLER): New macro.
34410         (__SYSCALL_STRING): Do not do errno handling in asm.
34411         (__CLONE_SYSCALL_STRING): Delete.
34412         (__INTERNAL_SYSCALL_STRING): Delete.
34413         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34414         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34415         i386.
34416         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34417         (inline_syscall*): Add 'err' argument.
34418         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34419         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34420         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34421         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34422
34423         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34424         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34425
34426 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34427
34428         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34429
34430 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34431
34432         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34433         directive.
34434
34435 2011-08-24  David S. Miller  <davem@davemloft.net>
34436
34437         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34438
34439 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34440
34441         * elf/Makefile: Add rules to build and run unload8 test.
34442         * elf/unload8.c: New file.
34443         * elf/unload8mod1.c: New file.
34444         * elf/unload8mod1x.c: New file.
34445         * elf/unload8mod2.c: New file.
34446         * elf/unload8mod3.c: New file.
34447
34448         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34449         it wasn't used.
34450
34451 2011-08-23  David S. Miller  <davem@davemloft.net>
34452
34453         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34454         subtract stack bias.
34455         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34456         %sp not %fp in calculations.
34457         (_JMPBUF_UNWINDS_ADJ): Likewise.
34458
34459         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34460         (aio_suspend): Call it to force an exception region around the
34461         AIO_MISC_WAIT() invocation.
34462
34463 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34464
34465         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34466         backslash.
34467
34468 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34469
34470         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34471         protection macro.
34472         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34473         and <dl-machine.h>.
34474         (Elf64_FuncDesc): Remove.
34475
34476 2011-08-22  David S. Miller  <davem@davemloft.net>
34477
34478         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34479         sigaltstack check, add missing cfi directives.
34480         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34481         missing cfi directives, and sigaltstack handling.
34482
34483 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34484
34485         [BZ #11724]
34486         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34487         object is seen twice.
34488         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34489
34490         * elf/Makefile (distribute): Add tst-initorder2.c.
34491         (tests): Add tst-initorder2.
34492         (modules-names): Add tst-initorder2a tst-initorder2b
34493         tst-initorder2c tst-initorder2d.  Add rules to build them.
34494         ($(objpfx)tst-initorder2.out): New rule.
34495         * elf/tst-initorder2.c: New file.
34496         * elf/tst-initorder2.exp: New file.
34497
34498 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34499
34500         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34501
34502         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34503         dependencies back to end of function.
34504
34505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34506         $(elfobjdir)/ld.so.
34507
34508 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34509
34510         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34511         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34513         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34514         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34515         of __vdso_gettimeofday.
34516         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34517         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34518         attribute_hidden.
34519         (_libc_vdso_platform_setup): Remove initialization of
34520         __vdso_gettimeofday and __vdso_time.
34521
34522 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34523
34524         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34525         and fgetc_unlocked.
34526         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34527         getc_unlocked.
34528
34529         * elf/dl-open.c (add_to_global): Report additions to the global scope
34530         for LD_DEBUG=scopes.
34531         (dl_open_worker): Also print scope of newly loaded dependencies.
34532         (_dl_show_scope): Indicate if there is no scope.
34533
34534         [BZ #13114]
34535         * stdio-common/Makefile (tests): Add bug24.
34536         * stdio-common/bug24.c: New file.
34537
34538 2011-08-19  Andreas Jaeger  <aj@suse.de>
34539
34540         [BZ #13114]
34541         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34542         non-existant file when using close-on-exec mode.
34543
34544 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34545
34546         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34547         the very first instruction.
34548
34549         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34550         the CFI state in the end.
34551         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34552         inclusion of dl-trampoline.h.
34553         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34554
34555 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34556
34557         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34558         expectations for long double.
34559
34560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34561         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34562
34563 2011-08-14  David S. Miller  <davem@davemloft.net>
34564
34565         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34566         artificual limit depends upon the system page size.
34567
34568 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34569
34570         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34571         * resolv/Makefile: Define CFLAGS-libresolv.
34572
34573 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34574
34575         * nss/makedb.c (compute_tables): Make variables used in nested
34576         function static.
34577
34578 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34579
34580         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34581         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34582         if buffer was too small.
34583
34584         * elf/pldd.c (main): Attach to all threads in the process.
34585         Rewrite /proc handling to use *at functions.
34586
34587 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34588
34589         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34590         specifies first scope to show.
34591         (dl_open_worker): Update callers.  Move printing scope of new
34592         object to before the relocation.
34593         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34594         * sysdeps/generic/ldsodefs.h: Update declaration.
34595
34596         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34597         string for the scope number.
34598
34599 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34600
34601         * nscd/servicescache.c (cache_addserv): Make sure written is always
34602         initialized.
34603
34604 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34605
34606         * sysdeps/i386/i486/bits/atomic.h
34607         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34608         statement expression, so as to suppress "set but not used" warning.
34609         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34610
34611         * string/strncat.c (STRNCAT): Use prototype definition.
34612
34613         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34614         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34615         -Iprograms here.
34616         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34617         (localedef-modules): Add localedef.
34618         (locale-modules): Add locale.
34619
34620         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34621         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34622         to avoid a warning.
34623
34624 2011-08-14  David S. Miller  <davem@davemloft.net>
34625
34626         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34627         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34628
34629 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34630
34631         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34632         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34633         * elf/rtld.c (dl_main): Set l_name of vDSO.
34634         Call _dl_show_scope when DL_DEBUG_SCOPES.
34635         (process_dl_debug): Recognize scopes flag and also set it for all.
34636         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34637         Declare _dl_show_scope.
34638
34639         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34640         (do_dlopen): Pass caller_dlopen to dl_open.
34641         (__libc_dlopen_mode): Initialize caller_dlopen.
34642
34643         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34644         of libc.  Make tolower call locale-independent.  Optimize a bit by
34645         using isdigit instead of isalnum.
34646         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34647
34648 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34649
34650         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34651         was a dependency or dynamically loaded.
34652
34653 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34654
34655         * intl/l10nflist.c: Allow architecture-specific pop function.
34656         * sysdeps/x86_64/l10nflist.c: New file.
34657
34658         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34659         classification.
34660
34661 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34662
34663         * include/dirent.h: Add libc_hidden_proto for scandirat and
34664         scandirat64.  Don't declare __scandirat64.
34665         * dirent/scandirat.c: Add libc_hidden_def.
34666         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34667         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34668
34669 2011-08-10  David S. Miller  <davem@davemloft.net>
34670
34671         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34672         enum.
34673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34674         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34675         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34676
34677 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34678
34679         * Versions.def [libc]: Add GLIBC_2.15.
34680         * dirent/Makefile (routines): Add scandirat and scandirat64.
34681         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34682         GLIBC_2.15.
34683         * dirent/dirent.h: Declare scandirat and scandirat64.
34684         * dirent/scandirat.c: New file.
34685         * dirent/scandirat64.c: New file.
34686         * sysdeps/wordsize-64/scandirat.c: New file.
34687         * sysdeps/wordsize-64/scandirat64.c: New file.
34688         * dirent/opendir.c: Define opendirat.
34689         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34690         using scandirat.
34691         * dirent/scandir64.c: Adjust for scandir.c change.
34692         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34693         __scandirat64, and __scandir_cancel_handler.
34694         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34695         additional parameter and use openat instead of open (outside of ld.so).
34696         Add new __opendir as wrapper around __opendirat.
34697         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34698         here without requiring old scandirat implementation.
34699
34700 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34701
34702         * dirent/scandir.c (cancel_handler): Renamed to
34703         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34704         defined.  Adjust users.
34705         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34706         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34707
34708 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34709
34710         * string/test-string.h (IMPL): Use __STRING to expand name and then
34711         stringify it.
34712
34713         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34714         of cleanups.
34715
34716 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34717
34718         * string/Makefile: Update.
34719         (strop-tests): Append strncat.
34720         * string/test-wcscmp.c: New file.
34721         New comprehensive test for wcscmp.
34722         * string/test-strcmp.c: Update.
34723         (WIDE): New define.
34724
34725 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34726
34727         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34728         line.
34729
34730 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34731
34732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34733         encoding to ACE if AI_IDN.
34734
34735 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34736
34737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34738         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34739
34740 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34741
34742         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34743         Fix overflow bug in strncat.
34744         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34745
34746         * string/test-strncat.c: Update.
34747         Add new tests for checking overflow bugs.
34748
34749 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34750
34751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34752         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34753         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34754         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34755         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34756         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34757         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34758         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34759         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34760
34761         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34762         (USE_AS_STRCAT): Define.
34763         Add strcat and strncat support.
34764         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34765
34766 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34767
34768         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34769         __n bigger than INT_MAX+1.
34770         (__strncmp_g): Likewise.
34771
34772 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34773
34774         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34775         * libio/stido.h: Likewise.
34776
34777         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34778         (AF_NFC): Define.
34779         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34780         (AF_NFC): Define.
34781
34782         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34783         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34784         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34785         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34786         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34787
34788         [BZ #13021]
34789         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34790         installed.
34791
34792         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34793         typo.
34794         (_dl_x86_64_save_sse): Likewise.
34795
34796 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34797
34798         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34799         OSXSAVE.
34800         (_dl_x86_64_save_sse): Likewise.
34801
34802         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34803
34804         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34805
34806 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34807
34808         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34809         change.
34810         (_dl_x86_64_save_sse): Use correct AVX check.
34811
34812 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34813
34814         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34815         bug in strncpy/strncat.
34816         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34817
34818 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34819
34820         * string/tester.c (test_strcat): Add tests for different alignments
34821         of source and destination.
34822         (test_strncat): Likewise.
34823
34824 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34825
34826         [BZ #12852]
34827         * posix/glob.c (glob): Check passed in values before using them in
34828         expressions to avoid some overflows.
34829         (glob_in_dir): Likewise.
34830
34831         [BZ #13007]
34832         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34833         check for AVX enablement so that we don't crash with old kernels and
34834         new hardware.
34835         * elf/tst-audit4.c: Add same checks here.
34836         * elf/tst-audit6.c: Likewise.
34837
34838         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34839
34840 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34841
34842         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34843
34844 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34845
34846         * po/cs.po: Update from translation team.
34847         * po/bg.po: Likewise.
34848
34849 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34850
34851         * misc/sys/cdefs.h: Add support for const attribute.
34852         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34853         to gnu_dev_{major,minor,makedev} functions.
34854
34855 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34856
34857         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34858
34859 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34860
34861         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34862         strlen results.
34863
34864 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34865
34866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34867         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34868         register in order to avoid conflicts with the soft frame pointer
34869         being held in r11 when necessary.
34870         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34871         (INTERNAL_VSYSCALL_NCS): Likewise.
34872
34873 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34874
34875         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34876         * elf/dl-fini.c (_dl_fini): Adjust caller.
34877         * elf/dl-close.c (_dl_close_worker): Likewise.
34878         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34879
34880 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34881
34882         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34883         "aux_cache->nlibs < 0".
34884
34885         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34886         in the reload-count case.
34887
34888 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34889
34890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34891         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34892         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34893         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34894         * sysdeps/x86_64/multiarch/strcat.S: New file.
34895         * sysdeps/x86_64/multiarch/strncat.S: New file.
34896         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34897         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34898         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34899         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34900         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34901         (USE_AS_STRCAT): Define.
34902         Add strcat and strncat support.
34903         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34904         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34905         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34906         * string/strncat.c: Update.
34907         (USE_AS_STRNCAT): Define.
34908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34909         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34910         and i7.
34911         * sysdeps/x86_64/multiarch/init-arch.h
34912         (bit_Prefer_PMINUB_for_stringop): New.
34913         (index_Prefer_PMINUB_for_stringop): Likewise.
34914         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34915         bit_Prefer_PMINUB_for_stringop.
34916
34917 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34918
34919         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34920         buffer64.
34921         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34922         of casting of buffer.
34923         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34924         buffer32 and buffer64.
34925         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34926         writes instead of casting of buffer.
34927         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34928         buffer32.
34929         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34930         casting of buffer.
34931
34932 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34933
34934         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34935
34936 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34937
34938         * nscd/nscd.c (termination_handler): Don't do anything for a database
34939         if it has not yet been initialized.
34940
34941 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34942
34943         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34944
34945 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34946
34947         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34948
34949 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34950
34951         * po/nl.po: Update from translation team.
34952         * po/sv.po: Likewise.
34953
34954 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34955
34956         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34957         now disallowed by GCC.
34958
34959         * configure.in (use-default-link): Default to yes if a test -shared
34960         link meets our qualifications.
34961         * configure: Regenerated.
34962
34963         * config.make.in (output-format): New variable.
34964         * configure.in: Check for ld --print-output-format support.
34965         * configure: Regenerated.
34966         * Makerules ($(common-objpfx)format.lds)
34967         [$(output-format) != unknown]: Just use $(output-format),
34968         instead of the linker-script munging.
34969
34970 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34971
34972         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34973         of $(common-objpfx)shlib.lds.
34974         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34975
34976         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34977         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34978
34979         * configure.in (-z relro check): Adjust test code to add a large
34980         writable data section after it.
34981         * configure: Regenerated.
34982
34983 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34984
34985         * configure.in (-z relro check): Fix test code to make the variable
34986         truly const.
34987         * configure: Regenerated.
34988
34989 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34990
34991         * nscd/nscd.h (struct traced_file): Define.
34992         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34993         elements.  Add traced_files.
34994         (inotify_fd): Declare.
34995         (register_traced_file): Declare.
34996         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34997         (inotify_fd): Export.
34998         (resolv_conf_descr): Remove.
34999         (nscd_init): Move inotify descriptor creation to main.
35000         Don't register files for notification here.
35001         (register_traced_file): New function.
35002         (invalidate_cache): Don't use reset_res to determine whether to call
35003         res_init, go through the list of registered files.
35004         (main_loop_poll): The inotify descriptors are now stored in the
35005         structures for the traced files.
35006         (main_loop_epoll): Likewise
35007         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35008         to __nss_disable_nscd.
35009         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35010         for a database anymore.  Check the records for all the registered
35011         files instead.
35012         * nss/Makefile (libnss_files-routines): Add files-init.
35013         (libnss_db-routines): Add db-init.
35014         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35015         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35016         * nss/nss_db/db-init.c: New file.
35017         * nss/nss_files/files-init.c: New file.
35018         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35019         __nss_lookup_function.
35020         (__nss_lookup_function): Call nss_load_library.
35021         (nss_load_all_libraries): New function.
35022         (__nss_disable_nscd): Take parameter with callback function for files
35023         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35024         used for the cached services.
35025         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35026         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35027         options for features to all the files in nscd.
35028
35029         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35030
35031 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35032
35033         * csu/elf-init.c (__libc_csu_init): Comment typo.
35034
35035 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35036
35037         * po/pl.po: Update from translation team.
35038         * po/ja.po: Likewise.
35039         * po/ru.po: Likewise.
35040         * po/ko.po: Likewise.
35041         * po/fr.po: Likewise.
35042
35043 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35044
35045         * configure.in (.ctors/.dtors header and trailer check):
35046         Use an empirical test on a built program.
35047         * configure: Regenerated.
35048
35049         * configure.in (-z relro check): Use an empirical test on a built DSO.
35050         Detect, but do not require, on ia64.
35051         * configure: Regenerated.
35052
35053         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35054         Update tests that use readelf to use $READELF instead.
35055         * configure: Regenerated.
35056
35057 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35058
35059         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35060         if the result is not used.
35061
35062 2011-07-05  Andreas Jaeger  <aj@suse.de>
35063
35064         [BZ#9696]
35065         * stdlib/tst-strtod.c: Add testcase.
35066
35067 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35068
35069         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35070         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35071         The latter has a higher limit.  Take additional parameter to pass to
35072         the new function.
35073         (__pathconf): Pass file to __statfs_link_max.
35074         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35075         __statfs_link_max.
35076         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35077         __statfs_link_max.
35078
35079         [BZ #12868]
35080         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35081         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35082         Handle Lustre.
35083         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35084         (__statfs_filesize_max): Likewise.
35085         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35086
35087 2011-07-05  Andreas Jaeger  <aj@suse.de>
35088
35089         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35090
35091 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35092
35093         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35094         `status' variable.
35095         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35096         Likewise.
35097
35098 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35099
35100         * Makefile (strop-tests): Add strncat.
35101         * string/test-strncat.c: New file.
35102
35103 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35104
35105         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35106
35107 2011-06-21  Andreas Jaeger  <aj@suse.de>
35108
35109         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35110         Copy rule from iconvdata/Makefile.
35111
35112 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35113
35114         [BZ #12922]
35115         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35116         but no long options are defined, just return 'W'.
35117
35118 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35119
35120         [BZ #9696]
35121         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35122
35123 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35124
35125         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35126         netgroups to read.
35127         (innetgr): Likewise.
35128
35129 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35130
35131         * config.make.in (install_root): Default to $(DESTDIR).
35132
35133 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35134
35135         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35136
35137 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35138
35139         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35140
35141         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35142         containing directory rather than embedding absolute directory names.
35143
35144         * scripts/check-local-headers.sh: Rewritten using awk.
35145         Match by word, not by line.  Print error messages for matches.
35146         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35147
35148         * Makerules [shlib-lds-flags empty]:
35149         ($(common-objpfx)libc_pic.opts): New target.
35150         ($(common-objpfx)libc_pic.os.clean): New target.
35151         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35152
35153         * config.make.in (OBJCOPY): New variable.
35154         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35155         * configure: Regenerated.
35156
35157         * config.make.in (use-default-link): New variable.
35158         * configure.in (use_default_link): Grok --with-default-link to set it.
35159         * configure: Regenerated.
35160         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35161         (shlib-lds, shlib-lds-flags): Define to empty.
35162
35163         * Makerules (shlib-lds): New variable.
35164         (shlib-lds-flags): New variable.
35165         (build-shlib, build-moduile, build-module-asneeded): Use it.
35166         ($(common-objpfx)libc.so): Use $(shlib-lds).
35167         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35168         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35169
35170         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35171         DT_FLAGS/DT_FLAGS_1 with zero flags.
35172
35173         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35174         linker script munging.
35175
35176 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35177
35178         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35179         as 128-bit value.
35180         * crypt/sha512.c (sha512_process_block): Perform total addition using
35181         128-bit if possible.
35182         (__sha512_finish_ctx): Likewise.
35183         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35184         as 64-bit value.
35185         * crypt/sha256.c (SWAP64): Define.
35186         (sha256_process_block): Perform total addition using 64-bit if
35187         possible.
35188         (__sha256_finish_ctx): Likewise.
35189
35190 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35191
35192         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35193         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35194         * nscd/hstcache.c (cache_addhst): Likewise.
35195         * nscd/grpcache.c (cache_addgr): Likewise.
35196         * nscd/aicache.c (addhstaiX): Likewise
35197         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35198
35199 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35200
35201         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35202         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35203         * nscd/hstcache.c (cache_addhst): Likewise.
35204         * nscd/grpcache.c (cache_addgr): Likewise.
35205         * nscd/aicache.c (addhstaiX): Likewise
35206
35207 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35208
35209         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35210         domain only when needed.
35211
35212 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35213
35214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35215         is always restored.
35216
35217 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35218
35219         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35220         are re-adding the entry.
35221         * nscd/servicescache.c (cache_addserv): Likewise.
35222
35223 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35224
35225         * sysdeps/generic/dl-irel.h: fix protection against multiple
35226         inclusions.
35227         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35228
35229 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35230
35231         [BZ #12935]
35232         * malloc/memusage.sh: Fix quoting in message.
35233         * debug/xtrace.sh: Likewise.
35234
35235         * configure.in: Remove support for --experimental-malloc option, make
35236         it the default.
35237         * config.make.in: Likewise.
35238         * malloc/Makefile: Likewise.
35239
35240 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35241
35242         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35243         two-byte characters.
35244
35245 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35246
35247         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35248         AC_CACHE_CHECK invocation.
35249         * configure: Regenerated.
35250
35251         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35252
35253 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35254
35255         [BZ #12350]
35256         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35257         bit from old_res_options.
35258
35259         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35260
35261         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35262         value type for setfct.
35263
35264 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35265
35266         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35267         __gettimeofday instead of gettimeofday.
35268
35269 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35270
35271         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35272
35273 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35274
35275         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35276
35277         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35278         info.
35279
35280 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35281
35282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35283         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35284         strcpy-sse2-unaligned strncpy-sse2-unaligned
35285         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35286         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35287         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35288         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35289         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35290         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35291         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35292         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35293         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35294         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35295         (STRCPY): Support SSE2 and SSSE3 versions.
35296
35297 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35298
35299         [BZ #12874]
35300         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35301         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35302         kernels which artificially limit size of requests.
35303
35304 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35305
35306         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35307         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35308         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35309         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35310         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35311         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35312         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35313         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35314         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35316         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35317         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35318         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35319         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35320         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35322         Enable unaligned load optimization for Intel Core i3, i5 and i7
35323         processors.
35324         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35325         Define.
35326         (index_Fast_Unaligned_Load): Define.
35327         (HAS_FAST_UNALIGNED_LOAD): Define.
35328
35329 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35330
35331         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35332
35333 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35334
35335         [BZ #12907]
35336         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35337         until it is clear that the information is realy needed.
35338         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35339
35340 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35341
35342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35343
35344 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35345
35346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35347         /sys/devices/system/cpu/online if it is usable.
35348
35349         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35350         reading the information from the /proc filesystem to once a second.
35351
35352 2011-06-21  Andreas Jaeger  <aj@suse.de>
35353
35354         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35355         NULL after inclusion of kernel headers.
35356
35357 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35358
35359         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35360         calls to internal_setent.
35361
35362         [BZ #12885]
35363         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35364         addresses using gethostbyname4_r ignore IPv4 addresses.
35365
35366         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35367         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35368
35369         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35370
35371 2011-06-20  David S. Miller  <davem@davemloft.net>
35372
35373         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35374         inclusions.
35375         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35376
35377         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35378         (elf_irel): Use it.
35379         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35380         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35381         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35382         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35383         * sysdeps/x86_64/dl-irel.h: Likewise.
35384
35385         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35386         * elf/dl-sym.c: Likewise.
35387
35388 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35389
35390         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35391         need to dereference resplen2.
35392
35393 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35394
35395         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35396
35397 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35398
35399         * Makeconfig: Define vardbdir and inst_vardbdir.
35400         * nss/Makefile: Add rules to install db-Makefile.
35401
35402         * nss/nss_db/db-XXX.c: Cleanup.
35403
35404         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35405         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35406         GLIBC_PRIVATE.
35407         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35408         * nss/makedb.c: Implement -g option to specify that value strings
35409         are generated and should not be added to table iterated over for
35410         get*ent calls.
35411         * nss/nss_db/db-initgroups.c: New file.
35412
35413         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35414         interface.
35415
35416         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35417         (internal_getgrouplist): Adjust to name change.
35418         Update use_initgroups_entry if this is not the first call.
35419         * nss/databases.def: Add initgroups entry.
35420
35421         * nss/makedb.c (compute_tables): Check result of multiple hash table
35422         sizes to minimize maximum chain length.
35423
35424 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35425
35426         * Versions.def: Add entry for libnss_db.
35427         * shlib-versions: Likewise.
35428         * nss/Makefile: Add rules to build libnss_db.
35429         * nss/Versions: Add libnss_db information.  Organize libnss_files
35430         entries better.
35431         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35432         makedb progra.  Some minor improvements to generate smaller files.
35433         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35434         here from...
35435         * nss/makedb.c: ...here.
35436         Improve database format to be smaller and require less memory at
35437         runtime.
35438         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35439         db anymore.
35440         * nss/nss_db/db-netgrp.c: Likewise.
35441         * nss/nss_db/db-open.c: Likewise.
35442         * nss/nss_files/flies-XXX.x: Adjust comments.
35443         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35444         * nss/nss_files/files-grp.c: Likewise.
35445         * nss/nss_files/files-hosts.c: Likewise.
35446         * nss/nss_files/files-network.c: Likewise.
35447         * nss/nss_files/files-proto.c: Likewise.
35448         * nss/nss_files/files-pwd.c: Likewise.
35449         * nss/nss_files/files-rpc.c: Likewise.
35450         * nss/nss_files/files-service.c: Likewise.
35451         * nss/nss_files/files-sgrp.c: Likewise.
35452         * nss/nss_files/files-spwd.c: Likewise.
35453         * nss/nss_db/db-alias.c: Removed.
35454         * nss/nss_db/dummy-db.h: Removed.
35455
35456 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35457
35458         * nss/makedb.c: Rewritten to not use database library.
35459         * nss/Makefile: Update to build new makedb program.
35460
35461 2011-06-14  Andreas Jaeger  <aj@suse.de>
35462
35463         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35464         memset declaration.
35465
35466 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35467
35468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35469         tmpbuf.
35470
35471 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35472
35473         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35474         * elf/Makefile ($(objpfx)ld.so): Likewise.
35475
35476         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35477         Don't list ld.so twice in dependencies.
35478
35479         * posix/bug-regex31.c: Include <stdlib.h>.
35480
35481         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35482
35483         * nis/nss_compat/compat-spwd.c
35484         (getspent_next_nss_netgr): Remove unused variable.
35485         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35486
35487         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35488         nonmembers" output to use the right array.
35489
35490         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35491
35492         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35493
35494         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35495         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35496         * catgets/gencat.c (read_input_file): Likewise.
35497         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35498
35499         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35500         variable definition inside #if's controlling its use.
35501
35502         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35503
35504         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35505
35506         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35507
35508         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35509         unreachable code.
35510
35511         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35512
35513         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35514         * configure: Regenerated.
35515
35516         * Makerules: Revert last change.
35517         * elf/Makefile: Likewise.
35518
35519 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35520
35521         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35522         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35523         (reloc-link): Likewise.
35524
35525 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35526
35527         * elf/Makefile: Add rules to build pldd.
35528         * elf/pldd.c: New file.
35529         * elf/pldd-xx.c: New file.
35530
35531 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35532
35533         * version.h: Update for 2.15 development version.
35534
35535 2011-06-07  David S. Miller  <davem@davemloft.net>
35536
35537         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35538         ifuncs.
35539         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35540         elf_machine_lazy_rel): Likewise.
35541         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35542         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35543         elf_machine_lazy_rel): Likewise.
35544         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35545         dl_hwcap via passed in argument.
35546         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35547         Likewise.
35548
35549 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35550
35551         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35552
35553 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35554
35555         [BZ #12849]
35556         * manual/fdl-1.1.texi: New file, verbatim from:
35557         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35558         * manual/lgpl-2.1.texi: New file, verbatim from:
35559         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35560         * manual/Makefile (licenses): New variable, list those new file names.
35561         (texis): Use it.
35562         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35563
35564         * manual/fdl.texi: File removed.
35565         * manual/lesser.texi: File removed.
35566         * manual/libc.texinfo (Copying, Documentation License):
35567         Use new @include file names, put @appendix directive before @include.
35568
35569 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35570
35571         [BZ #12841]
35572         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35573         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35574         (mq_open): Add __NTH.
35575
35576 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35577
35578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35579         Assume Intel Core i3/i5/i7 processor if AVX is available.
35580
35581 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35582
35583         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35584         typo.
35585
35586 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35587
35588         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35589         memory.  Use alloca_account.  Fix memory leak when retrying.
35590
35591 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35592
35593         * version.h (RELEASE): Bump for 2.14 release.
35594         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35595
35596         * config.make.in (RANLIB): Remove entry.
35597
35598 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35599
35600         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35601         (libc.pot): Work around missing support for .ksh extension in xgettext.
35602
35603         [BZ #12684]
35604         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35605         if both request failed.
35606         (send_dg): In case of server errors clear resplen or *resplen2.
35607
35608         [BZ #12454]
35609         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35610         when there are multiple maps.
35611         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35612         (_dl_fini): Remove test here.
35613
35614         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35615
35616 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35617
35618         [BZ #12350]
35619         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35620         bit from old_res_options.
35621         (gaih_inet): Likewise.
35622
35623         [BZ #11099]
35624         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35625         as signed.
35626
35627         * resolv/res_init.c (res_setoptions): Make the code more compact.
35628
35629         [BZ #11558]
35630         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35631         set RES_USEVC.
35632
35633         [BZ #11634]
35634         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35635
35636         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35637
35638         [BZ #11781]
35639         * malloc/malloc.h: Declare malloc hook variables as volatile.
35640
35641         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35642         in last patch.
35643
35644         [BZ #11799]
35645         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35646         raise in the comment.
35647         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35648         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35649         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35650
35651 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35652
35653         [BZ #12811]
35654         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35655         grow the buffers more if it already has to be sufficient.
35656         (build_wcs_upper_buffer): Likewise.
35657         * posix/regexec.c (check_matching): Likewise.
35658         (clean_state_log_if_needed): Likewise.
35659         (extend_buffers): Don't enlarge buffers beyond size of the input
35660         buffer.
35661         Patches mostly by Emil Wojak <emil@wojak.eu>.
35662         * posix/bug-regex32.c: New file.
35663         * posix/Makefile (tests): Add bug-regex32.
35664
35665         * locale/findlocale.c (_nl_find_locale): Return right away if
35666         _nl_explode_name failed.
35667         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35668
35669         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35670
35671         * debug/xtrace.sh: Unify messages.
35672         * malloc/memusage.sh: Likewise.
35673
35674         [BZ #12813]
35675         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35676         time symbol from vDSO.  Substitute with vsyscall if not available.
35677         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35678         __vdso_time.
35679
35680         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35681         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35682         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35683         Add sendmmsg and internal_sendmmsg.
35684         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35685         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35686         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35687
35688         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35689         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35690         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35691
35692 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35693
35694         [BZ #12813]
35695         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35696         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35697         available.
35698         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35699         __vdso_getcpu.
35700
35701         [BZ #12814]
35702         * iconvdata/Makefile (tests): Add bug-iconv9.
35703         * iconvdata/bug-iconv9.c: New file.
35704
35705 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35706
35707         [BZ #12814]
35708         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35709
35710 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35711
35712         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35713         (struct user_regs_struct): Change intcs field back to cs.
35714
35715 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35716
35717         * po/ja.po: Update from translation team.
35718
35719 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35720
35721         [BZ #12795]
35722         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35723         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35724
35725 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35726
35727         * stdlib/longlong.h: Update from GCC.
35728
35729 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35730
35731         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35732         parameter name.
35733         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35734         Add parameter name.
35735         (__sysconf): Pass it down.
35736
35737 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35738
35739         [BZ #12671]
35740         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35741         some situations.
35742         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35743         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35744         add in in __libc_use_alloca calls.  Adjust callers.
35745         (glob): Use malloc in some situations.
35746
35747         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35748         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35749         pltexit.
35750
35751 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35752
35753         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35754         and CLOCK_BOOTTIME_ALARM.
35755
35756         [BZ #12782]
35757         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35758         is returned.
35759
35760         * string/_strerror.c (__strerror_r): Print negative errors as signed
35761         numbers.
35762
35763         [BZ #12777]
35764         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35765         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35766         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35767
35768         * configure.in: Fix typo in redirection and correct removal of test
35769         files in two cases.
35770
35771         [BZ #12788]
35772         * locale/setlocale.c (new_composite_name): Fix test to check for
35773         identical name of all categories.
35774
35775         [BZ #12792]
35776         * libio/filedoalloc.c (local_isatty): New function.
35777         (_IO_file_doallocate): Use local_isatty.
35778         * stdio-common/perror.c (perror): In case a new stream is used
35779         forward the stream error.
35780         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35781         error flag.
35782
35783 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35784
35785         [BZ #11869]
35786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35787         alloca.
35788         * include/alloca.h (extend_alloca_account): Define.
35789
35790         [BZ #11857]
35791         * posix/regex.h: Fix comments with documentation of user-accessible
35792         fields after compilation and describe correct free'ing of pattern
35793         after re_compile_pattern.
35794         Patch by Reuben Thomas <rrt@sc3d.org>.
35795
35796 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35797
35798         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35799         and -mno-altivec to prevent the compiler from using Altivec and/or
35800         VSX instructions when the corresponding registers are not available.
35801
35802 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35803
35804         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35805
35806 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35807
35808         * libio/freopen.c (freopen): Use __dup2, not dup2.
35809         * libio/freopen64.c (freopen64): Likewise.
35810
35811 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35812
35813         [BZ #12775]
35814         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35815         * math/Makefile (tests): Add test-powl.
35816         (CFLAGS-test-powl.c): Define.
35817         * math/test-powl.c: New file.
35818
35819 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35820
35821         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35822
35823 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35824
35825         [BZ #11837]
35826         * iconvdata/gb18030.c: Update to GB18020-2005.
35827
35828 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35829
35830         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35831         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35832         Patch by Aharon Robbins <arnold@skeeve.com>.
35833
35834         [BZ #11892]
35835         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35836         on the stack.
35837
35838         [BZ #11895]
35839         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35840         through underflows.
35841
35842         [BZ #12766]
35843         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35844         point to strings before performing equality test for error_one_per_line
35845         mode.
35846
35847         [BZ #11697]
35848         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35849
35850         [BZ #11820]
35851         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35852         (struct user_fpregs_struct): Avoid __uint*_t types.
35853
35854         [BZ #6420]
35855         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35856         symbol info.  Use it instead of calling _dl_addr locally.
35857         (lock_and_info): New function.
35858         (tr_freehook): Call lock_and_info and pass symbol info as additional
35859         parameter to tr_where.
35860         (tr_mallochook): Likewise.
35861         (tr_reallochook): Likewise.
35862         (tr_memalignhook): Likewise.
35863
35864         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35865         used and couldn't be at all thread-safe.
35866
35867 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35868
35869         * libio/freopen.c (freopen): Don't close old file descriptor
35870         before the new one is opened.  Instead dup the new file descriptor
35871         to the old one after the new stream is created.
35872         * libio/freopen64.c (freopen64): Likewise.
35873         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35874         * libio/fileops.c (_IO_new_file_close_it): Handle new
35875         _IO_FLAGS2_NOCLOSE flag.
35876         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35877         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35878         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35879         _IO_FLAGS2_NOCLOSE flag.
35880         * include/unistd.h: Add hidden_proto for dup3.
35881         Define __have_dup3.
35882         * io/dup3.c: Define hidden symbol.
35883         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35884
35885         [BZ #7101]
35886         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35887         when an incomplete long option is used.
35888         * posix/tst-getopt_long1.c: New file.
35889         * posix/Makefile (tests): Add tst-getopt_long1.
35890
35891         [BZ #10138]
35892         * scripts/config.guess: Update from autoconf-2.68.
35893         * scripts/config.sub: Likewise.
35894
35895         [BZ #10157]
35896         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35897         tests into ...
35898         (has_cpuclock): ...this.  New function.
35899         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35900         macro here based on has_cpuclock code.
35901
35902         [BZ #10149]
35903         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35904         First byte (not low byte) is now always NUL.
35905         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35906
35907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35908         Use non-cancelable interfaces.
35909
35910         [BZ #9809]
35911         * locale/iso-639.def: Add entry for Sorani.
35912
35913         [BZ #11901]
35914         * include/stdlib.h: Move include protection to the right place.
35915         Define abort_msg_s.  Declare __abort_msg with it.
35916         * stdlib/abort.c (__abort_msg): Adjust type.
35917         * assert/assert.c (__assert_fail_base): New function.  Majority
35918         of code from __assert_fail.  Allocate memory for __abort_msg with
35919         mmap.
35920         (__assert_fail): Now call __assert_fail_base.
35921         * assert/assert-perr.c: Remove bulk of implementation.  Use
35922         __assert_fail_base.
35923         * include/assert.hL Declare __assert_fail_base.
35924         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35925         mmap.
35926         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35927
35928 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35929
35930         [BZ #11952]
35931         [BZ #12453]
35932         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35933         until all modules are registered in the DTV.
35934         * elf/Makefile: Add rules to build and run tst-tls19.
35935         * elf/tst-tls19.c: New file.
35936         * elf/tst-tls19mod1.c: New file.
35937         * elf/tst-tls19mod2.c: New file.
35938         * elf/tst-tls19mod3.c: New file.
35939         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35940
35941         [BZ #12083]
35942         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35943         correctly.
35944
35945         [BZ #12601]
35946         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35947         two-byte sequence errors.
35948         * iconvdata/Makefile (tests): Add bug-iconv8.
35949         * iconvdata/bug-iconv8.c: New file.
35950
35951         [BZ #12626]
35952         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35953         buf2 definition.
35954
35955         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35956
35957         [BZ #12432]
35958         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35959         (dummy_getcfa): New function.
35960         (init): Get _Unwind_GetCFA address, use dummy if not found.
35961         (backtrace_helper): In recursion check, also check whether CFA changes.
35962         (__backtrace): Completely initialize arg.
35963
35964         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35965         storing incomplete byte sequence in state object.  Avoid testing for
35966         guaranteed too small input if we know there is enough data available.
35967
35968 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35969
35970         * Makeconfig (+link-pie): Indent.
35971         * Rules (binaries-pie): Define if $(have-fpie) and
35972         $(build-shared).
35973         (binaries-shared): Also filter out $(binaries-pie).
35974         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35975         * nscd/Makefile (others-pie): Add nscd.
35976         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35977         ($(objpfx)nscd): Remove command override.
35978         * login/Makefile (others-pie): Add pt_chown.
35979         ($(objpfx)pt_chown): Remove command override.
35980         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35981         remove command overrides.
35982
35983 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35984
35985         * libio/tst_putwc.c: Fix error messages.
35986
35987         [BZ #12724]
35988         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35989         currently writing and seek to current position when not.
35990         * libio/Makefile (tests): Add bug-fclose1.
35991         * libio/bug-fclose1.c: New file.
35992
35993 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35994
35995         [BZ #12511]
35996         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35997         don't set DF_1_NODELETE here.
35998         (do_lookup_x): When entering new entry test for copy relocation
35999         and if necessary set DF_1_NODELETE flag.
36000         * elf/tst-unique4.cc: New file.
36001         * elf/tst-unique4.h: New file.
36002         * elf/tst-unique4lib.cc: New file.
36003         * elf/Makefile: Add rules to build and run tst-unique4.
36004         Patch by Piotr Bury <pbury@goahead.com>.
36005
36006 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36007
36008         [BZ #12052]
36009         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36010
36011         [BZ #12625]
36012         * misc/mntent_r.c (addmntent): Flush the stream after the output
36013
36014         [BZ #12393]
36015         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36016         (is_trusted_path_normalize): Skip initial colon.  Append slash
36017         to empty buffer.  Duplicate is_trusted_path code but allow
36018         constructed patch to be prefix.
36019         (is_dst): Allow $ORIGIN followed by /.
36020         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36021         Correct testing of result of is_trusted_path_normalize
36022         (decompose_rpath): Fix warning.
36023
36024 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36025
36026         [BZ #11257]
36027         * grp/initgroups.c (internal_getgrouplist): When we found the service
36028         list through the initgroups entry in nsswitch.conf do not always
36029         continue on a successful lookup.  Don't always use the
36030         __nss_group_database value if it is set.
36031         * nss/nsswitch.conf (initgroups): Change action for successful db
36032         lookup to continue for compatibility.
36033
36034 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36035
36036         [BZ #11532]
36037         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36038         and CP774 modules.
36039         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36040         and CP774 modules.
36041         * iconvdata/tst-tables.sh: Likewise.
36042         * iconvdata/cp770.c: New file.
36043         * iconvdata/cp771.c: New file.
36044         * iconvdata/cp772.c: New file.
36045         * iconvdata/cp773.c: New file.
36046         * iconvdata/cp774.c: New file.
36047         * iconvdata/testdata/CP770: New file.
36048         * iconvdata/testdata/CP770..UTF8: New file.
36049         * iconvdata/testdata/CP771: New file.
36050         * iconvdata/testdata/CP771..UTF8: New file.
36051         * iconvdata/testdata/CP772: New file.
36052         * iconvdata/testdata/CP772..UTF8: New file.
36053         * iconvdata/testdata/CP773: New file.
36054         * iconvdata/testdata/CP773..UTF8: New file.
36055         * iconvdata/testdata/CP774: New file.
36056         * iconvdata/testdata/CP774..UTF8: New file.
36057
36058         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36059         END CHARMAP line.
36060         * iconvdata/gen-8bit-gap.sh: Likewise.
36061         * iconvdata/gen-8bit.sh: Likewise.
36062
36063         * locale/iso-639.def: Add ary entry.
36064
36065         [BZ #11258]
36066         * locale/C-translit.h.in: Add U20A1 transliteration.
36067
36068         [BZ #12178]
36069         * locale/iso-639.def: Add wae entry.
36070         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36071
36072         [BZ #12545]
36073         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36074         for n.
36075
36076         [BZ #12711]
36077         * locale/C-translit.h.in: Add entry for U20B9.
36078         Patch by pravin.d.s@gmail.com.
36079
36080 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36081
36082         [BZ #12713]
36083         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36084         ENAMETOOLONG use generic getcwd.
36085         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36086         in rtld.  Use *stat64.
36087         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36088         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36089         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36090         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36091         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36092         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36093         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36094         __fstatat64 macros.
36095         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36096         * dirent/rewinddir.c: Add libc_hidden_def.
36097         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36098         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36099
36100         * include/dirent.h (__alloc_dir): Add flags parameter.
36101         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36102         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36103         __alloc_dir.
36104         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36105         from fdopendir if O_CLOEXEC is already set.
36106
36107 2011-03-15  Alan Modra  <amodra@gmail.com>
36108
36109         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36110         l_tls_firstbyte_offset non-zero.  Save padding offset in
36111         l_tls_firstbyte_offset for later use.
36112         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36113         freeing static tls block.
36114
36115 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36116
36117         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36118         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36119         being defined by the kernel headers.
36120
36121 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36122
36123         [BZ #12734]
36124         * resolv/resolv.h: Define RES_NOTLDQUERY.
36125         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36126         no-tld-query and set RES_NOTLDQUERY.
36127         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36128         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36129         modern BIND to search name as TLD unless forbidden.
36130
36131 2011-05-07  Petr Baudis  <pasky@suse.cz>
36132             Ulrich Drepper  <drepper@gmail.com>
36133
36134         [BZ #12393]
36135         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36136         (is_trusted_path): ...to here.
36137         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36138         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36139         using is_trusted_path_normalize() in setuid scripts.
36140
36141 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36142
36143         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36144         __BEGIN/__END_DECLS.
36145
36146 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36147
36148         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36149         NSS_STATUS_NOTFOUND if no record was found.
36150
36151 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36152
36153         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36154         (headers-not-in-tirpc): Remove rpc/netdb.h
36155         * resolv/netdb.h: Revert last change.
36156
36157 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36158
36159         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36160         circular dependency between libgcc.a and libc.a.
36161
36162 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36163
36164         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36165         * nis/Makefile: Don't install rpcsvc/*.
36166         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36167         instead of <rpc/types.h>.
36168         (MAXHOSTNAMELEN): Define.
36169
36170 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36171
36172         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36173
36174 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36175
36176         [BZ #12714]
36177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36178         gethostbyname4_r when IPv6 results are possible.
36179
36180 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36181
36182         [BZ #12723]
36183         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36184         _PC_PIPE_BUF handling.
36185
36186 2011-04-30  Bruno Haible  <bruno@clisp.org>
36187
36188         [BZ #12717]
36189         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36190         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36191         to 'int'.
36192         * inet/getnameinfo.c (getnameinfo): Likewise.
36193
36194 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36195
36196         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36197         to groups setting in database lookup.
36198         * nss/nsswitch.conf: Add initgroups entry.
36199
36200 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36201
36202         [BZ #12685]
36203         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36204         mode string.
36205         Patch by Eric Blake <eblake@redhat.com>.
36206
36207 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36208
36209         * sunrpc/Makefile (need-export-routines): Add svc_run.
36210         (routines): Remove svc_run.
36211         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36212         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36213         * sunrpc/svc_run.c (svc_run): Likewise.
36214         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36215
36216 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36217
36218         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36219         problem in reallocation in last patch.
36220
36221 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36222
36223         * sunrpc/Makefile: Move inclusion of Rules.
36224
36225 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36226
36227         * nss/nss_files/files-initgroups.c: New file.
36228         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36229         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36230         _nss_files_initgroups_dyn.
36231
36232 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36233
36234         * elf/elf.h (R_ARM_IRELATIVE): Define.
36235
36236 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36237
36238         * po/ru.po: Update from translation team.
36239
36240 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36241
36242         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36243         dependencies.
36244
36245 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36246
36247         [BZ #12653]
36248         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36249         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36250         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36251         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36252         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36253
36254 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36255
36256         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36257         differing bytes.
36258         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36259         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36260         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36261
36262 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36263
36264         [BZ #12420]
36265         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36266         storing it.
36267         * stdlib/bug-getcontext.c: New file.
36268         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36269
36270 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36271
36272         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36273         instructions into .machine "z9-109".
36274         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36275         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36276
36277 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36278
36279         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36280         between environment variables and auxiliary vector.
36281
36282 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36283
36284         * Makefile: Add rules to build linkobj/libc.so.
36285         * include/libc-symbols.h: Define libc_hidden_nolink.
36286         * include/rpc/auth.h: Mark functions which are to be hidden.
36287         * include/rpc/auth_des.h: Likewise.
36288         * include/rpc/auth_unix.h: Likewise.
36289         * include/rpc/clnt.h: Likewise.
36290         * include/rpc/des_crypt.h: Likewise.
36291         * include/rpc/key_prot.h: Likewise.
36292         * include/rpc/pmap_clnt.h: Likewise.
36293         * include/rpc/pmap_prot.h: Likewise.
36294         * include/rpc/pmap_rmt.h: Likewise.
36295         * include/rpc/rpc_msg.h: Likewise.
36296         * include/rpc/svc.h: Likewise.
36297         * include/rpc/svc_auth.h: Likewise.
36298         * include/rpc/xdr.h: Likewise.
36299         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36300         * nss/Makefile: Likewise.
36301         * sunrpc/Makefile: Don't install headers.  Build library with normal
36302         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36303         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36304         for the compat linking library.  Remove use of INTDEF/INTUSE.
36305         * sunrpc/auth_none.c: Likewise.
36306         * sunrpc/auth_unix.c: Likewise.
36307         * sunrpc/authdes_prot.c: Likewise.
36308         * sunrpc/authuxprot.c: Likewise.
36309         * sunrpc/clnt_gen.c: Likewise.
36310         * sunrpc/clnt_perr.c: Likewise.
36311         * sunrpc/clnt_raw.c: Likewise.
36312         * sunrpc/clnt_simp.c: Likewise.
36313         * sunrpc/clnt_tcp.c: Likewise.
36314         * sunrpc/clnt_udp.c: Likewise.
36315         * sunrpc/clnt_unix.c: Likewise.
36316         * sunrpc/des_crypt.c: Likewise.
36317         * sunrpc/des_soft.c: Likewise.
36318         * sunrpc/get_myaddr.c: Likewise.
36319         * sunrpc/key_call.c: Likewise.
36320         * sunrpc/key_prot.c: Likewise.
36321         * sunrpc/netname.c: Likewise.
36322         * sunrpc/pm_getmaps.c: Likewise.
36323         * sunrpc/pm_getport.c: Likewise.
36324         * sunrpc/pmap_clnt.c: Likewise.
36325         * sunrpc/pmap_prot.c: Likewise.
36326         * sunrpc/pmap_prot2.c: Likewise.
36327         * sunrpc/pmap_rmt.c: Likewise.
36328         * sunrpc/publickey.c: Likewise.
36329         * sunrpc/rpc_cmsg.c: Likewise.
36330         * sunrpc/rpc_common.c: Likewise.
36331         * sunrpc/rpc_dtable.c: Likewise.
36332         * sunrpc/rpc_prot.c: Likewise.
36333         * sunrpc/rpc_thread.c: Likewise.
36334         * sunrpc/rtime.c: Likewise.
36335         * sunrpc/svc.c: Likewise.
36336         * sunrpc/svc_auth.c: Likewise.
36337         * sunrpc/svc_authux.c: Likewise.
36338         * sunrpc/svc_raw.c: Likewise.
36339         * sunrpc/svc_run.c: Likewise.
36340         * sunrpc/svc_simple.c: Likewise.
36341         * sunrpc/svc_tcp.c: Likewise.
36342         * sunrpc/svc_udp.c: Likewise.
36343         * sunrpc/svc_unix.c: Likewise.
36344         * sunrpc/svcauth_des.c: Likewise.
36345         * sunrpc/xcrypt.c: Likewise.
36346         * sunrpc/xdr.c: Likewise.
36347         * sunrpc/xdr_array.c: Likewise.
36348         * sunrpc/xdr_float.c: Likewise.
36349         * sunrpc/xdr_intXX_t.c: Likewise.
36350         * sunrpc/xdr_mem.c: Likewise.
36351         * sunrpc/xdr_rec.c: Likewise.
36352         * sunrpc/xdr_ref.c: Likewise.
36353         * sunrpc/xdr_sizeof.c: Likewise.
36354         * sunrpc/xdr_stdio.c: Likewise.
36355
36356 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36357
36358         [BZ #12650]
36359         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36360         * sysdeps/ia64/dl-tls.h: Likewise.
36361         * sysdeps/powerpc/dl-tls.h: Likewise.
36362         * sysdeps/s390/dl-tls.h: Likewise.
36363         * sysdeps/sh/dl-tls.h: Likewise.
36364         * sysdeps/sparc/dl-tls.h: Likewise.
36365         * sysdeps/x86_64/dl-tls.h: Likewise.
36366         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36367
36368 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36369
36370         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36371         rpath element also skip the following colon.
36372         (expand_dynamic_string_token): Add is_path parameter and pass
36373         down to DL_DST_REQUIRED and _dl_dst_substitute.
36374         (decompose_rpath): Call expand_dynamic_string_token with
36375         non-zero is_path.  Ignore empty rpaths.
36376         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36377         with zero is_path.
36378
36379 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36380
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36382         Make cancelable.
36383
36384 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36385
36386         [BZ #12655]
36387         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36388         Patch by Filipe David Manana <fdmanana@apache.org>.
36389
36390 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36391
36392         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36393         Maintain aligned stack.
36394         (CHECK_RSP): Remove unused macro.
36395
36396 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36397
36398         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36399         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36400
36401 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36402
36403         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36404
36405         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36406
36407 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36408
36409         [BZ #12518]
36410         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36411         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36412         * sysdeps/x86_64/memmove.c: New file.
36413         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36414         (memcpy): Renamed to ...
36415         (__new_memcpy): This.
36416         (memcpy): Provide GLIBC_2_14 memcpy.
36417         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36418         (memcpy): Provide GLIBC_2_2_5 memcpy.
36419
36420 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36421
36422         [BZ #12631]
36423         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36424
36425 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36426
36427         * misc/syncfs.c: New file.
36428         * misc/Makefile (routines): Add syncfs.
36429         * posix/unistd.h: Declare syncfs.
36430         * sysdeps/unix/syscalls.list: Add syncfs.
36431
36432 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36433
36434         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36435         open_by_handle_at.
36436         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36437         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36439         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36441         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36443
36444 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36445
36446         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36447         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36448         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36449         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36450         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36451         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36452         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36453
36454         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36455         sync_file_range.c with -fexceptions.
36456         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36457         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36458         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36459         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36460         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36461         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36462         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36463         sync_file_range as cancellation point
36464         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36465         now a wrapper around __call_sync_file_range with cancellation handling.
36466         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36467         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36468         function name to __call_sync_file_range.
36469         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36470         Add call_sync_file_range.
36471
36472 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36473
36474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36475         bits/timex.h.
36476
36477 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36478
36479         * iconv/iconv.h: Fix typo in comment.
36480         * io/fcntl.h: Likewise.
36481         * libio/stdio.h: Likewise.
36482         * posix/spawn.h: Likewise.
36483         * posix/unistd.h: Likewise.
36484         * stdlib/stdlib.h: Likewise.
36485         * time/time.h: Likewise.
36486         * wcsmbs/wchar.h: Likewise.
36487
36488         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36489         open_by_handle): Add.
36490         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36491         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36492         Augment a few comments.
36493         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36495         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36496         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36497         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36498         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36499         open_by_handle.
36500
36501         * io/fcntl.h (AT_EMPTY_PATH): Define.
36502
36503 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36504
36505         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36506         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36507         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36508         to...
36509         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36510         * Versions.def: Add GLIBC_2.14.
36511         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36512         Export.
36513
36514 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36515
36516         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36517         round counter.
36518         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36519
36520 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36521
36522         [BZ #12597]
36523         * string/test-strncmp.c (do_page_test): New function.
36524         (check2): Likewise.
36525         (test_main): Call check2.
36526         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36527
36528 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36529
36530         [BZ #12587]
36531         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36532         Handle cache information in CPU leaf 4.
36533         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36534
36535 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36536
36537         [BZ #12583]
36538         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36539         character representation.
36540         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36541
36542 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36543
36544         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36545         END(__isnan) to END(__isnanf) to match function entry point/label
36546         EALIGN(__isnanf,...).
36547
36548 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36549
36550         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36551
36552 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36553
36554         [BZ #12510]
36555         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36556         copy from the symbol referenced in the relocation to initialize the
36557         used variable.
36558         Patch by Piotr Bury <pbury@goahead.com>.
36559         * elf/Makefile: Add rules to build and tst-unique3.
36560         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36561         * elf/tst-unique3.cc: New file.
36562         * elf/tst-unique3.h: New file.
36563         * elf/tst-unique3lib.cc: New file.
36564         * elf/tst-unique3lib2.cc: New file.
36565
36566         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36567
36568 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36569
36570         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36571         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36572         to _start.
36573
36574 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36575
36576         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36577         to-be-loaded object along a path to loader is ld.so.
36578
36579 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36580             Ulrich Drepper  <drepper@gmail.com>
36581
36582         * sysdeps/x86_64/memset.S: After aligning destination, code
36583         branches to different locations depending on the value of
36584         misalignment, when multiarch is enabled. Fix this.
36585
36586 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36587
36588         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36589         Set _x86_64_preferred_memory_instruction for AMD processsors.
36590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36591         Set bit_Prefer_SSE_for_memop for AMD processors.
36592
36593 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36594
36595         * libio/fmemopen.c (fmemopen): Optimize a bit.
36596
36597 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36598
36599         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36600
36601 2011-03-03  Roland McGrath  <roland@redhat.com>
36602
36603         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36604
36605 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36606
36607         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36608         __bzero_ultra1 instead of __memset_ultra1.
36609
36610 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36611             Ulrich Drepper  <drepper@gmail.com>
36612
36613         [BZ #12509]
36614         * include/link.h (struct link_map): Add l_orig_initfini.
36615         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36616         returning unsuccessfully.
36617         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36618         close of a file loaded at startup, restore the original l_initfini
36619         list.
36620         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36621         list, store the pointer.
36622         * elf/Makefile ($(objpfx)noload-mem): New rule.
36623         (noload-ENV): Define.
36624         (tests): Add $(objpfx)noload-mem.
36625         * elf/noload.c: Include <memcheck.h>.
36626         (main): Call mtrace.  Close all opened handles.
36627
36628 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36629
36630         [BZ #12454]
36631         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36632         dependencies are missing.
36633
36634 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36635
36636         Fix __if_freereq crash: Unlike the generic version which uses free,
36637         Hurd needs munmap.
36638         * sysdeps/mach/hurd/ifreq.h: New file.
36639
36640 2011-01-27  Petr Baudis  <pasky@suse.cz>
36641             Ulrich Drepper  <drepper@gmail.com>
36642
36643         [BZ 12445]#
36644         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36645         to extend_alloca().
36646         * stdio-common/bug23.c: New file.
36647         * stdio-common/Makefile (tests): Add bug23.
36648
36649 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36650             Ulrich Drepper  <drepper@gmail.com>
36651
36652         [BZ #12489]
36653         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36654         before performing relro protection.  At old place add assertion
36655         to make sure nothing changed.
36656
36657 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36658             Glauber de Oliveira Costa  <glommer@gmail.com>
36659
36660         * elf/elf.h: Add new ARM TLS relocs.
36661
36662 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36663
36664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36665         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36666         cast from r3.
36667         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36668         'tests' variable.
36669         * sysdeps/wordsize-64/tst-writev.c: New file.
36670
36671 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36672
36673         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36674         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36675         insns in _dl_start to prevent a TOC reference before relocs are
36676         resolved.
36677
36678 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36679
36680         [BZ #12469]
36681         * Makeconfig: Remove RANLIB definition.
36682         * Makerules: Don't use RANLIB.
36683         * aclocal.m4: Remove ranlib test.
36684         * configure.in: No need to check for ranlib.
36685         * elf/rtld-Rules: Don't use RANLIB.
36686
36687 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36688
36689         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36690         protection macro.
36691         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36692         inclusion protection macro.
36693
36694         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36695         SIGRTMIN and SIGRTMAX and print information in that case only when
36696         SIGRTMIN is defined.
36697
36698 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36699
36700         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36701         arginfo fn returning -1.
36702
36703         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36704         and thousands string is zero terminated.
36705
36706 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36707
36708         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36709         sysdeps/unix/sysv/linux/bits/socket.h.
36710
36711 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36712
36713         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36714         (__CPU_COUNT): Remove old macros.
36715         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36716         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36717         (__CPU_ALLOC, __CPU_FREE): Add macros.
36718         (__sched_cpualloc, __sched_cpufree): Add declarations.
36719
36720 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36721
36722         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36723         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36724         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36725         (readdhstai): Return value of addhstaiX call.
36726         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36727         (addgrbyX): Return value returned by cache_addgr.
36728         (readdgrbyname): Return value returned by addgrbyX.
36729         (readdgrbygid): Likewise.
36730         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36731         (addpwbyX): Return value returned by cache_addpw.
36732         (readdpwbyname): Return value returned by addhstbyX.
36733         (readdpwbyuid): Likewise.
36734         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36735         (addservbyX): Return value returned by cache_addserv.
36736         (readdservbyname): Return value returned by addservbyX:
36737         (readdservbyport): Likewise.
36738         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36739         (addhstbyX): Return value returned by cache_addhst.
36740         (readdhstbyname): Return value returned by addhstbyX.
36741         (readdhstbyaddr): Likewise.
36742         (readdhstbynamev6): Likewise.
36743         (readdhstbyaddrv6): Likewise.
36744         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36745         (readdinitgroups): Return value returned by addinitgroupsX.
36746         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36747         (prune_cache): Keep track of timeout value of re-added entries.
36748         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36749         * nscd/nscd.h: Adjust prototypes of readd* functions.
36750
36751 2011-02-04  Roland McGrath  <roland@redhat.com>
36752
36753         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36754         (nis_stats): Likewise.
36755         * nis/nis_modify.c (nis_modify): Likewise.
36756         * nis/nis_remove.c (nis_remove): Likewise.
36757         * nis/nis_add.c (nis_add): Likewise.
36758
36759         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36760
36761         * posix/fnmatch_loop.c: Add some consts.
36762
36763         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36764
36765 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36766
36767         [BZ #12460]
36768         * config.make.in (config-cflags-novzeroupper): Define.
36769         * configure.in: Substitute libc_cv_cc_novzeroupper.
36770         * elf/Makefile (AVX-CFLAGS): Define.
36771         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36772         (CFLAGS-tst-auditmod4a.c): Likewise.
36773         (CFLAGS-tst-auditmod4b.c): Likewise.
36774         (CFLAGS-tst-auditmod6b.c): Likewise.
36775         (CFLAGS-tst-auditmod6c.c): Likewise.
36776         (CFLAGS-tst-auditmod7b.c): Likewise.
36777         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36778
36779 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36780
36781         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36782         function to the callback.
36783         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36784
36785 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36786
36787         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36788         of errno.
36789
36790 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36791
36792         [BZ #11724]
36793         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36794         of constructors.
36795         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36796         of destructors.
36797         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36798
36799         [BZ #11724]
36800         * elf/Makefile: Add rules to build and run new test.
36801         * elf/tst-initorder.c: New file.
36802         * elf/tst-initorder.exp: New file.
36803         * elf/tst-initordera1.c: New file.
36804         * elf/tst-initordera2.c: New file.
36805         * elf/tst-initordera3.c: New file.
36806         * elf/tst-initordera4.c: New file.
36807         * elf/tst-initorderb1.c: New file.
36808         * elf/tst-initorderb2.c: New file.
36809         * elf/tst-order-a1.c: New file.
36810         * elf/tst-order-a2.c: New file.
36811         * elf/tst-order-a3.c: New file.
36812         * elf/tst-order-a4.c: New file.
36813         * elf/tst-order-b1.c: New file.
36814         * elf/tst-order-b2.c: New file.
36815         * elf/tst-order-main.c: New file.
36816         New test case by George Gensure <werkt0@gmail.com>.
36817
36818 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36819
36820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36821         decoding ACE if AI_CANONIDN.
36822
36823 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36824
36825         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36826
36827 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36828
36829         * version.h (RELEASE): Bump for 2.13 release.
36830         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36831
36832         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36833
36834         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36835         MADV_NOHUGEPAGE.
36836         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36837         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36838         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36839         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36840         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36841         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36842
36843         * posix/getconf.c: Update copyright year.
36844         * catgets/gencat.c: Likewise.
36845         * csu/version.c: Likewise.
36846         * debug/catchsegv.sh: Likewise.
36847         * debug/xtrace.sh: Likewise.
36848         * elf/ldconfig.c: Likewise.
36849         * elf/ldd.bash.in: Likewise.
36850         * elf/sprof.c (print_version): Likewise.
36851         * iconv/iconv_prog.c: Likewise.
36852         * iconv/iconvconfig.c: Likewise.
36853         * locale/programs/locale.c: Likewise.
36854         * locale/programs/localedef.c: Likewise.
36855         * malloc/memusage.sh: Likewise.
36856         * malloc/mtrace.pl: Likewise.
36857         * nscd/nscd.c (print_version): Likewise.
36858         * nss/getent.c: Likewise.
36859
36860         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36861         PF_CAIF, and PF_ALG.
36862         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36863
36864 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36865
36866         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36867         (modules-names): Use them.
36868         (ifunc-test-modules, ifunc-pie-tests): Define.
36869         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36870         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36871         (test-extras): Likewise.
36872         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36873         $(compile-command.c).
36874         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36875         (all-built-dso): Define.
36876         (check-textrel.out, check-execstack.out): Depend on it.
36877
36878         * configure.in: Don't override --enable-multi-arch.
36879
36880 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36881
36882         [BZ #6812]
36883         * nscd/hstcache.c (tryagain): Define.
36884         (cache_addhst): Return tryagain not notfound for temporary errors.
36885         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36886         failed.
36887
36888 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36889
36890         [BZ #10563]
36891         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36892         to make the syscall.
36893         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36894
36895         [BZ #12378]
36896         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36897         and fall back to matching as normal character if the string ends before
36898         the matching ']' is found.  This is what POSIX requires.
36899         * posix/testfnm.c: Adjust test result.
36900         * posix/globtest.sh: Adjust test result.  Add new test.
36901         * posix/tst-fnmatch.input: Likewise.
36902         * posix/tst-fnmatch2.c: Add new test.
36903
36904 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36905
36906         * elf/Makefile (check-execstack): Revert last change.  Depend on
36907         check-execstack.h.
36908         (check-execstack.h): New target.
36909         (generated): Add check-execstack.h.
36910         * elf/check-execstack.c: Include "check-execstack.h".
36911         (main): Revert last change.
36912         (handle_file): Return zero if GNU_STACK is absent and
36913         DEFAULT_STACK_PERMS doesn't include PF_X.
36914
36915 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36916
36917         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36918         in child fails because the descriptor is already closed.
36919         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36920         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36921         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36922
36923         [BZ #12397]
36924         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36925         syscall.
36926
36927         [BZ #10484]
36928         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36929         temporary buffer used to handle multi lookups locally.
36930         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36931
36932 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36933
36934         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36935         loader is ld.so.
36936
36937 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36938
36939         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36940         alignment for SSE2.
36941
36942 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36943
36944         [BZ #12394]
36945         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36946         characters.  When rounding increased number of integer digits recompute
36947         number of groups.
36948         * stdio-common/tst-grouping.c: New file.
36949         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36950
36951 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36952
36953         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36954         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36955
36956         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36957         void.
36958         * bits/select.h: Likewise.
36959
36960 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36961
36962         * po/ja.po: Update from translation team.
36963
36964 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36965
36966         [BZ #11155]
36967         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36968         implementation just like for lxstat, fxstatat, et al.
36969
36970 2010-12-27  Jim Meyering  <meyering@redhat.com>
36971
36972         [BZ #12348]
36973         * posix/regexec.c (build_trtable): Return failure indication upon
36974         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36975
36976 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36977
36978         [BZ #12201]
36979         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36980         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36981         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36982         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36983
36984         [BZ #12207]
36985         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36986
36987         [BZ #12204]
36988         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36989         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36990
36991 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36992
36993         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36994         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36995         script has SORT_BY_INIT_PRIORITY.
36996         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36997         NO_CTORS_DTORS_SECTIONS is defined.
36998         * elf/soinit.c: Likewise.
36999         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37000         NO_CTORS_DTORS_SECTIONS is defined.
37001         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37002         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37003         * sysdeps/sh/init-first.c: Likewise.
37004         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37005
37006 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37007
37008         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37009         always use the slow path.
37010
37011 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37012
37013         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37014         similar rule which adds the sysdep directories to the header search in
37015         order to pick up the correct platform stackinfo.h.
37016         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37017         perform test if it is, otherwise return successfully without testing.
37018         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37019         DEFAULT_STACK_PERMS define in stackinfo.h.
37020         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37021         defined in stackinfo.h.
37022         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37023         DEFAULT_STACK_PERMS defined in stackinfo.h.
37024         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37025         * sysdeps/ia64/stackinfo.h: Likewise.
37026         * sysdeps/s390/stackinfo.h: Likewise.
37027         * sysdeps/sh/stackinfo.h: Likewise.
37028         * sysdeps/sparc/stackinfo.h: Likewise.
37029         * sysdeps/x86_64/stackinfo.h: Likewise.
37030         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37031         PF_X for powerpc64.  Retain PF_X for powerpc32.
37032
37033 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37034
37035         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37036         accurately.
37037         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37038         GETDENTS_64BIT_ALIGNED.
37039
37040 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37041
37042         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37043
37044 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37045
37046         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37047         _GNU_SOURCE.
37048
37049         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37050         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37051         Remove __restrict.
37052         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37053         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37054
37055 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37056
37057         [BZ #11655]
37058         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37059         are initialized.
37060
37061 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37062
37063         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37064
37065 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37066
37067         * po/it.po: Update from translation team.
37068
37069 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37070
37071         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37072         unused codes.
37073
37074 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37075
37076         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37077
37078 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37079
37080         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37081         specially.
37082         (gaih_getanswer_slice): Likewise.
37083
37084 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37085
37086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37087
37088 2010-05-31  Petr Baudis  <pasky@suse.cz>
37089
37090         [BZ #11149]
37091         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37092         silently even in the chroot mode.
37093
37094 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37095
37096         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37097         last patch a bit.  Pretty printing
37098
37099 2010-05-31  Petr Baudis <pasky@suse.cz>
37100
37101         [BZ #10085]
37102         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37103         initialization of skip_initgroups_dyn.
37104
37105 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37106
37107         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37108         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37109
37110 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37111
37112         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37113
37114 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37115
37116         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37117         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37118         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37119         ($(objpfx)tst-fnmatch-mem): New rule.
37120         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37121         * posix/tst-fnmatch.c (main): Call mtrace.
37122
37123 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37124
37125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37126         Support Intel processor model 6 and model 0x2c.
37127
37128 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37129
37130         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37131           signed comparison.
37132
37133 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37134
37135         [BZ #12205]
37136         * string/test-strncasecmp.c (check_result): New function.
37137         (do_one_test): Use it.
37138         (check1): New function.
37139         (test_main): Use it.
37140         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37141         Support strcasecmp and strncasecmp.
37142
37143 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37144
37145         [BZ #12194]
37146         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37147         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37148
37149 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37150
37151         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37152         IFUNC support.
37153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37154         memset-x86-64.
37155         * sysdeps/x86_64/multiarch/bzero.S: New file.
37156         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37157         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37158         * sysdeps/x86_64/multiarch/memset.S: New file.
37159         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37161         Set bit_Prefer_SSE_for_memop for Intel processors.
37162         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37163         Define.
37164         (index_Prefer_SSE_for_memop): Define.
37165         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37166
37167 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37168
37169         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37170         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37171
37172 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37173
37174         [BZ #12191]
37175         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37176         (__x86_64_raw_data_cache_size_half): Likewise.
37177         (__x86_64_raw_shared_cache_size): Likewise.
37178         (__x86_64_raw_shared_cache_size_half): Likewise.
37179
37180         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37181         (__x86_64_raw_data_cache_size_half): Likewise.
37182         (__x86_64_raw_shared_cache_size): Likewise.
37183         (__x86_64_raw_shared_cache_size_half): Likewise.
37184         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37185         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37186         and __x86_64_raw_shared_cache_size_half.  Round
37187         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37188         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37189         to multiple of 256 bytes.
37190
37191 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37192
37193         [BZ #12167]
37194         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37195         of inacessible symlinks.  Verify result of symlink before returning it.
37196         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37197         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37198
37199 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37200
37201         * math/math.h (isinf): Fix typo in comment.
37202
37203 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37204
37205         * po/da.po: Update from translation team.
37206
37207 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37208
37209         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37210         is added to the list.
37211
37212 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37213             Ulrich Drepper  <drepper@gmail.com>
37214
37215         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37216         the global list here.  Move code to...
37217         (_dl_add_to_namespace_list): ...here.  New function.
37218         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37219         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37220         * elf/dl-load.c (lose): Don't remove the element from the list.
37221         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37222         (_dl_map_object): Likewise.
37223
37224 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37225
37226         [BZ #12159]
37227         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37228         into all bytes of SSE register.
37229         Patch by Richard Li <richardpku@gmail.com>.
37230
37231 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37232
37233         [BZ #12140]
37234         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37235         perturbing.
37236
37237 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37238
37239         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37240         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37241         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37242         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37244         submachine.
37245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37246
37247 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37248
37249         * include/dlfcn.h (__RTLD_SECURE): Define.
37250         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37251         mode & __RTLD_SECURE instead.
37252         (open_path): Rename preloaded parameter to secure.
37253         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37254         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37255         * elf/dl-deps.c (openaux): Likewise.
37256         * elf/rtld.c (struct map_args): Remove is_preloaded.
37257         (map_doit): Don't use it.
37258         (dl_main): Likewise.
37259         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37260         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37261
37262 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37263
37264         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37265         (sysd-rules-targets): Remove duplicates.
37266         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37267         rtld-%.$o dependency.
37268
37269 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37270
37271         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37272         _dl_map_object do it.
37273
37274 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37275
37276         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37277         fast fma builtins, define the macros in the C99 standard.
37278         (FP_FAST_FMAF): Likewise.
37279         (FP_FAST_FMAL): Likewise.
37280         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37281
37282         * bits/mathdef.h: Update copyright year.
37283         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37284
37285 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37286
37287         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37288         builtins, define the macros in the C99 standard.
37289         (FP_FAST_FMAF): Likewise.
37290         (FP_FAST_FMAL): Likewise.
37291         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37292         multiply/add.
37293         (FP_FAST_FMAF): Likewise.
37294
37295 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37296
37297         [BZ #3268]
37298         * math/libm-test.inc (fma_test): Some new testcases.
37299         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37300         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37301         y and infinite z.  Do multiplication by C already in long double.
37302         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37304         y and infinite z.  Do bitwise or of inexact bit into u.d.
37305         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37306         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37307         * sysdeps/i386/fpu/s_fma.S: Removed.
37308         * sysdeps/i386/fpu/s_fmal.S: Removed.
37309
37310 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37311
37312         [BZ #3268]
37313         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37315         computation is not scheduled after fetestexcept.  Fix value
37316         of minimum denormal long double.
37317
37318 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37319
37320         [BZ #3268]
37321         * math/libm-test.inc (fma_test): Add some more tests.
37322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37323         correctly.
37324
37325 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37326
37327         * scripts/data/localplt-s390-linux-gnu.data: New file.
37328         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37329
37330 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37331
37332         [BZ #3268]
37333         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37334         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37335         instead of dbl-64.
37336         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37337         inlines.
37338         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37340         if one of x and y is very large and the other is subnormal.
37341         * sysdeps/s390/fpu/s_fmaf.c: New file.
37342         * sysdeps/s390/fpu/s_fma.c: New file.
37343         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37344         * sysdeps/powerpc/fpu/s_fma.S: New file.
37345         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37346         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37347         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37348
37349 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37350
37351         [BZ #3268]
37352         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37353         fma tests.
37354         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37355         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37356         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37357         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37358         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37359         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37360         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37361
37362 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37363
37364         [BZ #12078]
37365         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37366         * posix/bug-regex31.input: Add test case.
37367
37368 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37369
37370         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37371         * posix/bug-regex31.input: New file.
37372
37373         [BZ #12078]
37374         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37375         (parse_sub_exp): Fix last change, use postorder.
37376
37377         * posix/bug-regex31.c: New file.
37378         * posix/Makefile: Add rules to build and run bug-regex31.
37379
37380         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37381
37382         [BZ #12078]
37383         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37384
37385         [BZ #12108]
37386         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37387         to have entries in sys_siglist.
37388
37389         [BZ #12093]
37390         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37391         be NULL.
37392
37393 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37394
37395         [BZ #3268]
37396         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37397         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37398         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37399         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37400         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37401         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37402         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37403         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37404         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37405         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37406         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37407         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37408         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37409         * math/ftestexcept.c (fetestexcept): Likewise.
37410         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37411         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37412         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37413         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37414         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37415         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37416         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37417
37418 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37419
37420         [BZ #12107]
37421         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37422         newline.
37423
37424 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37425
37426         * string/bug-strstr1.c: New file.
37427         * string/Makefile: Add rules to build and run bug-strstr1.
37428
37429 2010-10-05  Eric Blake  <eblake@redhat.com>
37430
37431         [BZ #12092]
37432         * string/str-two-way.h (two_way_long_needle): Always clear memory
37433         when skipping input due to the shift table.
37434
37435 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37436
37437         [BZ #12005]
37438         * malloc/mcheck.c: Handle large requests.
37439
37440         [BZ #12077]
37441         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37442         for strncmp and strncasecmp.
37443         * string/stratcliff.c: Add tests for strcmp and strncmp.
37444         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37445
37446 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37447
37448         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37449         __set_fpscr.
37450
37451 2010-09-30  Andreas Jaeger  <aj@suse.de>
37452
37453         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37454         (CGROUP_SUPER_MAGIC): Define.
37455         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37456         Handle btrfs and cgroup file systems.
37457         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37458         Likewise.
37459
37460 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37461
37462         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37463         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37464
37465 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37466
37467         [BZ #12067]
37468         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37469         trying to locate the ELF header.
37470
37471 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37472
37473         [BZ #11611]
37474         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37475         Mask out sign-bit copies when constructing f_fsid.
37476
37477 2010-09-24  Petr Baudis <pasky@suse.cz>
37478
37479         * debug/stack_chk_fail_local.c: Add missing licence exception.
37480         * debug/warning-nop.c: Likewise.
37481
37482 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37483
37484         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37485         implementing getdents64 using getdents syscall, set d_type if
37486         __ASSUME_GETDENTS32_D_TYPE.
37487
37488 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37489
37490         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37491         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37492
37493 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37494
37495         [BZ #12037]
37496         * posix/unistd.h: Undo change of feature selection for ftruncate from
37497         2010-01-11.
37498
37499 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37500
37501         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37502         detection.
37503
37504 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37505
37506         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37507         fanotify_mark.
37508         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37509
37510 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37511
37512         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37513         variables after CHECK_SP call.
37514         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37515
37516 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37517             Ulrich Drepper  <drepper@redhat.com>
37518
37519         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37520         re-relocationg ld.so.
37521         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37522         _dl_init_paths call.
37523         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37524         here anymore.
37525
37526 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37527
37528         * resolv/res_init.c (__res_vinit): Count the default server we added.
37529
37530 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37531             Ulrich Drepper  <drepper@redhat.com>
37532
37533         [BZ #11968]
37534         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37535         (____longjmp_chk): Use %ebx for saving value across system call.
37536         Add unwind info.
37537
37538 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37539
37540         * manual/Makefile: Don't mix pattern rules with normal rules.
37541
37542 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37543
37544         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37545         operation.
37546         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37547         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37548         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37549         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37550         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37551         Likewise.
37552
37553 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37554
37555         [BZ #11979]
37556         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37557         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37558
37559 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37560
37561         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37562         * sysdeps/x86_64/addmul_1.S: Likewise.
37563         * sysdeps/x86_64/lshift.S: Likewise.
37564         * sysdeps/x86_64/mul_1.S: Likewise.
37565         * sysdeps/x86_64/rshift.S: Likewise.
37566         * sysdeps/x86_64/sub_n.S: Likewise.
37567         * sysdeps/x86_64/submul_1.S: Likewise.
37568
37569 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37570
37571         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37572         Define __sched_param instead of SCHED_* and sched_param when
37573         <bits/sched.h> is included with __need_schedparam defined.
37574         * bits/sched.h [__need_schedparam]
37575         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37576         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37577         (__defined_schedparam): Define to 1.
37578         (__sched_param): New structure, identical to sched_param.
37579         (__need_schedparam): Undefine.
37580
37581 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37582
37583         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37584         (epoll_create1): Declare.
37585
37586         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37587
37588 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37589
37590         [BZ #7066]
37591         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37592         shifting retval into place.
37593
37594 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37595
37596         * nis/rpcsvc/nis.h: Update copyright notice.
37597         * nis/rpcsvc/nis.x: Likewise.
37598         * nis/rpcsvc/nis_callback.h: Likewise.
37599         * nis/rpcsvc/nis_callback.x: Likewise.
37600         * nis/rpcsvc/nis_object.x: Likewise.
37601         * nis/rpcsvc/nis_tags.h: Likewise.
37602         * nis/rpcsvc/yp.h: Likewise.
37603         * nis/rpcsvc/yp.x: Likewise.
37604         * nis/rpcsvc/ypupd.h: Likewise.
37605         * nis/yp_xdr.c: Likewise.
37606         * nis/ypupdate_xdr.c: Likewise.
37607
37608         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37609         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37610         (pmap_getport): Use __libc_rpc_getport.
37611         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37612         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37613         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37614
37615 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37616
37617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37618         fanotify_mark.
37619
37620 2010-08-27  Roland McGrath  <roland@redhat.com>
37621
37622         * sysdeps/i386/i686/multiarch/Makefile
37623         (CFLAGS-varshift.c): New variable.
37624
37625 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37626
37627         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37628         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37629
37630         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37631
37632         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37633
37634 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37635
37636         * sysdeps/x86_64/strlen.S: Unroll the loop.
37637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37638         strlen-sse2 strlen-sse2-bsf.
37639         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37640         __strlen_no_bsf if bit_Slow_BSF is set.
37641         (__strlen_sse42): Removed.
37642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37643         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37644
37645 2010-08-25  Roland McGrath  <roland@redhat.com>
37646
37647         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37648         * sysdeps/x86_64/multiarch/varshift.c: New file.
37649         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37650         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37651         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37652         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37653
37654 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37655
37656         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37657         strlen-sse2 strlen-sse2-bsf.
37658         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37659         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37660         (__strlen_sse2): Removed.
37661         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37662         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37664         bit_Slow_BSF for Atom.
37665         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37666         (index_Slow_BSF): Define.
37667         (HAS_SLOW_BSF): Define.
37668
37669 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37670
37671         [BZ #10851]
37672         * resolv/res_init.c (__res_vinit): When no server address at all
37673         is given default to loopback.
37674
37675 2010-08-24  Roland McGrath  <roland@redhat.com>
37676
37677         * configure.in: Remove config-name.h generation.
37678         * configure: Regenerated.
37679         * config-name.in: File removed.
37680         * scripts/config-uname.sh: New file.
37681         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37682         ($(objdir)config-name.h): New target.
37683
37684         * sunrpc/rpc_parse.h: Avoid nested comment.
37685
37686 2010-08-24  Richard Henderson  <rth@redhat.com>
37687             Ulrich Drepper  <drepper@redhat.com>
37688             H.J. Lu  <hongjiu.lu@intel.com>
37689
37690         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37692         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37693         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37694         _mm_alignr_epi8 with _mm_loadu_si128.
37695         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37696         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37697         (__m128i_shift_right): Removed.
37698         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37699         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37700         * sysdeps/x86_64/multiarch/varshift.h: New file.
37701         * sysdeps/x86_64/multiarch/varshift.S: New file.
37702
37703 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37704
37705         * configure.in: Move assembler checks to before sysdep dir checking.
37706
37707 2010-08-20  Petr Baudis  <pasky@suse.cz>
37708
37709         * LICENSES: Sync the sunrpc license.
37710
37711 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37712
37713         * sunrpc/auth_des.c: Update copyright notice once again.
37714         * sunrpc/auth_none.c: Likewise.
37715         * sunrpc/auth_unix.c: Likewise.
37716         * sunrpc/authdes_prot.c: Likewise.
37717         * sunrpc/authuxprot.c: Likewise.
37718         * sunrpc/bindrsvprt.c: Likewise.
37719         * sunrpc/clnt_gen.c: Likewise.
37720         * sunrpc/clnt_perr.c: Likewise.
37721         * sunrpc/clnt_raw.c: Likewise.
37722         * sunrpc/clnt_simp.c: Likewise.
37723         * sunrpc/clnt_tcp.c: Likewise.
37724         * sunrpc/clnt_udp.c: Likewise.
37725         * sunrpc/clnt_unix.c: Likewise.
37726         * sunrpc/des_crypt.c: Likewise.
37727         * sunrpc/des_soft.c: Likewise.
37728         * sunrpc/get_myaddr.c: Likewise.
37729         * sunrpc/getrpcport.c: Likewise.
37730         * sunrpc/key_call.c: Likewise.
37731         * sunrpc/key_prot.c: Likewise.
37732         * sunrpc/openchild.c: Likewise.
37733         * sunrpc/pm_getmaps.c: Likewise.
37734         * sunrpc/pm_getport.c: Likewise.
37735         * sunrpc/pmap_clnt.c: Likewise.
37736         * sunrpc/pmap_prot.c: Likewise.
37737         * sunrpc/pmap_prot2.c: Likewise.
37738         * sunrpc/pmap_rmt.c: Likewise.
37739         * sunrpc/rpc/auth.h: Likewise.
37740         * sunrpc/rpc/auth_unix.h: Likewise.
37741         * sunrpc/rpc/clnt.h: Likewise.
37742         * sunrpc/rpc/des_crypt.h: Likewise.
37743         * sunrpc/rpc/key_prot.h: Likewise.
37744         * sunrpc/rpc/netdb.h: Likewise.
37745         * sunrpc/rpc/pmap_clnt.h: Likewise.
37746         * sunrpc/rpc/pmap_prot.h: Likewise.
37747         * sunrpc/rpc/pmap_rmt.h: Likewise.
37748         * sunrpc/rpc/rpc.h: Likewise.
37749         * sunrpc/rpc/rpc_des.h: Likewise.
37750         * sunrpc/rpc/rpc_msg.h: Likewise.
37751         * sunrpc/rpc/svc.h: Likewise.
37752         * sunrpc/rpc/svc_auth.h: Likewise.
37753         * sunrpc/rpc/types.h: Likewise.
37754         * sunrpc/rpc/xdr.h: Likewise.
37755         * sunrpc/rpc_clntout.c: Likewise.
37756         * sunrpc/rpc_cmsg.c: Likewise.
37757         * sunrpc/rpc_common.c: Likewise.
37758         * sunrpc/rpc_cout.c: Likewise.
37759         * sunrpc/rpc_dtable.c: Likewise.
37760         * sunrpc/rpc_hout.c: Likewise.
37761         * sunrpc/rpc_main.c: Likewise.
37762         * sunrpc/rpc_parse.c: Likewise.
37763         * sunrpc/rpc_parse.h: Likewise.
37764         * sunrpc/rpc_prot.c: Likewise.
37765         * sunrpc/rpc_sample.c: Likewise.
37766         * sunrpc/rpc_scan.c: Likewise.
37767         * sunrpc/rpc_scan.h: Likewise.
37768         * sunrpc/rpc_svcout.c: Likewise.
37769         * sunrpc/rpc_tblout.c: Likewise.
37770         * sunrpc/rpc_util.c: Likewise.
37771         * sunrpc/rpc_util.h: Likewise.
37772         * sunrpc/rpcinfo.c: Likewise.
37773         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37774         * sunrpc/rpcsvc/key_prot.x: Likewise.
37775         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37776         * sunrpc/rpcsvc/mount.x: Likewise.
37777         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37778         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37779         * sunrpc/rpcsvc/rex.x: Likewise.
37780         * sunrpc/rpcsvc/rstat.x: Likewise.
37781         * sunrpc/rpcsvc/rusers.x: Likewise.
37782         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37783         * sunrpc/rpcsvc/spray.x: Likewise.
37784         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37785         * sunrpc/rtime.c: Likewise.
37786         * sunrpc/svc.c: Likewise.
37787         * sunrpc/svc_auth.c: Likewise.
37788         * sunrpc/svc_authux.c: Likewise.
37789         * sunrpc/svc_raw.c: Likewise.
37790         * sunrpc/svc_run.c: Likewise.
37791         * sunrpc/svc_simple.c: Likewise.
37792         * sunrpc/svc_tcp.c: Likewise.
37793         * sunrpc/svc_udp.c: Likewise.
37794         * sunrpc/svc_unix.c: Likewise.
37795         * sunrpc/svcauth_des.c: Likewise.
37796         * sunrpc/xcrypt.c: Likewise.
37797         * sunrpc/xdr.c: Likewise.
37798         * sunrpc/xdr_array.c: Likewise.
37799         * sunrpc/xdr_float.c: Likewise.
37800         * sunrpc/xdr_mem.c: Likewise.
37801         * sunrpc/xdr_rec.c: Likewise.
37802         * sunrpc/xdr_ref.c: Likewise.
37803         * sunrpc/xdr_sizeof.c: Likewise.
37804         * sunrpc/xdr_stdio.c: Likewise.
37805
37806         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37807         handling.
37808
37809 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37810
37811         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37812
37813 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37814
37815         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37816         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37817         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37818         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37819         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37820         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37821         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37822         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37823         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37824         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37825         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37826         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37827         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37828         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37829
37830 2010-07-26  Anton Blanchard  <anton@samba.org>
37831
37832         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37833         * malloc/arena.c (heap_trim): Likewise.
37834
37835 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37836
37837         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37838         here.  Not...
37839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37840         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37841
37842 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37843
37844         * sysdeps/i386/elf/Makefile: New file.
37845
37846 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37847
37848         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37849         from fanotify_init.
37850         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37852
37853 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37854
37855         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37856         of strncasecmp_l.
37857         * sysdeps/multiarch/strcmp.S: Likewise.
37858
37859 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37860
37861         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37862         strncase_l-nonascii.
37863         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37864         Add strncase_l-ssse3.
37865         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37866         * sysdeps/x86_64/strcmp.S: Likewise.
37867         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37868         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37869         * sysdeps/x86_64/strncase.S: New file.
37870         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37871         * sysdeps/x86_64/strncase_l.S: New file.
37872         * string/Makefile (strop-tests): Add strncasecmp.
37873         * string/test-strncasecmp.c: New file.
37874
37875         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37876         warning.
37877
37878         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37879         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37880
37881 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37882
37883         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37884
37885 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37886
37887         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37888         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37889         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37890
37891 2010-05-01  Alan Modra  <amodra@gmail.com>
37892
37893         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37894         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37895         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37896         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37897         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37898         tidying.  Don't tail-call __sigjmp_save for static lib.
37899         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37900         save location.
37901         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37902         (CALL_MCOUNT): Add eh info, and nop after bl.
37903         (TAIL_CALL_SYSCALL_ERROR): New macro.
37904         (PSEUDO_RET): Use it.
37905         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37906         Correct save location of integer regs and cr.
37907         (_dl_profile_resolve): Correct cr save location.  Delete nops
37908         after bl when SHARED.  Reduce cfi size a little by better
37909         placement of cfi directives.
37910         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37911         make a stack frame.  Instead use parm save area as a temp.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37913         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37915         Don't make a stack frame for parent, use parm save area.
37916         Increase child stack frame to 112 bytes.  Don't save unused reg,
37917         and adjust reg usage.  Set up cfi on error recovery and
37918         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37920         (__makecontext): Add dummy nop after jump to exit.
37921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37922         Use correct parm save area and cr save, reduce stack frame.
37923         Correct cfi for possible PSEUDO_RET frame setup.
37924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37925         Branch to local label emitted by PSEUDO_RET rather than
37926         __syscall_error.
37927
37928 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37929
37930         [BZ #11904]
37931         * locale/programs/locale.c (print_assignment): New function.
37932         (show_locale_vars): Use it.
37933
37934 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37935
37936         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37937         field.
37938         (struct statfs64): Likewise.
37939         (_STATFS_F_FLAGS): Define.
37940         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37941         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37942         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37943         (ST_VALID): Define locally.
37944         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37945         __statvfs_getflags, use the provided value.
37946         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37947         __ASSUME_STATFS_F_FLAGS.
37948
37949         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37950
37951         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37952         Add sys/fanotify.h.
37953         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37954         fanotify_mask for GLIBC_2.13.
37955         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37956         fanotify_init and fanotify_mark.
37957         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37958         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37959
37960         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37961         Add prlimit.
37962         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37963         prlimit64 for GLIBC_2.13.
37964         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37965         prlimit64.
37966         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37967         syscall.
37968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37969         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37970         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37971         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37973         add prlimit alias.
37974         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37975
37976         [BZ #11903]
37977         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37978         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37979
37980         * nss/Makefile: Add rules to build and run tst-nss-test1.
37981         * shlib-versions: Add entry for libnss_test1.
37982         * nss/nss_test1.c: New file.
37983         * nss/tst-nss-test1.c: New file.
37984
37985         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37986         (__nss_configure_lookup): Set appropriate entry in
37987         __nss_configure_lookup to true.
37988         * nss/nsswitch.h: Define enum with indeces of databases in
37989         databases and __nss_database_custom arrays.  Declare
37990         __nss_database_custom.
37991         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37992         to avoid using nscd when custom rules are installed.
37993         * nss/getXXbyYY_r.c: Likewise.
37994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37995
37996         * nss/nss_files/files-parse.c: Whitespace fixes.
37997
37998 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37999
38000         [BZ #11883]
38001         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38002         * posix/fnmatch_loop.c: Likewise.
38003
38004 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38005
38006         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38007         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38008         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38009         * Versions.def [GLIBC_2.13]: Add.
38010
38011 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38012
38013         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38014         Also fail if tpwd after pwuid call is NULL.
38015
38016 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38017
38018         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38019         when converting to ms.
38020
38021 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38022
38023         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38024         EOPNOTSUPP errors with ENOTTY.
38025         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38026         EOPNOTSUPP errors with ENOTTY.
38027
38028 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38029
38030         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38031         Add strcasecmp_l-ssse3.
38032         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38033         strcasecmp.
38034         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38035         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38036         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38037
38038 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38039
38040         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38041
38042         * string/Makefile (strop-tests): Add strcasecmp.
38043         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38044         strcasecmp_l-nonascii.
38045         (gen-as-const-headers): Add locale-defines.sym.
38046         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38047         * sysdeps/x86_64/strcasecmp.S: New file.
38048         * sysdeps/x86_64/strcasecmp_l.S: New file.
38049         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38050         * sysdeps/x86_64/locale-defines.sym: New file.
38051         * string/test-strcasecmp.c: New file.
38052
38053         * string/test-strcasestr.c: Test both ends of the range of characters.
38054         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38055
38056 2010-07-29  Roland McGrath  <roland@redhat.com>
38057
38058         [BZ #11856]
38059         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38060
38061 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38062
38063         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38064         for ld.so.
38065
38066 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38067
38068         * manual/memory.texi (Malloc Tunable Parameters): Document
38069         M_PERTURB.
38070
38071 2010-07-26  Roland McGrath  <roland@redhat.com>
38072
38073         [BZ #11840]
38074         * configure.in (-fgnu89-inline check): Set and substitute
38075         gnu89_inline, not libc_cv_gnu89_inline.
38076         * configure: Regenerated.
38077         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38078
38079 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38080
38081         * string/test-strnlen.c: New file.
38082         * string/Makefile (strop-tests): Add strnlen.
38083         * string/tester.c (test_strnlen): Add a few more test cases.
38084         * string/tst-strlen.c: Better error reporting.
38085
38086         * sysdeps/x86_64/strnlen.S: New file.
38087
38088 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38089
38090         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38091         lower-latency instructions.
38092
38093 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38094
38095         * string/test-strcasestr.c: New file.
38096         * string/test-strstr.c: New file.
38097         * string/Makefile (strop-tests): Add strstr and strcasestr.
38098         * string/str-two-way.h: Don't undefine MAX.
38099         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38100
38101 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38102
38103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38104         strcasestr-nonascii.
38105         (CFLAGS-strcasestr-nonascii.c): Define.
38106         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38107         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38108         Remove unused attribute.
38109
38110 2010-07-20  Roland McGrath  <roland@redhat.com>
38111
38112         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38113         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38114         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38115         like LD_HWCAP_MASK can disable hwcaps.
38116
38117 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38118
38119         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38120
38121 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38122
38123         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38124         call in strcasestr.
38125         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38126         __strcasestr_sse42_nonascii.
38127         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38128         strcasestr-nonascii.c.
38129         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38130
38131 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38132
38133         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38134         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38135         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38136         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38137
38138 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38139
38140         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38141         fcntl.
38142
38143 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38144
38145         [BZ #11577]
38146         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38147         dl_signal_cerror.
38148
38149 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38150
38151         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38152         _PC_PIPE_BUF using F_GETPIPE_SZ.
38153
38154 2010-07-05  Roland McGrath  <roland@redhat.com>
38155
38156         * manual/arith.texi (Rounding Functions): Fix rint description
38157         implicit in round description.
38158
38159 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38160
38161         * elf/Makefile: Fix linking for a few tests to make recent linker
38162         happy.
38163
38164 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38165
38166         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38167         $(common-objpfx)libc_nonshared.a.
38168
38169 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38170
38171         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38172         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38173         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38174         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38175         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38176         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38177         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38178         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38193         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38194         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38195         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38196         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38197         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38198         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38199         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38200         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38201         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38202         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38203         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38204         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38219
38220 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38221
38222         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38223         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38224         * string/memmove.c (memmove): Renamed to ...
38225         (MEMMOVE): ...this.  Default to memmove.
38226         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38227         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38228         (END_CHK): Define.
38229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38230         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38231         mempcpy-ssse3-back memmove-ssse3-back.
38232         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38234         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38235         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38236         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38237         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38238         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38239         * sysdeps/x86_64/multiarch/memmove.c: New file.
38240         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38241         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38242         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38243         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38244         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38245         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38246         Define.
38247         (index_Fast_Copy_Backward): Define.
38248         (HAS_ARCH_FEATURE): Define.
38249         (HAS_FAST_REP_STRING): Define.
38250         (HAS_FAST_COPY_BACKWARD): Define.
38251
38252 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38253
38254         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38255         Restore proper fallback handling.
38256
38257 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38258
38259         [BZ #11701]
38260         * posix/group_member.c (__group_member): Correct checking loop.
38261
38262         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38263         OOM in getpwuid_r correctly.  Return error number when the caller
38264         should return, otherwise -1.
38265         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38266         call returning > 0 value.
38267         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38268
38269 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38270
38271         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38272         libc_nonshared.a from targets in modules-names.
38273
38274 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38275
38276         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38277         requires it.
38278
38279 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38280
38281         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38282         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38283         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38284         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38285
38286 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38287
38288         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38289
38290 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38291
38292         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38293         and F_GETPIPE_SZ.
38294         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38295         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38296         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38298         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38299         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38300
38301 2010-06-14  Roland McGrath  <roland@redhat.com>
38302
38303         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38304
38305 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38306
38307         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38308         __REDIRECT followed by __THROW.
38309         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38310         * posix/getopt.h (getopt): Likewise.
38311
38312 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38313
38314         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38315         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38316         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38317         in AT_FLAGS.
38318         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38319         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38320
38321 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38322
38323         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38324
38325 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38326
38327         [BZ #11640]
38328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38329         Properly check family and model.
38330
38331 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38332
38333         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38334
38335 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38336
38337         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38338
38339 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38340
38341         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38342         symbol reference.
38343
38344 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38345
38346         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38347         symbol reference.
38348
38349 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38350
38351         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38352         and internal_recvmmsg.
38353         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38354         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38355         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38356         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38357
38358         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38359         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38360         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38361
38362 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38363
38364         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38365
38366 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38367
38368         POWER7 optimizations.
38369         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38370         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38371
38372 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38373
38374         * version.h: Update for 2.13 development version.
38375
38376 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38377
38378         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38379         exceptions.  Return 0.
38380
38381 2010-05-07  Roland McGrath  <roland@redhat.com>
38382
38383         * elf/ldconfig.c (main): Add a const.
38384
38385 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38386
38387         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38388         (args_options): Add no-idn option.
38389         (ahosts_keys_int): Add idn_flags to ai_flags.
38390         (parse_option): Handle 'i' option to clear idn_flags.
38391
38392         * malloc/malloc.c (_int_free): Possible race in the most recently
38393         added check.  Only act on the data if no current modification
38394         happened.
38395
38396 See ChangeLog.17 for earlier changes.