* manual/locale.texi: Document MTASC-safety properties.
[jlayton/glibc.git] / ChangeLog
1 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
2
3         * manual/locale.texi: Document MTASC-safety properties.
4
5 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6
7         * manual/llio.texi: Document MTASC-safety properties.
8
9 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10
11         * manual/libdl.texi: New.
12
13 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14
15         * manual/lang.texi: Document MTASC-safety properties.
16
17 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18
19         * manual/job.texi: Document MTASC-safety properties.
20
21 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22
23         * manual/getopt.texi: Document MTASC-safety properties.
24
25 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26
27         * manual/ctype.texi: Document MTASC-safety properties.
28
29 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30
31         [BZ #16046]
32         * csu/libc-tls.c (static_map): Remove variable.
33         (__libc_setup_tls): Use main executable's link map for TLS data.
34         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35         casing for LM_ID_BASE and GL(dl_nns).
36         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41         member.
42         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43         l_phnum members.
44
45 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
46
47         * manual/debug.texi: Document MTASC-safety properties.
48
49 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50
51         [BZ #16510]
52         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53         of __x86_64__ when disabling x87 inline functions.
54
55 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56
57         * manual/charset.texi: Document MTASC-safety properties.
58
59 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
60
61         * manual/crypt.texi: Document MTASC-safety properties.
62
63 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
64
65         * manual/conf.texi: Document MTASC-safety properties.
66
67 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
68
69         * manual/arith.texi: Document MTASC-safety properties.
70
71 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
72
73         * manual/argp.texi: Document MTASC-safety properties.
74
75 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
76
77         * manual/macros.texi: Introduce macros to document multi
78         thread, asynchronous signal and asynchronous cancellation
79         safety properties.
80         * manual/intro.texi: Introduce the properties themselves.
81
82 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83
84         * sysdeps/sh/sh4/Makefile: New file.
85
86 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
87
88         * math/gen-libm-test.pl ($srcdir): New variable.
89         ($auto_input): Use it.
90
91 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
92
93         [BZ #16506]
94         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
95         access beyond array bounds when parsing netgroups file.
96
97         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
98         the old buffer before realloc.
99
100 2014-01-27  Allan McRae  <allan@archlinux.org>
101
102         * po/fr.po: Update French translation from translation project.
103
104 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
105
106         * sysdeps/sh/libm-test-ulps: Regenerate.
107
108 2014-01-24  David S. Miller  <davem@davemloft.net>
109
110         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
111
112 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
113
114         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
115         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
116
117 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
118
119         [BZ #16474]
120         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
121         string pointers after reallocation.
122
123 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
124
125         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
126         __SH4A__ instead of __SH_FPU_ANY__.
127
128 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
129
130         * sysdeps/sh/fpu_control.h: New file.
131         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
132         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
133         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
134         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
135         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
136         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
137         * sysdeps/sh/sys/ucontext.h: Remove.
138         * sysdeps/sh/sys: Remove directory.
139
140 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
141
142         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
143         s390/sys/ucontext.h.
144         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
145         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
146
147 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
148
149         [BZ #15605]
150         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
151
152 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
153
154         [BZ#16431]
155         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
156         Adjust the vDSO correctly for internal calls.
157         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
158
159 2014-01-20  Allan McRae  <allan@archlinux.org>
160
161         * po/ca.po: Update Catalan translation from translation project.
162
163 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
164
165         * sysdeps/s390/sotruss-lib.c: New file.
166
167 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
168
169         [BZ#16430]
170         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
171         (__GI___gettimeofday): Alias for a different internal symbol to avoid
172         local calls issues by not having a PLT stub required for IFUNC calls.
173         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
174
175 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
176
177         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
178         * math/test-fpucw-static.c: Likewise.
179
180 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
181
182         [BZ #16453]
183         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
184
185 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
186
187         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
188         implementation for powerpc.
189
190 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
191
192         [BZ #14782]
193         * sysdeps/posix/system.c (__libc_system): Do not enable
194         asynchronous cancellation.
195
196 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
197
198         [BZ #16427]
199         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
200         handling only for numbers special also in the IEEE case.
201
202 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
203
204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
205
206 2014-01-11  Allan McRae  <allan@archlinux.org>
207
208         * po/bg.po: Update Bulgarian translation from translation project.
209
210         * po/de.po: Update German translation from translation project.
211
212 2014-01-10  Roland McGrath  <roland@hack.frob.com>
213
214         * sysdeps/generic/gcc-compat.h: New file.
215
216 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
217
218         * benchtests/asin-inputs: Correct slow inputs.
219         * benchtests/acos-inputs: Likewise.
220
221 2014-01-10  Allan McRae  <allan@archlinux.org>
222
223         * po:sv.po: Update Swedish translation from translation project.
224
225         * po/vi.po: Update Vietnamese translation from translation project.
226
227         * po/eo.po: Update Esperanto translation from translation project.
228
229         * po/cs.po: Update Czech translation from translation project.
230
231         * po/nl.po: Update Dutch translation from translation project.
232
233         * po/pl.po: Update Polish translation from translation project.
234
235         * po/ru.po: Update Russian translation from translation project.
236
237         * po/uk.po: Update Ukrainian translation from translation project.
238
239 2014-01-08  Brooks Moses  <bmoses@google.com>
240
241         * elf/dl-load.c: Fix comment typo.
242
243 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
244
245         * po/header.pot: Rename to...
246         * po/pot.header: ... this.
247         * po/Makefile: Use pot.header.
248
249 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
250             Maxim Kuvyrkov  <maxim@kugelworks.com>
251
252         [BZ #16394]
253         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
254         SRC and DEST against LEN.
255
256 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
257
258         [BZ #16414]
259         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
260         implementation.
261         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
262
263 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
264
265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
266
267 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
268
269         [BZ #16408]
270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
271         for large positive arguments.
272
273 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
274
275         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
276
277         * math/auto-libm-test-in: Mark various tests with
278         xfail-rounding:ldbl-128ibm.
279         * math/auto-libm-test-out: Regenerated.
280
281         [BZ #16407]
282         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
283         Increase overflow threshold.
284
285 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
286
287         [BZ #14286]
288         * stdio-common/vfprintf.c: Check for integer overflow.
289
290 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
291
292         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
293         the first argument and return value of __tls_get_addr_internal.
294
295 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
296
297         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
298         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
299
300 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
301
302         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
303         * sysdeps/s390/rtld-global-offsets.sym: New file.
304         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
305         GLIBC_2.19 symbol.
306         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
307         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
308         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
309         ... this.
310         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
311         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
312         ... this.
313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
314         Regenerate.
315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
316         Regenerate.
317         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
318         halfs of GPRs for high_gprs contexts.
319         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
320         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
321         field.
322         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
323         uc_flags field.
324         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
325         64 bit versions:
326         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
327         for high GPRs (uc_high_gprs) and for future extensions
328         (__reserved).
329         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
330         for future extensions (__reserved).
331         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
332         64 bit versions:
333         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
334         SC_HIGHGPRS offset definition.
335         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
336         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
337
338 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
339
340         * Versions.def: Add GLIBC_2.19 for libpthread.
341         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
342         siglongjmp for libpthread with GLIBC_2.19 symver.
343         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
344         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
345         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
346         * sysdeps/s390/__longjmp.c: New file.
347         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
348         * sysdeps/s390/longjmp.c: New file.
349         * sysdeps/s390/setjmp.S: New file.
350         * sysdeps/s390/sigjmp.S: New file.
351         * sysdeps/s390/v1-longjmp.c: New file.
352         * sysdeps/s390/v1-setjmp.h: New file.
353         * sysdeps/s390/v1-sigjmp.c: New file.
354         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
355         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
356         GLIBC_2.19 version.
357         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
358         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
359         versioned symbols for ____longjmp_chk.
360         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
361         Likewise.
362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
363         Regenerate.
364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
365         Regenerate.
366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
367         Regenerate.
368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
369         Regenerate.
370         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
371         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
372         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
373         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
374         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
375         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
376         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
377         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
378         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
379         * sysdeps/s390/rtld-__longjmp.c: New file.
380         * sysdeps/s390/rtld-setjmp.S: New file.
381
382 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
383
384         [BZ #16400]
385         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
386         Return -__logl (x) for small positive arguments without evaluating
387         a polynomial.
388
389 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
390
391         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
392         Rename to ...
393         (__ptrace_peeksiginfo_args): ... this.
394         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
395         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
396         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
397
398 2014-01-06  Allan McRae  <allan@archlinux.org>
399
400         * inet/netinet/in.h: Fix typo in comment.
401
402 2014-01-05  Andreas Jaeger  <aj@suse.de>
403
404         * sysdeps/i386/fpu/libm-test-ulps: Update.
405
406 2014-01-05  Allan McRae  <allan@archlinux.org>
407
408         * po/libc.pot: Regenerated.
409
410         * malloc/memusagestat.c: Fix gettext call formatting.
411
412 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
413
414         * nscd/nscd.c: Improve usage() output.
415
416 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
417
418         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
419         * sysdeps/unix/sysv/linux/configure: Regenerated.
420         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
421         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
422
423 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
424
425         [BZ #16390]
426         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
427         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
428
429 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
430
431         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
432         extra tokens at end of #undef directive.
433         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
434         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
435         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
436
437 2014-01-03  Andrew Hunter  <ahh@google.com>
438
439         * elf/dl-open.c (dl_open_worker): New comment.
440         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
441         atomic_compare_and_exchange_bool_acq
442         (_dl_allocate_static_tls): Block signals.
443         * elf/dl-tls.c (allocate_and_init): Return void.
444         (_dl_update_slotinfo): Block signals, use atomic update.
445
446 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
447
448         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
449
450         * math/auto-libm-test-in: Mark various tests with
451         xfail-rounding:ldbl-128ibm.
452         * math/auto-libm-test-out: Regenerated.
453
454 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
455
456         [BZ #16386]
457         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
458         numbers with subnormal high part when calculating exponent.
459
460         [BZ #16385]
461         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
462         fabs.
463
464         [BZ #16384]
465         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
466         M_LN2l.
467         (__ieee754_acoshl): Use __log1pl not __log1p.
468
469 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
470
471         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
472         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
473         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
474         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
475         Convert to GNU style.
476         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
477         mem2mem_check, mem2chunk_check, top_check, realloc_check,
478         memalign_check, __malloc_set_state): Likewise.
479         * malloc/mallocbug.c (main): Likewise.
480         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
481         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
482         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
483         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
484         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
485         * malloc/malloc.h: Likewise.
486         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
487         memalignhook, reallochook, mabort): Likewise.
488         * malloc/mcheck.h: Likewise.
489         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
490         mmap64, mremap, munmap, dest): Likewise.
491         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
492         * malloc/morecore.c (__default_morecore): Likewise.
493         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
494         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
495         _obstack_allocated_p, obstack_free, _obstack_memory_used,
496         print_and_abort): Likewise.
497         * malloc/obstack.h: Likewise.
498         * malloc/set-freeres.c (__libc_freeres): Likewise.
499         * malloc/tst-mallocstate.c (main): Likewise.
500         * malloc/tst-mtrace.c (main): Likewise.
501         * malloc/tst-realloc.c (do_test): Likewise.
502
503 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
504
505         [BZ #16366]
506         * nscd/netgroupcache.c (do_notfound): New function.
507         (addgetnetgrentX): Use it.
508
509         [BZ # 16365]
510         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
511         NSS_STATUS_NOTFOUND.
512
513 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
514
515         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
517
518 2014-01-01  Allan McRae  <allan@archlinux.org>
519
520         * scripts/update-copyrights: Update configure input file suffix.
521
522         * NEWS: Update copyright year.
523         * catgets/gencat.c: Likewise.
524         * csu/version.c: Likewise.
525         * debug/catchsegv.sh: Likewise.
526         * debug/pcprofiledump.c: Likewise.
527         * debug/xtrace.sh: Likewise.
528         * elf/ldconfig.c: Likewise.
529         * elf/ldd.bash.in: Likewise.
530         * elf/pldd.c: Likewise.
531         * elf/sotruss.ksh: Likewise.
532         * elf/sprof.c: Likewise.
533         * iconv/iconv_prog.c: Likewise.
534         * iconv/iconvconfig.c: Likewise.
535         * locale/programs/locale.c: Likewise.
536         * locale/programs/localedef.c: Likewise.
537         * login/programs/pt_chown.c: Likewise.
538         * malloc/memusage.sh: Likewise.
539         * malloc/memusagestat.c: Likewise.
540         * malloc/mtrace.pl: Likewise.
541         * manual/libc.texinfo: Likewise.
542         * nscd/nscd.c: Likewise.
543         * nss/getent.c: Likewise.
544         * nss/makedb.c: Likewise.
545         * posix/getconf.c: Likewise.
546         * scripts/test-installation.pl: Likewise.
547
548         * All files with FSF copyright notices: Update copyright dates
549         using scripts/update-copyrights.
550         * intl/plural.c: Regenerated.
551         * locale/programs/charmap-kw.h: Likewise.
552         * locale/programs/locfile-kw.h: Likewise.
553
554 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
555
556         * sysdeps/unix/sysv/linux/configure: Regenerated.
557         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
558         the linux/fanotify.h header.
559         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
560         HAVE_LINUX_FANOTIFY_H is defined.
561
562 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
563
564         * benchtests/cos-inputs: New inputs.
565         * benchtests/sin-inputs: Likewise.
566
567         * benchtests/atan-inputs: New inputs. Fix name of multiple
568         precision fallback inputs.
569
570         * benchtests/atanh-inputs: New inputs.
571         * benchtests/tanh-inputs: Likewise.
572
573         * benchtests/acosh-inputs: New inputs.
574         * benchtests/asinh-inputs: Likewise.
575
576         * benchtests/cosh-inputs: New inputs.
577         * benchtests/sinh-inputs: Likewise.
578
579         * benchtests/acos-inputs: Add more inputs.
580         * benchtests/asin-inputs: Likewise.
581
582 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
583
584         [BZ #16375]
585         * manual/arith.texi: Fix spelling.
586         * manual/charset.texi: Likewise.
587         * manual/errno.texi: Likewise.
588         * manual/filesys.texi: Likewise.
589         * manual/lang.texi: Likewise.
590         * manual/llio.texi: Likewise.
591         * manual/locale.texi: Likewise.
592         * manual/message.texi: Likewise.
593         * manual/resource.texi: Likewise.
594         * manual/search.texi: Likewise.
595         * manual/setjmp.texi: Likewise.
596         * manual/stdio.texi: Likewise.
597         * manual/string.texi: Likewise.
598         * manual/sysinfo.texi: Likewise.
599         * manual/time.texi: Likewise.
600
601 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
602
603         * po/sl.po: New file.
604
605 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
606
607         * .gitignore: Add core/.gdbinit/.gdb_history.
608
609 2013-12-27  Allan McRae  <allan@archlinux.org>
610
611         [BZ #16369]
612         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
613         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
614
615 2013-12-24  Brooks Moses  <bmoses@google.com>
616
617         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
618         all compilers that claim C++98 compliance, not just GCC.
619         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
620         Likewise.
621
622 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
623
624         * NEWS: Restore accidentally deleted bug-fix entries.
625
626 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
627             Ondřej Bílka  <neleai@seznam.cz>
628
629         [BZ #15073]
630         * malloc/malloc.c (_int_free): Perform sanity check only if we
631         have_lock.
632
633 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
634
635         [BZ #12986]
636         * manual/stdio.texi (String Input Conversions): Clarify that character
637         classes are not supported.
638
639 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
640
641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
642
643 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
644
645         [BZ #16337]
646         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
647         Calculate results for small negative arguments directly rather
648         than using reflection formula with special underflow handling.
649
650         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
651         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
652         sysdeps/unix/bsd/bsd4.4/syscalls.list.
653         (fchflags): Likewise.
654         (revoke): Likewise.
655         (setlogin): Likewise.
656         (sigaltstack): Likewise.
657         (wait4): Likewise.
658         (sigblock): Remove.
659         (sigsetmask): Likewise.
660         (wait3): Likewise.
661         (waitpid): Likewise.
662         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
663         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
664         file.
665         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
666         * sysdeps/unix/bsd/Makefile: ... here.
667         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
668         * sysdeps/unix/bsd/Versions: ... here.
669         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
670         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
671         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
672         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
673         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
674         * sysdeps/unix/bsd/sigblock.c: ... here.
675         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
676         * sysdeps/unix/bsd/sigsetmask.c: ... here.
677         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
678         * sysdeps/unix/bsd/sigvec.c: ... here.
679         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
680         * sysdeps/unix/bsd/tcdrain.c: ... here.
681         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
682         * sysdeps/unix/bsd/tcgetattr.c: ... here.
683         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
684         * sysdeps/unix/bsd/tcsetattr.c: ... here.
685         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
686         * sysdeps/unix/bsd/wait.c: ... here.
687         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
688         * sysdeps/unix/bsd/wait3.c: ... here.
689         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
690         * sysdeps/unix/bsd/waitpid.c: ... here.
691
692 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
693
694         [BZ #16356]
695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
696         round-to-nearest for [!USE_AS_EXPM1L].
697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
698         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
699         more tests of exp and exp10.  Expect some exp10 tests to miss
700         exceptions or fail in directed rounding modes.
701         * math/auto-libm-test-out: Regenerated.
702         * math/libm-test.inc (exp10_tonearest_test_data): New array.
703         (exp10_test_tonearest): New function.
704         (exp10_towardzero_test_data): New array.
705         (exp10_test_towardzero): New function.
706         (exp10_downward_test_data): New array.
707         (exp10_test_downward): New function.
708         (exp10_upward_test_data): New array.
709         (exp10_test_upward): New function.
710         (main): Call the new functions.
711         * sysdeps/i386/fpu/libm-test-ulps: Update.
712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
713
714 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
715
716         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
717         asinh, atan, atan2, atanh, cbrt, cos and cosh.
718         * math/auto-libm-test-out: Regenerated.
719         * math/libm-test.inc (acosh_test_data): Add more tests.
720         (atanh_test_data): Likewise.
721         (ceil_test_data): Likewise.
722         (copysign_test_data): Likewise.
723         * sysdeps/i386/fpu/libm-test-ulps: Update.
724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
725
726         * timezone/checktab.awk: Update from tzcode 2013i.
727         * timezone/private.h: Likewise.
728         * timezone/scheck.c: Likewise.
729         * timezone/tzfile.h: Likewise.
730         * timezone/tzselect.ksh: Likewise.
731         * timezone/zdump.c: Likewise.
732         * timezone/zic.c: Likewise.
733
734         * math/auto-libm-test-in: Add tests of cpow.
735         * math/auto-libm-test-out: Regenerated.
736         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
737         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
738         mpc_cc_c.
739         (func_calc_desc): Add mpc_cc_c union field.
740         (test_functions): Add cpow.
741         (special_fill_2pi): New function.
742         (special_real_inputs): Add 2pi.
743         (calc_generic_results): Handle mpc_cc_c.
744         * sysdeps/i386/fpu/libm-test-ulps: Update.
745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
746
747         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
748         csqrt, ctan and ctanh.
749         * math/auto-libm-test-out: Regenerated.
750         * math/libm-test.inc (TEST_COND_x86_64): New macro.
751         (TEST_COND_x86): Likewise.
752         (ccos_test_data): Use AUTO_TESTS_c_c.
753         (ccosh_test_data): Likewise.
754         (cexp_test_data): Likewise.
755         (clog_test_data): Likewise.
756         (csqrt_test_data): Likewise.
757         (ctan_test_data): Likewise.
758         (ctan_tonearest_test_data): Likewise.
759         (ctan_towardzero_test_data): Likewise.
760         (ctan_downward_test_data): Likewise.
761         (ctan_upward_test_data): Likewise.
762         (ctanh_test_data): Likewise.
763         (ctanh_tonearest_test_data): Likewise.
764         (ctanh_towardzero_test_data): Likewise.
765         (ctanh_downward_test_data): Likewise.
766         (ctanh_upward_test_data): Likewise.
767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
768         mpc_c_c.
769         (func_calc_desc): Add mpc_c_c union field.
770         (FUNC_mpc_c_c): New macro.
771         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
772         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
773         ctanh.
774         (special_fill_min_subnorm_p120): New function.
775         (special_real_inputs): Add min_subnorm_p120.
776         (calc_generic_results): Handle mpc_c_c.
777         * sysdeps/i386/fpu/libm-test-ulps: Update.
778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
779
780 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
781
782         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
783         do_sin_slow): New functions.
784         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
785         cslow2, csloww1, csloww2): Use the new functions.
786
787         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
788         Use M to change sign of result instead of X.  Assume X is
789         positive.
790         (csloww1): Likewise.
791         (__sin): Adjust.
792         (__cos): Adjust.
793
794         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
795         arguments A and DA.
796         (__sin): Adjust.
797         (__cos): Likewise.
798
799         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
800         (__cos): Likewise.
801         (sloww1): Don't adjust sign of DX.
802         (csloww1): Likewise.
803         (sloww2): Use X directly and don't adjust sign of DX.
804         (csloww2): Likewise.
805
806 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
807
808         * math/auto-libm-test-in: Add tests of cabs and carg.
809         * math/auto-libm-test-out: Regenerated.
810         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
811         (carg_test_data): Likewise.
812         * math/gen-auto-libm-tests.c (func_calc_method): Add value
813         mpc_c_f.
814         (func_calc_desc): Add mpc_c_f union field.
815         (test_functions): Add cabs and carg.
816         (calc_generic_results): Handle mpc_c_f.
817
818         * sysdeps/powerpc/powerpc32/libgcc-compat.S
819         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
820         as a macro and a compat symbol.
821         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
822         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
823         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
824         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
825         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
826         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
827         not use .hidden.
828         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
829         Likewise.
830         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
831         Likewise.
832         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
833         Likewise.
834         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
835         Likewise.
836         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
837         Likewise.
838         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
839         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
840         from GLIBC_2.3.2.
841
842 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
843
844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
845
846 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
847
848         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
849         (__signal_safe_memalign, __signal_safe_free): Use it.
850         (__signal_safe_realloc): Likewise.
851
852 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
853
854         * manual/texinfo.tex: Update to version 2013-11-26.10 with
855         trailing whitespace removed.
856         * scripts/config.guess: Update to version 2013-11-29.
857         * scripts/config.sub: Update to version 2013-10-01.
858
859         * math/auto-libm-test-in: Add tests of sincos.
860         * math/auto-libm-test-out: Regenerated.
861         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
862         * math/gen-auto-libm-tests.c (func_calc_method): Add value
863         mpfr_f_11.
864         (func_calc_desc): Add mpfr_f_11 union field.
865         (test_functions): Add sincos.
866         (calc_generic_results): Handle mpfr_f_11.
867         * sysdeps/i386/fpu/libm-test-ulps: Update.
868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
869
870 2013-12-19  Andreas Schwab  <schwab@suse.de>
871
872         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
873         CALL_MCOUNT.
874         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
875         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
876         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
877
878 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
879
880         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
881         * sysdeps/i386/fpu/libm-test-ulps: Update.
882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
883
884         [BZ #16293]
885         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
886         round-to-nearest mode when using frndint.
887         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
888         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
890         Likewise.
891         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
892         sinh test to fail.
893         * math/auto-libm-test-out: Regenerated.
894         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
895         (TEST_COND_x86): Likewise.
896         (expm1_tonearest_test_data): New array.
897         (expm1_test_tonearest): New function.
898         (expm1_towardzero_test_data): New array.
899         (expm1_test_towardzero): New function.
900         (expm1_downward_test_data): New array.
901         (expm1_test_downward): New function.
902         (expm1_upward_test_data): New array.
903         (expm1_test_upward): New function.
904         (main): Run the new test functions.
905         * sysdeps/i386/fpu/libm-test-ulps: Update.
906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
907
908         * include/features.h: Update comment documenting feature test
909         macros.  Mention _DEFAULT_SOURCE in comment.
910         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
911         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
912         _BSD_SOURCE and _SVID_SOURCE.
913         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
914         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
915         !_SVID_SOURCE]: Likewise.
916         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
917         (__USE_POSIX_IMPLICITLY): Define.
918         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
919         (_POSIX_SOURCE): Undefine and redefine.
920         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
921         (_POSIX_C_SOURCE): Likewise.
922         * manual/creature.texi (_DEFAULT_SOURCE): Document.
923         (Feature Test Macros): Update documentation of default features.
924
925 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
926
927         * benchtests/Makefile: Add bench-strtok.
928         * benchtests/bench-strtok.c: New file: strtok benchtest.
929
930 2013-12-19  Allan McRae  <allan@archlinux.org>
931
932         * manual/install.texi: Suppress menu for plain text output.
933         * INSTALL: Regenerated.
934
935 2013-12-18  Andrew Hunter  <ahh@google.com>
936
937         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
938         (__signal_safe_malloc, __signal_safe_free): Likewise.
939         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
940         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
941         (__signal_safe_memalign, __signal_safe_malloc): New function.
942         (__signal_safe_free, __signal_safe_realloc): Likewise.
943         (__signal_safe_calloc): Likewise.
944         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
945         functions.
946         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
947
948 2013-12-18  Andrew Hunter  <ahh@google.com>
949
950         * elf/Versions (ld): Add _dl_clear_dtv.
951         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
952         * elf/dl-tls.c (_dl_clear_dtv): New function.
953         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
954
955 2013-12-18  Andrew Hunter  <ahh@google.com>
956
957         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
958         (_dl_unmask_signals): Likewise.
959         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
960         (_dl_unmask_all_signals): Likewise.
961         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
962         (_dl_unmask_all_signals): Likewise.
963         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
964         (_dl_unmask_signals): Likewise.
965
966 2013-12-18  Brooks Moses  <bmoses@google.com>
967
968         [BZ #15846]
969         * misc/getauxval.c: Include errno.h.
970         (__getauxval): Set errno to ENOENT if the requested type is not
971         found.
972         * misc/sys/auxv.h (getauxval): Document that it may set errno;
973         don't declare with __attribute_const__.
974         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
975         * manual/startup.texi: Document that getauxval sets errno.
976
977 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
978
979         * math/auto-libm-test-in: Add tests of jn and yn.
980         * math/auto-libm-test-out: Regenerated.
981         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
982         (yn_test_data): Likewise.
983         * math/gen-auto-libm-tests.c (func_calc_method): Add value
984         mpfr_if_f.
985         (func_calc_desc): Add mpfr_if_f union field.
986         (FUNC_mpfr_if_f): New macro.
987         (test_functions): Add jn and yn.
988         (calc_generic_results): Assert type of second input for
989         mpfr_ff_f.  Handle mpfr_if_f.
990         (output_for_one_input_case): Disable all checking for arguments
991         fitting floating-point types in case of an integer argument.
992         * sysdeps/i386/fpu/libm-test-ulps: Update.
993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994
995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
996         Don't expect fegetround reference in libm.so.
997
998 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
999
1000         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1001         $(config-cflags-nofma).
1002
1003 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1004
1005         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1006         * math/auto-libm-test-out: Regenerated.
1007
1008         [BZ #16338]
1009         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1010         to determine exponent and adjust argument to have exponent of -1.
1011         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1012         log2.
1013         * math/auto-libm-test-out: Regenerated.
1014         * sysdeps/i386/fpu/libm-test-ulps: Update.
1015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1016
1017 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1018
1019         * manual/probes.texi: Remove cases when per-thread arenas are
1020         disabled.
1021
1022 2013-12-18  Andreas Schwab  <schwab@suse.de>
1023
1024         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1025         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1026         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1027         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1028         * sysdeps/i386/i686/multiarch/Makefile: Update.
1029         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1030
1031 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1032
1033         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1034         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1035
1036 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1037
1038         Support TZ transition times < 00:00:00.
1039         This is needed for version-3 tz-format files; it supports time
1040         stamps past 2037 for America/Godthab (the only entry in the tz
1041         database for which this change is relevant).
1042         * manual/time.texi (TZ Variable): Document transition times
1043         from -167:59:59 through -00:00:01.
1044         * time/tzset.c (tz_rule): Time of day is now signed.
1045         (__tzset_parse_tz): Parse negative time of day.
1046
1047         Document TZ transition times >= 25:00:00.
1048         * manual/time.texi (TZ Variable): Document transition times from
1049         25:00:00 through 167:59:59.  These are already supported, and this
1050         support will help with version-3 tz-format files.
1051
1052         * manual/time.texi (TZ Variable): Modernize North America example
1053         to reflect current (i.e., 2007-and-later) daylight saving rules.
1054
1055         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1056
1057 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1058
1059         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1060         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1063         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1064         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1065         * sysdeps/unix/bsd/clock.c: Likewise.
1066         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1067         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1068         * sysdeps/unix/bsd/init-posix.c: Likewise.
1069         * sysdeps/unix/bsd/poll.c: Likewise.
1070         * sysdeps/unix/bsd/ptsname.c: Likewise.
1071         * sysdeps/unix/bsd/seekdir.c: Likewise.
1072         * sysdeps/unix/bsd/setegid.c: Likewise.
1073         * sysdeps/unix/bsd/seteuid.c: Likewise.
1074         * sysdeps/unix/bsd/setgid.c: Likewise.
1075         * sysdeps/unix/bsd/setrgid.c: Likewise.
1076         * sysdeps/unix/bsd/setruid.c: Likewise.
1077         * sysdeps/unix/bsd/setsid.c: Likewise.
1078         * sysdeps/unix/bsd/setuid.c: Likewise.
1079         * sysdeps/unix/bsd/sigaction.c: Likewise.
1080         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1081         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1082         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1083         * sysdeps/unix/bsd/telldir.c: Likewise.
1084         * sysdeps/unix/bsd/times.c: Likewise.
1085         * sysdeps/unix/bsd/usleep.c: Likewise.
1086
1087         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1088         ($(objpfx)libbsd-compat.a): Remove rule.
1089
1090         * include/features.h (__FAVOR_BSD): Do not define.
1091         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1092         features conflicting with POSIX.
1093         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1094         (_BSD_SOURCE): Remove description of not being a subset of other
1095         feature test macros.
1096         * manual/job.texi (getpgrp): Do not document BSD version.
1097         (getpgid): Do not document by reference to BSD getpgrp.
1098         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1099         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1100         * signal/signal.h [__FAVOR_BSD]: Likewise.
1101         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1102         instead of making contents conditional on [__FAVOR_BSD].
1103         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1104
1105 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1106
1107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1108
1109 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1110
1111         [BZ #16314]
1112         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1113         values below 2**-450, not 2**-500.
1114         * math/auto-libm-test-in: Don't allow spurious underflow from
1115         hypot.
1116         * math/auto-libm-test-out: Regenerated.
1117
1118         [BZ #16316]
1119         [BZ #16330]
1120         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1121         values of ha and hb and sort them after adjusting subnormal
1122         arguments.
1123         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1124         Likewise.
1125         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1126         values of ea and eb and sort them after adjusting subnormal
1127         arguments.
1128         * math/auto-libm-test-in: Do not expect some hypot tests of
1129         subnormals to fail.  Add more hypot tests.
1130         * math/auto-libm-test-out: Regenerated.
1131
1132 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1133
1134         [BZ #13304]
1135         * sysdeps/sh/s_fma.c: New file.
1136         * sysdeps/sh/s_fmaf.c: New file.
1137         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1138         version.
1139         * sysdeps/sh/Implies: Add sh/soft-fp.
1140
1141 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1142
1143         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1144         level of indirection to members `objname', `errstring', `malloced'.
1145         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1146         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1147         it as the __longjmp argument (just pass 1 instead).
1148         (_dl_catch_error): Initialize C with argument pointers and address of
1149         volatile local ERRCODE rather than copying values out of C at return.
1150
1151 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1152
1153         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1154         * math/auto-libm-test-out: Regenerated.
1155         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1156         (hypot_test_data): Likewise.
1157         (pow_test_data): Likewise.
1158         (pow_tonearest_test_data): Likewise.
1159         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1160         mpfr_ff_f.
1161         (func_calc_desc): Add mpfr_ff_f union field.
1162         (FUNC_mpfr_ff_f): New macro.
1163         (test_functions): Add atan2, hypot and pow.
1164         (special_fill_min): New function.
1165         (special_fill_minus_min): Likewise.
1166         (special_fill_min_subnorm): Likewise.
1167         (special_fill_minus_min_subnorm): Likewise.
1168         (special_real_inputs): Add min, -min, min_subnorm and
1169         -min_subnorm.
1170         (calc_generic_results): Handle mpfr_ff_f.
1171         * sysdeps/i386/fpu/libm-test-ulps: Update.
1172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1173
1174 2013-12-16  Will Newton  <will.newton@linaro.org>
1175
1176         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1177         (Aligned Memory Blocks): Add documentation for aligned_alloc
1178         and suggest it as an alternative to posix_memalign.
1179         (Hooks for Malloc): Document __memalign_hook is also called
1180         for aligned_alloc.  (Summary of Malloc): Add summary for
1181         aligned alloc.  Document __memalign_hook is also called
1182         for aligned_alloc.
1183
1184 2013-12-16  Will Newton  <will.newton@linaro.org>
1185
1186         * manual/memory.texi (Malloc Examples): Clarify default
1187         alignment documentation.  Suggest posix_memalign rather
1188         than memalign or valloc.
1189         (Aligned Memory Blocks): Remove suggestion to use memalign
1190         or valloc.  Remove obsolete comment about BSD.
1191         Document memalign errno values and mark the function obsolete.
1192         Document posix_memalign returned error codes.  Mark valloc
1193         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1194         called for posix_memalign and valloc.
1195         (Summary of Malloc): Add posix_memalign to function summary.
1196         __memalign_hook is also called for posix_memalign and valloc.
1197
1198 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1199
1200         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1201         TAYLOR_SIN.
1202         (__sin): Adjust.
1203         (__cos): Likewise.
1204         (sloww): Use mynumber union.  Expand ternary operator into
1205         if-else statements.
1206         (cslow): use mynumber union.
1207
1208 2013-12-16  Allan McRae  <allan@archlinux.org>
1209
1210         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1211         * configure: Regenerated.
1212
1213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1214
1215         [BZ #14120]
1216         * configure.ac: Added --enable-maintainer-mode. Check for
1217         autoconf when enabled.
1218         * configure: Regenerated.
1219
1220         * nscd/nscd.service: New file.
1221         * nscd/nscd.tmpfiles: New file.
1222
1223 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1224
1225         [BZ #12100]
1226         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1227         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1228         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1229         (strstr): Add __strstr_sse2_unaligned ifunc.
1230         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1231         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1232         (strcasestr): Remove __strcasestr_sse42 ifunc.
1233         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1236
1237 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1238
1239         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1240         * sysdeps/sh/bits/fenv.h: ... here.
1241         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1242
1243 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1244
1245         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1246
1247 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248
1249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1250         hypotf multiarch implementations.
1251         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1252         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1253         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1254         multiarch hypot for PPC64.
1255         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1256         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1257         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1258         multiarch hypotf for PPC64.
1259
1260 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1261
1262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1263         modff multiarch implementations.
1264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1267         multiarch modf for PPC64.
1268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1271         multiarch modff for PPC64.
1272
1273 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1274
1275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1276         and logl multiarch implementations.
1277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1280         multiarch logb for PPC64.
1281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1284         multiarch logb for PPC64.
1285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1288         multiarch logb for PPC64.
1289
1290 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1291
1292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1293         isinff multiarch implementation.
1294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1295         file.
1296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1298         multiarch isinf for PPC64.
1299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1300         file.
1301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1302         multiarch isinff for PPC64.
1303
1304 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1305
1306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1307         finitef multiarch implementation.
1308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1309         file.
1310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1312         multiarch finite for PPC64.
1313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1314         file.
1315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1316         multiarch finitef for PPC64.
1317
1318 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1319
1320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1321         lrint multiarch implementation.
1322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1323         file.
1324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1326         multiarch llrint for PPC64.
1327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1328         multiarch lrint for PPC64.
1329
1330 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1331
1332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1333         copysignf multiarch implementation.
1334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1335         file.
1336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1337         file.
1338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1339         multiarch copysign for PPC64.
1340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1341         multiarch copysignf for PPC64.
1342
1343 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1344
1345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1346         multiarch implementation.
1347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1348         file.
1349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1350         file.
1351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1352         file.
1353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1354         file.
1355         multiarch llround for PPC64.
1356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1357         multiarch trunc for PPC64.
1358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1359         multiarch truncf for PPC64.
1360
1361 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1362
1363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1364         multiarch implementation.
1365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1366         file.
1367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1368         file.
1369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1370         file.
1371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1372         file.
1373         multiarch llround for PPC64.
1374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1375         multiarch round for PPC64.
1376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1377         multiarch roundf for PPC64.
1378
1379 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1380
1381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1382         multiarch implementation.
1383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1384         file.
1385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1386         file.
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1388         file.
1389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1390         file.
1391         multiarch llround for PPC64.
1392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1393         multiarch floor for PPC64.
1394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1395         multiarch floorf for PPC64.
1396
1397 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1398
1399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1400         multiarch implementation.
1401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1402         file.
1403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1404         file.
1405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1406         file.
1407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1408         file.
1409         multiarch llround for PPC64.
1410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1411         multiarch ceil for PPC64.
1412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1413         multiarch ceilf for PPC64.
1414
1415 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1416
1417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1418         multiarch implementation.
1419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1420         file.
1421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1422         file.
1423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1424         file.
1425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1426         multiarch llround for PPC64.
1427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1428         multiarch lround for PPC64.
1429
1430 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1431
1432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1433         multiarch implementation.
1434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1437         file.
1438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1441         multiarch isnan for PPC64.
1442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1443         multiarch isnanf for PPC64.
1444
1445 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1446
1447         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1448         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1449         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1450         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1451         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1453
1454 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1455
1456         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1457         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1460
1461 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1462
1463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1464         multiarch implementations.
1465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1466         (__libc_ifunc_impl_list): Likewise.
1467         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1470         multiarch stpcpy for PPC64.
1471
1472 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1473
1474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1475         multiarch implementations.
1476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1477         (__libc_ifunc_impl_list): Likewise.
1478         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1479         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1480         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1481         multiarch strcpy for PPC64.
1482
1483 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1484
1485         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1486         redefine function name.
1487         (_wordcopy_fwd_dest_aligned): Likewise.
1488         (_wordcopy_bwd_aligned): Likewise.
1489         (_wordcopy_bwd_dest_aligned): Likewise.
1490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1491         multiarch implementations.
1492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1493         (__libc_ifunc_impl_list): Likewise.
1494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1495         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1497         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1498         multiarch wcscpy for PPC64.
1499
1500 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1501
1502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1503         multiarch implementations.
1504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1505         (__libc_ifunc_impl_list): Likewise.
1506         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1507         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1508         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1509         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1510         multiarch wcscpy for PPC64.
1511
1512 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513
1514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1515         multiarch implementations.
1516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1517         (__libc_ifunc_impl_list): Likewise.
1518         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1519         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1520         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1521         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1522         multiarch wcsrchr for PPC64.
1523
1524 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1525
1526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1527         multiarch implementations.
1528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1529         (__libc_ifunc_impl_list): Likewise.
1530         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1531         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1532         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1533         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1534         multiarch wcschr for PPC64.
1535
1536 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1537
1538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1539         multiarch implementations.
1540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1541         (__libc_ifunc_impl_list): Likewise.
1542         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1543         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1544         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1545         multiarch strchrnul for PPC64.
1546
1547 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1548
1549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1550         implementations.
1551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1552         (__libc_ifunc_impl_list): Likewise.
1553         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1554         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1555         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1556         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1557         strchr for PPC64.
1558
1559 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1560
1561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1562         implementations.
1563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1564         (__libc_ifunc_impl_list): Likewise.
1565         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1566         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1567         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1568         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1569         strncmp for PPC64.
1570
1571 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1572
1573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1574         multiarch implementations.
1575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1576         (__libc_ifunc_impl_list): Likewise.
1577         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1578         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1579         strncasecmp for PPC64.
1580         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1581         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1582         multiarch strncasecmp_l for PPC64.
1583
1584 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1585
1586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1587         multiarch implementations.
1588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1589         (__libc_ifunc_impl_list): Likewise.
1590         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1591         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1592         multiarch strcasecmp for PPC64.
1593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1594         file.
1595         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1596         multiarch strcasecmp_l for PPC64.
1597
1598 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1599
1600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1601         implementations.
1602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1603         (__libc_ifunc_impl_list): Likewise.
1604         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1605         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1606         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1607         strnlen for PPC64.
1608
1609 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1610
1611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1612         implementations.
1613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1614         (__libc_ifunc_impl_list): Likewise.
1615         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1616         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1617         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1618         strlen for PPC64.
1619
1620 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1621
1622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1623         implementations.
1624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1625         (__libc_ifunc_impl_list): Likewise.
1626         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1627         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1628         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1629         rawmemrchr for PPC64.
1630
1631 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1632
1633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1634         implementation.
1635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1636         (__libc_ifunc_impl_list): Likewise.
1637         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1638         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1639         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1640         memrchr for PPC64.
1641
1642 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1643
1644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1645         implementation.
1646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1647         (__libc_ifunc_impl_list): Likewise.
1648         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1649         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1650         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1651         memchr for PPC64.
1652
1653 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1654
1655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1656         implementation.
1657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1658         (__libc_ifunc_impl_list): Likewise.
1659         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1660         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1661         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1662         mempcpy for PPC64.
1663
1664 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1665
1666         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1667         avoid cretion of __bzero symbol.
1668         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1669         Likewise.
1670         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1671         Likewise.
1672         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1673         Likewise.
1674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1675         multiarch implementations.
1676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1677         (__libc_ifunc_impl_list): Likewise.
1678         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1679         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1680         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1681         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1682         bzero for PPC32.
1683         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1684         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1685         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1686         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1687         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1688         memset for PPC64.
1689         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1690
1691 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1692
1693         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1695         implementations.
1696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1697         (__libc_ifunc_impl_list): Likewise.
1698         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1699         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1700         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1701         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1702         memcmp for PPC64.
1703
1704 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1705
1706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1707         multiarch for POWER/PPC64.
1708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1709         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1710         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1711         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1712         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1713         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1714         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1715         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1716         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1717         memcpy for PPC64.
1718
1719 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1720
1721         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1722         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1723         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1724         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1725         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1726         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1727         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1728         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1729         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1730         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1731         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1732         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1733         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1734         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1735         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1743
1744 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1745
1746         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1747
1748 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1749
1750         * benchtests/Makefile (bench): Add exp2 and log2.
1751         (LDLIBS-bench-exp2): Add -lm.
1752         (LDLIBS-bench-log2): Likewise.
1753         * benchtests/exp2-inputs: New inputs file.
1754         * benchtests/log2-inputs: New inputs file.
1755         * benchtests/log-inputs: Add new inputs.
1756         * benchtests/tan-inputs: Likewise.
1757
1758 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1759
1760         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1761         definition...
1762         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1763         csloww1, csloww2): ... from here.
1764
1765         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1766         instead of structures.
1767         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1768         (POLYNOMIAL): Likewise.
1769         (TAYLOR_SLOW): Likewise.
1770         (__sin): Likewise.
1771         (__cos): Likewise.
1772         (slow1): Likewise.
1773         (slow2): Likewise.
1774         (sloww): Likewise.
1775         (sloww1); Likewise.
1776         (sloww2): Likewise.
1777         (bsloww1): Likewise.
1778         (bsloww2): Likewise.
1779         (cslow2): Likewise.
1780         (csloww): Likewise.
1781         (csloww1): Likewise.
1782         (csloww2): Likewise.
1783
1784 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1785
1786         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1787         (__malloc_assert, __libc_realloc, __libc_calloc,
1788         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1789         memcpy and memset.
1790         * malloc/hooks.c (realloc_check): Likewise.
1791
1792 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1793
1794         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1795         * malloc/arena.c: Remove PER_THREAD conditional.
1796         [!PER_THREAD]: Remove code.
1797         (ptmalloc_unlock_all2): Likewise.
1798         (ptmalloc_init): Likewise.
1799         (_int_new_arena): Likewise.
1800         (arena_get2): Likewise.
1801         * malloc/hooks.c (__malloc_get_state): Likewise.
1802         (__malloc_set_state): Likewise.
1803         * malloc/malloc.c: Likewise.
1804         (struct malloc_state): Likewise.
1805         (struct malloc_par): Likewise.
1806         (__libc_realloc): Likewise.
1807         (__libc_mallopt): Likewise.
1808
1809 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1810
1811         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1812
1813 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1814
1815         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1816         macro to a function.  Check for zero perturb_byte.
1817         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1818
1819 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1820
1821         * malloc/malloc.c: (force_reg): Remove.
1822         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1823         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1824         force_reg by atomic_forced_read.
1825         * malloc/arena.c (ptmalloc_init): Likewise.
1826         * malloc/hooks.c (top_check): Likewise.
1827
1828 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1829
1830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1831
1832 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1833
1834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1835
1836 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1837
1838         * math/auto-libm-test-in: Add tests of lgamma.
1839         * math/auto-libm-test-out: Regenerated.
1840         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1841         (M_LOG_2_SQRT_PIl): Likewise.
1842         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1843         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1844         mpfr_f_f1.
1845         (func_calc_desc): Add mpfr_f_f1 union field.
1846         (ARGS1): New macro.
1847         (ARGS2): Likewise.
1848         (ARGS3): Likewise.
1849         (ARGS4): Likewise.
1850         (RET1): Likewise.
1851         (RET2): Likewise.
1852         (CALC): Likewise.
1853         (FUNC): Likewise.
1854         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1855         (test_functions): Add lgamma.
1856         (calc_generic_results): Handle mpfr_f_f1.
1857         * sysdeps/i386/fpu/libm-test-ulps: Update.
1858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1859
1860 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1861
1862         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1863         __mpn_add_n for PowerPC64/POWER7.
1864         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1865         __mpn_sub_n for PowerPC64/POWER7.
1866
1867 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1868
1869         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1870         __mpn_addmul_1 for PowerPC64.
1871         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1872         __mpn_submul_1 for PowerPC64.
1873         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1874         for PowerPC64.
1875         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1876         for PowerPC64.
1877
1878 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1879
1880         [BZ #15089]
1881         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1882
1883 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1884
1885         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1886
1887 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1888
1889         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1890         add multiarch folders.
1891         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1892         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1893         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1894         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1895         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1896         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1897         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1898         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1899         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1900         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1901         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1908
1909 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1910
1911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1912         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1914         New file.
1915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1916         New file.
1917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1918         multiarch __ieee754_hypot for PowerPC32.
1919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1920         New file.
1921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1922         New file.
1923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1924         multiarch __ieee754_hypotf for PowerPC32.
1925
1926 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1927
1928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1929         long_double_symbol only if __logbl is defined.
1930         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1931         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1932         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1933         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1935         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1936         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1937         path for implementation.
1938         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1939         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1941         logb, and logbl multiarch implementations for PowerPC32.
1942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1943         file.
1944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1945         file.
1946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1947         multiarch logb for PowerPC32.
1948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1949         file.
1950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1951         file.
1952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1953         multiarch logbf for PowerPC32.
1954         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1956         file.
1957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1958         multiarch logbl implementation for PowerPC32.
1959
1960 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1961
1962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1963         and modff multiarch implementations.
1964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1965         New file.
1966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1967         New file.
1968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1969         multiarch modf for PowerPC32.
1970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1971         New file.
1972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1973         New file.
1974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1975         multiarch modff for PowerPC32.
1976
1977 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1978
1979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1980         and lrintf multiarch implementations.
1981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1982         New file.
1983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1984         New file.
1985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1986         multiarch lrint for PowerPC32.
1987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1988         file: multiarch lrintf for PowerPC32.
1989
1990 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1991
1992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1993         and lroundf multiarch implementations.
1994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1995         New file.
1996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1997         New file.
1998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1999         New file.
2000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2001         multiarch lround for PowerPC32.
2002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2003         file: multiarch lroundf for PowerPC32.
2004
2005 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2006
2007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2008         copysign and copysignf multiarch implementations.
2009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2010         New file.
2011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2012         New file.
2013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2014         file: multiarch copysign for PowerPC32.
2015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2016         file: multiarch copysignf for PowerPC32.
2017
2018 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2019
2020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2021         and truncf multiarch implementations.
2022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2023         New file.
2024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2025         file.
2026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2027         multiarch trunc for PowerPC32.
2028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2029         New file.
2030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2031         New file.
2032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2033         multiarch truncf for PowerPC32.
2034
2035 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2036
2037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2038         and roundf multiarch implementations.
2039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2040         New file.
2041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2042         file.
2043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2044         multiarch round for PowerPC32.
2045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2046         New file.
2047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2048         New file.
2049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2050         multiarch roundf for PowerPC32.
2051
2052 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2053
2054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2055         and floorf multiarch implementations.
2056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2057         New file.
2058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2059         file.
2060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2061         multiarch floor for PowerPC32.
2062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2063         New file.
2064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2065         New file.
2066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2067         multiarch floorf for PowerPC32.
2068
2069 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2070
2071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2072         and ceilf multiarch implementations.
2073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2074         New file.
2075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2076         file.
2077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2078         multiarch ceil for PowerPC32.
2079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2080         New file.
2081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2082         file.
2083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2084         multiarch ceilf for PowerPC32.
2085
2086 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2087
2088         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2089         is defined.
2090         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2091         FINITEF is defined.
2092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2093         and finitef multiarch implementations.
2094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2095         New file.
2096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2097         file.
2098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2099         multiarch finite for PowerPC32.
2100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2101         New file.
2102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2103         file: multiarch finitef for PowerPC32.
2104
2105 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2106
2107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2108         and isinff multiarch implementations.
2109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2110         file.
2111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2112         file.
2113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2114         multiarch isinf for PowerPC32.
2115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2116         New file.
2117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2118         multiarch isinff for PowerPC32.
2119
2120 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2121
2122         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2123         alias when __isnan is defined.
2124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2125         and isnanf multiarch implementations.
2126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2127         file.
2128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2129         file.
2130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2131         file.
2132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2133         file.
2134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2135         multiarch isnan for PowerPC32.
2136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2137         New file.
2138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2139         New file.
2140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2141         multiarch isnanf for PowerPC32.
2142
2143 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2144
2145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2146         and sqrtf multiarch implementations.
2147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2148         file.
2149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2150         file.
2151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2152         multiarch sqrt for PowerPC32.
2153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2154         file.
2155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2156         file.
2157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2158         multiarch sqrtf for PowerPC32.
2159
2160 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2161
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2163         and llroundf multiarch implementations.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2165         New file.
2166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2167         New file.
2168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2169         New file.
2170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2171         file: multiarch llround for PowerPC32.
2172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2173         file: multiarch llroundf for PowerPC32.
2174
2175 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2176
2177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2178         multiarch PowerPC32 fpu implementations.
2179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2180         New file.
2181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2182         New file.
2183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2184         multiarch llrint for PowerPC32.
2185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2186         New file.
2187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2188         New file.
2189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2190         file.
2191
2192 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2193
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2195
2196 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2197
2198         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2199         file.
2200         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2201         file.
2202         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2203         file.
2204         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2205         multiarch wordcopy for PPC32.
2206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2207         wordcopy objects.
2208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2209         (__libc_ifunc_impl_list): Likewise.
2210         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2211         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2212         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2213         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2214         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2215         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2216
2217 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2218
2219         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2221         file.
2222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2223         file.
2224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2225         file.
2226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2227         multiarch wcscpy for PPC32.
2228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2229         multiarch objects.
2230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2231         (__libc_ifunc_impl_list): Likewise.
2232         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2233         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2234         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2235         sysdeps/powerpc/power6/wcscpy.c.
2236
2237 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2238
2239         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2241         file.
2242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2243         file.
2244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2245         file.
2246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2247         multiarch wcsrchr for PPC32.
2248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2249         multiarch objects.
2250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2251         (__libc_ifunc_impl_list): Likewise.
2252         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2253         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2254         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2255         sysdeps/powerpc/power6/wcsrchr.c.
2256
2257 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2258
2259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2260         file.
2261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2262         file.
2263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2265         multiarch wcschr for PPc32.
2266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2267         multiarch objects.
2268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2269         (__libc_ifunc_impl_list): Likewise.
2270         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2271         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2272         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2273         sysdeps/powerpc/power6/wcschr.c.
2274
2275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2276
2277         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2278         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2279         file.
2280         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2281         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2282         file: multiarch strchr for PPC32.
2283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2284         multiarch objects.
2285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2286         (__libc_ifunc_impl_list): Likewise.
2287
2288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2289
2290         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2291         name.
2292         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2293         file.
2294         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2295         file.
2296         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2297         multiarch strchrnul for PPC32.
2298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2299         multiarch objects.
2300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2301         (__libc_ifunc_impl_list): Likewise.
2302
2303 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2304
2305         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2306         file.
2307         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2308         multiarch strncasecmp for PPC32.
2309         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2310         file.
2311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2312         multiarch strncasecmp_l for PPC32.
2313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2314         strncasecmp multiarch objects.
2315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2316         (__libc_ifunc_impl_list): Likewise.
2317
2318 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2319
2320         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2321         file.
2322         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2323         multiarch strncasecmp for PPC32.
2324         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2325         New file.
2326         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2327         multiarch strcasecmp_l for PPC32.
2328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2329         multiarch objects.
2330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2331         (__libc_ifunc_impl_list): Likewise.
2332
2333 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2334
2335         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2336         file.
2337         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2338         file.
2339         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2340         multiarch strncmp for PPC32.
2341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2342         multiarch objects.
2343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2344         (__libc_ifunc_impl_list): Likewise.
2345
2346 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2347
2348         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2349         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2350         file.
2351         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2352         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2354         multiarch objects.
2355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2356         (__libc_ifunc_impl_list): Likewise.
2357
2358 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2359
2360         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2361         file.
2362         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2363         file.
2364         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2366         multiarch objects.
2367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2368         (__libc_ifunc_impl_list): Likewise.
2369
2370 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2371
2372         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2373         file.
2374         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2375         file.
2376         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2377         multiarch rawmemchr for PPC32.
2378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2379         multiarch objects.
2380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2381         (__libc_ifunc_impl_list): Likewise.
2382
2383 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2384
2385         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2386         file.
2387         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2388         file.
2389         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2390         file: memrchr multiarch for PPC32.
2391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2392         multiarch objects.
2393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2394         (__libc_ifunc_impl_list): Likewise.
2395
2396 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2397
2398         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2399         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2400         file.
2401         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2402         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2403         multiarch memchr for PPC32.
2404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2405         multiarch objects.
2406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2407         (__libc_ifunc_impl_list): Likewise.
2408
2409 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2410
2411         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2412         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2413         file.
2414         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2415         file.
2416         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2417         file: multiarch mempcpy for PPC32.
2418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2419         multiarch objects.
2420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2421         (__libc_ifunc_impl_list): Likewise.
2422
2423 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2424
2425         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2426         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2427         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2428         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2429         multiarch bzero for PPC32.
2430         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2431         file.
2432         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2433         file.
2434         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2435         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2436         file: multiarch memset for PPC32.
2437         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2439         memset multiarch objects.
2440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2441         (__libc_ifunc_impl_list): Likewise.
2442
2443 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2444
2445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2446         file.
2447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2449         memcmp for PPC32.
2450         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2452         multiarch objects.
2453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2454         (__libc_ifunc_impl_list): Likewise.
2455
2456 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2457
2458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2459         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2461         file.
2462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2463         file.
2464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2465         file.
2466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2467         multiarch memcpy for PPC32.
2468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2469         multiarch objects.
2470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2471         (__libc_ifunc_impl_list): Likewise.
2472
2473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2474
2475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2476         support multiarch for POWER/PPC32.
2477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2478         Likewise.
2479         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2481         Implies file to make multiarch folder appers before the fpu and
2482         default folder for power4 configuration.
2483
2484 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2485
2486         * scripts/bench.pl: Append volatile keyword to type.
2487
2488 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2489
2490         * sysdeps/sh/sotruss-lib.c: New file.
2491         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2492
2493 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2494
2495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2496
2497 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2498
2499         [BZ #6810]
2500         * math/w_tgamma.c: Include <errno.h>.
2501         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2502         * math/w_tgammaf.c: Include <errno.h>.
2503         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2504         * math/w_tgammal.c: Include <errno.h>.
2505         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2506         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2507         underflow.  Add more tgamma tests.
2508         * math/auto-libm-test-out: Regenerated.
2509         * sysdeps/i386/fpu/libm-test-ulps: Update.
2510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2511
2512         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2513         sin, sinh, tan, tanh, tgamma, y0 and y1.
2514         * math/auto-libm-test-out: Regenerated.
2515         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2516         (TEST_COND_x86): Likewise.
2517         (M_E2l): Remove macro.
2518         (M_E3l): Likewise.
2519         (M_2_SQRT_PIl): Likewise.
2520         (M_SQRT_PIl): Likewise.
2521         (M_1_DIV_El): Likewise.
2522         (log_test_data): Use AUTO_TESTS_f_f.
2523         (log10_test_data): Likewise.
2524         (log1p_test_data): Likewise.
2525         (log2_test_data): Likewise.
2526         (sin_test_data): Likewise.
2527         (sin_tonearest_test_data): Likewise.
2528         (sin_towardzero_test_data): Likewise.
2529         (sin_downward_test_data): Likewise.
2530         (sin_upward_test_data): Likewise.
2531         (sinh_test_data): Likewise.
2532         (sinh_tonearest_test_data): Likewise.
2533         (sinh_towardzero_test_data): Likewise.
2534         (sinh_downward_test_data): Likewise.
2535         (sinh_upward_test_data): Likewise.
2536         (tan_test_data): Likewise.
2537         (tan_tonearest_test_data): Likewise.
2538         (tan_towardzero_test_data): Likewise.
2539         (tan_downward_test_data): Likewise.
2540         (tan_upward_test_data): Likewise.
2541         (tanh_test_data): Likewise.
2542         (tgamma_test_data): Likewise.
2543         (y0_test_data): Likewise.
2544         (y1_test_data): Likewise.
2545         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2546         (special_real_inputs): Add pi/4.
2547         * sysdeps/i386/fpu/libm-test-ulps: Update.
2548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2549
2550 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2551
2552         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2553         "longjmp_target" static probes.
2554         (__longjmp): Rename to __longjmp_symbol.
2555         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2556         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2557         on which longjmp to generate.
2558         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2559         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2560         probe.
2561         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2562         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2563         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2564         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2565         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2566         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2568         __longjmp_symbol based on which __longjmp to generate.
2569         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2570         probe.
2571         (setjmp): Rename to setjmp_symbol.
2572         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2573         (_setjmp): Rename to _setjmp_symbol.
2574         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2575         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2576         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2577         which setjmp to generate.
2578         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2579         "longjmp_target" static probes.
2580
2581 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2582
2583         * benchtests/README: Add note about output arguments.
2584         * benchtests/bench-sincos.c: Remove file.
2585         * benchtests/sincos-inputs: New file.
2586         * scripts/bench.pl: Identify output arguments and define
2587         static variables for them.
2588
2589         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2590
2591         [BZ #15941]
2592         * Makefile (INSTALL): Add install-plain.texi as the primary
2593         dependency.
2594         * manual/install-plain.texi: New file.
2595         * manual/install.texi: Include node directive only for
2596         non-plaintext output.
2597
2598 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2599
2600         * stdlib/longlong.h: Update from GCC.
2601
2602         [BZ #6807]
2603         [BZ #15901]
2604         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2605         * math/w_j0f.c (y0f): Likewise.
2606         * math/w_j0l.c (__y0l): Likewise.
2607         * math/w_j1.c (y1): Likewise.
2608         * math/w_j1f.c (y1f): Likewise.
2609         * math/w_j1l.c (__y1l): Likewise
2610         * math/w_jn.c (yn): Likewise.
2611         * math/w_jnf.c (ynf): Likewise.
2612         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2613         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2614         value for Bessel function domain errors outside _SVID_ mode.
2615         Adjust sign of return value for yn (negative integer, 0).
2616         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2617         by zero in return for negative x and set sign appropriately for
2618         negative n.
2619         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2620         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2621         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2622         expectations in error cases.
2623         (y1_test_data): Likewise.
2624         (yn_test_data): Likewise.
2625         * sysdeps/i386/fpu/libm-test-ulps: Update.
2626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2627
2628 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2629
2630         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2631         "64" to "64-v1".  Add "64-v2".
2632         (abi-64-options): Rename to ...
2633         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2634         (abi-64-condition): Rename to ...
2635         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2636         (abi-64-ld-soname): Rename to ...
2637         (abi-64-v1-ld-soname): ... this.
2638         (abi-64-v2-options): Define.
2639         (abi-64-v2-condition): Likewise.
2640         (abi-64-v2-ld-soname): Likewise.
2641         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2642         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2646
2647 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2648             Alan Modra  <amodra@gmail.com>
2649
2650         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2651         New versions for use with the ELFv2 ABI.
2652         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2653         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2654         declaration.
2655         (struct La_ppc64v2_retval): Likewise.
2656         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2657         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2658         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2659         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2660         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2661         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2662         Do not save or restore CR.
2663         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2664         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2665         return values for ELFv2 ABI.  Fix location of FPR return registers.
2666         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2667         updated values for _CALL_ELF == 2.
2668         (La_regs, La_retval, int_retval): Likewise.
2669
2670 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2671
2672         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2673         (FRAME_MIN_SIZE_PARM): Likewise.
2674         (FRAME_BACKCHAIN): Likewise.
2675         (FRAME_CR_SAVE): Likewise.
2676         (FRAME_LR_SAVE): Likewise.
2677         (FRAME_TOC_SAVE): Likewise.
2678         (FRAME_PARM_SAVE): Likewise.
2679         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2680         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2681         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2682         (call_mcount_parm_offset): New macro.
2683         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2684         (PROF): Use symbolic stack frame offsets.
2685         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2686         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2687         Redefine in terms of FRAME_MIN_SIZE.
2688         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2689         (_dl_profile_resolve): Likewise.  Update comment.
2690         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2691         symbols stack frame offsets.
2692         (__sigsetjmp): Likewise.
2693         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2694         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2695         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2696         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2697
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2699         (FRAME_BACKCHAIN): Remove.
2700         (FRAME_CR_SAVE): Likewise.
2701         (FRAME_LR_SAVE): Likewise.
2702         (FRAME_COMPILER_DW): Likewise.
2703         (FRAME_LINKER_DW): Likewise.
2704         (FRAME_TOC_SAVE): Likewise.
2705         (FRAME_PARM_SAVE): Likewise.
2706         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2707         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2708         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2710         (CHECK_SP): Use symbolic stack frame offsets.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2712         zone" instead of caller's parameter save area for temp storage.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2714         Likewise.  Also, use symbolic stack frame offsets.
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2716         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2717         our own stack frame instead of the caller's.
2718         (__socket): Use symbolic stack frame offsets.
2719
2720 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2721             Alan Modra  <amodra@gmail.com>
2722
2723         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2724         Define.
2725         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2726         PPC64_LOCAL_ENTRY_OFFSET): Define.
2727         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2728         New function.
2729         (elf_machine_fixup_plt): Call it.
2730         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2731         reloc arguments.
2732         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2733         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2734         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2735         r2 before calling target.
2736
2737 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2738             Alan Modra  <amodra@gmail.com>
2739
2740         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2741         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2742         versions of macros to support ELFv2 ABI.
2743         (LOCALENTRY): New macro.
2744         (ENTRY, EALIGN): Use it.
2745         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2746         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2747         fall through into ENTRY entry point.
2748         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2749         Only define if _CALL_ELF != 2.
2750
2751         (elf_machine_matches_host): Verify ABI version matches.
2752         (RTLD_START): Use LOCALENTRY.
2753         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2754         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2755         (PLT_ENTRY_WORDS): New macro.
2756         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2757         (elf_machine_runtime_setup): Support ELFv2 ABI.
2758         (elf_machine_fixup_plt): Likewise.
2759         (elf_machine_plt_conflict): Likewise.
2760         (resolve_ifunc): Likewise.
2761         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2763         Likewise.
2764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2765         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2767         (makecontext): Support ELFv2 ABI.
2768         * elf/elf.h (EF_PPC64_ABI): Define.
2769
2770 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2771
2772         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2773         New assembler macro.
2774         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2775         [ASSEMBLER] (ENTRY): ... but instead here ...
2776         [ASSEMBLER] (EALIGN): ... and here.
2777         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2778         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2779         [!ASSEMBLER] (ENTRY_2): Use it.
2780         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2781         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2782         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2783         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2784         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2786         Use PPC64_LOAD_FUNCPTR.
2787
2788 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2789
2790         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2791
2792 2013-12-04  Alan Modra  <amodra@gmail.com>
2793
2794         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2795         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2796         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2797         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2798
2799         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2800         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2801         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2802         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2803         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2804         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2805
2806 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2807
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2809         (__makecontext): Fix incorrect CFI when backtracing out of
2810         context created via makecontext.
2811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2812         (__setcontext): Fix incorrect CFI during switch to new context.
2813         (__novec_setcontext): Likewise.
2814
2815 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2816
2817         [BZ #4772]
2818         * time/strptime_l.c (__strptime_internal): Allow modifiers
2819         in strptime.
2820         * time/tst-strptime.c (day_tests): Add testcase.
2821
2822
2823 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2824
2825         * scripts/bench.pl: Skip over blank lines.
2826
2827 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2828
2829         [BZ #926]
2830         * manual/time.texi (Calendar Time): Clarify what timezone functions
2831         use.
2832
2833 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2834
2835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2836
2837 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2838
2839         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2840         implementation.
2841         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2842         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2843         * debug/memset_chk.c (__memset_chk): Likewise.
2844         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2845         * debug/strncpy_chk.c: Likewise.
2846
2847 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2848
2849         [BZ #15268]
2850         [BZ #15425]
2851         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2852         (__ieee754_exp): For possibly underflowing results, check size of
2853         result and force underflow exception if required.
2854         * math/auto-libm-test-in: Add more tests of exp.
2855         * math/auto-libm-test-out: Regenerated.
2856         * sysdeps/i386/fpu/libm-test-ulps: Update.
2857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2858
2859         [BZ #16283]
2860         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2861         * math/w_exp2f.c (__exp2f): Likewise.
2862         * math/w_exp2l.c (__exp2l): Likewise.
2863         * math/auto-libm-test-in: Do not allow missing errno on exp2
2864         underflow.
2865         * math/auto-libm-test-out: Regenerated.
2866
2867 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2868
2869         [BZ #16274]
2870         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2871         handle filename validation.
2872         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2873         (do_open): Delete.
2874
2875 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2876
2877         [BZ #6786]
2878         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2879         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2880         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2881         <float.h>.
2882         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2884         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2886         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2888         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2889         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2890         Add more erfc tests.
2891         * math/auto-libm-test-out: Regenerated.
2892         * sysdeps/i386/fpu/libm-test-ulps: Update.
2893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2894
2895         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2896         exp2, expm1, j0 and j1.
2897         * math/auto-libm-test-out: Regenerated.
2898         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2899         (erfc_test_data): Likewise.
2900         (exp_test_data): Likewise.
2901         (exp_tonearest_test_data): Likewise.
2902         (exp_towardzero_test_data): Likewise.
2903         (exp_downward_test_data): Likewise.
2904         (exp_upward_test_data): Likewise.
2905         (exp10_test_data): Likewise.
2906         (exp2_test_data): Likewise.
2907         (expm1_test_data): Likewise.
2908         (j0_test_data): Likewise.
2909         (j1_test_data): Likewise.
2910         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2911         (input_flag_type): Add flag_xfail_rounding.
2912         (input_flags): Add xfail-rounding.
2913         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2914         (output_for_one_input_case): Handle flag_xfail_rounding.
2915         * sysdeps/i386/fpu/libm-test-ulps: Update.
2916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2917
2918 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2919
2920         [BZ #16289]
2921         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2922         division by 0.
2923
2924 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2925
2926         [BZ #16195]
2927         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2928         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2929         (STAP_PROBE0): New macro.
2930         (STAP_PROBE1): Likewise.
2931         (STAP_PROBE2): Likewise.
2932         (STAP_PROBE3): Likewise.
2933         (STAP_PROBE4): Likewise.
2934
2935 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2936
2937         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2938
2939 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2940
2941         * benchtests/Makefile (bench): Add sqrt.
2942         (LDLIBS-bench-sqrt): New.
2943         * benchtests/sqrt-input: New.
2944
2945 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2946
2947         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2948         (GAIH_EAI): Likewise.
2949         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2950         (gaih_inet): Likewise.
2951         (getaddrinfo): Don't use GAIH_EAI.
2952
2953         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2954         (struct gaih): Remove definition.
2955
2956 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2957
2958         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2959         Use HERRNOP directly.
2960
2961 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2962
2963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2964
2965 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2966
2967         * math/gen-auto-libm-tests.c (test_functions): Add more
2968         single-argument functions.
2969         (special_fill_pi_2): New function.
2970         (special_fill_minus_pi_2): Likewise.
2971         (special_fill_pi_6): Likewise.
2972         (special_fill_minus_pi_6): Likewise.
2973         (special_fill_pi_3): Likewise.
2974         (special_fill_2pi_3): Likewise.
2975         (special_fill_e): Likewise.
2976         (special_fill_1_e): Likewise.
2977         (special_fill_e_minus_1): Likewise.
2978         (special_real_inputs): Add more special inputs.
2979         (output_for_one_input_case): Do not require ERANGE on underflow to
2980         zero if round-to-nearest result does not underflow to zero, unless
2981         exact results required.
2982         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2983         atan, atanh, cbrt, cos and cosh.
2984         * math/auto-libm-test-out: Regenerated.
2985         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2986         (acos_tonearest_test_data): Likewise.
2987         (acos_towardzero_test_data): Likewise.
2988         (acos_downward_test_data): Likewise.
2989         (acos_upward_test_data): Likewise.
2990         (acosh_test_data): Likewise.
2991         (asin_test_data): Likewise.
2992         (asin_tonearest_test_data): Likewise.
2993         (asin_towardzero_test_data): Likewise.
2994         (asin_upward_test_data): Likewise.
2995         (asinh_test_data): Likewise.
2996         (atan_test_data): Likewise.
2997         (atanh_test_data): Likewise.
2998         (cbrt_test_data): Likewise.
2999         (cos_test_data): Likewise.
3000         (cos_tonearest_test_data): Likewise.
3001         (cos_towardzero_test_data): Likewise.
3002         (cos_downward_test_data): Likewise.
3003         (cos_upward_test_data): Likewise.
3004         (cosh_test_data): Likewise.
3005         (cosh_tonearest_test_data): Likewise.
3006         (cosh_towardzero_test_data): Likewise.
3007         (cosh_downward_test_data): Likewise.
3008         (cosh_upward_test_data): Likewise.
3009         * sysdeps/i386/fpu/libm-test-ulps: Update.
3010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3011
3012 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3013
3014         [BZ #6787]
3015         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3016         * math/w_exp10f.c (__exp10f): Likewise.
3017         * math/w_exp10l.c (__exp10l): Likewise.
3018         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3019         errno settings in existing tests.
3020
3021         [BZ #14032]
3022         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3023         precision control set to double precision.
3024         * sysdeps/i386/fpu/w_sqrt.c: New file.
3025         * math/auto-libm-test-in: Add more tests.
3026         * math/auto-libm-test-out: Update.
3027
3028         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3029         (sqrt_test_tonearest): New function.
3030         (sqrt_towardzero_test_data): New variable.
3031         (sqrt_test_towardzero): New function.
3032         (sqrt_downward_test_data): New variable.
3033         (sqrt_test_downward): New function.
3034         (sqrt_upward_test_data): New variable.
3035         (sqrt_test_upward): New function.
3036         (main): Call the new functions.
3037
3038         * math/gen-auto-libm-tests.c: New file.
3039         * math/auto-libm-test-in: Likewise.
3040         * math/auto-libm-test-out: New generated file.
3041         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3042         variables.
3043         (%beautify): Add generated representations of zero.
3044         (top level): Set $auto_input and call parse_auto_input.
3045         (beautify): Remove trailing "f" from hex float constants.
3046         (parse_args): Handle XFAIL_TEST.
3047         (convert_condition): New function.
3048         (or_value): Likewise.
3049         (or_cond_value): Likewise.
3050         (generate_testfile): Handle AUTO_TESTS_* lines.
3051         (parse_auto_input): New function.
3052         * math/libm-test.inc (XFAIL_TEST): New macro.
3053         (ERRNO_UNCHANGED): Update value.
3054         (ERRNO_EDOM): Likewise.
3055         (ERRNO_ERANGE): Likewise.
3056         (IGNORE_RESULT): Likewise.
3057         (TEST_COND_flt_32): New macro.
3058         (TEST_COND_dbl_64): Likewise.
3059         (TEST_COND_ldbl_96_intel): Likewise.
3060         (TEST_COND_ldbl_96_m68k): Likewise.
3061         (TEST_COND_ldbl_128): Likewise.
3062         (TEST_COND_ldbl_128ibm): Likewise.
3063         (TEST_COND_long32): Likewise.
3064         (TEST_COND_long64): Likewise.
3065         (TEST_COND_before_rounding): Likewise.
3066         (TEST_COND_after_rounding): Likewise.
3067         (enable_test): Handle XFAIL_TEST flag.
3068         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3069         with finite results.
3070         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3071         auto-libm-test-out.
3072
3073 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3074             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3075
3076         [BZ #16214]
3077         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3078         __tls_get_addr_internal instead of __tls_get_offset in order to
3079         avoid GOT pointer dependency.  Make rtld export
3080         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3081         __tls_get_addr since we are a __tls_get_offset platform.
3082         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3083         GOT pointer being set up before.
3084         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3085
3086 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3087
3088         * manual/math.texi (Errors in Math Functions): Document accuracy
3089         goals.
3090
3091         [BZ #15004]
3092         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3093         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3094         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3095         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3100         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3101         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3102         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3106         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3107         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3108
3109         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3110         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3111         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3112         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3113         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3114         Likewise.
3115         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3116         Likewise.
3117         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3118         Likewise.
3119         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3120         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3121         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3122         atomic-feupdateenv and flt-rounds.
3123         * sysdeps/powerpc/nofpu/Versions (libc): Add
3124         __atomic_feholdexcept, __atomic_feclearexcept,
3125         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3126         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3127         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3129         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3130         here.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3132         Update.
3133
3134         * manual/arith.texi (FP Exceptions): Document that exceptions may
3135         not be raised when matherr is used.
3136         (Math Error Reporting): Document overflow in directed rounding
3137         modes.  Document that errno may not be set when finite values are
3138         returned on overflow.  Document intent to set errno on underflow
3139         only for underflow to zero.
3140
3141         [BZ #16271]
3142         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3143         round-to-nearest then adjust result for other rounding modes.
3144         * include/fenv.h (fegetround): Use libm_hidden_proto.
3145         * math/fegetround.c (fegetround): Use libm_hidden_def.
3146         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3147         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3148         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3150         Likewise.
3151         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3153         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3154         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3155
3156 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3157
3158         [BZ #16077]
3159         * nss/Versions (libnss_files): Add
3160         _nss_files_gethostbyname3_r.
3161         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3162         New function.
3163         (HOST_DB_LOOKUP): Remove macro.
3164         (_nss_files_gethostbyname_r): Implement function without the
3165         HOST_DB_LOOKUP macro.
3166         (_nss_files_gethostbyname2_r): Likewise.
3167
3168 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3169
3170         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3171
3172 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3173
3174         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3175         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3176         warning.
3177
3178 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3179
3180         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3181         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3182         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3183         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3184         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3185         __fe_nomask_env_priv and attribute_hidden.
3186         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3187         (libc_feupdateenv_test_ppc): Likewise.
3188         (libc_feresetround_ppc): Likewise.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3190         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3191         compat_symbol macro.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3193         (__fe_nomask_env): Likewise.
3194         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3195
3196 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3197
3198         * string/Makefile: Remove ifunc tests.
3199         * string/test-string.h: Define TEST_IFUNC.
3200         * string/test-bcopy-ifunc.c: Remove.
3201         * string/test-bzero-ifunc.c: Likewise.
3202         * string/test-memccpy-ifunc.c: Likewise.
3203         * string/test-memchr-ifunc.c: Likewise.
3204         * string/test-memcmp-ifunc.c: Likewise.
3205         * string/test-memcpy-ifunc.c: Likewise.
3206         * string/test-memmem-ifunc.c: Likewise.
3207         * string/test-memmove-ifunc.c: Likewise.
3208         * string/test-mempcpy-ifunc.c: Likewise.
3209         * string/test-memrchr-ifunc.c: Likewise.
3210         * string/test-memset-ifunc.c: Likewise.
3211         * string/test-rawmemchr-ifunc.c: Likewise.
3212         * string/test-stpcpy-ifunc.c: Likewise.
3213         * string/test-stpncpy-ifunc.c: Likewise.
3214         * string/test-strcasecmp-ifunc.c: Likewise.
3215         * string/test-strcasestr-ifunc.c: Likewise.
3216         * string/test-strcat-ifunc.c: Likewise.
3217         * string/test-strchr-ifunc.c: Likewise.
3218         * string/test-strchrnul-ifunc.c: Likewise.
3219         * string/test-strcmp-ifunc.c: Likewise.
3220         * string/test-strcpy-ifunc.c: Likewise.
3221         * string/test-strcspn-ifunc.c: Likewise.
3222         * string/test-strlen-ifunc.c: Likewise.
3223         * string/test-strncasecmp-ifunc.c: Likewise.
3224         * string/test-strncat-ifunc.c: Likewise.
3225         * string/test-strncmp-ifunc.c: Likewise.
3226         * string/test-strncpy-ifunc.c: Likewise.
3227         * string/test-strnlen-ifunc.c: Likewise.
3228         * string/test-strpbrk-ifunc.c: Likewise.
3229         * string/test-strrchr-ifunc.c: Likewise.
3230         * string/test-strspn-ifunc.c: Likewise.
3231         * string/test-strstr-ifunc.c: Likewise.
3232
3233 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3234
3235         * benchtests/Makefile: Remove ifunc tests.
3236         * benchtests/bench-string.h: Define TEST_IFUNC.
3237         * benchtests/bench-bcopy-ifunc.c: Remove.
3238         * benchtests/bench-bzero-ifunc.c: Likewise.
3239         * benchtests/bench-memccpy-ifunc.c: Likewise.
3240         * benchtests/bench-memchr-ifunc.c: Likewise.
3241         * benchtests/bench-memcmp-ifunc.c: Likewise.
3242         * benchtests/bench-memcpy-ifunc.c: Likewise.
3243         * benchtests/bench-memmem-ifunc.c: Likewise.
3244         * benchtests/bench-memmove-ifunc.c: Likewise.
3245         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3246         * benchtests/bench-memrchr-ifunc.c: Likewise.
3247         * benchtests/bench-memset-ifunc.c: Likewise.
3248         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3249         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3250         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3251         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3252         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3253         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3254         * benchtests/bench-strcat-ifunc.c: Likewise.
3255         * benchtests/bench-strchr-ifunc.c: Likewise.
3256         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3257         * benchtests/bench-strcmp-ifunc.c: Likewise.
3258         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3259         * benchtests/bench-strcpy-ifunc.c: Likewise.
3260         * benchtests/bench-strcspn-ifunc.c: Likewise.
3261         * benchtests/bench-strlen-ifunc.c: Likewise.
3262         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3263         * benchtests/bench-strncat-ifunc.c: Likewise.
3264         * benchtests/bench-strncmp-ifunc.c: Likewise.
3265         * benchtests/bench-strncpy-ifunc.c: Likewise.
3266         * benchtests/bench-strnlen-ifunc.c: Likewise.
3267         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3268         * benchtests/bench-strrchr-ifunc.c: Likewise.
3269         * benchtests/bench-strsep-ifunc.c: Likewise.
3270         * benchtests/bench-strspn-ifunc.c: Likewise.
3271         * benchtests/bench-strstr-ifunc.c: Likewise.
3272
3273 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3274
3275         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3276
3277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3278
3279         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3280         * rt/aio.h: Likewise.
3281         * sysdeps/gnu/bits/utmp.h: Likewise.
3282         * sysdeps/gnu/bits/utmpx.h: Likewise.
3283         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3284         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3285         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3286         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3287         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3288         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3289         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3290         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3291         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3293         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3294         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3295         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3297         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3298         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3299         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3300         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3301         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3302         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3303         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3304         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3305         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3306         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3307         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3309         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3310         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3311         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3312         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3313         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3314         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3315         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3316         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3317         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3318         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3319         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3320         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3321         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3322         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3323         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3324         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3325
3326 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3327
3328         [BZ #16245]
3329         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3330         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3331
3332 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3333
3334         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3335         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3336         Likewise.
3337
3338 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3339
3340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3341         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3342         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3343         (__fesetround): Remove define.
3344         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3345         rounding and exceptions handling.
3346         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3347         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3348         (__fe_nomask_env): Likewise.
3349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3350         __fegetround instead of fegetround.
3351         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3352         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3353
3354 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3355
3356         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3357         it's there.
3358
3359         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3360
3361 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3362
3363         [BZ #11157]
3364         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3365         (encrypt_r): Likewise.
3366         * malloc/obstack.h (obstack_free): Likewise.
3367         * posix/unistd.h (encrypt): Likewise.
3368
3369 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3370
3371         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3372         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3373         DL_CALL_DT_FINI() that call the functions directly.
3374         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3375         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3376         * elf/dl-fini.c: Likewise.
3377
3378 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3379
3380         * malloc/hooks.c (memalign_check): Add alignment rounding.
3381         * malloc/malloc.c (_mid_memalign): New function.
3382         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3383         Implement by calling _mid_memalign.
3384         * manual/probes.texi (Memory Allocation Probes): Remove
3385         memory_valloc_retry and memory_pvalloc_retry.
3386
3387 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3388
3389         * locale/programs/locarchive.c (open_archive): Add const
3390         qualifier to ARCHIVEFNAME and copy default fname to
3391         DEFAULT_FNAME.
3392
3393         [BZ #15601]
3394         * libio/tst-widetext.input: Rename Oriya to Odia.
3395         * locale/iso-639.def: Likewise.
3396
3397         * manual/probes.texi (Mathematical Function Probes): Add
3398         documentation for sin, cos, asin and acos probes.
3399         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3400         (__sin32): Add slowasin probe.
3401         (__cos32): Add slowacos probe.
3402         (__mpsin): Add slowsin probe.
3403         (__mpcos): Add slowcos probe.
3404
3405 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3406
3407         [BZ #15483]
3408         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3409         thread-local __sim_exceptions_thread and global
3410         __sim_exceptions_global.
3411         (__sim_disabled_exceptions): Change to thread-local
3412         __sim_disabled_exceptions_thread and global
3413         __sim_disabled_exceptions_global.
3414         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3415         and global __sim_round_mode_global.
3416         (__simulate_exceptions): Use thread-local floating-point state and
3417         set global state from it as needed.
3418         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3419         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3420         __sim_round_mode_thread.
3421         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3422         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3423         and global __sim_exceptions_global.
3424         (__sim_disabled_exceptions): Change to thread-local
3425         __sim_disabled_exceptions_thread and global
3426         __sim_disabled_exceptions_global.
3427         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3428         and global __sim_round_mode_global.
3429         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3430         (SIM_SET_GLOBAL): Likewise.
3431         * sysdeps/powerpc/soft-fp/sfp-machine.h
3432         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3433         __sim_round_mode_thread.
3434         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3435         __sim_disabled_exceptions_thread.
3436         (__sim_exceptions): Change to __sim_exceptions_thread.
3437         (__sim_disabled_exceptions): Change to
3438         __sim_disabled_exceptions_thread.
3439         (__sim_round_mode): Change to __sim_round_mode_thread.
3440         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3441         thread-local floating-point state and set global state from it as
3442         needed.
3443         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3444         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3445         (__sim_disabled_exceptions): Remove extern declaration.
3446         (feenableexcept): Use thread-local floating-point state and set
3447         global state from it as needed.
3448         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3449         extern declaration.
3450         (__sim_disabled_exceptions): Likewise.
3451         (__sim_round_mode): Likewise.
3452         (__fegetenv): Use thread-local floating-point state.
3453         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3455         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3456         floating-point state and set global state from it as needed.
3457         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3458         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3459         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3460         Likewise.
3461         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3462         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3463         Likewise.
3464         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3465         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3466         Use __sim_round_mode_thread.
3467         * math/test-fenv-tls.c: New file.
3468         * math/Makefile (tests): Add test-fenv-tls.
3469         ($(objpfx)test-fenv-tls): Depend on
3470         $(common-objpfx)nptl/libpthread.so.
3471
3472 2013-11-19  Andreas Schwab  <schwab@suse.de>
3473
3474         * locale/programs/locale.c (show_info): Decode wordarray elements.
3475         * locale/categories.def (LC_MONETARY): Add element for
3476         _NL_MONETARY_CRNCYSTR.
3477         * locale/C-monetary.c (conversion_rate): New variable.
3478         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3479         element.
3480
3481 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3482
3483         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3484         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3485
3486 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3487
3488         * elf/Makefile (tst-auxv): New test.
3489         * elf/tst-auxv.c: New
3490         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3491
3492 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3493
3494         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3495         (hidden_proto): Caller changed.
3496         (hidden_tls_proto): New macro.
3497         (libc_hidden_tls_proto): Likewise.
3498         (rtld_hidden_tls_proto): Likewise.
3499         (libm_hidden_tls_proto): Likewise.
3500         (libresolv_hidden_tls_proto): Likewise.
3501         (librt_hidden_tls_proto): Likewise.
3502         (libdl_hidden_tls_proto): Likewise.
3503         (libnss_files_hidden_tls_proto): Likewise.
3504         (libnsl_hidden_tls_proto): Likewise.
3505         (libnss_nisplus_hidden_tls_proto): Likewise.
3506         (libutil_hidden_tls_proto): Likewise.
3507
3508 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3509
3510         [BZ #10253]
3511         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3512         (decompose_rpath): Defer expansion to fillin_rpath.
3513         (_dl_init_paths): Pass linkmap to fillin_rpath.
3514
3515 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3516
3517         * benchtests/Makefile: Add strsep.
3518         * benchtests/bench-strsep.c: New file: strsep benchtest.
3519         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3520
3521 2013-11-18  Andreas Schwab  <schwab@suse.de>
3522
3523         * locale/programs/locale.c (show_info) [case byte]: Check for
3524         '\377' instead of '\177'.
3525         * locale/C-monetary.c (not_available): Always use "\377".
3526         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3527         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3528         detect unavailable sign_posn locale elements.
3529         * locale/localeconv.c (__localeconv): For grouping and
3530         mon_grouping handle "\177" and "\377" like no grouping.
3531         (INT_ELEM): New macro.  Use it to set all numeric members.
3532         * locale/programs/ld-monetary.c (monetary_read)
3533         <tok_mon_grouping>: Normalize single -1 to the empty string.
3534         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3535         Likewise.
3536
3537 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3538
3539         [BZ #16055]
3540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3541         when we match (nil).
3542         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3543
3544 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3545
3546         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3547         (NO_TEST_INLINE): Update value.
3548         (ERRNO_UNCHANGED): Likewise.
3549         (ERRNO_EDOM): Likewise.
3550         (ERRNO_ERANGE): Likewise.
3551         (IGNORE_RESULT): Likewise.
3552         (check_float_internal): Check signs of NaN results if
3553         TEST_NAN_SIGN used.
3554         (check_complex): Pass TEST_NAN_SIGN flag through to second
3555         check_float_internal call.
3556         (copysign_test_data): Add tests with quiet NaNs as second
3557         argument.  Use TEST_NAN_SIGN.
3558         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3559         TEST_NAN_SIGN.
3560         (signbit_test_data): Add tests of quiet NaN argument.
3561         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3562
3563         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3564         $ignore_result.
3565         (parse_args): Handle function results specified as IGNORE.
3566         * math/libm-test.inc (IGNORE_RESULT): New macro.
3567         (check_float_internal): Do not check numerical result if flag
3568         IGNORE_RESULT set.
3569         (check_complex): Pass through IGNORE_RESULT to second
3570         check_float_internal call.
3571         (check_int): Do not check numerical result if flag IGNORE_RESULT
3572         set.
3573         (check_long): Likewise.
3574         (check_bool): Likewise.
3575         (check_longlong): Likewise.
3576         (lrint_test_data): Add tests of infinite and NaN arguments.
3577         (lrint_tonearest_test_data): Likewise.
3578         (lrint_towardzero_test_data): Likewise.
3579         (lrint_downward_test_data): Likewise.
3580         (lrint_upward_test_data): Likewise.
3581         (llrint_test_data): Likewise.
3582         (llrint_tonearest_test_data): Likewise.
3583         (llrint_towardzero_test_data): Likewise.
3584         (llrint_downward_test_data): Likewise.
3585         (llrint_upward_test_data): Likewise.
3586         (lround_test_data): Likewise.
3587         (llround_test_data): Likewise.
3588
3589         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3590         (ERRNO_UNCHANGED): Update value.
3591         (ERRNO_EDOM): Likewise.
3592         (ERRNO_ERANGE): Likewise.
3593         (NO_TEST_INLINE_FLOAT): New macro.
3594         (NO_TEST_INLINE_DOUBLE): Likewise.
3595         (enable_test): New function.
3596         (RUN_TEST_f_f): Check enable_test before running test.
3597         (RUN_TEST_2_f): Likewise.
3598         (RUN_TEST_fff_f): Likewise.
3599         (RUN_TEST_c_f): Likewise.
3600         (RUN_TEST_f_f1): Likewise.
3601         (RUN_TEST_fF_f1): Likewise.
3602         (RUN_TEST_fI_f1): Likewise.
3603         (RUN_TEST_ffI_f1): Likewise.
3604         (RUN_TEST_c_c): Likewise.
3605         (RUN_TEST_cc_c): Likewise.
3606         (RUN_TEST_f_i): Likewise.
3607         (RUN_TEST_f_i_tg): Likewise.
3608         (RUN_TEST_ff_i_tg): Likewise.
3609         (RUN_TEST_f_b): Likewise.
3610         (RUN_TEST_f_b_tg): Likewise.
3611         (RUN_TEST_f_l): Likewise.
3612         (RUN_TEST_f_L): Likewise.
3613         (RUN_TEST_fFF_11): Likewise.
3614         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3615         conditionals.
3616         (cosh_test_data): Likewise.
3617         (exp_test_data): Likewise.
3618         (expm1_test_data): Likewise.
3619         (hypot_test_data): Likewise.
3620         (pow_test_data): Likewise.
3621         (sinh_test_data): Likewise.
3622         (tanh_test_data): Likewise.
3623         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3624         flags argument.
3625
3626         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3627         tests with quiet NaN input and output.
3628         (acosh_test_data): Likewise.
3629         (asin_test_data): Likewise.
3630         (asinh_test_data): Likewise.
3631         (atan_test_data): Likewise.
3632         (atanh_test_data): Likewise.
3633         (atan2_test_data): Likewise.
3634         (cbrt_test_data): Likewise.
3635         (cos_test_data): Likewise.
3636         (cosh_test_data): Likewise.
3637         (erf_test_data): Likewise.
3638         (erfc_test_data): Likewise.
3639         (exp_test_data): Likewise.
3640         (exp10_test_data): Likewise.
3641         (exp2_test_data): Likewise.
3642         (expm1_test_data): Likewise.
3643         (hypot_test_data): Likewise.
3644         (j0_test_data): Likewise.
3645         (j1_test_data): Likewise.
3646         (jn_test_data): Likewise.
3647         (lgamma_test_data): Likewise.
3648         (log_test_data): Likewise.
3649         (log10_test_data): Likewise.
3650         (log1p_test_data): Likewise.
3651         (log2_test_data): Likewise.
3652         (pow_test_data): Likewise.
3653         (scalb_test_data): Likewise.
3654         (sin_test_data): Likewise.
3655         (sincos_test_data): Likewise.
3656         (sinh_test_data): Likewise.
3657         (tan_test_data): Likewise.
3658         (tanh_test_data): Likewise.
3659         (tgamma_test_data): Likewise.
3660         (y0_test_data): Likewise.
3661         (y1_test_data): Likewise.
3662         (yn_test_data): Likewise.
3663
3664         [BZ #16167]
3665         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3666         argument being NaN and avoid computations with second argument in
3667         that case.
3668         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3669         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3670         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3671
3672 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3673
3674         * locale/iso-639.def: Add Chitwani Tharu (the).
3675
3676 2013-11-14  Andreas Schwab  <schwab@suse.de>
3677
3678         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3679         word instead of empty string.
3680
3681 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3682
3683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3684         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3686         (__fe_nomask_env): Likewise.
3687
3688 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3689
3690         * benchtests/bench-timing.h: Include time.h.
3691
3692 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3693
3694         [BZ #15997]
3695         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3696         to 3.4.0 for x32.
3697         * sysdeps/unix/sysv/linux/configure: Regenerated.
3698
3699 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3700
3701         [BZ #16151]
3702         * stdlib/strtod_l.c (round_and_return): Do not consider
3703         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3704         exponent one less than half the least subnormal exponent.
3705         * stdlib/test-strtod-round-data: Add more tests.
3706         * stdlib/tst-strtod-round.c (tests): Regenerated.
3707
3708 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3709
3710         [BZ #14143]
3711         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3712         (__fe_mask_env): Likewise.
3713         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3714         libm_hidden_proto and add function prototype.
3715         (__fe_mask_env): Add function prototype.
3716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3717         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3719         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3721         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3722
3723 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3724
3725         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3726         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3727
3728 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3729
3730         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3731         of htab_find_slot().
3732
3733 2013-11-11  David S. Miller  <davem@davemloft.net>
3734
3735         [BZ #16150]
3736         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3737         symbol in the non-vis3 case in static builds.
3738         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3739         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3740         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3741         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3742
3743 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3744
3745         [BZ #387]
3746         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3747         it is empty.
3748
3749 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3750
3751         * benchtests/Makefile: Add bench-strtod.
3752         * benchtests/bench-strtod.c: New file: strtod benchtest
3753
3754 2013-11-11  Andreas Schwab  <schwab@suse.de>
3755
3756         [BZ #16153]
3757         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3758         terminating NUL in key length.
3759
3760 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3761
3762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3763         Add artificial ODP entry for vDSO symbol for PPC64.
3764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3765         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3766
3767 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3768
3769         [BZ #15374]
3770         * nss/getent.c (services_keys): Recognize services starting with digit.
3771
3772 2013-11-06  David S. Miller  <davem@davemloft.net>
3773
3774         [BZ #15985]
3775         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3776         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3777
3778 2013-11-06  Will Newton  <will.newton@linaro.org>
3779
3780         * manual/memory.texi (Malloc Examples): Remove register
3781         keyword from examples.
3782
3783 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3784
3785         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3786
3787 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3788
3789         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3790         depending on [__GCC_IEC_559 > 0].
3791         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3792         depending on [__GCC_IEC_559_COMPLEX > 0].
3793
3794 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3795
3796         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3797         to iso-639.def.
3798
3799 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3800
3801         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3802
3803 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3804
3805         [BZ #16112]
3806         * malloc/malloc (malloc_info): Do not handle first bin as
3807         special case.
3808
3809 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3810
3811         * locale/iso-639.def: Add Central Nahuatl (nhn).
3812
3813 2013-11-01  Bruno Haible  <bruno@clisp.org>
3814
3815         [BZ #7003]
3816         * manual/math.texi (BSD Random): Specify range upper bound as
3817         in POSIX.
3818
3819 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3820
3821         * locale/iso-639.def: Add Meadow Mari (mhr).
3822
3823 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3824
3825         [BZ #14752], [BZ #15763]
3826         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3827         Validate name.
3828         * rt/tst_shm.c: Add test for escaping directory.
3829
3830 2013-10-31  Andreas Schwab  <schwab@suse.de>
3831
3832         [BZ #15917]
3833         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3834         followed by 'x' as part of digit sequence.
3835         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3836
3837 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3838
3839         [BZ #16037]
3840         * configure.ac: allow GNU Make 4.0 and greater.
3841         * configure: Regenerated.
3842
3843 2013-10-30  Will Newton  <will.newton@linaro.org>
3844
3845         [BZ #16038]
3846         * malloc/hooks.c (memalign_check): Limit alignment to the
3847         maximum representable power of two.
3848         * malloc/malloc.c (__libc_memalign): Likewise.
3849         * malloc/tst-memalign.c (do_test): Add test for very
3850         large alignment values.
3851         * malloc/tst-posix_memalign.c (do_test): Likewise.
3852
3853 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3854
3855         [BZ #11087]
3856         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3857         (munmap_chunk): Likewise.
3858         (mremap_chunk): Likewise.
3859
3860 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3861
3862         [BZ #15799]
3863         * stdlib/div.c (div): Remove obsolete code.
3864         * stdlib/ldiv.c (ldiv): Likewise.
3865         * stdlib/lldiv.c (lldiv): Likewise.
3866
3867 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3868
3869         [BZ #16071]
3870         * nss/nss_files/files-XXX.c (get_contents_ret): New
3871         enumerator.
3872         (get_contents): New function.
3873         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3874
3875 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3876
3877         * configure.in: Moved to ...
3878         * configure.ac: ... here. Change reference to configure.in
3879         to configure.ac.
3880         * sysdeps/arm/preconfigure.ac: ... here.
3881         configure.in to configure.ac.
3882         * sysdeps/gnu/configure.in: Moved to ...
3883         * sysdeps/gnu/configure.ac: ... here.
3884         * sysdeps/i386/configure.in: Moved to ...
3885         * sysdeps/i386/configure.ac: ... here.
3886         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3887         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3888         * sysdeps/mach/configure.in: Moved to ...
3889         * sysdeps/mach/configure.ac: ... here.
3890         * sysdeps/mach/hurd/configure.in: Moved to ...
3891         * sysdeps/mach/hurd/configure.ac: ... here.
3892         * sysdeps/powerpc/configure.in: Moved to ...
3893         * sysdeps/powerpc/configure.ac: ... here.
3894         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3895         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3896         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3897         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3898         * sysdeps/s390/s390-32/configure.in: Moved to ...
3899         * sysdeps/s390/s390-32/configure.ac: ... here.
3900         * sysdeps/s390/s390-64/configure.in: Moved to ...
3901         * sysdeps/s390/s390-64/configure.ac: ... here.
3902         * sysdeps/sh/configure.in: Moved to ...
3903         * sysdeps/sh/configure.ac: ... here.
3904         * sysdeps/sparc/configure.in: Moved to ...
3905         * sysdeps/sparc/configure.ac: ... here.
3906         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3907         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3908         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3909         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3910         * sysdeps/x86_64/configure.in: Moved to ...
3911         * sysdeps/x86_64/configure.ac: ... here.
3912         * sysdeps/x86_64/preconfigure.in: Moved to ...
3913         * sysdeps/x86_64/preconfigure.ac: ... here.
3914         * aclocal.m4: Change reference to configure.in to configure.ac.
3915         * config.h.in: Likewise.
3916         * manual/install.texi: Likewise.
3917         * manual/maint.texi: Likewise.
3918         * Makefile: Likewise.
3919         * malloc/Makefile: Likewise.
3920         * nscd/Makefile: Likewise.
3921         * Makeconfig: Change reference to configure.in and
3922         preconfigure.in to configure.ac and preconfigure.ac
3923         respectively.
3924         * INSTALL: Regenerated.
3925         * configure: Likewise.
3926         * sysdeps/gnu/configure: Likewise.
3927         * sysdeps/i386/configure: Likewise.
3928         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3929         * sysdeps/mach/configure: Likewise.
3930         * sysdeps/mach/hurd/configure: Likewise.
3931         * sysdeps/powerpc/configure: Likewise.
3932         * sysdeps/powerpc/powerpc32/configure: Likewise.
3933         * sysdeps/powerpc/powerpc64/configure: Likewise.
3934         * sysdeps/s390/s390-32/configure: Likewise.
3935         * sysdeps/s390/s390-64/configure: Likewise.
3936         * sysdeps/sh/configure: Likewise.
3937         * sysdeps/sparc/configure: Likewise.
3938         * sysdeps/unix/sysv/linux/configure: Likewise.
3939         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3940         * sysdeps/x86_64/configure: Likewise.
3941         * sysdeps/x86_64/preconfigure: Likewise.
3942
3943 2013-10-29  Andreas Schwab  <schwab@suse.de>
3944
3945         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3946
3947 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3948
3949         * benchtests/pow-inputs: Add new inputs.
3950
3951         * benchtests/exp-inputs: Add new inputs.
3952
3953         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3954         conditional check for return value.
3955         (__cos32): Likewise.
3956
3957 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3958
3959         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3960         to provide a boost for large inputs with word alignment.
3961         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3962         implementation based on optimized PPC64 strcpy.
3963         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3964         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3965         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3966         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3967
3968 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3969
3970         [BZ #2801]
3971         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3972
3973 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3974
3975         [BZ #14876]
3976         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3977         * time/tst-strptime.c (day_tests): Add testcase.
3978
3979 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3980
3981         [BZ #14029]
3982         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3983
3984 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3985
3986         [BZ #16074]
3987         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3988         MAP_FAILED on error.
3989
3990 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3991
3992         [BZ #16072]
3993         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3994         heap for large requests.
3995
3996 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3997
3998         [BZ #9954]
3999         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4000         result if the result has no associated interface.
4001         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4002         interface for all 127.X.Y.Z addresses.
4003
4004 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4005
4006         * locale/iso-639.def: Add Ligurian (lij)
4007
4008 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4009
4010         [BZ #15825]
4011         * sunrpc/rpc_main.c: Document rpcgen -5.
4012
4013 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4014
4015         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4016
4017 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4018
4019         [BZ #10278]
4020         * posix/glob.c: Match only directories when trailing slash is present.
4021         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4022         (main): Add testcase.
4023
4024 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4025
4026         [BZ #15670]
4027         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4028
4029 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4030
4031         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4032         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4033         AUTH_DES and cindex for FIPS 140-2.
4034         (DES Encryption): Add cindex FIPS 46-3.
4035
4036         * locale/locarchive.h (struct locarhandle): Add fname.
4037         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4038         if an optional argument was specified to --list-archive,
4039         otherwise NULL.
4040         * locale/programs/locarchive.c (show_archive_content): Take new
4041         argument fname and pass it via ah.fname to open_archive.
4042         * locale/programs/localedef.h: Update decl.
4043         (open_archive): If AH->fname is non-null, open that file
4044         rather than the default file name, and don't ignore ENOENT.
4045         (create_archive): Set AH.fname to NULL.
4046         (delete_locales_from_archive): Likewise.
4047         (add_locales_to_archive): Likewise.
4048         * locale/programs/locfile.c (write_all_categories): Likewise.
4049
4050 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4051             Aldy Hernandez  <aldyh@redhat.com>
4052
4053         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4054         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4055         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4056         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4057         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4058         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4059         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4060         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4061         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4062         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4064         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4065         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4066         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4067         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4068         Likewise.
4069         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4070         Likewise.
4071         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4072         Likewise.
4073         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4074         Likewise.
4075         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4076         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4077         Likewise.
4078         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4079         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4080         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4081         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4082         Likewise.
4083         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4084         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4085         * sysdeps/powerpc/preconfigure: Likewise.
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4087         Likewise.
4088         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4089         Replace contents of file by #include of <fenv_libc.h>.
4090         * sysdeps/powerpc/soft-fp/sfp-machine.h
4091         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4092         and <sys/prctl.h>.
4093         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4094         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4100         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4106         Allow copysignl PLT reference to be missing.
4107
4108 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4109             Joseph Myers  <joseph@codesourcery.com
4110
4111         [BZ #15948]
4112         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4113         single character.
4114         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4115
4116 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4117
4118         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4119         * elf/tst-tls1.c: Likewise.
4120         * elf/tst-tls10.h: Likewise.
4121         * elf/tst-tls14.c: Likewise.
4122         * elf/tst-tls2.c: Likewise.
4123         * elf/tst-tls3.c: Likewise.
4124         * elf/tst-tls4.c: Likewise.
4125         * elf/tst-tls5.c: Likewise.
4126         * elf/tst-tls6.c: Likewise.
4127         * elf/tst-tls7.c: Likewise.
4128         * elf/tst-tls8.c: Likewise.
4129         * elf/tst-tls9.c: Likewise.
4130         * elf/tst-tlsmod1.c: Likewise.
4131         * elf/tst-tlsmod13.c: Likewise.
4132         * elf/tst-tlsmod13a.c: Likewise.
4133         * elf/tst-tlsmod14a.c: Likewise.
4134         * elf/tst-tlsmod16a.c: Likewise.
4135         * elf/tst-tlsmod16b.c: Likewise.
4136         * elf/tst-tlsmod2.c: Likewise.
4137         * elf/tst-tlsmod3.c: Likewise.
4138         * elf/tst-tlsmod4.c: Likewise.
4139         * elf/tst-tlsmod5.c: Likewise.
4140         * elf/tst-tlsmod6.c: Likewise.
4141
4142 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4143
4144         [BZ #12486]
4145         * malloc/malloc.c: remove checks for statistics.
4146
4147 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4148
4149         [BZ #15277]
4150         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4151         * inet/tst-network.c: Add testcase.
4152
4153 2013-10-17  Andreas Schwab  <schwab@suse.de>
4154
4155         [BZ #15218]
4156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4157         to determine canonical name.
4158
4159 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4160
4161         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4162         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4163         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4164         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4165         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4166         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4167         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4168         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4169         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4170         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4171         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4172         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4173         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4174         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4175         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4176         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4177         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4178         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4179         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4180         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4181         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4182         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4183         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4184         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4185         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4186         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4187         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4188         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4189         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4190         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4191         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4192         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4193         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4194         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4195         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4196         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4197         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4198         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4199         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4200         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4201         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4202         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4203         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4204         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4205         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4206         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4207         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4208         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4209         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4210         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4211         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4212         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4213         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4214         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4215         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4216         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4218         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4219
4220 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4221
4222         [BZ #16041]
4223         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4224         make result into a quiet NaN.
4225
4226 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4227
4228         * soft-fp/adddf3.c: Fix horizontal whitespace.
4229         * soft-fp/addsf3.c: Likewise.
4230         * soft-fp/addtf3.c: Likewise.
4231         * soft-fp/divdf3.c: Likewise.
4232         * soft-fp/divsf3.c: Likewise.
4233         * soft-fp/divtf3.c: Likewise.
4234         * soft-fp/double.h: Likewise.
4235         * soft-fp/eqdf2.c: Likewise.
4236         * soft-fp/eqsf2.c: Likewise.
4237         * soft-fp/eqtf2.c: Likewise.
4238         * soft-fp/extenddftf2.c: Likewise.
4239         * soft-fp/extended.h: Likewise.
4240         * soft-fp/extendsfdf2.c: Likewise.
4241         * soft-fp/extendsftf2.c: Likewise.
4242         * soft-fp/extendxftf2.c: Likewise.
4243         * soft-fp/fixdfdi.c: Likewise.
4244         * soft-fp/fixdfsi.c: Likewise.
4245         * soft-fp/fixdfti.c: Likewise.
4246         * soft-fp/fixsfdi.c: Likewise.
4247         * soft-fp/fixsfsi.c: Likewise.
4248         * soft-fp/fixsfti.c: Likewise.
4249         * soft-fp/fixtfdi.c: Likewise.
4250         * soft-fp/fixtfsi.c: Likewise.
4251         * soft-fp/fixtfti.c: Likewise.
4252         * soft-fp/fixunsdfdi.c: Likewise.
4253         * soft-fp/fixunsdfsi.c: Likewise.
4254         * soft-fp/fixunsdfti.c: Likewise.
4255         * soft-fp/fixunssfdi.c: Likewise.
4256         * soft-fp/fixunssfsi.c: Likewise.
4257         * soft-fp/fixunssfti.c: Likewise.
4258         * soft-fp/fixunstfdi.c: Likewise.
4259         * soft-fp/fixunstfsi.c: Likewise.
4260         * soft-fp/fixunstfti.c: Likewise.
4261         * soft-fp/floatdidf.c: Likewise.
4262         * soft-fp/floatdisf.c: Likewise.
4263         * soft-fp/floatditf.c: Likewise.
4264         * soft-fp/floatsidf.c: Likewise.
4265         * soft-fp/floatsisf.c: Likewise.
4266         * soft-fp/floatsitf.c: Likewise.
4267         * soft-fp/floattidf.c: Likewise.
4268         * soft-fp/floattisf.c: Likewise.
4269         * soft-fp/floattitf.c: Likewise.
4270         * soft-fp/floatundidf.c: Likewise.
4271         * soft-fp/floatundisf.c: Likewise.
4272         * soft-fp/floatunditf.c: Likewise.
4273         * soft-fp/floatunsidf.c: Likewise.
4274         * soft-fp/floatunsisf.c: Likewise.
4275         * soft-fp/floatunsitf.c: Likewise.
4276         * soft-fp/floatuntidf.c: Likewise.
4277         * soft-fp/floatuntisf.c: Likewise.
4278         * soft-fp/floatuntitf.c: Likewise.
4279         * soft-fp/fmadf4.c: Likewise.
4280         * soft-fp/fmasf4.c: Likewise.
4281         * soft-fp/fmatf4.c: Likewise.
4282         * soft-fp/gedf2.c: Likewise.
4283         * soft-fp/gesf2.c: Likewise.
4284         * soft-fp/getf2.c: Likewise.
4285         * soft-fp/ledf2.c: Likewise.
4286         * soft-fp/lesf2.c: Likewise.
4287         * soft-fp/letf2.c: Likewise.
4288         * soft-fp/muldf3.c: Likewise.
4289         * soft-fp/mulsf3.c: Likewise.
4290         * soft-fp/multf3.c: Likewise.
4291         * soft-fp/negdf2.c: Likewise.
4292         * soft-fp/negsf2.c: Likewise.
4293         * soft-fp/negtf2.c: Likewise.
4294         * soft-fp/op-1.h: Likewise.
4295         * soft-fp/op-2.h: Likewise.
4296         * soft-fp/op-4.h: Likewise.
4297         * soft-fp/op-8.h: Likewise.
4298         * soft-fp/op-common.h: Likewise.
4299         * soft-fp/quad.h: Likewise.
4300         * soft-fp/single.h: Likewise.
4301         * soft-fp/soft-fp.h: Likewise.
4302         * soft-fp/sqrtdf2.c: Likewise.
4303         * soft-fp/sqrtsf2.c: Likewise.
4304         * soft-fp/sqrttf2.c: Likewise.
4305         * soft-fp/subdf3.c: Likewise.
4306         * soft-fp/subsf3.c: Likewise.
4307         * soft-fp/subtf3.c: Likewise.
4308         * soft-fp/truncdfsf2.c: Likewise.
4309         * soft-fp/trunctfdf2.c: Likewise.
4310         * soft-fp/trunctfsf2.c: Likewise.
4311         * soft-fp/trunctfxf2.c: Likewise.
4312         * soft-fp/unorddf2.c: Likewise.
4313         * soft-fp/unordsf2.c: Likewise.
4314         * soft-fp/unordtf2.c: Likewise.
4315
4316 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4317
4318         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4319         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4320
4321 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4322
4323         * elf/dl-libc.c: Clear initfini list after freeing.
4324
4325 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4326
4327         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4328         * soft-fp/addsf3.c: Likewise.
4329         * soft-fp/addtf3.c: Likewise.
4330         * soft-fp/divdf3.c: Likewise.
4331         * soft-fp/divsf3.c: Likewise.
4332         * soft-fp/divtf3.c: Likewise.
4333         * soft-fp/double.h: Likewise.
4334         * soft-fp/eqdf2.c: Likewise.
4335         * soft-fp/eqsf2.c: Likewise.
4336         * soft-fp/eqtf2.c: Likewise.
4337         * soft-fp/extenddftf2.c: Likewise.
4338         * soft-fp/extended.h: Likewise.
4339         * soft-fp/extendsfdf2.c: Likewise.
4340         * soft-fp/extendsftf2.c: Likewise.
4341         * soft-fp/extendxftf2.c: Likewise.
4342         * soft-fp/fixdfdi.c: Likewise.
4343         * soft-fp/fixdfsi.c: Likewise.
4344         * soft-fp/fixdfti.c: Likewise.
4345         * soft-fp/fixsfdi.c: Likewise.
4346         * soft-fp/fixsfsi.c: Likewise.
4347         * soft-fp/fixsfti.c: Likewise.
4348         * soft-fp/fixtfdi.c: Likewise.
4349         * soft-fp/fixtfsi.c: Likewise.
4350         * soft-fp/fixtfti.c: Likewise.
4351         * soft-fp/fixunsdfdi.c: Likewise.
4352         * soft-fp/fixunsdfsi.c: Likewise.
4353         * soft-fp/fixunsdfti.c: Likewise.
4354         * soft-fp/fixunssfdi.c: Likewise.
4355         * soft-fp/fixunssfsi.c: Likewise.
4356         * soft-fp/fixunssfti.c: Likewise.
4357         * soft-fp/fixunstfdi.c: Likewise.
4358         * soft-fp/fixunstfsi.c: Likewise.
4359         * soft-fp/fixunstfti.c: Likewise.
4360         * soft-fp/floatdidf.c: Likewise.
4361         * soft-fp/floatdisf.c: Likewise.
4362         * soft-fp/floatditf.c: Likewise.
4363         * soft-fp/floatsidf.c: Likewise.
4364         * soft-fp/floatsisf.c: Likewise.
4365         * soft-fp/floatsitf.c: Likewise.
4366         * soft-fp/floattidf.c: Likewise.
4367         * soft-fp/floattisf.c: Likewise.
4368         * soft-fp/floattitf.c: Likewise.
4369         * soft-fp/floatundidf.c: Likewise.
4370         * soft-fp/floatundisf.c: Likewise.
4371         * soft-fp/floatunsidf.c: Likewise.
4372         * soft-fp/floatunsisf.c: Likewise.
4373         * soft-fp/floatuntidf.c: Likewise.
4374         * soft-fp/floatuntisf.c: Likewise.
4375         * soft-fp/floatuntitf.c: Likewise.
4376         * soft-fp/fmadf4.c: Likewise.
4377         * soft-fp/fmasf4.c: Likewise.
4378         * soft-fp/fmatf4.c: Likewise.
4379         * soft-fp/gedf2.c: Likewise.
4380         * soft-fp/gesf2.c: Likewise.
4381         * soft-fp/getf2.c: Likewise.
4382         * soft-fp/ledf2.c: Likewise.
4383         * soft-fp/lesf2.c: Likewise.
4384         * soft-fp/letf2.c: Likewise.
4385         * soft-fp/muldf3.c: Likewise.
4386         * soft-fp/mulsf3.c: Likewise.
4387         * soft-fp/multf3.c: Likewise.
4388         * soft-fp/negdf2.c: Likewise.
4389         * soft-fp/negsf2.c: Likewise.
4390         * soft-fp/negtf2.c: Likewise.
4391         * soft-fp/op-1.h: Likewise.
4392         * soft-fp/op-2.h: Likewise.
4393         * soft-fp/op-4.h: Likewise.
4394         * soft-fp/op-8.h: Likewise.
4395         * soft-fp/op-common.h: Likewise.
4396         * soft-fp/quad.h: Likewise.
4397         * soft-fp/single.h: Likewise.
4398         * soft-fp/soft-fp.h: Likewise.
4399         * soft-fp/sqrtdf2.c: Likewise.
4400         * soft-fp/sqrtsf2.c: Likewise.
4401         * soft-fp/sqrttf2.c: Likewise.
4402         * soft-fp/subdf3.c: Likewise.
4403         * soft-fp/subsf3.c: Likewise.
4404         * soft-fp/subtf3.c: Likewise.
4405         * soft-fp/truncdfsf2.c: Likewise.
4406         * soft-fp/trunctfdf2.c: Likewise.
4407         * soft-fp/trunctfsf2.c: Likewise.
4408         * soft-fp/trunctfxf2.c: Likewise.
4409         * soft-fp/unorddf2.c: Likewise.
4410         * soft-fp/unordsf2.c: Likewise.
4411         * soft-fp/unordtf2.c: Likewise.
4412
4413 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4414
4415         [BZ #15672]
4416         * misc/error.c (error_tail): Fix possible buffer overflow.
4417
4418 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4419
4420         [BZ #13028]
4421         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4422         address.
4423
4424 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4425
4426         [BZ #832]
4427         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4428         testing pipefail option.
4429
4430 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4431
4432         * soft-fp/double.h: Indent preprocessor directives inside #if.
4433         * soft-fp/extended.h: Likewise.
4434         * soft-fp/op-2.h: Likewise.
4435         * soft-fp/op-4.h: Likewise.
4436         * soft-fp/op-common.h: Likewise.
4437         * soft-fp/quad.h: Likewise.
4438         * soft-fp/single.h: Likewise.
4439         * soft-fp/soft-fp.h: Likewise.
4440
4441 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4442
4443         * iconv/iconv_prog.c: Fix typos.
4444         * stdio-common/psiginfo-data.h: Likewise.
4445
4446 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4447
4448         [BZ #15764]
4449         * locale/setlocale.c: Fix typo.
4450
4451 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4452
4453         [BZ #16036]
4454         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4455         signaling NaN arguments.
4456         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4457         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4458
4459         [BZ #14910]
4460         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4461         unordered operands.
4462         * soft-fp/gesf2.c (__gesf2): Likewise.
4463         * soft-fp/getf2.c (__getf2): Likewise.
4464         * soft-fp/ledf2.c (__ledf2): Likewise.
4465         * soft-fp/lesf2.c (__lesf2): Likewise.
4466         * soft-fp/letf2.c (__letf2): Likewise.
4467
4468         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4469         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4470         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4471         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4472         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4473         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4474         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4475         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4476         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4477         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4478         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4479         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4480         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4481         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4482         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4483         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4484         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4485         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4486         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4487         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4488         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4489         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4490         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4491         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4492         * soft-fp/floattidf.c (__floattidf): Likewise.
4493         * soft-fp/floattisf.c (__floattisf): Likewise.
4494         * soft-fp/floattitf.c (__floattitf): Likewise.
4495         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4496         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4497         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4498         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4499         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4500         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4501         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4502         * soft-fp/gesf2.c (__gesf2): Likewise.
4503         * soft-fp/getf2.c (__getf2): Likewise.
4504         * soft-fp/ledf2.c (__ledf2): Likewise.
4505         * soft-fp/lesf2.c (__lesf2): Likewise.
4506         * soft-fp/letf2.c (__letf2): Likewise.
4507
4508         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4509         Undefine and redefine.
4510         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4511         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4512         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4513         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4514         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4515         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4516         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4517         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4518         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4519         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4520         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4521         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4522         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4523         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4524         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4525
4526         [BZ #16032]
4527         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4528         without decrementing exponent if mantissa >= that for the
4529         denominator, not >.
4530         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4531         denominator, not >.  Decrement exponent in < case instead of
4532         incrementing in >= case.
4533         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4534         without decrementing exponent if mantissa >= that for the
4535         denominator, not >.
4536
4537         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4538         computing saturated result for unsigned overflow.
4539
4540 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4541             Jeff Law  <law@redhat.com>
4542
4543         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4544         (atan2Mp): Add systemtap probe marker.
4545         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4546         (__ieee754_log): Add systemtap probe marker.
4547         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4548         (atanMp): Add systemtap probe marker.
4549         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4550         (tanMp): Add systemtap probe marker.
4551         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4552         (__slowexp): Add systemtap probe marker.
4553         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4554         (__slowpow): Add systemtap probe marker.
4555         * manual/probes.texi: Document probes.
4556
4557 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4558
4559         [BZ #15362]
4560         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4561         written.
4562         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4563         written.
4564         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4565         written to buffer but not flushed.
4566         * libio/iofwrite_u.c:  Likewise.
4567         * libio/iopadn.c:  Return bytes returned even if EOF was
4568         encountered.
4569         * libio/iowpadn.c:  Likewise.
4570         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4571         if _IO_padn does not write the whole buffer.
4572         [!COMPILE_WPRINTF] (PAD): Likewise.
4573
4574 2013-10-10  David S. Miller  <davem@davemloft.net>
4575
4576         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4577         directory block.
4578
4579 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4580
4581         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4582         instead of FSF address.
4583         * soft-fp/fixdfti.c: Likewise.
4584         * soft-fp/fixsfti.c: Likewise.
4585         * soft-fp/fixtfti.c: Likewise.
4586         * soft-fp/fixunsdfti.c: Likewise.
4587         * soft-fp/fixunssfti.c: Likewise.
4588         * soft-fp/fixunstfti.c: Likewise.
4589         * soft-fp/floattidf.c: Likewise.
4590         * soft-fp/floattisf.c: Likewise.
4591         * soft-fp/floattitf.c: Likewise.
4592         * soft-fp/floatuntidf.c: Likewise.
4593         * soft-fp/floatuntisf.c: Likewise.
4594         * soft-fp/floatuntitf.c: Likewise.
4595         * soft-fp/trunctfxf2.c: Likewise.
4596
4597         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4598         * soft-fp/fixdfti.c: Likewise.
4599         * soft-fp/fixsfti.c: Likewise.
4600         * soft-fp/fixtfti.c: Likewise.
4601         * soft-fp/fixunsdfti.c: Likewise.
4602         * soft-fp/fixunssfti.c: Likewise.
4603         * soft-fp/fixunstfti.c: Likewise.
4604         * soft-fp/floattidf.c: Likewise.
4605         * soft-fp/floattisf.c: Likewise.
4606         * soft-fp/floattitf.c: Likewise.
4607         * soft-fp/floatuntidf.c: Likewise.
4608         * soft-fp/floatuntisf.c: Likewise.
4609         * soft-fp/floatuntitf.c: Likewise.
4610         * soft-fp/trunctfxf2.c: Likewise.
4611
4612 2013-10-10  David S. Miller  <davem@davemloft.net>
4613
4614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4615
4616 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4617
4618         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4619         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4620         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4621         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4622         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4623         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4624         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4625
4626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4627         for NaNs before doing comparisons on argument.
4628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4629         Likewise.
4630
4631 2013-10-10  Will Newton  <will.newton@linaro.org>
4632
4633         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4634         passed to _int_memalign does not overflow.
4635
4636 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4637
4638         * scripts/bench.pl: Add include-sources directive.
4639         * benchtests/README: Update documentation.
4640
4641 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4642
4643         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4644         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4645         instead of FP_INIT_ROUNDMODE.
4646         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4647         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4648
4649         [BZ #16034]
4650         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4651         copy class of input value.
4652         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4653         not handle exceptions.
4654         * soft-fp/negsf2.c (__negsf2): Likewise.
4655         * soft-fp/negtf2.c (__negtf2): Likewise.
4656         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4657
4658 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4659
4660         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4661         semicolon.  From Linux kernel.
4662
4663 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4664
4665         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4666
4667 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4668
4669         [BZ #156]
4670         * manual/socket.texi: Added statement about buffer
4671         for gethostbyname2_r.
4672
4673 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4674
4675         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4676         Use .p2align directive instead, throughout.
4677         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4678         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4679         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4680         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4681         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4682         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4683         * sysdeps/x86_64/strchr.S: Likewise.
4684         * sysdeps/x86_64/strrchr.S: Likewise.
4685
4686 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4687
4688         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4689
4690         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4691
4692         * sysdeps/generic/math_private.h (__mpsin1): Remove
4693         declaration.
4694         (__mpcos1): Likewise.
4695         (__mpsin): New argument __range_reduce.
4696         (__mpcos): Likewise.
4697         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4698         (slow): Use __mpsin and __mpcos.
4699         (slow1): Likewise.
4700         (slow2): Likewise.
4701         (sloww): Likewise.
4702         (sloww1): Likewise.
4703         (sloww2): Likewise.
4704         (bsloww): Likewise.
4705         (bsloww1): Likewise.
4706         (bsloww2): Likewise.
4707         (cslow2): Likewise.
4708         (csloww): Likewise.
4709         (csloww1): Likewise.
4710         (csloww2): Likewise.
4711         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4712         range_reduce.  Merge in __mpsin1.
4713         (__mpcos): Likewise.
4714         (__mpsin1): Remove.
4715         (__mpcos1): Likewise.
4716
4717 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4718
4719         * locale/loadlocale.c (_nl_intern_locale_data): Use
4720         LOCFILE_ALIGNED_P.
4721         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4722         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4723         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4724         obstack data is appropriately aligned.
4725         (obstack_int32_grow_fast): Likewise.
4726         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4727         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4728         (add_locale_uint32_array): Likewise.
4729
4730 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4731
4732         * benchtests/Makefile: Remove ARGLIST and RET variables.
4733         ($(objpfx)bench-%.c): Pass only function name to the script.
4734         * benchtests/README: Update documentation.
4735         * benchtests/acos-inputs: Add new directives.
4736         * benchtests/acosh-inputs: Likewise.
4737         * benchtests/asin-inputs: Likewise.
4738         * benchtests/asinh-inputs: Likewise.
4739         * benchtests/atan-inputs: Likewise.
4740         * benchtests/atanh-inputs: Likewise.
4741         * benchtests/cos-inputs: Likewise.
4742         * benchtests/cosh-inputs: Likewise.
4743         * benchtests/exp-inputs: Likewise.
4744         * benchtests/log-inputs: Likewise.
4745         * benchtests/pow-inputs: Likewise.
4746         * benchtests/rint-inputs: Likewise.
4747         * benchtests/sin-inputs: Likewise.
4748         * benchtests/sinh-inputs: Likewise.
4749         * benchtests/tan-inputs: Likewise.
4750         * benchtests/tanh-inputs: Likewise.
4751         * scripts/bench.pl: Add support for new directives.
4752
4753 2013-10-07  Alan Modra  <amodra@gmail.com>
4754
4755         * README: Fix careless merge.
4756
4757 2013-10-05  Alan Modra  <amodra@gmail.com>
4758
4759         * NEWS: Mention powerpc64le support and bugs fixed.
4760         * README: Both big-endian and little-endian powerpc64 supported.
4761
4762 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4763
4764         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4765         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4766         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4767         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4768
4769 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4770
4771         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4772         match prototype.
4773
4774 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4775
4776         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4777         Move -mhard-float appending from
4778         ports/sysdeps/powerpc/powerpc32/Makefile.
4779         [$(with-fp) = yes] (ASFLAGS): Likewise.
4780         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4781         * sysdeps/powerpc/nofpu: Move directory from
4782         ports/sysdeps/powerpc/nofpu.
4783         * sysdeps/powerpc/soft-fp: Move directory from
4784         ports/sysdeps/powerpc/soft-fp.
4785         * sysdeps/powerpc/powerpc32/405: Move directory from
4786         ports/sysdeps/powerpc/powerpc32/405.
4787         * sysdeps/powerpc/powerpc32/440: Move directory from
4788         ports/sysdeps/powerpc/powerpc32/440.
4789         * sysdeps/powerpc/powerpc32/464: Move directory from
4790         ports/sysdeps/powerpc/powerpc32/464.
4791         * sysdeps/powerpc/powerpc32/476: Move directory from
4792         ports/sysdeps/powerpc/powerpc32/476.
4793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4794         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4796         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4798         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4800         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4802         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4803         * README: Update for powerpc-*-linux-gnu software floating point
4804         support in libc.
4805
4806         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4807         case to powerpc/powerpc32*.
4808         * sysdeps/unix/sysv/linux/configure: Regenerated.
4809
4810         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4811         (_FPU_MASK_OM): Define as 0x04.
4812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4814         0x00c10080.
4815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4816         0x0000003c.
4817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4818
4819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4820         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4821         getcontext_e500.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4823         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4824         setcontext_e500.
4825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4826         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4827         and setcontext_e500.
4828
4829 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4830
4831         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4832
4833 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4834
4835         * manual/threads.texi (Default Thread Attributes): Fix typo.
4836
4837 2013-10-04  Will Newton  <will.newton@linaro.org>
4838
4839         * malloc/Makefile: Add tst-memalign.
4840         * malloc/tst-memalign.c: New file.
4841
4842         * malloc/tst-posix_memalign.c: Add comments.
4843         (do_test): Add comments and call free on all potentially
4844         allocated pointers. Add space after cast.
4845
4846         * malloc/tst-pvalloc.c: Add comments.
4847         (do_test): Add comments and call free on all potentially
4848         allocated pointers. Remove duplicate check for NULL pointer.
4849         Add space after cast.
4850
4851         * malloc/tst-valloc.c: Add comments.
4852         (do_test): Add comments and call free on all potentially
4853         allocated pointers. Remove duplicate check for NULL pointer.
4854         Add space after cast.
4855
4856 2013-10-04  Alan Modra  <amodra@gmail.com>
4857
4858         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4859         Use stdint types in rather than __attribute__((mode())).
4860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4861
4862 2013-10-04  Alan Modra  <amodra@gmail.com>
4863
4864         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4865         Correct handling of unaligned relocs for little-endian.
4866         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4867
4868 2013-10-04  Alan Modra  <amodra@gmail.com>
4869
4870         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4871         * configure: Regenerate.
4872         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4873         * shlib-versions: Likewise.
4874
4875 2013-10-04  Alan Modra  <amodra@gmail.com>
4876
4877         * string/tester.c (test_memrchr): Increment reported test cycle.
4878
4879 2013-10-04  Alan Modra  <amodra@gmail.com>
4880
4881         * string/test-memcpy.c (do_one_test): When reporting errors, print
4882         string address and don't overrun end of string.
4883
4884 2013-10-04  Alan Modra  <amodra@gmail.com>
4885
4886         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4887         insrdi.  Make better use of reg selection to speed exit slightly.
4888         Schedule entry path a little better.  Remove useless "are we done"
4889         checks on entry to main loop.  Handle wrapping around zero address.
4890         Correct main loop count.  Handle single left-over word from main
4891         loop inline rather than by using loop_small.  Remove extra word
4892         case in loop_small caused by wrong loop count.  Add little-endian
4893         support.
4894         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4895         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4896         cache hint.
4897         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4898         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4899         support.  Avoid rlwimi.
4900         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4901
4902 2013-10-04  Alan Modra  <amodra@gmail.com>
4903
4904         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4905         insrdi.  Formatting.
4906         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4907         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4908         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4909         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4910         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4911         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4912
4913 2013-10-04  Alan Modra  <amodra@gmail.com>
4914
4915         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4917         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4918         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4919         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4920         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4921         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4922         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4923         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4924         use of regs.  Use power7 mtocrf.  Tidy function tails.
4925
4926 2013-10-04  Alan Modra  <amodra@gmail.com>
4927
4928         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4929         Formatting.  Consistently use rXXX register defines or rN defines.
4930         Use early exit labels that avoid restoring unused non-volatile regs.
4931         Make cr field use more consistent with rWORDn compares.  Rename
4932         regs used as shift registers for unaligned loop, using rN defines
4933         for short lifetime/multiple use regs.
4934         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4935         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4936         addi 1,1,64 to pop stack frame.  Simplify return value code.
4937         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4938
4939 2013-10-04  Alan Modra  <amodra@gmail.com>
4940
4941         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4942         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4943         rather than rlwimi.
4944         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4945         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4946         little-endian support.  Correct typos.
4947         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4948         rather than rlwimi.
4949         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4950         in loop and entry code to keep "and." results.
4951         (strchr): Add little-endian support.  Comment.  Move cntlzd
4952         earlier in tail.
4953         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4954
4955 2013-10-04  Alan Modra  <amodra@gmail.com>
4956
4957         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4958         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4959         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4960         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4961
4962 2013-10-04  Alan Modra  <amodra@gmail.com>
4963
4964         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4965         (rTMP): Define as r11.
4966         (strcmp): Add little-endian support.  Optimise tail.
4967         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4968         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4969         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4970         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4971         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4972         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4974
4975 2013-10-04  Alan Modra  <amodra@gmail.com>
4976
4977         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4978         little-endian support.  Remove unnecessary "are we done" tests.
4979         Handle "s" wrapping around zero and extremely large "size".
4980         Correct main loop count.  Handle single left-over word from main
4981         loop inline rather than by using small_loop.  Correct comments.
4982         Delete "zero" tail, use "end_max" instead.
4983         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4984
4985 2013-10-04  Alan Modra  <amodra@gmail.com>
4986
4987         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4988         support.  Don't branch over align.
4989         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4990         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4991         support.  Rearrange tmp reg use to suit.  Comment.
4992         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4993
4994 2013-10-04  Alan Modra  <amodra@gmail.com>
4995
4996         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4997
4998 2013-10-04  Alan Modra  <amodra@gmail.com>
4999
5000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5001         conditional form of branch and link when obtaining pc.
5002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5003
5004 2013-10-04  Alan Modra  <amodra@gmail.com>
5005
5006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5007         HIWORD/LOWORD.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5010
5011 2013-10-04  Alan Modra  <amodra@gmail.com>
5012
5013         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5014         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5015         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5016         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5017         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5018         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5019         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5020         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5021         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5022         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5023
5024 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5025             Alistair Popple <alistair@ozlabs.au.ibm.com>
5026             Alan Modra <amodra@gmail.com>
5027
5028         [BZ #15723]
5029         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5030         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5031         _dl_hwcap access for little-endian.
5032         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5033         destroy vmx regs when saving unaligned.
5034         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5035         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5036         destroy vmx regs when saving unaligned.
5037
5038 2013-10-04  Alan Modra  <amodra@gmail.com>
5039
5040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5041         Don't use a union to pack hi/low value.
5042
5043 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5044
5045         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5046         for little-endian.
5047         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5049         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5050         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5051         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5052
5053 2013-10-04  Alan Modra  <amodra@gmail.com>
5054
5055         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5056         constants to usual value for .cst8 section, and remove redundant
5057         high address load.
5058         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5059         constant for 0x1p52.  Load little-endian words of double from
5060         correct stack offsets.
5061
5062 2013-10-04  Alan Modra  <amodra@gmail.com>
5063
5064         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5065         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5066         words of double from correct stack offsets.
5067         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5068         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5069         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5070         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5072         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5073         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5074         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5075         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5076         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5079         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5080         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5082         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5083         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5084
5085 2013-10-04  Alan Modra  <amodra@gmail.com>
5086
5087         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5088         64-bit int/double union.
5089         (_FPU_SETCW): Likewise.
5090         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5091         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5092
5093 2013-10-04  Alan Modra  <amodra@gmail.com>
5094
5095         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5096         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5097
5098 2013-10-04  Alan Modra  <amodra@gmail.com>
5099
5100         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5101         use vector int constants.
5102         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5103
5104 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5105
5106         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5107         array with long long.
5108         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5109         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5110         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5111         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5112         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5113         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5114         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5115         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5116         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5117         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5118         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5119         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5120         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5121
5122 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5123
5124         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5125         (__signbit): Likewise.  Correct for little-endian.
5126         (__signbitl): Call __signbit.
5127         (lrint): Correct for little-endian.
5128         (lrintf): Call lrint.
5129
5130 2013-10-04  Alan Modra  <amodra@gmail.com>
5131
5132         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5133         union 32-bit int array member with 64-bit int array.
5134         (t515, tm256): Double rather than long double.
5135         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5136
5137 2013-10-04  Alan Modra  <amodra@gmail.com>
5138
5139         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5140         Delete.
5141         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5142         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5143         version of math_ldbl.h.
5144
5145 2013-10-04  Alan Modra  <amodra@gmail.com>
5146
5147         [BZ #15734], [BZ #15735]
5148         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5149         all uses of ieee875 long double macros and unions.  Simplify test
5150         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5151         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5152         normalize after ldbl_extract_mantissa, and don't add hidden bit
5153         already handled.  Don't treat low word of ieee854 mantissa like
5154         low word of IBM long double and mask off bit when testing for
5155         zero.
5156         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5157         all uses of ieee875 long double macros and unions.  Simplify tests
5158         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5159         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5160         two1022, instead use their values.  Recognise that tests for large
5161         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5162         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5163         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5164         test for 0.0L and nan.  Correct negation.
5165         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5166         ieee875 long double macros and unions.  Correct output for large
5167         magnitude x.  Correct absolute value calculation.
5168         (__erfcl): Likewise.
5169         * math/libm-test.inc: Add tests for errors discovered in IBM long
5170         double versions of fmodl, remainderl, erfl and erfcl.
5171
5172 2013-10-04  Alan Modra  <amodra@gmail.com>
5173
5174         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5175         all uses of ieee854 long double macros and unions.  Simplify tests
5176         for long doubles that are fully specified by the high double.
5177         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5178         Likewise.
5179         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5180         Remove dead code too.
5181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5182         (__ieee754_ynl): Likewise.
5183         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5184         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5185         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5186         Remove dead code too.
5187         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5188         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5189         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5190         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5191         Simplify.
5192         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5193         Simplify.
5194         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5195         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5196         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5197         Comment on variable precision.
5198         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5199         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5200         Likewise.
5201         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5202         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5203         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5204         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5205         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5206
5207 2013-10-04  Alan Modra  <amodra@gmail.com>
5208
5209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5210         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5211         all uses of ieee854 long double macros and unions.
5212         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5214         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5215         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5216         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5217         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5218         Likewise.
5219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5220         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5222         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5223         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5224         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5225         Simplify sign and nan test too.
5226         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5227         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5228         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5229         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5230         Likewise.
5231         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5232         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5233         Likewise.
5234         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5235         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5236         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5237         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5238         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5240
5241 2013-10-04  Alan Modra  <amodra@gmail.com>
5242
5243         * stdio-common/printf_size.c (__printf_size): Don't use
5244         union ieee854_long_double in fpnum union.
5245         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5246         signbit macro to retrieve sign from long double.
5247         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5248         retrieve sign from long double.
5249         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5250         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5251         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5252         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5253         * math/test-misc.c (main): Don't use union ieee854_long_double.
5254
5255 2013-10-04  Alan Modra  <amodra@gmail.com>
5256
5257         [BZ #15680]
5258         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5259         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5260         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5261         calculation.  Remove unnecessary test for denormal exponent.
5262         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5263         Correct handling of denormals.  Avoid undefined shift behaviour.
5264         Correct normalisation of low mantissa when low double is denormal.
5265         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5266         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5267         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5268         Correct normalisation of low mantissa.  Test for overflow of high
5269         mantissa and normalise.
5270         (ldbl_nearbyint): Use more readable constant for two52.
5271         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5272         (__mpn_construct_long_double): Fix test for overflow of high
5273         mantissa and correct normalisation.  Avoid undefined shift.
5274
5275 2013-10-04  Alan Modra  <amodra@gmail.com>
5276
5277         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5278         (union ibm_extended_long_double): Define as an array of ieee754_double.
5279         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5280         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5281         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5282         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5283         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5284         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5285         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5286         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5287         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5288         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5289         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5290
5291 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5292
5293         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5294         page size instead of calling getpagesize.
5295
5296         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5297         (LOCFILE_ALIGN_MASK): Likewise.
5298         (LOCFILE_ALIGN_UP): Likewise.
5299         (LOCFILE_ALIGNED_P): Likewise.
5300         * locale/programs/ld-collate.c (collate_output): Use the new
5301         macros instead of __alignof__ (int32_t).
5302         * locale/weight.h (findidx): Likewise.
5303
5304 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5305
5306         [BZ #431]
5307         * manual/string.texi: Fix strncat and wcsncat.
5308
5309 2013-10-03  Brooks Moses  <bmoses@google.com>
5310
5311         [BZ #15915]
5312         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5313         * Makerules: ...here, and adjust associated comments.
5314
5315 2013-10-02  Will Newton  <will.newton@linaro.org>
5316
5317         * malloc/Makefile: Add tst-pvalloc.
5318         * malloc/tst-pvalloc.c: New file.
5319
5320 2013-10-02  Will Newton  <will.newton@linaro.org>
5321
5322         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5323         improve test coverage.
5324
5325 2013-10-02  Will Newton  <will.newton@linaro.org>
5326
5327         * malloc/Makefile: Add tst-posix_memalign.
5328         * malloc/tst-posix_memalign.c: New file.
5329
5330 2013-10-01  Eric Blake  <eblake@redhat.com>
5331
5332         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5333         Use __THROWNL rather than __THROW on static functions.
5334
5335 2013-09-30  Petr Machata  <pmachata@redhat.com>
5336
5337         * elf/elf.h (R_AARCH64_ABS16): New macro.
5338         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5339         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5340         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5341         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5342         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5343         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5344         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5345         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5346         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5347         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5348         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5349         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5350         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5351         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5352         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5353         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5354         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5355         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5356         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5357         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5358         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5359         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5360         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5361         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5362         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5363         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5364         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5365         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5366         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5367         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5368         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5369         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5370         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5371         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5372         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5373         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5374         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5375         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5376         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5377         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5378         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5379         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5380         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5381         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5382         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5383         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5384         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5385         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5386         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5387         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5388         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5389         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5390         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5391         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5392         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5393         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5394         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5395         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5396         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5397         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5398         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5399         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5400         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5401         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5402         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5403         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5404         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5405         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5406         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5407         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5408         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5409         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5410         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5411         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5412         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5413         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5414         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5415         (R_AARCH64_TLSDESC_LDR): Likewise.
5416         (R_AARCH64_TLSDESC_ADD): Likewise.
5417         (R_AARCH64_TLSDESC_CALL): Likewise.
5418
5419 2013-09-30  Andreas Schwab  <schwab@suse.de>
5420
5421         [BZ #15048]
5422         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5423         the nss database lookup.
5424         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5426
5427 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5428
5429         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5430
5431 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5432
5433         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5434         ${Bash-specific parameter/pattern/string} parameter expansion.
5435         * sysdeps/unix/make-syscalls.sh: Likewise.
5436
5437 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5438
5439         * sysdeps/sh/stackguard-macros.h: New file.
5440
5441 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5442
5443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5444         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5445         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5446         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5447         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5448         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5449
5450 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5451
5452         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5453         Fix thread ID register.
5454
5455 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5456
5457         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5458         [POSIX || UNIX98]: Require rather than permitting all symbols from
5459         <time.h>.
5460         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5461         element of struct sched_param.
5462         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5463         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5464         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5465         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5466         constant.
5467
5468 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5469
5470         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5471         argument calculation.
5472
5473 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5474
5475         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5476         Expect macro.
5477         [POSIX] (pthread_attr_t): Do not require type.
5478         [POSIX] (pthread_cond_t): Likewise.
5479         [POSIX] (pthread_condattr_t): Likewise.
5480         [POSIX] (pthread_key_t): Likewise.
5481         [POSIX] (pthread_mutex_t): Likewise.
5482         [POSIX] (pthread_mutexattr_t): Likewise.
5483         [POSIX] (pthread_once_t): Likewise.
5484         [POSIX] (pthread_t): Likewise.
5485         [POSIX-based standards] (pthread_atfork): Expect function.
5486
5487 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5488             Richard Sandiford  <richard@codesourcery.com>
5489
5490         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5491         (swap_endianness_p): New extern variable.
5492         (set_big_endian): New inline function.
5493         (maybe_swap_uint32): Likewise.
5494         (maybe_swap_uint32_array): Likewise.
5495         (maybe_swap_uint32_obstack): Likewise.
5496         * locale/programs/locfile.c: Include <stdbool.h>.
5497         (swap_endianness_p): New variable.
5498         (add_locale_uint32): Call maybe_swap_uint32.
5499         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5500         (write_locale_data): Call maybe_swap_uint32_array.
5501         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5502         maybe_swap_uint32.
5503         (obstack_int32_grow_fast): Likewise.
5504         (output_weightwc): Call maybe_swap_uint32_obstack.
5505         (collate_output): Likewise.
5506         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5507         (OPT_LITTLE_ENDIAN): Likewise.
5508         (options): Add --little-endian and --big-endian options.
5509         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5510         * locale/programs/locarchive.c: Include "locfile.h".
5511         (GET): New macro.
5512         (SET): Likewise.
5513         (INC): Likewise.
5514         (create_archive): Use the new macros to access fields of
5515         structures directly mapped from or written to locale archives.
5516         (oldlocrecentcmp): Likewise.
5517         (enlarge_archive): Likewise.
5518         (insert_name): Likewise.
5519         (add_alias): Likewise.
5520         (add_locale): Likewise.
5521         (delete_locales_from_archive): Likewise.
5522         (show_archive_content): Likewise.
5523         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5524         locale data.
5525
5526 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5527
5528         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5529         http://www.gnu.org/doc/freemanuals.texi.
5530         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5531
5532 2013-09-24  Will Newton  <will.newton@linaro.org>
5533
5534         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5535         macro.
5536
5537 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5538
5539         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5540         unsigned char.
5541
5542 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5543
5544         * manual/threads.texi (POSIX Threads): Fix a typo.
5545
5546 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5547
5548         [BZ #14547]
5549         * string/tst-strcoll-overflow.c: New test case.
5550         * string/Makefile (xtests): Add tst-strcoll-overflow.
5551         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5552         cache if string sizes may cause integer overflow.
5553
5554         [BZ #14547]
5555         * string/strcoll_l.c (coll_seq): New members rule, idx,
5556         save_idx and back_us.
5557         (get_next_seq_nocache): New function.
5558         (do_compare_nocache): New function.
5559         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5560         when malloc fails.
5561
5562 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5563
5564         [BZ #15754]
5565         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5566         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5567         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5568
5569         [BZ #15754]
5570         * elf/Makefile (tests): Add tst-ptrguard1.
5571         (tests-static): Add tst-ptrguard1-static.
5572         (tst-ptrguard1-ARGS): Define.
5573         (tst-ptrguard1-static-ARGS): Define.
5574         * elf/tst-ptrguard1.c: New file.
5575         * elf/tst-ptrguard1-static.c: New file.
5576         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5577         * sysdeps/i386/stackguard-macros.h: Likewise.
5578         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5579         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5580         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5581         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5582         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5583         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5584
5585 2013-09-23  Hector Marco  <hecmargi@upv.es>
5586             Ismael Ripoll  <iripoll@disca.upv.es>
5587             Carlos O'Donell  <carlos@redhat.com>
5588
5589         [BZ #15754]
5590         * sysdeps/generic/stackguard-macros.h: Define
5591         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5592         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5593         Define __pointer_chk_guard_local.
5594         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5595         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5596
5597 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5598
5599         [BZ #15859]
5600         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5601
5602 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5603
5604         * include/string.h (__ffs): Declare as hidden.
5605         * string/ffs.c (__ffs): Define as hidden.
5606         * sysdeps/i386/ffs.c (__ffs): Likewise.
5607         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5608         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5609         * sysdeps/s390/ffs.c (__ffs): Likewise.
5610         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5611
5612 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5613
5614         * NEWS: Mention malloc probes.
5615
5616         * malloc/arena.c (new_heap): New memory_heap_new probe.
5617         (grow_heap): New memory_heap_more probe.
5618         (shrink_heap): New memory_heap_less probe.
5619         (heap_trim): New memory_heap_free probe.
5620         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5621         (systrim): New memory_sbrk_less probe.
5622         * manual/probes.texi: Document them.
5623
5624         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5625         * manual/probes.texi: Document it.
5626
5627         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5628         (__libc_realloc): Add memory_realloc_retry probe.
5629         (__libc_memalign): Add memory_memalign_retry probe.
5630         (__libc_valloc): Add memory_valloc_retry probe.
5631         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5632         (__libc_calloc): Add memory_calloc_retry probe.
5633         * manual/probes.texi: Document them.
5634
5635         * malloc/arena.c (get_free_list): Add probe
5636         memory_arena_reuse_free_list.
5637         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5638         and memory_arena_reuse.
5639         (arena_get2) [!PER_THREAD]: Likewise.
5640         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5641         memory_arena_reuse_realloc.
5642         * manual/probes.texi: Document them.
5643
5644         * malloc/malloc.c (__libc_free): Add
5645         memory_mallopt_free_dyn_thresholds probe.
5646         (__libc_mallopt): Add multiple memory_mallopt probes.
5647         * manual/probes.texi: Document them.
5648
5649         * malloc/malloc.c: Include stap-probe.h.
5650         (__libc_mallopt): Add memory_mallopt probe.
5651         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5652         * manual/probes.texi: New.
5653         * manual/Makefile (chapters): Add probes.
5654         * manual/threads.texi: Set next node.
5655
5656 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5657
5658         [BZ #15963, #13985]
5659         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5660         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5661         Add `Chinese' to `nan' entry name.
5662
5663 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5664
5665         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5666         (POLYNOMIAL): Likewise.
5667         (TAYLOR_SINCOS): Likewise.
5668         (TAYLOR_SLOW): Likewise.
5669         (__sin): Use TAYLOR_SINCOS.
5670         (__cos): Likewise.
5671         (slow): Use TAYLOR_SLOW.
5672         (sloww): Likewise.
5673         (bsloww): Likewise.
5674         (csloww): Likewise.
5675
5676 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5677
5678         * stdlib/strtod_l.c: Fix buffer overrun.
5679
5680 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5681
5682         * benchtests/Makefile (bench): Add sincos.
5683         * benchtests/bench-sincos.c: New file.
5684
5685         * math/libm-test.inc (cos_test_data): New test inputs.
5686         (sin_test_data): Likewise.
5687
5688         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5689         macro.
5690         (__sin): Use it.
5691         (__cos): Likewise.
5692         (slow1): Likewise.
5693         (slow2): Likewise.
5694         (sloww1): Likewise.
5695         (sloww2): Likewise.
5696         (bsloww1): Likewise.
5697         (bsloww2): Likewise.
5698         (cslow2): Likewise.
5699         (csloww1): Likewise.
5700         (csloww2): Likewise.
5701
5702         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5703         function.
5704         (__sin): Use it.
5705         (__cos): Likewise.
5706
5707         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5708         gotos.
5709         (__cos): Likewise.
5710
5711 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5712
5713         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5714         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5715         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5716         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5717         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5718         * elf/cache.c (print_entry): Handle the new cache flags.
5719
5720 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5721             Aldy Hernandez  <aldyh@redhat.com>
5722
5723         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5724         Change condition to [_SOFT_FLOAT].
5725         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5737         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5740         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5741         declaration.
5742
5743 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5744
5745         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5746         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5747         (__longjmp): Use LOAD_GP to load saved GPRs.
5748         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5749         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5750         (__sigsetjmp): Use SAVE_GP to save GPRs.
5751
5752         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5753         Do not append -msoft-float.
5754         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5755
5756 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5757
5758         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5759
5760 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5761
5762         [BZ #15966]
5763         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5764         (_FPU_GETCW): Use initial "__" on variable and field names but not
5765         on macro parameter name.
5766         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5767         parentheses around reference to macro parameter.
5768
5769 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5770
5771         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5772         prototype.
5773         (ctype_startup): Use uint32_t in cast and sizeof for
5774         ctype->charnames.
5775
5776 2013-09-11  Jia Liu  <proljc@gmail.com>
5777
5778         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5779         __daddr_t_defined.
5780         [__FreeBSD__]: Likewise.
5781
5782 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5783
5784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5785         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5786         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5787         (strchr): Remove __strchr_sse42 ifunc selection.
5788         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5789         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5790
5791 2013-09-11  Will Newton  <will.newton@linaro.org>
5792
5793         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5794         parameter to RES. Remove hardcoded 1000 value.
5795         * benchtests/bench-skeleton.c (main): Pass RES parameter
5796         to TIMING_INIT and multiply result by 1000.
5797
5798 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5799
5800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5801
5802 2013-09-11  Andreas Schwab  <schwab@suse.de>
5803
5804         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5805         if not defined.
5806         (O_TMPFILE) [__USE_GNU]: Define.
5807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5808         Define.
5809
5810 2013-09-11  Will Newton  <will.newton@linaro.org>
5811
5812         [BZ #15857]
5813         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5814         does not overflow.
5815
5816 2013-09-11  Will Newton  <will.newton@linaro.org>
5817
5818         [BZ #15856]
5819         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5820         does not overflow.
5821
5822 2013-09-11  Will Newton  <will.newton@linaro.org>
5823
5824         [BZ #15855]
5825         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5826         does not overflow.
5827
5828 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5829
5830         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5831         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5832         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5833         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5834         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5835
5836 2013-09-10  Allan McRae  <allan@archlinux.org>
5837
5838         [BZ #15748]
5839         * manual/arith.texi (Parsing of Floats): Clarify
5840         cross-reference.
5841
5842         [BZ #15849]
5843         * manual/install.texi (Running make install): Mention
5844         --enable-pt-chown.
5845         * INSTALL: Regenerated.
5846
5847 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5848
5849         * csu/init-first.c (_init): Remove the !SHARED condition around
5850         FPU control word initialization.
5851         * elf/dl-support.c (_dl_fpu_control): New variable.
5852         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5853         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5854         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5855         * math/test-fpucw-static.c: New file.
5856         * math/test-fpucw-ieee.c: New file.
5857         * math/test-fpucw-ieee-static.c: New file.
5858         * math/Makefile (tests): Add `test-fpucw-ieee' and
5859         `$(tests-static)'.
5860         (tests-static): New variable.
5861         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5862         dependency to...
5863         [($(build-shared),yes)]
5864         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5865         ... this.
5866         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5867         New dependency.
5868
5869 2013-09-09  Allan McRae  <allan@archlinux.org>
5870
5871         [BZ #15939]
5872         * manual/string.texi (Collation Functions): Fix typo in
5873         strcoll example.
5874         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5875
5876         [BZ #15893]
5877         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5878
5879         [BZ #15892]
5880         * libio/memstream.c (open_memstream): Fix memory leak.
5881         * libio/wmemstream.c (open_wmemstream): Likewise.
5882
5883         [BZ #15895]
5884         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5885
5886 2013-09-09  Will Newton  <will.newton@linaro.org>
5887
5888         * malloc/Makefile: Add tst-realloc to tests.
5889         * malloc/tst-realloc.c: New file.
5890
5891 2013-09-09  Allan McRae  <allan@archlinux.org>
5892
5893         [BZ #15844]
5894         * COPYING: Update from GNU website to fix FSF address.
5895         * COPYING.LIB: Likewise.
5896
5897 2013-09-06  David S. Miller  <davem@davemloft.net>
5898
5899         * po/zh_TW.po: Update Chinese (traditional) translation from
5900         translation project.
5901
5902 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5903             Joseph Myers  <joseph@codesourcery.com>
5904
5905         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5906         "localeinfo.h".
5907         (obstack_chunk_alloc): New macro.
5908         (obstack_chunk_free): Likewise.
5909         (record_offset): New function.
5910         (init_locale_data): Likewise.
5911         (align_locale_data): Likewise.
5912         (add_locale_empty): Likewise.
5913         (add_locale_raw_data): Likewise.
5914         (add_locale_raw_obstack): Likewise.
5915         (add_locale_string): Likewise.
5916         (add_locale_wstring): Likewise.
5917         (add_locale_uint32): Likewise.
5918         (add_locale_uint32_array): Likewise.
5919         (add_locale_char): Likewise.
5920         (start_locale_structure): Likewise.
5921         (end_locale_structure): Likewise.
5922         (start_locale_prelude): Likewise.
5923         (end_locale_prelude): Likewise.
5924         (write_locale_data): Take locale_file structure rather than an
5925         iovec.
5926         * locale/programs/locfile.h: Include "obstack.h".
5927         (struct locale_file): Change to store locale file contents instead
5928         of header.
5929         (init_locale_data): New prototype.
5930         (align_locale_data): Likewise.
5931         (add_locale_empty): Likewise.
5932         (add_locale_raw_data): Likewise.
5933         (add_locale_raw_obstack): Likewise.
5934         (add_locale_string): Likewise.
5935         (add_locale_wstring): Likewise.
5936         (add_locale_uint32): Likewise.
5937         (add_locale_uint32_array): Likewise.
5938         (add_locale_char): Likewise.
5939         (start_locale_structure): Likewise.
5940         (end_locale_structure): Likewise.
5941         (start_locale_prelude): Likewise.
5942         (end_locale_prelude): Likewise.
5943         (write_locale_data): Update prototype.
5944         * locale/programs/3level.h (struct TABLE): Remove result field.
5945         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5946         Use new locale_file interface.
5947         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5948         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5949         * locale/programs/ld-address.c (address_output): Use new
5950         locale_file interface.
5951         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5952         NO_ADD_LOCALE.
5953         (collate_finish): Don't call collseq_table_finalize.
5954         (collate_output): Use new locale_file interface.
5955         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5956         in file.
5957         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5958         (TABLE): Move defines earlier in file.
5959         (ELEMENT): Likewise.
5960         (DEFAULT): Likewise.
5961         (wctrans_table_add): Move macro and inline function earlier in
5962         file.
5963         (struct wctype_table): Move type earlier in file.
5964         (add_locale_wctype_table): New static prototype.
5965         (struct locale_ctype_t): Use logical types instead of struct iovec
5966         pointers for members.
5967         (ctype_output): Use new locale_file interface.
5968         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5969         new locale_file interface.
5970         (allocate_arrays): Update for use of new locale_file interface.
5971         * locale/programs/ld-identification.c (identification_output): Use
5972         new locale_file interface.
5973         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5974         * locale/programs/ld-messages.c (messages_output): Likewise.
5975         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5976         * locale/programs/ld-name.c (name_output): Likewise.
5977         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5978         * locale/programs/ld-paper.c (paper_output): Likewise.
5979         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5980         * locale/programs/ld-time.c (time_output): Likewise.
5981
5982 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5983
5984         * benchtests/Makefile: Add memrchr benchmark.
5985         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5986         benchmark as memrchr.
5987         * benchtests/bench-memrchr-ifunc.c: New file.
5988         * benchtests/bench-memrchr.c: New file.
5989
5990 2013-09-06   Will Newton  <will.newton@linaro.org>
5991
5992         * benchtests/Makefile (string-bench): Add memcpy.
5993
5994 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5995             Cong Wang  <amwang@redhat.com>
5996
5997         [BZ #15850]
5998         * sysdeps/unix/sysv/linux/bits/in.h
5999         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6000         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6001         before __USE_KERNEL_IPV6_DEFS uses.
6002         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6003         IPPROTO_BEETPH.
6004         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6005         sockaddr_in6, or ipv6_mreq.
6006
6007 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6008
6009         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6010         memory access for final bytes in some large inputs.
6011         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6012
6013 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014
6015         * string/test-memrchr.c: New file.
6016         * string/test-memrchr-ifunc.c: New file.
6017         * string/Makefile: Add new memrchr testcase.
6018
6019 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6020
6021         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6022         fanotify_init returns EPERM.
6023
6024 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6025
6026         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6027         errors.
6028         (top level): Treat second token from macro or constant entries for
6029         allowed headers as allowed.
6030         * include/complex.h: Condition internal declarations on
6031         [!_ISOMAC].
6032         * include/fenv.h: Condition include of <stdbool.h> and internal
6033         declarations on [!_ISOMAC].
6034
6035 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6036
6037         [BZ #15923]
6038         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6039
6040 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6041
6042         * configure.in (--enable-versioning): Remove configure option.
6043         (libc_cv_asm_symver_directive): Remove configure test.
6044         (libc_cv_ld_version_script_option): Likewise.
6045         (VERSIONING): Remove variable and AC_SUBST.
6046         (DO_VERSIONING): Remove AC_DEFINE.
6047         * configure: Regenerated.
6048         * config.h.in (DO_VERSIONING): Remove macro.
6049         * Makerules [$(versioning) = yes]: Change conditionals to
6050         [$(build-shared) = yes].
6051         * config.make.in (versioning): Remove variable.
6052         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6053         [$(build-shared) = yes].
6054         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6055         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6056         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6057         [$(build-shared) = yes].
6058         * extra-lib.mk [$(versioning) = yes]: Likewise.
6059         * hurd/Makefile [$(versioning) = yes]: Likewise.
6060         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6061         [SHARED].
6062         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6063         [SHARED].
6064         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6065         [SHARED && !NO_HIDDEN].
6066         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6067         [SHARED].
6068         [SHARED && DO_VERSIONING]: Likewise..
6069         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6070         [$(build-shared) = yes].
6071         * manual/install.texi (--disable-versioning): Remove
6072         documentation.
6073         * INSTALL: Regenerated.
6074         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6075         to [SHARED].
6076         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6077         [$(build-shared) = yes].
6078         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6079         * sysdeps/i386/i686/multiarch/strstr-c.c
6080         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6081         [SHARED && !NO_HIDDEN].
6082         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6083         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6084         * sysdeps/powerpc/powerpc32/dl-machine.c
6085         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6086         * sysdeps/powerpc/powerpc32/sysdep.h
6087         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6088         to [SHARED && PIC && !NO_HIDDEN].
6089         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6090         conditional to [SHARED].
6091
6092 2013-09-04   Will Newton  <will.newton@linaro.org>
6093
6094         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6095         * benchtests/bench-string.h: Include bench-timing.h instead
6096         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6097         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6098         call to HP_TIMING_DIFF_INIT.
6099         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6100         instead of hp-timing.h macros.
6101         * benchtests/bench-memchr.c: Likewise.
6102         * benchtests/bench-memcmp.c: Likewise.
6103         * benchtests/bench-memcpy.c: Likewise.
6104         * benchtests/bench-memmem.c: Likewise.
6105         * benchtests/bench-memmove.c: Likewise.
6106         * benchtests/bench-memset.c: Likewise.
6107         * benchtests/bench-rawmemchr.c: Likewise.
6108         * benchtests/bench-strcasecmp.c: Likewise.
6109         * benchtests/bench-strcasestr.c: Likewise.
6110         * benchtests/bench-strcat.c: Likewise.
6111         * benchtests/bench-strchr.c: Likewise.
6112         * benchtests/bench-strcmp.c: Likewise.
6113         * benchtests/bench-strcpy.c: Likewise.
6114         * benchtests/bench-strcpy_chk.c: Likewise.
6115         * benchtests/bench-strlen.c: Likewise.
6116         * benchtests/bench-strncasecmp.c: Likewise.
6117         * benchtests/bench-strncat.c: Likewise.
6118         * benchtests/bench-strncmp.c: Likewise.
6119         * benchtests/bench-strncpy.c: Likewise.
6120         * benchtests/bench-strnlen.c: Likewise.
6121         * benchtests/bench-strpbrk.c: Likewise.
6122         * benchtests/bench-strrchr.c: Likewise.
6123         * benchtests/bench-strspn.c: Likewise.
6124         * benchtests/bench-strstr.c: Likewise.
6125
6126 2013-09-04  Will Newton  <will.newton@linaro.org>
6127
6128         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6129
6130 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6131
6132         [BZ #15427]
6133         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6134         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6135         * math/libm-test.inc (lgamma_test_data): Add more tests.
6136         * sysdeps/i386/fpu/libm-test-ulps: Update.
6137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6138
6139 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6140
6141         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6143         Add ifunc.
6144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6145         Add strcmp-sse2-unaligned
6146         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6147
6148 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6149
6150         * Versions.def (libc): Add GLIBC_2.19.
6151
6152 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6153
6154         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6155         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6156
6157 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6158
6159         [BZ #14155]
6160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6161         intermediate calculations in recurrence.
6162         (__ieee754_ynf): Likewise.
6163         * math/libm-test.inc (jn_test_data): Do not allow spurious
6164         underflow exception.  Add more tests.
6165         (yn_test_data): Add more tests.
6166         * sysdeps/i386/fpu/libm-test-ulps: Update.
6167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6168
6169 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6170
6171         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6172
6173 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6174
6175         * csu/init-first.c: Fix then/than typos.
6176         * locale/programs/ld-collate.c: Likewise.
6177         * locale/programs/linereader.h: Likewise.
6178         * manual/charset.texi: Likewise.
6179         * manual/filesys.texi: Likewise.
6180         * manual/stdio.texi: Likewise.
6181         * manual/string.texi: Likewise.
6182         * stdlib/fmtmsg.c: Likewise.
6183         * sysdeps/i386/stpncpy.S: Likewise.
6184         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6185         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6186         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6187         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6188
6189 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6190
6191         * elf/dl-open.c: Fix typos.
6192         * iconvdata/gbbig5.c: Likewise.
6193         * iconvdata/iso-2022-jp.c: Likewise.
6194         * iconv/gconv_int.h: Likewise.
6195         * iconv/loop.c: Likewise.
6196         * nis/rpcsvc/nis.h: Likewise.
6197         * resolv/ns_name.c: Likewise.
6198         * stdio-common/vfscanf.c: Likewise.
6199         * streams/stropts.h: Likewise.
6200         * sunrpc/rpc_thread.c: Likewise.
6201         * sysdeps/i386/strpbrk.S: Likewise.
6202         * sysdeps/ieee754/k_standard.c: Likewise.
6203         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6204         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6205         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6206         * sysdeps/mach/hurd/profil.c: Likewise.
6207         * sysdeps/s390/dl-procinfo.h: Likewise.
6208         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6209         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6210         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6211         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6213
6214 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6215
6216         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6218
6219 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6220
6221         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6222         aix specific files.
6223         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6224         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6226         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6227         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6228         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6229         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6230         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6231
6232 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6233             Roland McGrath  <roland@hack.frob.com>
6234
6235         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6236         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6237
6238 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6239
6240         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6241         __executable_start symbol instead of _start.
6242
6243 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6244
6245         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6246         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6247         Move macros to...
6248         * sysdeps/gnu/ldsodefs.h: ... this new file.
6249
6250         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6251         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6252         instead of ELFOSABI_LINUX.
6253
6254         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6255         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6256         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6257         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6258         Likewise.
6259         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6260         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6261         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6262         Likewise.
6263         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6264         (ibm_extended_long_double): Add ieee_nan member.
6265         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6266         (do_test): New function.
6267
6268         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6269         TEST_TRUNC.
6270         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6271         functions, renamed from truncdfsf_test, trunctfsf_test,
6272         trunctfdf_test.
6273         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6274         functions.
6275         (do_test): Run all these.
6276
6277 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6278
6279         * argp/argp-help.c: Fix typos.
6280         * argp/argp-parse.c: Likewise.
6281         * debug/backtracesyms.c: Likewise.
6282         * elf/elf.h: Likewise.
6283         * malloc/malloc.c: Likewise.
6284         * nis/nis_print.c: Likewise.
6285         * resolv/res_comp.c: Likewise.
6286         * stdlib/stdlib.h: Likewise.
6287         * sunrpc/clnt_tcp.c: Likewise.
6288         * sunrpc/clnt_udp.c: Likewise.
6289         * sunrpc/clnt_unix.c: Likewise.
6290         * sysdeps/unix/bsd/ptsname.c: Likewise.
6291         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6292         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6298         Likewise.
6299         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6300
6301 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6302
6303         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6305
6306 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6307
6308         [BZ #15897]
6309         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6310         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6311         ($(objpfx)bug-dl-leaf): New rule.
6312         ($(objpfx)bug-dl-leaf.so): Likewise.
6313         ($(objpfx)bug-dl-leaf.out): Likewise.
6314         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6315         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6316         * dlfcn/bug-dl-leaf.c: New test.
6317         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6318         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6319         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6320         (dlclose): Likewise.
6321         (dlmopen): Likewise.
6322
6323 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6324
6325         * include/netdb.h [!_ISOMAC]:
6326         Don't include <tls.h>.
6327         (h_errno, __libc_h_errno): Move declaration and macros out of
6328         [_LIBC_REENTRANT].
6329
6330         * include/resolv.h [_RESOLV_H_]:
6331         Don't include <tls.h>.
6332         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6333         * resolv/res_libc.c: Don't include <tls.h>.
6334         (_res): Use __attribute__ ((nocommon)) in place of
6335         __attribute__ ((section (".bss"))).
6336
6337         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6338         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6339
6340         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6341
6342         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6343         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6344
6345         * resolv/res_mkquery.c: Include <sys/time.h>.
6346
6347         * inet/ifreq.c: Moved to ...
6348         * sysdeps/unix/ifreq.c: ... here.
6349         * inet/ifreq.c: New file, true stub version.
6350
6351         * socket/sa_len.c: New file.
6352         * socket/Makefile (aux): Add it.
6353         * sysdeps/unix/sysv/linux/Makefile
6354         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6355         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6356         and #include <socket/sa_len.c>.
6357         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6358         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6359
6360         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6361         * bits/socket.h: ... here.
6362
6363         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6364         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6365         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6366
6367 2013-08-27  Andreas Schwab  <schwab@suse.de>
6368
6369         [BZ #15736]
6370         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6371         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6372         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6373         * string/test-strcasecmp.c (test_main): Run tests in several
6374         locales.
6375         * string/test-strncasecmp.c (test_main): Likewise.
6376
6377         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6378         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6379         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6380         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6381         (__strncasecmp_ssse3) [PIC]: Likewise.
6382
6383 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6384
6385         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6386
6387         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6388         instead of explicitly declaring xdecrypt.
6389         * nis/nss_nis/nis-publickey.c: Likewise.
6390
6391 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6392
6393         [BZ #15890]
6394         * nscd/aicache.c: Include res_hconf.h.
6395         (addhstaiX): Initialize res_hconf.
6396
6397 2013-08-26  Andreas Schwab  <schwab@suse.de>
6398
6399         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6400         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6401
6402 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6403
6404         * nscd/aicache.c (addhstaiX): Fix indentation.
6405
6406 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6407
6408         * configure.ac: Quote $build_pt_chown test.
6409         * configure: Regenerated.
6410
6411 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6412
6413         [BZ #15532]
6414         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6415         * math/s_cexpf.c (__cexpf): Likewise.
6416         * math/s_cexpl.c (__cexpl): Likewise.
6417         * math/libm-test.inc (cexp_test_data): Correct expected return
6418         value for NaN + i0.  Add another test.
6419
6420 2013-08-22  David S. Miller  <davem@davemloft.net>
6421
6422         * po/ca.po: Update Catalan translation from translation project.
6423         * po/uk.po: Add Ukrainian translations from translation project.
6424
6425 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6426
6427         [BZ #15797]
6428         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6429         is infinite, not alongside NaN test.
6430         * math/s_fdimf.c (__fdimf): Likewise.
6431         * math/s_fdiml.c (__fdiml): Likewise.
6432         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6433         errno is unchanged.
6434
6435 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6436
6437         * argp/argp-help.c: Fix typos.
6438         * crypt/speeds.c: Likewise.
6439         * csu/check_fds.c: Likewise.
6440         * elf/dl-load.c: Likewise.
6441         * elf/dl-open.c: Likewise.
6442         * elf/reldep3.c: Likewise.
6443         * elf/reldep.c: Likewise.
6444         * elf/sprof.c: Likewise.
6445         * iconv/iconv_charmap.c: Likewise.
6446         * iconv/skeleton.c: Likewise.
6447         * iconv/strtab.c: Likewise.
6448         * io/lockf64.c: Likewise.
6449         * libio/libioP.h: Likewise.
6450         * resolv/gai_notify.c: Likewise.
6451         * resolv/ns_name.c: Likewise.
6452         * resolv/ns_samedomain.c: Likewise.
6453         * resolv/res_send.c: Likewise.
6454         * stdlib/random.c: Likewise.
6455         * sunrpc/rpc/xdr.h: Likewise.
6456         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6457         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6458         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6459         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6460         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6461         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6463         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6464         * sysdeps/mach/hurd/check_fds.c: Likewise.
6465         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6466         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6468         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6469         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6470         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6471         * sysdeps/pthread/aio_notify.c: Likewise.
6472         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6473         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6474         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6475         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6476         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6477
6478 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6479
6480         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6481         version if bit_Slow_SSE4_2 is set.
6482         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6483         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6484
6485 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6486
6487         [BZ #15867]
6488         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6489         trampoline stack frame information.
6490         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6491         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6492         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6493         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6494         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6495         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6496         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6497         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6498         sa_flags value.
6499         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6500         interrupting a syscall and set with option SA_SIGINFO.
6501
6502 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6503
6504         [BZ #15531]
6505         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6506         argument is infinite.
6507         * math/s_cprojf.c (__cprojf): Likewise.
6508         * math/s_cprojl.c (__cprojl): Likewise.
6509         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6510         * math/libm-test.inc (cproj_test_data): Add more tests.
6511
6512         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6513
6514         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6515         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6516         size.  Use __ffs to determine corresponding shift.
6517
6518 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6519             Roland McGrath  <roland@hack.frob.com>
6520
6521         * Makefile (INSTALL): Remove trailing blank lines from output of
6522         makeinfo.
6523
6524 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6525
6526         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6527         Align 32 bit compat elf_greg to 8 bytes.
6528
6529 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6530
6531         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6532
6533 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6534
6535         * string/strcoll_l.c (coll_seq): New structure.
6536         (get_next_seq_cached): New function.
6537         (get_next_seq): New function.
6538         (do_compare): New function.
6539         (STRCOLL): Use GNU style definition.  Simplify implementation
6540         by using get_next_seq, get_next_seq_cached and do_compare.
6541
6542 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6543
6544         [BZ #14699]
6545         CVE-2013-4237
6546         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6547         member.
6548         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6549         member.
6550         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6551         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6552         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6553         conditional.
6554         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6555         GETDENTS_64BIT_ALIGNED.
6556         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6557         * manual/filesys.texi (Reading/Closing Directory): Document
6558         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6559         strongly.
6560         * manual/conf.texi (Limits for Files): Add portability note to
6561         NAME_MAX, PATH_MAX.
6562         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6563
6564 2013-08-13  Andreas Schwab  <schwab@suse.de>
6565
6566         [BZ #15749]
6567         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6568         of fabs.
6569         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6570         LDBL_MAX_EXP >= 16384]: Add tests for it.
6571
6572 2013-08-12  David S. Miller  <davem@davemloft.net>
6573
6574         * version.h (RELEASE): Set to "development".
6575         (VERSION): Set to "2.18.90".
6576         * NEWS: Add 2.19 section.
6577
6578 2013-08-03  David S. Miller  <davem@davemloft.net>
6579
6580         * po/ko.po: Update Korean translation from translation project.
6581
6582 2013-08-01  David S. Miller  <davem@davemloft.net>
6583
6584         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6585         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6586         Bilka.
6587
6588 2013-07-30  David S. Miller  <davem@davemloft.net>
6589
6590         * po/fr.po: Update French translation from translation project.
6591
6592 2013-07-28  David S. Miller  <davem@davemloft.net>
6593
6594         * po/cs.po: Update Czech translation from translation project.
6595
6596         * po/sv.po: Update Swedish translation from translation project.
6597
6598 2013-07-27  David S. Miller  <davem@davemloft.net>
6599
6600         * po/eo.po: Update Esperanto translation from translation project.
6601
6602         * po/vi.po: Update Vietnamese translation from translation project.
6603
6604         * po/de.po: Update German translation from translation project.
6605
6606 2013-07-26  David S. Miller  <davem@davemloft.net>
6607
6608         * po/bg.po: Update Bulgarian translation from translation project.
6609
6610         * po/nl.po: Update Dutch translation from translation project.
6611         * po/pl.po: Update Polish translation from translation project.
6612         * po/ru.po: Update Russian translation from translation project.
6613
6614 2013-07-24  David S. Miller  <davem@davemloft.net>
6615
6616         * po/libc.pot: Update.
6617
6618 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6619
6620         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6621         variable page size.
6622         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6623         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6624         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6625
6626 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6627
6628         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6629
6630 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6631             Andreas Schwab  <schwab@suse.de>
6632             Roland McGrath  <roland@hack.frob.com>
6633             Joseph Myers  <joseph@codesourcery.com>
6634             Carlos O'Donell  <carlos@redhat.com>
6635
6636         [BZ #15755]
6637         * config.h.in: Define HAVE_PT_CHOWN.
6638         * config.make.in (build-pt-chown): New variable.
6639         * configure.in (--enable-pt_chown): New configure option.
6640         * configure: Regenerate.
6641         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6642         build-pt-chown is enabled.
6643         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6644         pt_chown to fix pty ownership.
6645         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6646         CLOSE_ALL_FDS.
6647         * manual/install.texi (Configuring and compiling): Mention
6648         --enable-pt_chown. Add @findex for grantpt.
6649         * INSTALL: Regenerate.
6650
6651 2013-07-20  David S. Miller  <davem@davemloft.net>
6652
6653         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6654         difference between 32-bit and 64-bit.
6655
6656 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6657
6658         [BZ #15711]
6659         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6660         Avoid system header dependency with -ffreestanding.
6661         ($(objpfx)bits/syscall%d): Likewise.
6662
6663 2013-07-13  David S. Miller  <davem@davemloft.net>
6664
6665         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6666         underflows from atanl/atan2l due to bug 15319.
6667         (casinh_test_data): Likewise.
6668
6669 2013-07-07  David S. Miller  <davem@davemloft.net>
6670
6671         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6672
6673 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6674
6675         * sysdeps/i386/fpu/libm-test-ulps: Update.
6676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6677
6678 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679
6680         * configure.in (--enable-lock-elision): Fix message text.
6681         * INSTALL: Regenerate.
6682         * configure: Regenerate.
6683
6684 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6685
6686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6687
6688 2013-07-03  Andreas Jaeger  <aj@suse.de>
6689
6690         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6691         define.
6692         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6693         (ptrace_peeksiginfo_args): Add.
6694         (__ptrace_peeksiginfo_flags): Add.
6695         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6697         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6698
6699 2013-07-03  Allan McRae  <allan@archlinux.org>
6700
6701         * sysdeps/i386/fpu/libm-test-ulps: Update.
6702
6703 2013-07-02  David S. Miller  <davem@davemloft.net>
6704
6705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6706
6707 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6708
6709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6710
6711 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6712
6713         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6715
6716 2013-07-02  Andi Kleen <ak@linux.intel.com>
6717
6718         * config.h.in (ENABLE_LOCK_ELISION): Add.
6719         * configure.in (--enable-lock-elision): Add option.
6720         * manual/install.texi: Document --enable lock elision.
6721         * configure: Regenerate
6722         * INSTALL: Regenerate.
6723
6724 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6725
6726         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6727         SSE4.2 strcasecmp for libc.a.
6728         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6729
6730 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6731
6732         [BZ #13304]
6733         * soft-fp/op-common.h (_FP_FMA): New macro.
6734         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6735         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6736         (_FP_MUL_MEAT_1_imm): ... here.
6737         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6738         (_FP_MUL_MEAT_1_wide): ... here.
6739         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6740         (_FP_MUL_MEAT_1_hard): ... here.
6741         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6742         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6743         (_FP_MUL_MEAT_2_wide): ... here.
6744         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6745         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6746         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6747         (_FP_MUL_MEAT_2_gmp): ... here.
6748         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6749         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6750         (_FP_MUL_MEAT_4_wide): ... here.
6751         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6752         (_FP_MUL_MEAT_4_gmp): ... here.
6753         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6754         (_FP_WFRACBITS_DW_S): Likewise.
6755         (_FP_WFRACXBITS_DW_S): Likewise.
6756         (_FP_HIGHBIT_DW_S): Likewise.
6757         (FP_FMA_S): Likewise.
6758         (_FP_FRAC_HIGH_DW_S): Likewise.
6759         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6760         (_FP_WFRACBITS_DW_D): Likewise.
6761         (_FP_WFRACXBITS_DW_D): Likewise.
6762         (_FP_HIGHBIT_DW_D): Likewise.
6763         (FP_FMA_D): Likewise.
6764         (_FP_FRAC_HIGH_DW_D): Likewise.
6765         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6766         (_FP_WFRACBITS_DW_E): Likewise.
6767         (_FP_WFRACXBITS_DW_E): Likewise.
6768         (_FP_HIGHBIT_DW_E): Likewise.
6769         (FP_FMA_E): Likewise.
6770         (_FP_FRAC_HIGH_DW_E): Likewise.
6771         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6772         (_FP_WFRACBITS_DW_Q): Likewise.
6773         (_FP_WFRACXBITS_DW_Q): Likewise.
6774         (_FP_HIGHBIT_DW_Q): Likewise.
6775         (FP_FMA_Q): Likewise.
6776         (_FP_FRAC_HIGH_DW_Q): Likewise.
6777         * soft-fp/fmasf4.c: New file.
6778         * soft-fp/fmadf4.c: Likewise.
6779         * soft-fp/fmatf4.c: Likewise.
6780
6781 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6782
6783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6784         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6785         Silvermont.
6786         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6787         macro.
6788         (index_Slow_SSE4_2): Likewise.
6789         (index_Prefer_PMINUB_for_stringop): Likewise.
6790         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6791         bit_Slow_SSE4_2 is set.
6792         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6793         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6794
6795 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6796
6797         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6798         rtld_global._dl_hwcap2.
6799         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6800         POWER8.
6801         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6802         POWER8 feature descriptions defined in _dl_hwcap2.
6803         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6804         string handling for POWER8 feature bits.
6805         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6806         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6807         _dl_powerpc_cap_flags.
6808         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6809         * sysdeps/powerpc/rtld-global-offsets.sym
6810         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6811         _dl_hwcap2 in the rtld_global_ro structure.
6812
6813 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6814
6815         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6816         hardware capabilities in support of AT_HWCAP2.
6817         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6818         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6819         GLRO(dl_hwcap2).
6820         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6821         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6822         explicitly the unknown a_type display mechanism is used.
6823         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6824         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6825         struct member.
6826         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6827         to macro prototype for AT_HWCAP2 support.
6828         * sysdeps/i386/dl-procinfo.h: Likewise.
6829         * sysdeps/s390/dl-procinfo.h: Likewise.
6830         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6831         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6832         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6833         return -1 for unknown a_type display fallback.
6834         * sysdeps/sparc/dl-procinfo.h: Likewise.
6835         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6836         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6837
6838 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6839
6840         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6841         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6842
6843 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6844
6845         [BZ #12492]
6846         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6847         mprotect making __stack_prot writable.
6848
6849 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6850             Joseph Myers  <joseph@codesourcery.com>
6851
6852         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6853         as being properly aligned.
6854
6855 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6856
6857         * dlfcn/modstatic5.c: New file.
6858         * dlfcn/tststatic5.c: New file.
6859         * dlfcn/Makefile (tests): Add tststatic5.
6860         (tests-static): Likewise.
6861         (modules-names): Add modstatic5.
6862         (tststatic5-ENV): New variable.
6863         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6864
6865         [BZ #15022]
6866         * elf/dl-support.c (_dl_main_map): New variable.
6867         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6868         (_dl_nns, _dl_load_adds): Set to 1.
6869         (_dl_initial_searchlist): Refer to _dl_main_map.
6870         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6871         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6872         call to _dl_get_origin.
6873         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6874         around call_map.
6875         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6876         * dlfcn/modstatic3.c: New file.
6877         * dlfcn/tststatic3.c: New file.
6878         * dlfcn/tststatic4.c: New file.
6879         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6880         (tests-static): Likewise.
6881         (modules-names): Add modstatic3.
6882         (tststatic3-ENV, tststatic4-ENV): New variables.
6883         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6884         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6885
6886 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6887
6888         * configure.in (CC): Require GCC version 4.4 or later.
6889         * configure: Regenerated.
6890         * manual/install.texi (Tools for Compilation): Update GCC version
6891         requirement.
6892         * INSTALL: Regenerated.
6893
6894 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6895
6896         [BZ #15674]
6897         * string/test-memcmp.c (check2): New.
6898         (main): Call check2.
6899
6900         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6901
6902 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6903
6904         [BZ #15022]
6905         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6906         over to...
6907         (dl_open_worker) [!SHARED]: ... here.
6908
6909 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6910
6911         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6912
6913 2013-06-25  Richard Henderson  <rth@redhat.com>
6914
6915         * locale/programs/locarchive.c: Include <libc-internal.h>
6916
6917 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6918
6919         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6920         trailing whitespace removed.
6921
6922 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6923
6924         [BZ #10283]
6925         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6926         * locale/programs/locarchive.c: Include libc-mmap.h.
6927         (prepare_address_space): Take two new outputs (the mmap base and len).
6928         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6929         values.
6930         (create_archive): Declare new mmap base and len values for
6931         prepare_address_space, and store the result in ah.
6932         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6933         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6934         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6935         Declare new mmap base and len values for
6936         prepare_address_space, and store the result in new_ah.
6937         (open_archive): Declare new mmap base and len values for
6938         prepare_address_space, and store the result in ah.
6939         (close_archive): If ah->mmap_base is not NULL, use that and
6940         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6941         * sysdeps/generic/libc-mmap.h: New file.
6942
6943 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6944
6945         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6946         (ALIGN_UP): Likewise.
6947         (PTR_ALIGN_DOWN): Likewise.
6948         (PTR_ALIGN_UP): Likewise.
6949
6950 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6951
6952         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6953         entry mapped to PPC_PLATFORM_POWER8.
6954         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6955         POWER8.
6956         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6957         (_dl_string_platform): Add case for exporting platform position for
6958         POWER8.
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6960         search path to sysdeps/powerpc/powerpc32/power8 directory.
6961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6962         search path to sysdeps/powerpc/powerpc64/power8 directory.
6963         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6964         power7 directories.
6965         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6966         power7 directories.
6967
6968 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6969
6970         * INSTALL: Regenerate.
6971
6972         * nscd/connections.c (nscd_init): Fix comment.
6973
6974 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6975
6976         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6977
6978         [BZ #15667]
6979         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6980         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6981
6982 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6983
6984         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6985         DL_DST_REQ_STATIC.
6986         (DL_DST_REQ_STATIC): Remove macro.
6987
6988 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6989
6990         [BZ #7006]
6991         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6992         with a shift of 0 bits.
6993
6994 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6995
6996         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6997         $(tststatic-ENV).
6998
6999 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7000
7001         [BZ #15655]
7002         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7003
7004 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7005
7006         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7007         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7008         accepts -fno-tree-loop-distribute-patterns.
7009         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7010         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7011         recursive call.
7012         * string/memset.c (memset): Likewise.
7013         * string/test-memmove.c (simple_memmove): Disable loop transformation
7014         to library calls.
7015         * string/test-memset.c (simple_memset): Likewise.
7016         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7017         * benchtests/bench-memset.c (simple_memset): Likewise.
7018         * configure: Regenerated.
7019
7020 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7021
7022         * math/test-misc.c (main): Ignore fesetround failure when failures
7023         of subsequent rounding tests would be ignored.
7024
7025         [BZ #15654]
7026         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7027         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7028         * math/fegetenv.c (__fegetenv): Return 0.
7029         * math/fegetexcept.c (fegetexcept): Return 0.
7030         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7031         FE_TONEAREST.
7032         * math/feholdexcpt.c (feholdexcept): Return 0.
7033         * math/fesetenv.c (__fesetenv): Return 0.
7034         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7035         argument FE_TONEAREST.
7036         * math/feupdateenv.c (__feupdateenv): Return 0.
7037         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7038
7039 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7040
7041         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7042         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7043         ($(objpfx)rtld-%.os rules): Use them.
7044
7045 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7046
7047         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7048         fields.
7049
7050 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7051
7052         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7053         length of target pattern, then descending length of dependency pattern.
7054         * configure.in (AWK): Require gawk 3.1.2 or newer.
7055         * manual/install.texi (Tools for Compilation): Say that we do.
7056         * configure: Regenerated.
7057
7058         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7059         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7060         * scripts/sysd-rules.awk: ... this new script.
7061         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7062         than a glob-style pattern.
7063
7064 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7065
7066         * math/test-misc.c (main): Do not treat incorrectly rounded
7067         conversions as failure unless ROUNDING_TESTS passes.
7068
7069 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7070
7071         [BZ #15631]
7072         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7073         restore exception state around main square root computation, then
7074         check for inexactness explicitly.
7075
7076         * math/libm-test.inc (fma_test_data): Add another test.
7077
7078 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7079
7080         * manual/threads.texi (Non-POSIX Extensions): New document
7081         node.  Document pthread_getattr_default_np and
7082         pthread_setattr_default_np.
7083
7084         * Versions.def (libpthread): Add GLIBC_2.18.
7085         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7087         Likewise.
7088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7089         Likewise.
7090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7091         Likewise.
7092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7093         Likewise.
7094         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7095         Likewise.
7096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7097         Likewise.
7098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7099         Likewise.
7100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7101         Likewise.
7102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7103         Likewise.
7104
7105 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7106
7107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7108         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7109
7110 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7111             H.J. Lu  <hjl.tools@gmail.com>
7112
7113         [BZ #15627]
7114         * sysdeps/x86_64/rtld-memset.c: Remove file.
7115         * sysdeps/x86_64/rtld-memset.S: New file.
7116
7117 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7118
7119         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7120         (test_in_one_mode): Take arguments for whether the rounding mode
7121         is supported for each floating-point type.
7122         (do_test): Pass new arguments to test_in_one_mode using
7123         ROUNDING_TESTS.
7124
7125 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7126
7127         * posix/tst-waitid.c (do_test): Distinguish different instances of
7128         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7129         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7130         before entering the kernel for waitpid.
7131
7132 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7133
7134         * NEWS: Fix note on clock function precision.  Text by Roland
7135         McGrath.
7136
7137 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7138
7139         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7140         it into place only when and if the sanity check passes.
7141
7142 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7143
7144         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7145         output for whether conversion result is exact.  Take argument
7146         indicating whether type is IBM long double.
7147         (round_for_all): Change need_exact field to ibm_ld.
7148         * stdlib/tst-strtod-round.c (struct exactness): New type.
7149         (struct test): Change bool ld_ok field to struct exactness exact.
7150         (TEST): Update all definitions for change to field.
7151         (tests): Regenerate array contents.
7152         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7153         field value.  Check for IBM long double here.
7154         (do_test): Update calls to test_in_one_mode.
7155
7156 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7157
7158         [BZ #12515]
7159         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7160         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7161
7162 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7163
7164         [BZ #15605]
7165         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7166         generated by the compiler on loop optimizations.
7167         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7168         general definitions.
7169
7170 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7171
7172         * math/bug-nextafter.c: Include <math-tests.h>.
7173         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7174         the relevant type.
7175         * math/bug-nexttoward.c: Include <math-tests.h>.
7176         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7177         the relevant type.
7178         * math/test-misc.c: Include <math-tests.h>.
7179         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7180         the relevant type.
7181
7182 2013-06-12  Andreas Jaeger  <aj@suse.de>
7183
7184         * po/ia.po: Update Interlingua translation from translation
7185         project.
7186
7187 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7188
7189         * include/fenv.h: Include stdbool.h.
7190         (struct rm_ctx): New structure.
7191         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7192         Define macro.
7193         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7194         (SET_RESTORE_ROUNDF): Likewise.
7195         (SET_RESTORE_ROUNDL): Likewise.
7196         (SET_RESTORE_ROUND_NOEX): Likewise.
7197         (SET_RESTORE_ROUND_NOEXF): Likewise.
7198         (SET_RESTORE_ROUND_NOEXL): Likewise.
7199         (SET_RESTORE_ROUND_53BIT): Likewise.
7200         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7201         (libc_feresetround_noexf_ctx): Likewise.
7202         (libc_feresetround_noexl_ctx): Likewise.
7203         (libc_feholdsetround_53bit_ctx): Likewise.
7204         (libc_feresetround_53bit_ctx): Likewise.
7205         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7206         (libc_feholdexcept_setround_sse_ctx): New function.
7207         (libc_fesetenv_sse_ctx): Likewise.
7208         (libc_feupdateenv_sse_ctx): Likewise.
7209         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7210         (libc_feholdexcept_setround_387_ctx): Likewise.
7211         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7212         (libc_feholdsetround_387_prec_ctx): Likewise.
7213         (libc_feholdsetround_387_ctx): Likewise.
7214         (libc_feholdsetround_387_53bit_ctx): Likewise.
7215         (libc_feholdsetround_sse_ctx): Likewise.
7216         (libc_feresetround_sse_ctx): Likewise.
7217         (libc_feresetround_387_ctx): Likewise.
7218         (libc_feupdateenv_387_ctx): Likewise.
7219         (libc_feholdexcept_setroundf_ctx): Define macro.
7220         (libc_fesetenvf_ctx): Likewise.
7221         (libc_feupdateenvf_ctx): Likewise.
7222         (libc_feholdsetroundf_ctx): Likewise.
7223         (libc_feresetroundf_ctx): Likewise.
7224         (libc_feholdexcept_setround_ctx): Likewise.
7225         (libc_fesetenv_ctx): Likewise.
7226         (libc_feupdateenv_ctx): Likewise.
7227         (libc_feholdsetround_ctx): Likewise.
7228         (libc_feresetround_ctx): Likewise.
7229         (libc_feholdexcept_setroundl_ctx): Likewise.
7230         (libc_feupdateenvl_ctx): Likewise.
7231         (libc_feholdsetroundl_ctx): Likewise.
7232         (libc_feresetroundl_ctx): Likewise.
7233         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7234         (libc_feresetround_53bit_ctx): Likewise.
7235
7236 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7237
7238         * locale/iso-639.def: Convert to UTF-8.
7239
7240 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7241
7242         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7243         (EXCEPTION_TESTS_double): Likewise.
7244         (EXCEPTION_TESTS_long_double): Likewise.
7245         (EXCEPTION_TESTS): Likewise.
7246         * math/libm-test.inc (test_exceptions): Only test exceptions if
7247         EXCEPTION_TESTS (FLOAT).
7248
7249 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7250
7251         * benchtests/Makefile (string-bench): Add strcpy_chk and
7252         stpcpy_chk.
7253         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7254         * benchtests/bench-stpcpy_chk.c: New file.
7255         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7256         * benchtests/bench-strcpy_chk.c: New file.
7257         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7258         code.
7259         (do_test): Likewise.
7260
7261 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7262
7263         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7264         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7265         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7266         with tabs where appropriate.
7267         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7268         dl-procinfo.h.
7269         [PPC_PLATFORM_PPC440]: Likewise.
7270         [PPC_PLATFORM_PPC464]: Likewise.
7271         [PPC_PLATFORM_PPC476]: Likewise.
7272         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7273         ppc464, and ppc476 platform strings merging from ports/
7274         dl-procinfo.h.
7275
7276 2013-06-11  Andreas Schwab  <schwab@suse.de>
7277
7278         [BZ #14991]
7279         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7280         (from_ucs4_idx): Regenerate.
7281         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7282         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7283         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7284         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7285         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7286         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7287         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7288         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7289         from FROM_LOOP and TO_LOOP specific macros.
7290         (BODY): Handle combining characters.
7291         * iconvdata/BIG5HKSCS.irreversible: Update.
7292         * iconvdata/BIG5HKSCS.precomposed: New file.
7293         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7294         characters.
7295         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7296
7297 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7298
7299         * include/sys/time.h: Fix indentation and add copyright header.
7300
7301         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7302         (do_test): Likewise.
7303         * string/test-memchr.c (do_one_test): Likewise.
7304         (do_test): Likewise.
7305         * string/test-memcmp.c (do_one_test): Likewise.
7306         (do_test): Likewise.
7307         * string/test-memcpy.c (do_one_test): Likewise.
7308         (do_test): Likewise.
7309         * string/test-memmem.c (do_one_test): Likewise.
7310         (do_test): Likewise.
7311         (do_random_tests): Likewise.
7312         * string/test-memmove.c (do_one_test): Likewise.
7313         (do_test): Likewise.
7314         * string/test-memset.c (do_one_test): Likewise.
7315         (do_test): Likewise.
7316         * string/test-rawmemchr.c (do_one_test): Likewise.
7317         (do_test): Likewise.
7318         * string/test-strcasecmp.c (do_one_test): Likewise.
7319         (do_test): Likewise.
7320         * string/test-strcasestr.c (do_one_test): Likewise.
7321         (do_test): Likewise.
7322         * string/test-strcat.c (do_one_test): Likewise.
7323         (do_test): Likewise.
7324         * string/test-strchr.c (do_one_test): Likewise.
7325         (do_test): Likewise.
7326         * string/test-strcmp.c (do_one_test): Likewise.
7327         (do_test): Likewise.
7328         * string/test-strcpy.c (do_one_test): Likewise.
7329         (do_test): Likewise.
7330         * string/test-string.h: Likewise.
7331         (test_init): Likewise.
7332         * string/test-strlen.c (do_one_test): Likewise.
7333         (do_test): Likewise.
7334         * string/test-strncasecmp.c (do_one_test): Likewise.
7335         (do_test): Likewise.
7336         * string/test-strncat.c (do_one_test): Likewise.
7337         (do_test): Likewise.
7338         * string/test-strncmp.c (do_one_test): Likewise.
7339         (do_test_limit): Likewise.
7340         (do_test): Likewise.
7341         * string/test-strncpy.c (do_one_test): Likewise.
7342         (do_test): Likewise.
7343         * string/test-strnlen.c (do_one_test): Likewise.
7344         (do_test): Likewise.
7345         * string/test-strpbrk.c (do_one_test): Likewise.
7346         (do_test): Likewise.
7347         * string/test-strrchr.c (do_one_test): Likewise.
7348         (do_test): Likewise.
7349         * string/test-strspn.c (do_one_test): Likewise.
7350         (do_test): Likewise.
7351         * string/test-strstr.c (do_one_test): Likewise.
7352         (do_test): Likewise.
7353
7354         * benchtests/Makefile (string-bench): Add string benchmarks.
7355         * benchtests/bench-bcopy-ifunc.c: New file.
7356         * benchtests/bench-bcopy.c: New file.
7357         * benchtests/bench-bzero-ifunc.c: New file.
7358         * benchtests/bench-bzero.c: New file.
7359         * benchtests/bench-memccpy-ifunc.c: New file.
7360         * benchtests/bench-memccpy.c: New file.
7361         * benchtests/bench-memchr-ifunc.c: New file.
7362         * benchtests/bench-memchr.c: New file.
7363         * benchtests/bench-memcmp-ifunc.c: New file.
7364         * benchtests/bench-memcmp.c: New file.
7365         * benchtests/bench-memmem-ifunc.c: New file.
7366         * benchtests/bench-memmem.c: New file.
7367         * benchtests/bench-memmove-ifunc.c: New file.
7368         * benchtests/bench-memmove.c: New file.
7369         * benchtests/bench-mempcpy-ifunc.c: New file.
7370         * benchtests/bench-mempcpy.c: New file.
7371         * benchtests/bench-memset-ifunc.c: New file.
7372         * benchtests/bench-memset.c: New file.
7373         * benchtests/bench-rawmemchr-ifunc.c: New file.
7374         * benchtests/bench-rawmemchr.c: New file.
7375         * benchtests/bench-stpcpy-ifunc.c: New file.
7376         * benchtests/bench-stpcpy.c: New file.
7377         * benchtests/bench-stpncpy-ifunc.c: New file.
7378         * benchtests/bench-stpncpy.c: New file.
7379         * benchtests/bench-strcasecmp-ifunc.c: New file.
7380         * benchtests/bench-strcasecmp.c: New file.
7381         * benchtests/bench-strcasestr-ifunc.c: New file.
7382         * benchtests/bench-strcasestr.c: New file.
7383         * benchtests/bench-strcat-ifunc.c: New file.
7384         * benchtests/bench-strcat.c: New file.
7385         * benchtests/bench-strchr-ifunc.c: New file.
7386         * benchtests/bench-strchr.c: New file.
7387         * benchtests/bench-strchrnul-ifunc.c: New file.
7388         * benchtests/bench-strchrnul.c: New file.
7389         * benchtests/bench-strcmp-ifunc.c: New file.
7390         * benchtests/bench-strcmp.c: New file.
7391         * benchtests/bench-strcpy-ifunc.c: New file.
7392         * benchtests/bench-strcpy.c: New file.
7393         * benchtests/bench-strcspn-ifunc.c: New file.
7394         * benchtests/bench-strcspn.c: New file.
7395         * benchtests/bench-strlen-ifunc.c: New file.
7396         * benchtests/bench-strlen.c: New file.
7397         * benchtests/bench-strncasecmp-ifunc.c: New file.
7398         * benchtests/bench-strncasecmp.c: New file.
7399         * benchtests/bench-strncat-ifunc.c: New file.
7400         * benchtests/bench-strncat.c: New file.
7401         * benchtests/bench-strncmp-ifunc.c: New file.
7402         * benchtests/bench-strncmp.c: New file.
7403         * benchtests/bench-strncpy-ifunc.c: New file.
7404         * benchtests/bench-strncpy.c: New file.
7405         * benchtests/bench-strnlen-ifunc.c: New file.
7406         * benchtests/bench-strnlen.c: New file.
7407         * benchtests/bench-strpbrk-ifunc.c: New file.
7408         * benchtests/bench-strpbrk.c: New file.
7409         * benchtests/bench-strrchr-ifunc.c: New file.
7410         * benchtests/bench-strrchr.c: New file.
7411         * benchtests/bench-strspn-ifunc.c: New file.
7412         * benchtests/bench-strspn.c: New file.
7413         * benchtests/bench-strstr-ifunc.c: New file.
7414         * benchtests/bench-strstr.c: New file.
7415
7416         * benchtests/Makefile: Disable parallel execution of targets.
7417         (string-bench): Add memcpy.
7418         (benchset): New variable to store a list of benchmark sets.
7419         (bench-func): Renamed from bench.
7420         (bench-set): New target.
7421         (bench): Depend on bench-func and bench-set.
7422         * benchtests/README: Add section on benchmark sets.
7423         * benchtests/bench-memcpy-ifunc.c: New file.
7424         * benchtests/bench-memcpy.c: New file.
7425         * benchtests/bench-string.h: New file.
7426
7427 2013-06-11  Andreas Schwab  <schwab@suse.de>
7428
7429         [BZ #15577]
7430         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7431         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7432         values in the triple.
7433         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7434         terminator in the group key.
7435
7436 2013-06-11  Andreas Jaeger  <aj@suse.de>
7437
7438         * po/zh_TW.po: Update Chinese (traditional) translation from
7439         translation project.
7440
7441 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7442
7443         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7444         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7445         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7446         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7447         (clock_getcpuclockid): Likewise.
7448         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7449         Add weak_alias and libc_hidden_def.
7450         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7451         * rt/clock_gettime.c (clock_gettime): Rename to
7452         __clock_gettime.  Add weak_alias and libc_hidden_def.
7453         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7454         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7455         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7456         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7457         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7458         Likewise.
7459         * rt/clock_settime.c (clock_settime): Rename to
7460         __clock_settime.  Add weak_alias and libc_hidden_def.
7461         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7462
7463 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7464
7465         * mach/err_boot.sub: Remove trailing whitespace.
7466         * mach/err_ipc.sub: Likewise.
7467         * mach/err_mach.sub: Likewise.
7468
7469         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7470         (ROUNDING_TESTS_double): Likewise.
7471         (ROUNDING_TESTS_long_double): Likewise.
7472         (ROUNDING_TESTS): Likewise.
7473         * math/libm-test.inc: Include <math-tests.h>.
7474         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7475         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7476         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7477         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7478
7479 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7480
7481         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7482         of assigning.
7483
7484 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7485
7486         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7487         otherwise empty TRANS lines.
7488         * sysdeps/gnu/errlist.c: Regenerated.
7489
7490         * catgets/gencat.c (error_print): Use (void) in function
7491         definition.
7492         * crypt/crypt_util.c (__init_des): Likewise.
7493         * crypt/speeds.c (Stop): Likewise.
7494         (main): Likewise.
7495         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7496         * inet/ruserpass.c (token): Likewise.
7497         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7498         * intl/localealias.c (extend_alias_table): Likewise.
7499         * intl/plural-exp.c (init_germanic_plural): Likewise.
7500         * libio/fcloseall.c (__fcloseall): Likewise.
7501         * libio/genops.c (_IO_flush_all): Likewise.
7502         (_IO_flush_all_linebuffered): Likewise.
7503         (_IO_cleanup): Likewise.
7504         (_IO_iter_begin): Likewise.
7505         (_IO_iter_end): Likewise.
7506         (_IO_list_lock): Likewise.
7507         (_IO_list_unlock): Likewise.
7508         (_IO_list_resetlock): Likewise.
7509         * libio/getchar.c (getchar): Likewise.
7510         * libio/getchar_u.c (getchar_unlocked): Likewise.
7511         * libio/getwchar.c (getwchar): Likewise.
7512         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7513         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7514         * login/getpt.c (__getpt): Likewise.
7515         * login/tst-utmp.c (main): Likewise.
7516         * malloc/hooks.c (__malloc_check_init): Likewise.
7517         * malloc/malloc.c (__malloc_stats): Likewise.
7518         * malloc/mtrace.c (tr_break): Likewise.
7519         (mtrace): Likewise.
7520         (muntrace): Likewise.
7521         * misc/fstab.c (endfsent): Likewise.
7522         * misc/getclktck.c (__getclktck): Likewise.
7523         * misc/getdtsz.c (__getdtablesize): Likewise.
7524         * misc/gethostid.c (gethostid): Likewise.
7525         * misc/getpagesize.c (__getpagesize): Likewise.
7526         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7527         (__get_nprocs): Likewise.
7528         (__get_phys_pages): Likewise.
7529         (__get_avphys_pages): Likewise.
7530         * misc/getttyent.c (getttyent): Likewise.
7531         (setttyent): Likewise.
7532         (endttyent): Likewise.
7533         * misc/getusershell.c (getusershell): Likewise.
7534         (endusershell): Likewise.
7535         (setusershell): Likewise.
7536         (initshells): Likewise.
7537         * misc/hsearch.c (__hdestroy): Likewise.
7538         * misc/sync.c (sync): Likewise.
7539         * misc/syslog.c (closelog_internal): Likewise.
7540         (closelog): Likewise.
7541         * misc/ttyslot.c (ttyslot): Likewise.
7542         * misc/vhangup.c (vhangup): Likewise.
7543         * posix/fork.c (__fork): Likewise.
7544         * posix/getegid.c (__getegid): Likewise.
7545         * posix/geteuid.c (__geteuid): Likewise.
7546         * posix/getgid.c (__getgid): Likewise.
7547         * posix/getpid.c (__getpid): Likewise.
7548         * posix/getppid.c (__getppid): Likewise.
7549         * posix/getuid.c (__getuid): Likewise.
7550         * posix/pause.c (pause): Likewise.
7551         * posix/setpgrp.c (setpgrp): Likewise.
7552         * posix/setsid.c (__setsid): Likewise.
7553         * posix/test-vfork.c (noop): Likewise.
7554         * resolv/gethnamaddr.c (_endhtent): Likewise.
7555         (_gethtent): Likewise.
7556         (ht_endhostent): Likewise.
7557         (gethostent): Likewise.
7558         (dns_service): Likewise.
7559         * stdlib/drand48.c (drand48): Likewise.
7560         * stdlib/lrand48.c (lrand48): Likewise.
7561         * stdlib/mrand48.c (mrand48): Likewise.
7562         * stdlib/rand.c (rand): Likewise.
7563         * stdlib/random.c (__random): Likewise.
7564         * stdlib/setenv.c (clearenv): Likewise.
7565         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7566         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7567         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7568         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7569         (__get_nprocs): Likewise.
7570         (__get_phys_pages): Likewise.
7571         (__get_avphys_pages): Likewise.
7572         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7573         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7574         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7575         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7576         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7577         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7578         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7579         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7580         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7581         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7582         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7583         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7584         * sysdeps/posix/clock.c (clock): Likewise.
7585         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7586         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7587         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7588         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7589         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7590         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7591         (__get_nprocs_conf): Likewise.
7592         (__get_phys_pages): Likewise.
7593         (__get_avphys_pages): Likewise.
7594         * time/clock.c (clock): Likewise.
7595         * time/tzset.c (__tzname_max): Likewise.
7596
7597 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7598
7599         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7600         (__bswap_32): Do not use "register".
7601         * crypt/crypt.c (_ufc_doit_r): Likewise.
7602         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7603         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7604         * gmon/gmon.c (__monstartup): Likewise.
7605         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7606         * hurd/hurdmalloc.c (more_memory): Likewise.
7607         (malloc): Likewise.
7608         (free): Likewise.
7609         (realloc): Likewise.
7610         (malloc_fork_prepare): Likewise.
7611         (malloc_fork_parent): Likewise.
7612         (malloc_fork_child): Likewise.
7613         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7614         (_svcauth_des): Likewise.
7615         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7616         * inet/inet_net.c (inet_network): Likewise.
7617         * inet/inet_netof.c (inet_netof): Likewise.
7618         * inet/rcmd.c (__validuser2_sa): Likewise.
7619         * io/fts.c (fts_open): Likewise.
7620         (fts_load): Likewise.
7621         (fts_close): Likewise.
7622         (fts_read): Likewise.
7623         (fts_children): Likewise.
7624         (fts_build): Likewise.
7625         (fts_stat): Likewise.
7626         (fts_sort): Likewise.
7627         (fts_alloc): Likewise.
7628         (fts_lfree): Likewise.
7629         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7630         (_IO_file_xsgetn): Likewise.
7631         (_IO_file_xsgetn_mmap): Likewise.
7632         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7633         (_IO_cookie_write): Likewise.
7634         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7635         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7636         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7637         * malloc/obstack.c (_obstack_begin): Likewise.
7638         (_obstack_begin_1): Likewise.
7639         (_obstack_newchunk): Likewise.
7640         (_obstack_allocated_p): Likewise.
7641         (obstack_free): Likewise.
7642         (_obstack_memory_used): Likewise.
7643         * misc/getttyent.c (getttynam): Likewise.
7644         (getttyent): Likewise.
7645         (skip): Likewise.
7646         (value): Likewise.
7647         * misc/getusershell.c (initshells): Likewise.
7648         * misc/syslog.c (__vsyslog_chk): Likewise.
7649         * misc/ttyslot.c (ttyslot): Likewise.
7650         * nis/nis_hash.c (__nis_hash): Likewise.
7651         * posix/fnmatch_loop.c (FCT): Likewise.
7652         * posix/getconf.c (print_all): Likewise.
7653         (main): Likewise.
7654         * posix/getopt.c (exchange): Likewise.
7655         * posix/glob.c (globfree): Likewise.
7656         (prefix_array): Likewise.
7657         (__glob_pattern_type): Likewise.
7658         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7659         (NS_GET32): Likewise.
7660         (NS_PUT16): Likewise.
7661         (NS_PUT32): Likewise.
7662         * resolv/gethnamaddr.c (getanswer): Likewise.
7663         (gethostbyname2): Likewise.
7664         (gethostbyaddr): Likewise.
7665         (_gethtent): Likewise.
7666         (_gethtbyname2): Likewise.
7667         (_gethtbyaddr): Likewise.
7668         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7669         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7670         * resolv/res_init.c (__res_vinit): Likewise.
7671         (net_mask): Likewise.
7672         * resolv/res_mkquery.c (outchar): Likewise.
7673         (PRINT): Likewise.
7674         * stdio-common/printf_fp.c (outchar): Likewise.
7675         (PRINT): Likewise.
7676         * stdio-common/printf_fphex.c (outchar): Likewise.
7677         (PRINT): Likewise.
7678         * stdio-common/printf_size.c (outchar): Likewise.
7679         (PRINT): Likewise.
7680         * stdio-common/test_rdwr.c (main): Likewise.
7681         * stdio-common/tfformat.c (matches): Likewise.
7682         * stdio-common/vfprintf.c (outchar): Likewise.
7683         (printf_unknown): Likewise.
7684         (buffered_vfprintf): Likewise.
7685         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7686         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7687         (ReadFile): Likewise.
7688         * stdlib/qsort.c (SWAP): Likewise.
7689         (_quicksort): Likewise.
7690         * stdlib/setenv.c (__add_to_environ): Likewise.
7691         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7692         * stdlib/strtol_l.c (__strtol_l): Likewise.
7693         * stdlib/tst-strtod.c (main): Likewise.
7694         * stdlib/tst-strtol.c (main): Likewise.
7695         * stdlib/tst-strtoll.c (main): Likewise.
7696         * string/bits/string2.h (__strcmp_cc): Likewise.
7697         (__strcmp_cg): Likewise.
7698         (__strcspn_c1): Likewise.
7699         (__strcspn_c2): Likewise.
7700         (__strcspn_c3): Likewise.
7701         (__strspn_c1): Likewise.
7702         (__strspn_c2): Likewise.
7703         (__strspn_c3): Likewise.
7704         (__strsep_1c): Likewise.
7705         (__strsep_2c): Likewise.
7706         (__strsep_3c): Likewise.
7707         * string/memccpy.c (__memccpy): Likewise.
7708         * string/stpcpy.c (__stpcpy): Likewise.
7709         * string/strcmp.c (strcmp): Likewise.
7710         * string/strrchr.c (strrchr): Likewise.
7711         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7712         Likewise.
7713         * sysdeps/mach/hurd/getcwd.c
7714         (_hurd_canonicalize_directory_name_internal): Likewise.
7715         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7716         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7717         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7718         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7719         Likewise, in both definitions.
7720         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7721         definitions.
7722         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7723         64] (__bswap_64): Likewise.
7724         * time/test_time.c (main): Likewise.
7725         * time/tzfile.c (__tzfile_read): Likewise.
7726         (__tzfile_compute): Likewise.
7727         * time/tzset.c (__tzset_parse_tz): Likewise.
7728         (tzset_internal): Likewise.
7729         (compute_change): Likewise.
7730         * wcsmbs/wcscat.c (__wcscat): Likewise.
7731         * wcsmbs/wcschr.c (wcschr): Likewise.
7732         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7733         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7734         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7735         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7736         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7737         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7738         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7739         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7740         * wcsmbs/wmemset.c (wmemset): Likewise.
7741
7742 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7743
7744         * scripts/config.guess: Update to version 2013-05-16.
7745         * scripts/config.sub: Update to version 2013-04-24.
7746         * scripts/install-sh: Update to version 2011-11-20.07.
7747         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7748         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7749
7750 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7751
7752         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7753         * elf/sln.c: Likewise.
7754         * hurd/hurd/ioctl.h: Likewise.
7755         * hurd/hurdmalloc.c: Likewise.
7756         * hurd/xattr.c: Likewise.
7757         * include/shlib-compat.h: Likewise.
7758         * inet/ruserpass.c: Likewise.
7759         * libio/iofgets_u.c: Likewise.
7760         * libio/iofgetws_u.c: Likewise.
7761         * locale/programs/ld-identification.c: Likewise.
7762         * locale/programs/ld-time.c: Likewise.
7763         * mach/msg-destroy.c: Likewise.
7764         * nss/nss_files/files-netgrp.c: Likewise.
7765         * resolv/res_data.c: Likewise.
7766         * soft-fp/op-1.h: Likewise.
7767         * soft-fp/op-2.h: Likewise.
7768         * soft-fp/op-4.h: Likewise.
7769         * soft-fp/op-common.h: Likewise.
7770         * stdio-common/printf_fphex.c: Likewise.
7771         * stdlib/strtod_l.c: Likewise.
7772         * sunrpc/rpc/clnt.h: Likewise.
7773         * sysdeps/generic/framestate.c: Likewise.
7774         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7775         * sysdeps/i386/bsd-setjmp.S: Likewise.
7776         * sysdeps/i386/__longjmp.S: Likewise.
7777         * sysdeps/i386/setjmp.S: Likewise.
7778         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7779         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7780         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7781         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7782         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7783         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7784         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7785         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7786         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7787         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7788         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7789         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7790         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7791         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7792         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7793         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7794         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7795         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7796         * sysdeps/ieee754/support.c: Likewise.
7797         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7798         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7799         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7800         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7801         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7802         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7803         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7804         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7805         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7806         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7807         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7808         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7809         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7810         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7812         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7813         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7815
7816 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7817
7818         * posix/transbug.c: Remove executable mode.
7819
7820 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7821
7822         * crypt/speeds.c: Remove trailing whitespace.
7823         * dlfcn/default.c: Likewise.
7824         * elf/ifuncdep2.c: Likewise.
7825         * elf/ifuncmain1.c: Likewise.
7826         * elf/ifuncmain1vis.c: Likewise.
7827         * elf/testobj.h: Likewise.
7828         * elf/tst-stackguard1.c: Likewise.
7829         * gmon/sys/gmon.h: Likewise.
7830         * hurd/hurdmsg.c: Likewise.
7831         * hurd/new-fd.c: Likewise.
7832         * hurd/ports-get.c: Likewise.
7833         * iconvdata/ibm1008_420.c: Likewise.
7834         * inet/tst-getni1.c: Likewise.
7835         * inet/tst-getni2.c: Likewise.
7836         * libio/ioungetc.c: Likewise.
7837         * libio/wfiledoalloc.c: Likewise.
7838         * manual/libm-err-tab.pl: Likewise.
7839         * math/w_dremf.c: Likewise.
7840         * misc/ftruncate.c: Likewise.
7841         * posix/bug-glob2.c: Likewise.
7842         * posix/tst-pcre.c: Likewise.
7843         * posix/wait4.c: Likewise.
7844         * resolv/README: Likewise.
7845         * resolv/res_debug.h: Likewise.
7846         * resolv/tst-inet_ntop.c: Likewise.
7847         * setjmp/bug269-setjmp.c: Likewise.
7848         * soft-fp/extended.h: Likewise.
7849         * soft-fp/op-1.h: Likewise.
7850         * soft-fp/op-2.h: Likewise.
7851         * soft-fp/op-4.h: Likewise.
7852         * soft-fp/op-8.h: Likewise.
7853         * soft-fp/testit.c: Likewise.
7854         * stdio-common/bug16.c: Likewise.
7855         * stdlib/random.c: Likewise.
7856         * sunrpc/rpcsvc/rquota.x: Likewise.
7857         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7858         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7859         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7860         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7861         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7862         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7863         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7864         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7865         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7866         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7867         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7868         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7869         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7870         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7872         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7873         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7874         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7875         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7876         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7877         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7878         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7879         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7880         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7881         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7882         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7883         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7885         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7886         * sysdeps/ieee754/s_lib_version.c: Likewise.
7887         * sysdeps/mach/hurd/check_fds.c: Likewise.
7888         * sysdeps/mach/hurd/getsockname.c: Likewise.
7889         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7890         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7891         * sysdeps/powerpc/bits/link.h: Likewise.
7892         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7893         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7894         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7895         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7896         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7897         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7898         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7899         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7900         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7901         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7902         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7903         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7904         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7905         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7906         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7907         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7908         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7911         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7912         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7913         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7914         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7915         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7916         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7917         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7919         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7920         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7921         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7925         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7926         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7927         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7928         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7929         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7930         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7931         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7932         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7933         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7934         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7935         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7936         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7937         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7938         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7939         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7940         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7941         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7942         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7944         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7945         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7946         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7947         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7948         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7949         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7950         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7951         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7952         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7954         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7955         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7956         * sysdeps/powerpc/sysdep.h: Likewise.
7957         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7958         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7959         * sysdeps/sh/dl-trampoline.S: Likewise.
7960         * sysdeps/sh/memset.S: Likewise.
7961         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7962         * sysdeps/sh/strlen.S: Likewise.
7963         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7964         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7965         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7966         * sysdeps/sparc/sparc32/rem.S: Likewise.
7967         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7968         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7969         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7970         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7971         * sysdeps/sparc/sparc32/urem.S: Likewise.
7972         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7973         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7974         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7975         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7976         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7977         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7978         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7979         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7980         * sysdeps/unix/bsd/times.c: Likewise.
7981         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7982         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7986         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7987         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7988         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7989         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7990         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7991         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7992         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7993         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7994         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7995         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7996         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7997         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7998         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7999         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8000         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8001         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8002         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8003         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8004         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8005         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8006         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8007         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8008         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8009         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8010         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8011         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8012         * sysdeps/x86_64/strcspn.S: Likewise.
8013
8014 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8015
8016         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8017         generated file.  Regenerate properly from gen-translit.pl.
8018         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8019         locale/C-translit.h.
8020
8021 2013-06-05  Andreas Schwab  <schwab@suse.de>
8022
8023         [BZ #15100]
8024         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8025         week as 6 instead of -1.
8026         * time/tst-strptime.c (day_tests): Add test case.
8027
8028 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8029
8030         * sysdeps/generic/math_private.h
8031         (libc_feholdexcept_setround_53bit): Replace with
8032         libc_feholdsetround_53bit.
8033         (libc_feupdateenv_53bit): Replace with
8034         libc_feresetround_53bit.
8035         (SET_RESTORE_ROUND_53BIT): Adjust.
8036
8037 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8038
8039         * string/test-strchrnul.c: Add copyright header.
8040
8041         * posix/tst-getaddrinfo4.c: Increase test timeout.
8042
8043 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8044
8045         [BZ #15536]
8046         * math/libm-test.inc (MAX_EXP): Remove
8047         (MIN_EXP): Define.
8048         (ulp): Use MIN_EXP - MANT_DIG.
8049         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8050
8051 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8052
8053         * po/be.po: Revert last change.
8054         * po/zh_CN.po: Likewise.
8055         * po/header.pot: Likewise.
8056
8057 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8058
8059         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8060         link-libc-deps to empty as target-specific variable.
8061         * Makerules (link-libc-args): New variable.
8062         (libc-for-link): Likewise.
8063         (link-libc-deps): Likewise.
8064         (lib%.so): Depend on $(link-libc-deps).  Link with
8065         $(link-libc-args).
8066         (build-module): Link with $(link-libc-args).
8067         (build-module-asneeded): Likewise.
8068         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8069         list of objects.
8070         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8071         target-specific variable.
8072         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8073         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8074         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8075         libc.
8076         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8077         libc and ld.so.
8078         ($(objpfx)libpcprofile.so): Likewise.
8079         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8080         libc_nonshared.a.
8081         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8082         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8083         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8084         $(link-libc-deps).
8085         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8086         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8087         * login/Makefile ($(objpfx)libutil.so): Likewise.
8088         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8089         * math/Makefile ($(objpfx)libm.so): Likewise.
8090         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8091         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8092         variable instead of depending directly on libc.
8093         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8094         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8095         $(link-libc-deps).
8096         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8097         libc.
8098         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8099         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8100         ($(objpfx)libanl.so): Likewise.
8101         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8102         ld.so.
8103         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8104         $(link-libc-deps).
8105         * sysdeps/i386/fpu/Makefile: Remove file.
8106         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8107         ($(objpfx)libm.so): Remove dependency on ld.so.
8108
8109 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8110
8111         [BZ # 15553]
8112         * nis/yp_xdr.c (XDRMAXNAME): Define.
8113         (XDRMAXRECORD): Define.
8114         (xdr_domainname): Use XDRMAXNAME.
8115         (xdr_mapname): Likewise.
8116         (xdr_peername): Likewise.
8117         (xdr_keydat): Use XDRMAXRECORD.
8118         (xdr_valdat): Likewise.
8119
8120 2013-05-30  Jeff Law  <law@redhat.com>
8121
8122         [BZ #14256]
8123         * manual/errno.texi (ESTALE): Update to account for more than
8124         just NFS file systems.
8125         * sysdeps/gnu/errlist.c: Regenerated.
8126
8127 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8128
8129         [BZ #15465]
8130         * elf/Makefile (tests): Add tst-null-argv.
8131         (modules-names):  Add tst-null-argv-lib.
8132         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8133         (tst-null-argv-ENV): Set environment for tst-null-argv.
8134         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8135         (RTLD_PROGNAME): New macro.
8136         * elf/tst-null-argv.c: New test case.
8137         * elf/tst-null-argv-lib.c: Library for test case.
8138         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8139         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8140         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8141         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8142         * elf/dl-init.c (call_init): Likewise.
8143         (_dl_init): Likewise.
8144         * elf/dl-load.c (print_search_path): Likewise.
8145         (_dl_map_object): Likewise.
8146         * elf/dl-lookup.c (do_lookup_x): Likewise.
8147         (add_dependency): Likewise.
8148         (_dl_lookup_symbol_x): Likewise.
8149         (_dl_debug_bindings): Likewise.
8150         * elf/dl-open.c (_dl_show_scope): Likewise.
8151         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8152         * elf/dl-version.c (match_symbol): Likewise.
8153         (_dl_check_map_versions): Likewise.
8154         * elf/rtld.c (dl_main): Likewise.
8155         (print_unresolved): Use RTLD_PROGNAME.
8156         (print_missing_version): Likewise.
8157         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8158         (elf_machine_rela): Likewise.
8159         * sysdeps/powerpc/powerpc32/dl-machine.c
8160         (__process_machine_rela): Likewise.
8161         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8162         Likewise.
8163         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8164         Likewise.
8165         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8166         Likewise.
8167         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8169         Likewise.
8170         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8171         Likewise.
8172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8173
8174 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8175
8176         * po/be.po: Add descriptive title.
8177         * po/zh_CN.po: Likewise.
8178         * po/header.pot: Likewise.
8179
8180 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8181
8182         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8183         error message.
8184         (enlarge_archive): Likewise.
8185
8186 2013-05-28  Ben North  <ben@redfrontdoor.org>
8187
8188         * manual/arith.texi (frexp): It is the magnitude of the return
8189         value which lies in [0.5, 1), not the return value itself.
8190
8191 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8192
8193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8194
8195 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8196
8197         * stdio-common/bug26.c (main): Correct fscanf template.
8198
8199         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8200         declare _dl_skip_args.
8201
8202         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8203         Don't declare.
8204
8205         * manual/platform.texi: Add missing @end deftypefun.
8206
8207 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8208
8209         [BZ #15529]
8210         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8211         bit of mantissa of 2^16382.
8212         * math/libm-test.inc (hypot_test_data): Add more tests.
8213
8214         * math/libm-test.inc: Add drem and pow10 to list of tested
8215         functions.
8216         (pow10_test): New function.
8217         (drem_test): Likewise.
8218         (drem_test_tonearest): Likewise.
8219         (drem_test_towardzero): Likewise.
8220         (drem_test_downward): Likewise.
8221         (drem_test_upward): Likewise.
8222         (main): Call the new functions.
8223
8224         * math/libm-test.inc (finite_test_data): Remove.
8225         (finite_test): Run tests from isfinite_test_data.
8226         (gamma_test_data): Remove.
8227         (gamma_test): Run tests from lgamma_test_data.
8228         * sysdeps/i386/fpu/libm-test-ulps: Update.
8229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8230
8231 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8232
8233         * manual/platform.texi: Add PowerPC PPR function set documentation.
8234         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8235         implementation.
8236
8237 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8238
8239         * math/libm-test.inc (MAX_EXP): Define.
8240         (ULPDIFF): Define.
8241         (ulp): New function.
8242         (check_float_internal): Use ULPDIFF.
8243         (cpow_test): Disable failing test.
8244         (check_ulp): Test ulp() implemetnation.
8245         (main): Call check_ulp before starting tests.
8246
8247 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8248
8249         * math/gen-libm-test.pl (generate_testfile): Do not handle
8250         START_DATA and END_DATA.
8251         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8252         END_DATA.
8253         (acos_tonearest_test_data): Likewise.
8254         (acos_towardzero_test_data): Likewise.
8255         (acos_downward_test_data): Likewise.
8256         (acos_upward_test_data): Likewise.
8257         (acosh_test_data): Likewise.
8258         (asin_test_data): Likewise.
8259         (asin_tonearest_test_data): Likewise.
8260         (asin_towardzero_test_data): Likewise.
8261         (asin_downward_test_data): Likewise.
8262         (asin_upward_test_data): Likewise.
8263         (asinh_test_data): Likewise.
8264         (atan_test_data): Likewise.
8265         (atanh_test_data): Likewise.
8266         (atan2_test_data): Likewise.
8267         (cabs_test_data): Likewise.
8268         (cacos_test_data): Likewise.
8269         (cacosh_test_data): Likewise.
8270         (carg_test_data): Likewise.
8271         (casin_test_data): Likewise.
8272         (casinh_test_data): Likewise.
8273         (catan_test_data): Likewise.
8274         (catanh_test_data): Likewise.
8275         (cbrt_test_data): Likewise.
8276         (ccos_test_data): Likewise.
8277         (ccosh_test_data): Likewise.
8278         (ceil_test_data): Likewise.
8279         (cexp_test_data): Likewise.
8280         (cimag_test_data): Likewise.
8281         (clog_test_data): Likewise.
8282         (clog10_test_data): Likewise.
8283         (conj_test_data): Likewise.
8284         (copysign_test_data): Likewise.
8285         (cos_test_data): Likewise.
8286         (cos_tonearest_test_data): Likewise.
8287         (cos_towardzero_test_data): Likewise.
8288         (cos_downward_test_data): Likewise.
8289         (cos_upward_test_data): Likewise.
8290         (cosh_test_data): Likewise.
8291         (cosh_tonearest_test_data): Likewise.
8292         (cosh_towardzero_test_data): Likewise.
8293         (cosh_downward_test_data): Likewise.
8294         (cosh_upward_test_data): Likewise.
8295         (cpow_test_data): Likewise.
8296         (cproj_test_data): Likewise.
8297         (creal_test_data): Likewise.
8298         (csin_test_data): Likewise.
8299         (csinh_test_data): Likewise.
8300         (csqrt_test_data): Likewise.
8301         (ctan_test_data): Likewise.
8302         (ctan_tonearest_test_data): Likewise.
8303         (ctan_towardzero_test_data): Likewise.
8304         (ctan_downward_test_data): Likewise.
8305         (ctan_upward_test_data): Likewise.
8306         (ctanh_test_data): Likewise.
8307         (ctanh_tonearest_test_data): Likewise.
8308         (ctanh_towardzero_test_data): Likewise.
8309         (ctanh_downward_test_data): Likewise.
8310         (ctanh_upward_test_data): Likewise.
8311         (erf_test_data): Likewise.
8312         (erfc_test_data): Likewise.
8313         (exp_test_data): Likewise.
8314         (exp_tonearest_test_data): Likewise.
8315         (exp_towardzero_test_data): Likewise.
8316         (exp_downward_test_data): Likewise.
8317         (exp_upward_test_data): Likewise.
8318         (exp10_test_data): Likewise.
8319         (exp2_test_data): Likewise.
8320         (expm1_test_data): Likewise.
8321         (fabs_test_data): Likewise.
8322         (fdim_test_data): Likewise.
8323         (finite_test_data): Likewise.
8324         (floor_test_data): Likewise.
8325         (fma_test_data): Likewise.
8326         (fma_towardzero_test_data): Likewise.
8327         (fma_downward_test_data): Likewise.
8328         (fma_upward_test_data): Likewise.
8329         (fmax_test_data): Likewise.
8330         (fmin_test_data): Likewise.
8331         (fmod_test_data): Likewise.
8332         (fpclassify_test_data): Likewise.
8333         (frexp_test_data): Likewise.
8334         (gamma_test_data): Likewise.
8335         (hypot_test_data): Likewise.
8336         (ilogb_test_data): Likewise.
8337         (isfinite_test_data): Likewise.
8338         (isgreater_test_data): Likewise.
8339         (isgreaterequal_test_data): Likewise.
8340         (isinf_test_data): Likewise.
8341         (isless_test_data): Likewise.
8342         (islessequal_test_data): Likewise.
8343         (islessgreater_test_data): Likewise.
8344         (isnan_test_data): Likewise.
8345         (isnormal_test_data): Likewise.
8346         (issignaling_test_data): Likewise.
8347         (isunordered_test_data): Likewise.
8348         (j0_test_data): Likewise.
8349         (j1_test_data): Likewise.
8350         (jn_test_data): Likewise.
8351         (ldexp_test_data): Likewise.
8352         (lgamma_test_data): Likewise.
8353         (lrint_test_data): Likewise.
8354         (lrint_tonearest_test_data): Likewise.
8355         (lrint_towardzero_test_data): Likewise.
8356         (lrint_downward_test_data): Likewise.
8357         (lrint_upward_test_data): Likewise.
8358         (llrint_test_data): Likewise.
8359         (llrint_tonearest_test_data): Likewise.
8360         (llrint_towardzero_test_data): Likewise.
8361         (llrint_downward_test_data): Likewise.
8362         (llrint_upward_test_data): Likewise.
8363         (log_test_data): Likewise.
8364         (log10_test_data): Likewise.
8365         (log1p_test_data): Likewise.
8366         (log2_test_data): Likewise.
8367         (logb_test_data): Likewise.
8368         (logb_downward_test_data): Likewise.
8369         (lround_test_data): Likewise.
8370         (llround_test_data): Likewise.
8371         (modf_test_data): Likewise.
8372         (nearbyint_test_data): Likewise.
8373         (nextafter_test_data): Likewise.
8374         (nexttoward_test_data): Likewise.
8375         (pow_test_data): Likewise.
8376         (pow_tonearest_test_data): Likewise.
8377         (pow_towardzero_test_data): Likewise.
8378         (pow_downward_test_data): Likewise.
8379         (pow_upward_test_data): Likewise.
8380         (remainder_test_data): Likewise.
8381         (remainder_tonearest_test_data): Likewise.
8382         (remainder_towardzero_test_data): Likewise.
8383         (remainder_downward_test_data): Likewise.
8384         (remainder_upward_test_data): Likewise.
8385         (remquo_test_data): Likewise.
8386         (rint_test_data): Likewise.
8387         (rint_tonearest_test_data): Likewise.
8388         (rint_towardzero_test_data): Likewise.
8389         (rint_downward_test_data): Likewise.
8390         (rint_upward_test_data): Likewise.
8391         (round_test_data): Likewise.
8392         (scalb_test_data): Likewise.
8393         (scalbn_test_data): Likewise.
8394         (scalbln_test_data): Likewise.
8395         (signbit_test_data): Likewise.
8396         (sin_test_data): Likewise.
8397         (sin_tonearest_test_data): Likewise.
8398         (sin_towardzero_test_data): Likewise.
8399         (sin_downward_test_data): Likewise.
8400         (sin_upward_test_data): Likewise.
8401         (sincos_test_data): Likewise.
8402         (sinh_test_data): Likewise.
8403         (sinh_tonearest_test_data): Likewise.
8404         (sinh_towardzero_test_data): Likewise.
8405         (sinh_downward_test_data): Likewise.
8406         (sinh_upward_test_data): Likewise.
8407         (sqrt_test_data): Likewise.
8408         (tan_test_data): Likewise.
8409         (tan_tonearest_test_data): Likewise.
8410         (tan_towardzero_test_data): Likewise.
8411         (tan_downward_test_data): Likewise.
8412         (tan_upward_test_data): Likewise.
8413         (tanh_test_data): Likewise.
8414         (tgamma_test_data): Likewise.
8415         (trunc_test_data): Likewise.
8416         (y0_test_data): Likewise.
8417         (y1_test_data): Likewise.
8418         (yn_test_data): Likewise.
8419         (significand_test_data): Likewise.
8420
8421         * math/gen-libm-test.pl (@functions): Remove variable.
8422         (generate_testfile): Don't handle START and END lines.
8423         * math/libm-test.inc (START): New macro.
8424         (END): Likewise.
8425         (END_COMPLEX): Likewise.
8426         (acos_test): Use END macro without arguments.
8427         (acos_test_tonearest): Likewise.
8428         (acos_test_towardzero): Likewise.
8429         (acos_test_downward): Likewise.
8430         (acos_test_upward): Likewise.
8431         (acosh_test): Likewise.
8432         (asin_test): Likewise.
8433         (asin_test_tonearest): Likewise.
8434         (asin_test_towardzero): Likewise.
8435         (asin_test_downward): Likewise.
8436         (asin_test_upward): Likewise.
8437         (asinh_test): Likewise.
8438         (atan_test): Likewise.
8439         (atanh_test): Likewise.
8440         (atan2_test): Likewise.
8441         (cabs_test): Likewise.
8442         (cacos_test): Use END_COMPLEX macro without arguments.
8443         (cacosh_test): Likewise.
8444         (carg_test): Use END macro without arguments.
8445         (casin_test): Use END_COMPLEX macro without arguments.
8446         (casinh_test): Likewise.
8447         (catan_test): Likewise.
8448         (catanh_test): Likewise.
8449         (cbrt_test): Use END macro without arguments.
8450         (ccos_test): Use END_COMPLEX macro without arguments.
8451         (ccosh_test): Likewise.
8452         (ceil_test): Use END macro without arguments.
8453         (cexp_test): Use END_COMPLEX macro without arguments.
8454         (cimag_test): Use END macro without arguments.
8455         (clog_test): Use END_COMPLEX macro without arguments.
8456         (clog10_test): Likewise.
8457         (conj_test): Likewise.
8458         (copysign_test): Use END macro without arguments.
8459         (cos_test): Likewise.
8460         (cos_test_tonearest): Likewise.
8461         (cos_test_towardzero): Likewise.
8462         (cos_test_downward): Likewise.
8463         (cos_test_upward): Likewise.
8464         (cosh_test): Likewise.
8465         (cosh_test_tonearest): Likewise.
8466         (cosh_test_towardzero): Likewise.
8467         (cosh_test_downward): Likewise.
8468         (cosh_test_upward): Likewise.
8469         (cpow_test): Use END_COMPLEX macro without arguments.
8470         (cproj_test): Likewise.
8471         (creal_test): Use END macro without arguments.
8472         (csin_test): Use END_COMPLEX macro without arguments.
8473         (csinh_test): Likewise.
8474         (csqrt_test): Likewise.
8475         (ctan_test): Likewise.
8476         (ctan_test_tonearest): Likewise.
8477         (ctan_test_towardzero): Likewise.
8478         (ctan_test_downward): Likewise.
8479         (ctan_test_upward): Likewise.
8480         (ctanh_test): Likewise.
8481         (ctanh_test_tonearest): Likewise.
8482         (ctanh_test_towardzero): Likewise.
8483         (ctanh_test_downward): Likewise.
8484         (ctanh_test_upward): Likewise.
8485         (erf_test): Use END macro without arguments.
8486         (erfc_test): Likewise.
8487         (exp_test): Likewise.
8488         (exp_test_tonearest): Likewise.
8489         (exp_test_towardzero): Likewise.
8490         (exp_test_downward): Likewise.
8491         (exp_test_upward): Likewise.
8492         (exp10_test): Likewise.
8493         (exp2_test): Likewise.
8494         (expm1_test): Likewise.
8495         (fabs_test): Likewise.
8496         (fdim_test): Likewise.
8497         (finite_test): Likewise.
8498         (floor_test): Likewise.
8499         (fma_test): Likewise.
8500         (fma_test_towardzero): Likewise.
8501         (fma_test_downward): Likewise.
8502         (fma_test_upward): Likewise.
8503         (fmax_test): Likewise.
8504         (fmin_test): Likewise.
8505         (fmod_test): Likewise.
8506         (fpclassify_test): Likewise.
8507         (frexp_test): Likewise.
8508         (gamma_test): Likewise.
8509         (hypot_test): Likewise.
8510         (ilogb_test): Likewise.
8511         (isfinite_test): Likewise.
8512         (isgreater_test): Likewise.
8513         (isgreaterequal_test): Likewise.
8514         (isinf_test): Likewise.
8515         (isless_test): Likewise.
8516         (islessequal_test): Likewise.
8517         (islessgreater_test): Likewise.
8518         (isnan_test): Likewise.
8519         (isnormal_test): Likewise.
8520         (issignaling_test): Likewise.
8521         (isunordered_test): Likewise.
8522         (j0_test): Likewise.
8523         (j1_test): Likewise.
8524         (jn_test): Likewise.
8525         (ldexp_test): Likewise.
8526         (lgamma_test): Likewise.
8527         (lrint_test): Likewise.
8528         (lrint_test_tonearest): Likewise.
8529         (lrint_test_towardzero): Likewise.
8530         (lrint_test_downward): Likewise.
8531         (lrint_test_upward): Likewise.
8532         (llrint_test): Likewise.
8533         (llrint_test_tonearest): Likewise.
8534         (llrint_test_towardzero): Likewise.
8535         (llrint_test_downward): Likewise.
8536         (llrint_test_upward): Likewise.
8537         (log_test): Likewise.
8538         (log10_test): Likewise.
8539         (log1p_test): Likewise.
8540         (log2_test): Likewise.
8541         (logb_test): Likewise.
8542         (logb_test_downward): Likewise.
8543         (lround_test): Likewise.
8544         (llround_test): Likewise.
8545         (modf_test): Likewise.
8546         (nearbyint_test): Likewise.
8547         (nextafter_test): Likewise.
8548         (nexttoward_test): Likewise.
8549         (pow_test): Likewise.
8550         (pow_test_tonearest): Likewise.
8551         (pow_test_towardzero): Likewise.
8552         (pow_test_downward): Likewise.
8553         (pow_test_upward): Likewise.
8554         (remainder_test): Likewise.
8555         (remainder_test_tonearest): Likewise.
8556         (remainder_test_towardzero): Likewise.
8557         (remainder_test_downward): Likewise.
8558         (remainder_test_upward): Likewise.
8559         (remquo_test): Likewise.
8560         (rint_test): Likewise.
8561         (rint_test_tonearest): Likewise.
8562         (rint_test_towardzero): Likewise.
8563         (rint_test_downward): Likewise.
8564         (rint_test_upward): Likewise.
8565         (round_test): Likewise.
8566         (scalb_test): Likewise.
8567         (scalbn_test): Likewise.
8568         (scalbln_test): Likewise.
8569         (signbit_test): Likewise.
8570         (sin_test): Likewise.
8571         (sin_test_tonearest): Likewise.
8572         (sin_test_towardzero): Likewise.
8573         (sin_test_downward): Likewise.
8574         (sin_test_upward): Likewise.
8575         (sincos_test): Likewise.
8576         (sinh_test): Likewise.
8577         (sinh_test_tonearest): Likewise.
8578         (sinh_test_towardzero): Likewise.
8579         (sinh_test_downward): Likewise.
8580         (sinh_test_upward): Likewise.
8581         (sqrt_test): Likewise.
8582         (tan_test): Likewise.
8583         (tan_test_tonearest): Likewise.
8584         (tan_test_towardzero): Likewise.
8585         (tan_test_downward): Likewise.
8586         (tan_test_upward): Likewise.
8587         (tanh_test): Likewise.
8588         (tgamma_test): Likewise.
8589         (trunc_test): Likewise.
8590         (y0_test): Likewise.
8591         (y1_test): Likewise.
8592         (yn_test): Likewise.
8593         (significand_test): Likewise.
8594
8595 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8596
8597         [BZ #15381]
8598         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8599
8600 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8601
8602         [BZ #14894]
8603         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8604         __ppc_mdoio and __ppc_mdoom.
8605         * manual/platform.texi: Document new functions __ppc_yield,
8606         __ppc_mdoio and __ppc_mdoom.
8607
8608 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8609
8610         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8611         (main): Mention "tls" pseudo-hwcap is legacy.
8612         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8613
8614 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8615
8616         * math/gen-libm-test.pl (parse_args): Output only string of
8617         arguments as text for test name, not full call or descriptions of
8618         tests for extra outputs.
8619         (generate_testfile): Do not pass function name to parse_args.
8620         Generate this_func variable from START.
8621         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8622         field to arg_str.
8623         (struct test_ff_f_data): Likewise.
8624         (test_ff_f_data_nexttoward): Likewise.
8625         (struct test_fi_f_data): Likewise.
8626         (struct test_fl_f_data): Likewise.
8627         (struct test_if_f_data): Likewise.
8628         (struct test_fff_f_data): Likewise.
8629         (struct test_c_f_data): Likewise.
8630         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8631         (struct test_fF_f1_data): Likewise.
8632         (struct test_ffI_f1_data): Likewise.
8633         (struct test_c_c_data): Rename test_name field to arg_str.
8634         (struct test_cc_c_data): Likewise.
8635         (struct test_f_i_data): Likewise.
8636         (struct test_ff_i_data): Likewise.
8637         (struct test_f_l_data): Likewise.
8638         (struct test_f_L_data): Likewise.
8639         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8640         and extra2_name.
8641         (COMMON_TEST_SETUP): New macro.
8642         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8643         (COMMON_TEST_CLEANUP): Likewise.
8644         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8645         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8646         macros.
8647         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8648         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8649         macros.
8650         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8651         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8652         cleanup macros.
8653         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8654         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8655         macros.
8656         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8657         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8658         macros.
8659         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8660         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8661         cleanup macros.
8662         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8663         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8664         cleanup macros.
8665         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8666         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8667         cleanup macros.
8668         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8669         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8670         macros.
8671         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8672         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8673         macros.
8674         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8675         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8676         macros.
8677         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8678         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8679         cleanup macros.
8680         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8681         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8682         cleanup macros.
8683         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8684         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8685         macros.
8686         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8687         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8688         cleanup macros.
8689         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8690         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8691         macros.
8692         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8693         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8694         macros.
8695         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8696         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8697         cleanup macros.
8698         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8699
8700 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8701
8702         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8703         to _sifields.sigfault.
8704         (si_addr_lsb): Define new macro.
8705         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8707         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8708
8709 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8710
8711         [BZ #15441]
8712         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8713         returns -1.
8714         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8715         null return -1.
8716         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8717         loading the domain.
8718
8719 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8720
8721         * math/gen-libm-test.pl (parse_args): Do not include expected
8722         result in test name.
8723         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8724         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8725         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8726         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8727         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8729
8730 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8731
8732         * benchtests/Makefile: Sort function entries.
8733
8734         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8735         tanh, asinh, acosh, atanh.
8736         * benchtests/acos-inputs: New file.
8737         * benchtests/acosh-inputs: New file.
8738         * benchtests/asin-inputs: New file.
8739         * benchtests/asinh-inputs: New file.
8740         * benchtests/atanh-inputs: New file.
8741         * benchtests/cosh-inputs: New file.
8742         * benchtests/log-inputs: New file.
8743         * benchtests/sinh-inputs: New file.
8744         * benchtests/tanh-inputs: New file.
8745
8746 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8747
8748         [BZ #15339]
8749         * posix/tst-getaddrinfo4.c: New test.
8750         * posix/Makefile (tests): Add it.
8751
8752 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8753
8754         [BZ #15339]
8755         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8756         when no services were used.
8757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8758         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8759
8760 2013-05-21  Andreas Schwab  <schwab@suse.de>
8761
8762         [BZ #15014]
8763         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8764         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8765         successful.
8766         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8767         redundant variable declarations and reallocation of buffer when
8768         parsing as IPv6 address.  Always set NSS status when called from
8769         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8770         buffer too small.  Correct computation of needed size.
8771         * nss/Makefile (tests): Add test-digits-dots.
8772         * nss/test-digits-dots.c: New test.
8773
8774 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8775
8776         * benchtests/Makefile: Remove instructions for adding
8777         benchmark tests.
8778         * benchtests/README: New file to explain how to execute and
8779         enhance the benchmark tests.
8780
8781 2013-05-21  Andreas Schwab  <schwab@suse.de>
8782
8783         [BZ #15493]
8784         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8785         * setjmp/tst-sigsetjmp.c: New test.
8786
8787 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8788
8789         * sysdeps/x86_64/memset.S (memset): New implementation.
8790         (__bzero): Likewise.
8791         (__memset_tail): New function.
8792
8793 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8794
8795         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8796         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8797         __memcpy_sse2_unaligned ifunc selection.
8798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8799         Add memcpy-sse2-unaligned.S.
8800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8801         Add: __memcpy_sse2_unaligned.
8802
8803 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8804
8805         [BZ #15490]
8806         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8807         math_force_eval before restoring floating-point envrionment.
8808         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8810         Likewise.
8811         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8812         <math_private.h>.
8813         (__nearbyintl): Use math_force_eval before restoring
8814         floating-point environment.
8815         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8816
8817         * math/gen-libm-test.pl (special_functions): Remove.
8818         (parse_args): Don't handle TEST_extra.  Handle functions with no
8819         return value.
8820         * math/libm-test.inc (struct test_sincos_data): Replace with
8821         struct test_fFF_11_data.
8822         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8823         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8824         (sincos_test_data): Change element type to struct
8825         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8826         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8827         RUN_TEST_LOOP_sincos.
8828         * math/README.libm-test: Don't mention special handling of
8829         individual functions.
8830         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8831         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8832         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8833         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8834         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8836
8837         * math/gen-libm-test.pl (get_variable): Remove function.
8838         (parse_args): Don't show pointer parameters to call in test
8839         names.  Use "extra output N" in test names for extra outputs
8840         rather than naming variables.
8841
8842 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8843
8844         [BZ #15488]
8845         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8846         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8847         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8848         double tests.
8849         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8850         disable.
8851         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8852         check_long_double.
8853
8854         * math/gen-libm-test.pl (@tests): Remove variable.
8855         ($count): Likewise.
8856         (new_test): Remove function.
8857         (show_exceptions): New function.
8858         (special_functions): Use show_exceptions instead of new_test.
8859         (parse_args): Likewise.
8860         (generate_testfile): Pass only function name in generated call to
8861         print_max_error or print_complex_max_error.
8862         (get_ulps): Do not handle complex tests specially.
8863         (output_test): Rename to ...
8864         (get_all_ulps_for_test): ... this.  Return a string rather than
8865         printing to a file.  Require ulps to be present.
8866         (output_ulps): Generate arrays rather than #defines.
8867         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8868         (struct ulp_data): New type.
8869         (BUILD_COMPLEX_ULP): Remove macro.
8870         (compare_ulp_data): New function.
8871         (find_ulps): Likewise.
8872         (find_test_ulps): Likewise.
8873         (find_function_ulps): Likewise.
8874         (find_complex_function_ulps): Likewise.
8875         (print_max_error): Determine allowed ulps using
8876         find_function_ulps.
8877         (print_complex_max_error): Determine allowed ulps using
8878         find_complex_function_ulps.
8879         (check_float_internal): Determine max ulps using find_test_ulps.
8880         (check_float): Do not take max_ulp parameter.  Update call to
8881         check_float_internal.
8882         (check_complex): Likewise.
8883         (check_int): Do not take max_ulp parameter.
8884         (check_long): Likewise.
8885         (check_bool): Likewise.
8886         (check_longlong): Likewise.
8887         (struct test_f_f_data): Remove max_ulp field.
8888         (struct test_ff_f_data): Likewise.
8889         (struct test_ff_f_data_nexttoward): Likewise.
8890         (struct test_fi_f_data): Likewise.
8891         (struct test_fl_f_data): Likewise.
8892         (struct test_if_f_data): Likewise.
8893         (struct test_fff_f_data): Likewise.
8894         (struct test_c_f_data): Likewise.
8895         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8896         (struct test_fF_f1_data): Likewise.
8897         (struct test_ffI_f1_data): Likewise.
8898         (struct test_c_c_data): Remove max_ulp field.
8899         (struct test_cc_c_data): Likewise.
8900         (struct test_f_i_data): Likewise.
8901         (struct test_ff_i_data): Likewise.
8902         (struct test_f_l_data): Likewise.
8903         (struct test_f_L_data): Likewise.
8904         (struct test_sincos_data): Likewise.
8905         (RUN_TEST_f_f): Do not handle ulps.
8906         (RUN_TEST_LOOP_f_f): Likewise.
8907         (RUN_TEST_2_f): Likewise.
8908         (RUN_TEST_LOOP_2_f): Likewise.
8909         (RUN_TEST_fff_f): Likewise.
8910         (RUN_TEST_LOOP_fff_f): Likewise.
8911         (RUN_TEST_c_f): Likewise.
8912         (RUN_TEST_LOOP_c_f): Likewise.
8913         (RUN_TEST_f_f1): Likewise.
8914         (RUN_TEST_LOOP_f_f1): Likewise.
8915         (RUN_TEST_fF_f1): Likewise.
8916         (RUN_TEST_LOOP_fF_f1): Likewise.
8917         (RUN_TEST_fI_f1): Likewise.
8918         (RUN_TEST_LOOP_fI_f1): Likewise.
8919         (RUN_TEST_ffI_f1): Likewise.
8920         (RUN_TEST_LOOP_ffI_f1): Likewise.
8921         (RUN_TEST_c_c): Likewise.
8922         (RUN_TEST_LOOP_c_c): Likewise.
8923         (RUN_TEST_cc_c): Likewise.
8924         (RUN_TEST_LOOP_cc_c): Likewise.
8925         (RUN_TEST_f_i): Likewise.
8926         (RUN_TEST_LOOP_f_i): Likewise.
8927         (RUN_TEST_f_i_tg): Likewise.
8928         (RUN_TEST_LOOP_f_i_tg): Likewise.
8929         (RUN_TEST_ff_i_tg): Likewise.
8930         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8931         (RUN_TEST_f_b): Likewise.
8932         (RUN_TEST_LOOP_f_b): Likewise.
8933         (RUN_TEST_f_b_tg): Likewise.
8934         (RUN_TEST_LOOP_f_b_tg): Likewise.
8935         (RUN_TEST_f_l): Likewise.
8936         (RUN_TEST_LOOP_f_l): Likewise.
8937         (RUN_TEST_f_L): Likewise.
8938         (RUN_TEST_LOOP_f_L): Likewise.
8939         (RUN_TEST_sincos): Likewise.
8940         (RUN_TEST_LOOP_sincos): Likewise.
8941
8942 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8943
8944         [BZ #15480]
8945         [BZ #15485]
8946         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8947         main case of finite arguments, set rounding mode to FE_TONEAREST
8948         and discard exceptions.
8949         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8950         exceptions.
8951         (remainder_tonearest_test_data): New variable.
8952         (remainder_test_tonearest): New function.
8953         (remainder_towardzero_test_data): New variable.
8954         (remainder_test_towardzero): New function.
8955         (remainder_downward_test_data): New variable.
8956         (remainder_test_downward): New function.
8957         (remainder_upward_test_data): New variable.
8958         (remainder_test_upward): New function.
8959         (main): Call the new test functions.
8960
8961         * math/libm-test.inc (struct test_f_f1_data): Remove field
8962         extra_init.
8963         (struct test_fF_f1_data): Likewise.
8964         (struct test_ffI_f1_data): Likewise.
8965         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8966         based on value of EXTRA_EXPECTED.
8967         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8968         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8969         EXTRA_VAR based on value of EXTRA_EXPECTED.
8970         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8971         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8972         EXTRA_VAR based on value of EXTRA_EXPECTED.
8973         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8974         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8975         EXTRA_VAR based on value of EXTRA_EXPECTED.
8976         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8977         * math/gen-libm-test.pl (parse_args): Don't output initializers
8978         for extra output values.
8979
8980         * math/libm-test.inc (check_int): Expect result to be exactly
8981         equal to expected value and do not handle ulps.
8982         (check_long): Likewise.
8983         (check_longlong): Likewise.
8984
8985         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8986         exceptions.
8987         (cimag_test_data): Likewise.
8988         (conj_test_data): Likewise.
8989         (copysign_test_data): Likewise.
8990         (cproj_test_data): Likewise.
8991         (creal_test_data): Likewise.
8992         (fabs_test_data): Likewise.
8993         (fdim_test_data): Likewise.
8994         (finite_test_data): Likewise.
8995         (floor_test_data): Likewise.
8996         (fmax_test_data): Likewise.
8997         (fmin_test_data): Likewise.
8998         (fmod_test_data): Likewise.
8999         (fpclassify_test_data): Likewise.
9000         (frexp_test_data): Likewise.
9001         (ilogb_test_data): Likewise.
9002         (isfinite_test_data): Likewise.
9003         (isgreater_test_data): Likewise.
9004         (isgreaterequal_test_data): Likewise.
9005         (isinf_test_data): Likewise.
9006         (isless_test_data): Likewise.
9007         (islessequal_test_data): Likewise.
9008         (islessgreater_test_data): Likewise.
9009         (isnan_test_data): Likewise.
9010         (isnormal_test_data): Likewise.
9011         (issignaling_test_data): Likewise.
9012         (isunordered_test_data): Likewise.
9013         (ldexp_test_data): Likewise.
9014         (lrint_test_data): Likewise.
9015         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9016         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9017         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9018         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9019         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9020         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9021         test input.
9022         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9023         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9024         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9025         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9026         that test input.
9027         (lrint_downward_test_data): Test for "inexact" exceptions.
9028         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9029         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9030         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9031         test input.
9032         (lrint_upward_test_data): Test for "inexact" exceptions.
9033         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9034         test input.
9035         (llrint_test_data): Test for "inexact" exceptions.
9036         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9037         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9038         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9039         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9040         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9041         (llrint_downward_test_data): Test for "inexact" exceptions.
9042         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9043         (llrint_upward_test_data): Test for "inexact" exceptions.
9044         (logb_test_data): Likewise.
9045         (logb_downward_test_data): Likewise.
9046         (nextafter_test_data): Likewise.
9047         (nexttoward_test_data): Likewise.
9048         (remainder_test_data): Likewise.
9049         (remquo_test_data): Likewise.
9050         (scalbn_test_data): Likewise.
9051         (scalbln_test_data): Likewise.
9052         (signbit_test_data): Likewise.
9053         (sqrt_test_data): Likewise.
9054         (significand_test_data): Likewise.
9055
9056 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9057
9058         [BZ #15424]
9059         * benchtests/bench-modf.c (struct args): Mark arg0 as
9060         volatile.
9061         * scripts/bench.pl: Mark members of struct args as volatile.
9062
9063 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9064
9065         [BZ # 15497]
9066         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9067         negative infinity on POWER6 or lower.
9068         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9069
9070 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9071
9072         [BZ #15442]
9073         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9074         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9075         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9076         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9077         (_FP_SETQNAN): New macro.
9078         (_FP_SETQNAN_SEMIRAW): Likewise.
9079         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9080         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9081         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9082         (FP_EXTEND): Use _FP_FRAC_SNANP.
9083         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9084         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9085         into account.
9086         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9087         New macro.
9088         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9089         Likewise.
9090
9091 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9092
9093         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9094         with DIVIDE_BY_ZERO_EXCEPTION.
9095         (gamma_test_data): Likewise.
9096         (lgamma_test_data): Likewise.
9097         (log_test_data): Likewise.
9098         (log10_test_data): Likewise.
9099         (log2_test_data): Likewise.
9100         (tgamma_test_data): Likewise.
9101
9102         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9103         (acos_test_tonearest): Likewise.
9104         (acos_test_towardzero): Likewise.
9105         (acos_test_downward): Likewise.
9106         (acos_test_upward): Likewise.
9107         (acosh_test): Likewise.
9108         (asin_test): Likewise.
9109         (asin_test_tonearest): Likewise.
9110         (asin_test_towardzero): Likewise.
9111         (asin_test_downward): Likewise.
9112         (asin_test_upward): Likewise.
9113         (asinh_test): Likewise.
9114         (atan_test): Likewise.
9115         (atanh_test): Likewise.
9116         (atan2_test): Likewise.
9117         (cabs_test): Likewise.
9118         (cacos_test): Likewise.
9119         (cacosh_test): Likewise.
9120         (casin_test): Likewise.
9121         (casinh_test): Likewise.
9122         (catan_test): Likewise.
9123         (catanh_test): Likewise.
9124         (cbrt_test): Likewise.
9125         (ccos_test): Likewise.
9126         (ccosh_test): Likewise.
9127         (cexp_test): Likewise.
9128         (clog_test): Likewise.
9129         (clog10_test): Likewise.
9130         (cos_test): Likewise.
9131         (cos_test_tonearest): Likewise.
9132         (cos_test_towardzero): Likewise.
9133         (cos_test_downward): Likewise.
9134         (cos_test_upward): Likewise.
9135         (cosh_test): Likewise.
9136         (cosh_test_tonearest): Likewise.
9137         (cosh_test_towardzero): Likewise.
9138         (cosh_test_downward): Likewise.
9139         (cosh_test_upward): Likewise.
9140         (cpow_test): Likewise.
9141         (csin_test): Likewise.
9142         (csinh_test): Likewise.
9143         (csqrt_test): Likewise.
9144         (ctan_test): Likewise.
9145         (ctan_test_tonearest): Likewise.
9146         (ctan_test_towardzero): Likewise.
9147         (ctan_test_downward): Likewise.
9148         (ctan_test_upward): Likewise.
9149         (ctanh_test): Likewise.
9150         (ctanh_test_tonearest): Likewise.
9151         (ctanh_test_towardzero): Likewise.
9152         (ctanh_test_downward): Likewise.
9153         (ctanh_test_upward): Likewise.
9154         (erf_test): Likewise.
9155         (erfc_test): Likewise.
9156         (exp_test): Likewise.
9157         (exp_test_tonearest): Likewise.
9158         (exp_test_towardzero): Likewise.
9159         (exp_test_downward): Likewise.
9160         (exp_test_upward): Likewise.
9161         (exp10_test): Likewise.
9162         (exp2_test): Likewise.
9163         (expm1_test): Likewise.
9164         (fmod_test): Likewise.
9165         (gamma_test): Likewise.
9166         (hypot_test): Likewise.
9167         (j0_test): Likewise.
9168         (j1_test): Likewise.
9169         (jn_test): Likewise.
9170         (lgamma_test): Likewise.
9171         (log_test): Likewise.
9172         (log10_test): Likewise.
9173         (log1p_test): Likewise.
9174         (log2_test): Likewise.
9175         (logb_test_downward): Likewise.
9176         (pow_test): Likewise.
9177         (pow_test_tonearest): Likewise.
9178         (pow_test_towardzero): Likewise.
9179         (pow_test_downward): Likewise.
9180         (pow_test_upward): Likewise.
9181         (remainder_test): Likewise.
9182         (remquo_test): Likewise.
9183         (sin_test): Likewise.
9184         (sin_test_tonearest): Likewise.
9185         (sin_test_towardzero): Likewise.
9186         (sin_test_downward): Likewise.
9187         (sin_test_upward): Likewise.
9188         (sincos_test): Likewise.
9189         (sinh_test): Likewise.
9190         (sinh_test_tonearest): Likewise.
9191         (sinh_test_towardzero): Likewise.
9192         (sinh_test_downward): Likewise.
9193         (sinh_test_upward): Likewise.
9194         (sqrt_test): Likewise.
9195         (tan_test): Likewise.
9196         (tan_test_tonearest): Likewise.
9197         (tan_test_towardzero): Likewise.
9198         (tan_test_downward): Likewise.
9199         (tan_test_upward): Likewise.
9200         (tanh_test): Likewise.
9201         (tgamma_test): Likewise.
9202         (y0_test): Likewise.
9203         (y1_test): Likewise.
9204         (yn_test): Likewise.
9205
9206         * math/gen-libm-test.pl (adjust_arg): Remove function.
9207         (special_function): Remove argument $in_func.  Only handle
9208         generating output for tables of tests, not inside functions.
9209         (parse_args): Likewise.
9210         (generate_testfile): Remove variable $in_func.  Update call to
9211         parse_args.
9212         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9213         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9214         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9215         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9216         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9217         (MAX_VALUE_INIT): Rename macro to max_value.
9218         (MIN_VALUE_INIT): Rename macro to min_value.
9219         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9220         (plus_zero): Remove variable.
9221         (minus_zero): Likewise.
9222         (plus_infty): Likewise.
9223         (minus_infty): Likewise.
9224         (qnan_value): Likewise.
9225         (max_value): Likewise.
9226         (min_value): Likewise.
9227         (min_subnorm_value): Likewise.
9228
9229 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9230
9231         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9232         uint64_t or uint32_t usage.
9233         * crypt/sha256-block.c: Likewise.
9234         * crypt/sha256-crypt.c: Likewise.
9235         * crypt/sha256.c: Likewise.
9236         * crypt/sha512-block.c: Likewise.
9237         * crypt/sha512-crypt.c: Likewise.
9238         * crypt/sha512.c: Likewise.
9239         * debug/backtrace-tst.c: Likewise.
9240         * debug/pcprofiledump.c: Likewise.
9241         * elf/cache.c: Likewise.
9242         * elf/dl-cache.c: Likewise.
9243         * elf/dl-misc.c: Likewise.
9244         * elf/dl-profile.c: Likewise.
9245         * elf/dl-support.c: Likewise.
9246         * elf/ldconfig.c: Likewise.
9247         * elf/sprof.c: Likewise.
9248         * iconv/dummy-repertoire.c: Likewise.
9249         * iconv/iconv_charmap.c: Likewise.
9250         * iconv/skeleton.c: Likewise.
9251         * iconvdata/8bit-generic.c: Likewise.
9252         * iconvdata/cp737.h: Likewise.
9253         * iconvdata/cp775.h: Likewise.
9254         * iconvdata/ibm1008.h: Likewise.
9255         * iconvdata/ibm1025.h: Likewise.
9256         * iconvdata/ibm1046.h: Likewise.
9257         * iconvdata/ibm1097.h: Likewise.
9258         * iconvdata/ibm1112.h: Likewise.
9259         * iconvdata/ibm1122.h: Likewise.
9260         * iconvdata/ibm1123.h: Likewise.
9261         * iconvdata/ibm1124.h: Likewise.
9262         * iconvdata/ibm1129.h: Likewise.
9263         * iconvdata/ibm1130.h: Likewise.
9264         * iconvdata/ibm1132.h: Likewise.
9265         * iconvdata/ibm1133.h: Likewise.
9266         * iconvdata/ibm1137.h: Likewise.
9267         * iconvdata/ibm1140.h: Likewise.
9268         * iconvdata/ibm1141.h: Likewise.
9269         * iconvdata/ibm1142.h: Likewise.
9270         * iconvdata/ibm1143.h: Likewise.
9271         * iconvdata/ibm1144.h: Likewise.
9272         * iconvdata/ibm1145.h: Likewise.
9273         * iconvdata/ibm1146.h: Likewise.
9274         * iconvdata/ibm1147.h: Likewise.
9275         * iconvdata/ibm1148.h: Likewise.
9276         * iconvdata/ibm1149.h: Likewise.
9277         * iconvdata/ibm1153.h: Likewise.
9278         * iconvdata/ibm1154.h: Likewise.
9279         * iconvdata/ibm1155.h: Likewise.
9280         * iconvdata/ibm1156.h: Likewise.
9281         * iconvdata/ibm1157.h: Likewise.
9282         * iconvdata/ibm1158.h: Likewise.
9283         * iconvdata/ibm1160.h: Likewise.
9284         * iconvdata/ibm1161.h: Likewise.
9285         * iconvdata/ibm1162.h: Likewise.
9286         * iconvdata/ibm1163.h: Likewise.
9287         * iconvdata/ibm1164.h: Likewise.
9288         * iconvdata/ibm1166.h: Likewise.
9289         * iconvdata/ibm1167.h: Likewise.
9290         * iconvdata/ibm12712.h: Likewise.
9291         * iconvdata/ibm1390.h: Likewise.
9292         * iconvdata/ibm1399.h: Likewise.
9293         * iconvdata/ibm16804.h: Likewise.
9294         * iconvdata/ibm4517.h: Likewise.
9295         * iconvdata/ibm4899.h: Likewise.
9296         * iconvdata/ibm4909.h: Likewise.
9297         * iconvdata/ibm4971.h: Likewise.
9298         * iconvdata/ibm5347.h: Likewise.
9299         * iconvdata/ibm803.h: Likewise.
9300         * iconvdata/ibm856.h: Likewise.
9301         * iconvdata/ibm901.h: Likewise.
9302         * iconvdata/ibm902.h: Likewise.
9303         * iconvdata/ibm9030.h: Likewise.
9304         * iconvdata/ibm9066.h: Likewise.
9305         * iconvdata/ibm921.h: Likewise.
9306         * iconvdata/ibm922.h: Likewise.
9307         * iconvdata/ibm9448.h: Likewise.
9308         * iconvdata/isiri-3342.h: Likewise.
9309         * iconvdata/jis0201.h: Likewise.
9310         * include/link.h: Likewise.
9311         * include/netdb.h: Likewise.
9312         * inet/check_native.c: Likewise.
9313         * inet/check_pf.c: Likewise.
9314         * inet/getipv4sourcefilter.c: Likewise.
9315         * inet/getnameinfo.c: Likewise.
9316         * inet/getsourcefilter.c: Likewise.
9317         * inet/htonl.c: Likewise.
9318         * inet/setipv4sourcefilter.c: Likewise.
9319         * inet/setsourcefilter.c: Likewise.
9320         * inet/test-inet6_opt.c: Likewise.
9321         * inet/tst-network.c: Likewise.
9322         * locale/C-collate.c: Likewise.
9323         * locale/C-ctype.c: Likewise.
9324         * locale/C-time.c: Likewise.
9325         * locale/C-translit.h: Likewise.
9326         * locale/loadarchive.c: Likewise.
9327         * locale/programs/3level.h: Likewise.
9328         * locale/programs/charmap.c: Likewise.
9329         * locale/programs/charmap.h: Likewise.
9330         * locale/programs/ld-address.c: Likewise.
9331         * locale/programs/ld-collate.c: Likewise.
9332         * locale/programs/ld-ctype.c: Likewise.
9333         * locale/programs/ld-identification.c: Likewise.
9334         * locale/programs/ld-measurement.c: Likewise.
9335         * locale/programs/ld-messages.c: Likewise.
9336         * locale/programs/ld-monetary.c: Likewise.
9337         * locale/programs/ld-name.c: Likewise.
9338         * locale/programs/ld-numeric.c: Likewise.
9339         * locale/programs/ld-paper.c: Likewise.
9340         * locale/programs/ld-telephone.c: Likewise.
9341         * locale/programs/ld-time.c: Likewise.
9342         * locale/programs/linereader.c: Likewise.
9343         * locale/programs/locale.c: Likewise.
9344         * locale/programs/locarchive.c: Likewise.
9345         * locale/programs/locfile.h: Likewise.
9346         * locale/programs/repertoire.c: Likewise.
9347         * locale/programs/simple-hash.c: Likewise.
9348         * locale/programs/simple-hash.h: Likewise.
9349         * malloc/memusage.c: Likewise.
9350         * malloc/memusagestat.c: Likewise.
9351         * nis/nis_defaults.c: Likewise.
9352         * nis/nis_hash.c: Likewise.
9353         * nis/nis_print.c: Likewise.
9354         * nis/nis_xdr.c: Likewise.
9355         * nscd/connections.c: Likewise.
9356         * nscd/hstcache.c: Likewise.
9357         * nscd/nscd_gethst_r.c: Likewise.
9358         * nscd/nscd_getserv_r.c: Likewise.
9359         * nscd/nscd_helper.c: Likewise.
9360         * nscd/servicescache.c: Likewise.
9361         * nss/makedb.c: Likewise.
9362         * nss/nss_db/db-XXX.c: Likewise.
9363         * nss/nss_db/db-initgroups.c: Likewise.
9364         * nss/nss_db/db-netgrp.c: Likewise.
9365         * nss/nss_files/files-network.c: Likewise.
9366         * nss/nss_files/files-parse.c: Likewise.
9367         * posix/bug-regex5.c: Likewise.
9368         * posix/fnmatch_loop.c: Likewise.
9369         * posix/regcomp.c: Likewise.
9370         * posix/regexec.c: Likewise.
9371         * posix/tst-rfc3484-2.c: Likewise.
9372         * posix/tst-rfc3484-3.c: Likewise.
9373         * posix/tst-rfc3484.c: Likewise.
9374         * resolv/nss_dns/dns-canon.c: Likewise.
9375         * resolv/nss_dns/dns-network.c: Likewise.
9376         * resolv/res_init.c: Likewise.
9377         * resolv/res_mkquery.c: Likewise.
9378         * resolv/tst-aton.c: Likewise.
9379         * stdlib/cxa_atexit.c: Likewise.
9380         * stdlib/cxa_finalize.c: Likewise.
9381         * stdlib/gen-fpioconst.c: Likewise.
9382         * stdlib/strtol_l.c: Likewise.
9383         * string/tst-endian.c: Likewise.
9384         * sunrpc/auth_des.c: Likewise.
9385         * sunrpc/clnt_udp.c: Likewise.
9386         * sunrpc/rtime.c: Likewise.
9387         * sunrpc/svcauth_des.c: Likewise.
9388         * sunrpc/xdr.c: Likewise.
9389         * sunrpc/xdr_intXX_t.c: Likewise.
9390         * sunrpc/xdr_rec.c: Likewise.
9391         * sysdeps/generic/ldconfig.h: Likewise.
9392         * sysdeps/generic/ldsodefs.h: Likewise.
9393         * sysdeps/generic/memusage.h: Likewise.
9394         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9395         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9396         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9397         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9398         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9399         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9400         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9401         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9402         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9403         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9404         * sysdeps/posix/getaddrinfo.c: Likewise.
9405         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9406         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9407         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9408         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9409         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9410         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9411         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9412         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9413         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9414         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9415         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9416         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9417         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9418         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9419         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9420         * sysdeps/x86_64/dl-tls.h: Likewise.
9421         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9422         * time/alt_digit.c: Likewise.
9423         * time/era.c: Likewise.
9424         * wcsmbs/tst-c16c32-1.c: Likewise.
9425
9426 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9427
9428         * math/libm-test.inc (struct test_sincos_data): New type.
9429         (RUN_TEST_LOOP_sincos): New macro.
9430         (sincos_test_data): New variable.
9431         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9432
9433 2013-05-16  Richard Henderson  <rth@redhat.com>
9434
9435         * math/atest-exp2.c (LIMB64): New macro.
9436         (CONSTSZ): New macro.
9437         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9438         (hexdig): Move ...
9439         (print_mpn_fp): ... to function scope.
9440         (read_mpn_hex): Remove.
9441         (get_log2): Remove.
9442         (exp2_mpn): Use mp_log2.
9443         (main): Use mp_exp1.
9444
9445 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9446
9447         * math/libm-test.inc: Remove comment about not testing "inexact"
9448         exceptions.
9449         (INEXACT_EXCEPTION): New macro.
9450         (NO_INEXACT_EXCEPTION): Likewise.
9451         (INVALID_EXCEPTION_OK): Update value.
9452         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9453         (OVERFLOW_EXCEPTION_OK): Likewise.
9454         (UNDERFLOW_EXCEPTION_OK): Likewise.
9455         (IGNORE_ZERO_INF_SIGN): Likewise.
9456         (ERRNO_UNCHANGED): Likewise.
9457         (ERRNO_EDOM): Likewise.
9458         (ERRNO_ERANGE): Likewise.
9459         (test_exceptions): Handle testing "inexact" exceptions.
9460         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9461         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9462         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9463         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9464         INEXACT_EXCEPTION.
9465         (rint_towardzero_test_data): Likewise.
9466         (rint_downward_test_data): Likewise.
9467         (rint_upward_test_data): Likewise.
9468
9469         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9470         with OVERFLOW_EXCEPTION.
9471         (exp10_test_data): Likewise.
9472         (exp2_test_data): Likewise.
9473         (expm1_test_data): Likewise.
9474         (lgamma_test_data): Likewise.
9475         (pow_test_data): Likewise.
9476         (tgamma_test_data): Likewise.
9477         (yn_test_data): Remove duplicate test of overflow.
9478
9479         * math/libm-test.inc (struct test_cc_c_data): New type.
9480         (RUN_TEST_LOOP_cc_c): New macro.
9481         (cpow_test_data): New variable.
9482         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9483
9484         * math/libm-test.inc (struct test_f_L_data): New type.
9485         (RUN_TEST_LOOP_f_L): New macro.
9486         (llrint_test_data): New variable.
9487         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9488         (llrint_tonearest_test_data): New variable.
9489         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9490         (llrint_towardzero_test_data): New variable.
9491         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9492         (llrint_downward_test_data): New variable.
9493         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9494         (llrint_upward_test_data): New variable.
9495         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9496         (llround_test_data): New variable.
9497         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9498
9499 2013-05-13  Peter Collingbourne  <pcc@google.com>
9500
9501         * math/atest-exp2.c (get_log2): Remove const attribute.
9502
9503 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9504
9505         * math/libm-test.inc (struct test_f_l_data): New type.
9506         (RUN_TEST_LOOP_f_l): New macro.
9507         (lrint_test_data): New variable.
9508         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9509         (lrint_tonearest_test_data): New variable.
9510         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9511         (lrint_towardzero_test_data): New variable.
9512         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9513         (lrint_downward_test_data): New variable.
9514         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9515         (lrint_upward_test_data): New variable.
9516         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9517         (lround_test_data): New variable.
9518         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9519
9520 2013-05-15  Peter Collingbourne  <pcc@google.com>
9521
9522         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9523         (EXTRACT_WORDS64) Use where appropriate.
9524         (INSERT_WORDS64) Likewise.
9525
9526         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9527         constraints with x constraints.
9528         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9529
9530         * malloc/obstack.c (_obstack_compat): Add initializer.
9531
9532 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9533
9534         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9535         si_trapno and add si_addr_lsb to _sifields.sigfault.
9536         (si_trapno): Remove macro.
9537         (si_addr_lsb): Define new macro.
9538         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9539
9540 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9541
9542         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9543         instead of TEST_f_l.
9544         (llrint_test_tonearest): Likewise.
9545         (llrint_test_towardzero): Likewise.
9546         (llrint_test_downward): Likewise.
9547         (llrint_test_upward): Likewise.
9548         (llround_test): Likewise.
9549
9550         * math/libm-test.inc (struct test_f_i_data): Add comment.
9551         (RUN_TEST_LOOP_f_b): New macro.
9552         (RUN_TEST_LOOP_f_b_tg): Likewise.
9553         (finite_test_data): New variable.
9554         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9555         (isfinite_test_data): New variable.
9556         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9557         (isinf_test_data): New variable.
9558         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9559         (isnan_test_data): New variable.
9560         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9561         (isnormal_test_data): New variable.
9562         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9563         (issignaling_test_data): New variable.
9564         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9565         (signbit_test_data): New variable.
9566         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9567
9568         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9569         with INVALID_EXCEPTION.
9570         (acosh_test_data): Likewise.
9571         (asin_test_data): Likewise.
9572         (atanh_test_data): Likewise.
9573         (fmod_test_data): Likewise.
9574         (log_test_data): Likewise.
9575         (log10_test_data): Likewise.
9576         (log2_test_data): Likewise.
9577         (pow_test_data): Likewise.
9578         (sqrt_test_data): Likewise.
9579         (y0_test_data): Likewise.
9580         (y1_test_data): Likewise.
9581         (yn_test_data): Likewise.
9582
9583         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9584         function contents.
9585
9586         * math/libm-test.inc (struct test_ff_i_data): New type.
9587         (RUN_TEST_LOOP_ff_i_tg): New macro.
9588         (isgreater_test_data): New variable.
9589         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9590         (isgreaterequal_test_data): New variable.
9591         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9592         (isless_test_data): New variable.
9593         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9594         (islessequal_test_data): New variable.
9595         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9596         (islessgreater_test_data): New variable.
9597         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9598         (isunordered_test_data): New variable.
9599         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9600
9601 2013-05-14  David S. Miller  <davem@davemloft.net>
9602
9603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9604
9605 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9606
9607         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9608
9609         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9610         extra_test to int.
9611         (struct test_f_i_data): Change type of max_ulp to int.
9612
9613         * math/libm-test.inc (test_ffI_f1_data): New type.
9614         (RUN_TEST_LOOP_ffI_f1): New macro.
9615         (remquo_test_data): New variable.
9616         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9617
9618         * setjmp/tst-setjmp-fp.c: New file.
9619         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9620         (link-libm): New variable.
9621         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9622
9623         * math/libm-test.inc (struct test_f_i_data): New type.
9624         (RUN_TEST_LOOP_f_i): New macro.
9625         (RUN_TEST_LOOP_f_i_tg): Likewise.
9626         (fpclassify_test_data): New variable.
9627         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9628         (ilogb_test_data): New variable.
9629         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9630
9631         * math/libm-test.inc (scalbln_test): Correct function name in END
9632         call.
9633
9634         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9635         (RUN_TEST_LOOP_fI_f1): New macro.
9636         (frexp_test_data): New variable.
9637         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9638
9639         * math/libm-test.inc (struct test_fF_f1_data): New type.
9640         (RUN_TEST_LOOP_fF_f1): New macro.
9641         (modf_test_data): New variable.
9642         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9643
9644         * math/libm-test.inc (struct test_f_f1_data): New type.
9645         (RUN_TEST_LOOP_f_f1): New macro.
9646         (gamma_test_data): New variable.
9647         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9648         (lgamma_test_data): New variable.
9649         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9650
9651 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9652
9653         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9654         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9655         (main): Comment "tls" pseudo-hwcap.
9656
9657 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9658
9659         * math/libm-test.inc (struct test_fl_f_data): New type.
9660         (RUN_TEST_LOOP_fl_f): New variable.
9661         (scalbln_test_data): New variable.
9662         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9663
9664         * math/libm-test.inc (struct test_fi_f_data): New type.
9665         (RUN_TEST_LOOP_fi_f): New macro.
9666         (ldexp_test_data): New variable.
9667         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9668         (scalbn_test_data): New variable.
9669         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9670
9671         * math/libm-test.inc (struct test_c_f_data): New type.
9672         (RUN_TEST_LOOP_c_f): New macro.
9673         (cabs_test_data): New variable.
9674         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9675         (carg_test_data): New variable.
9676         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9677         (cimag_test_data): New variable.
9678         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9679         (creal_test_data): New variable.
9680         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9681
9682         * math/libm-test.inc (struct test_if_f_data): New type.
9683         (RUN_TEST_LOOP_if_f): New macro.
9684         (jn_test_data): New variable.
9685         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9686         (yn_test_data): New variable.
9687         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9688
9689         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9690
9691 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9692
9693         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9694         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9695
9696 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9697
9698         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9699         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9700         (bench-deps): Add bench-timing.h.
9701         * benchtests-bench-skeleton.c: Include bench-timing.h.
9702         (main): Use TIMING_* macros instead of clock_gettime.
9703         * benchtests/bench-timing.h: New file.
9704
9705         [BZ #14582]
9706         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9707         Renamed from _LIB_VERSION.
9708         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9709
9710 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9711
9712         * math/libm-test.inc (struct test_fff_f_data): New type.
9713         (RUN_TEST_LOOP_fff_f): New macro.
9714         (fma_test_data): New variable.
9715         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9716         (fma_towardzero_test_data): New variable.
9717         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9718         (fma_downward_test_data): New variable.
9719         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9720         (fma_upward_test_data): New variable.
9721         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9722
9723         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9724         (struct test_c_c_data): New type.
9725         (RUN_TEST_LOOP_c_c): New macro.
9726         (cacos_test_data): New variable.
9727         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9728         (cacosh_test_data): New variable.
9729         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9730         (casin_test_data): New variable.
9731         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9732         (casinh_test_data): New variable.
9733         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9734         (catan_test_data): New variable.
9735         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9736         (catanh_test_data): New variable.
9737         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9738         (ccos_test_data): New variable.
9739         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9740         (ccosh_test_data): New variable.
9741         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9742         (cexp_test_data): New variable.
9743         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9744         (clog_test_data): New variable.
9745         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9746         (clog10_test_data): New variable.
9747         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9748         (conj_test_data): New variable.
9749         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9750         (cproj_test_data): New variable.
9751         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9752         (csin_test_data): New variable.
9753         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9754         (csinh_test_data): New variable.
9755         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9756         (csqrt_test_data): New variable.
9757         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9758         (ctan_test_data): New variable.
9759         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9760         (ctan_tonearest_test_data): New variable.
9761         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9762         (ctan_towardzero_test_data): New variable.
9763         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9764         (ctan_downward_test_data): New variable.
9765         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9766         (ctan_upward_test_data): New variable.
9767         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9768         (ctanh_test_data): New variable.
9769         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9770         (ctanh_tonearest_test_data): New variable.
9771         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9772         (ctanh_towardzero_test_data): New variable.
9773         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9774         (ctanh_downward_test_data): New variable.
9775         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9776         (ctanh_upward_test_data): New variable.
9777         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9778         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9779         of BUILD_COMPLEX.
9780
9781         * math/libm-test.inc (struct test_ff_f_data): New type.
9782         (struct test_ff_f_data_nexttoward): Likewise.
9783         (RUN_TEST_LOOP_2_f): New macro.
9784         (RUN_TEST_LOOP_ff_f): Likewise.
9785         (atan2_test_data): New variable.
9786         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9787         (copysign_test_data): New variable.
9788         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9789         (fdim_test_data): New variable.
9790         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9791         (fmax_test_data): New variable.
9792         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9793         (fmin_test_data): New variable.
9794         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9795         (fmod_test_data): New variable.
9796         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9797         (hypot_test_data): New variable.
9798         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9799         (nextafter_test_data): New variable.
9800         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9801         (nexttoward_test_data): New variable.
9802         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9803         (pow_test_data): New variable.
9804         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9805         (pow_tonearest_test_data): New variable.
9806         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9807         (pow_towardzero_test_data): New variable.
9808         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9809         (pow_downward_test_data): New variable.
9810         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9811         (pow_upward_test_data): New variable.
9812         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9813         (remainder_test_data): New variable.
9814         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9815         (scalb_test_data): New variable.
9816         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9817         * sysdeps/i386/fpu/libm-test-ulps: Update.
9818
9819 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9820
9821         * math/libm-test.inc (fma_test): Use max_value instead of local
9822         variable fltmax.
9823         (nextafter_test): Likewise.
9824
9825         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9826         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9827         (acos_downward_test_data): New variable.
9828         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9829         (acos_upward_test_data): New variable.
9830         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9831         (acosh_test_data): New variable.
9832         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9833         (asin_test_data): New variable.
9834         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9835         (asin_tonearest_test_data): New variable.
9836         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9837         (asin_towardzero_test_data): New variable.
9838         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9839         (asin_downward_test_data): New variable.
9840         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9841         (asin_upward_test_data): New variable.
9842         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9843         (asinh_test_data): New variable.
9844         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9845         (atan_test_data): New variable.
9846         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9847         (atanh_test_data): New variable.
9848         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9849         (cbrt_test_data): New variable.
9850         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9851         (ceil_test_data): New variable.
9852         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9853         (cos_test_data): New variable.
9854         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9855         (cos_tonearest_test_data): New variable.
9856         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9857         (cos_towardzero_test_data): New variable.
9858         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9859         (cos_downward_test_data): New variable.
9860         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9861         (cos_upward_test_data): New variable.
9862         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9863         (cosh_test_data): New variable.
9864         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9865         (cosh_tonearest_test_data): New variable.
9866         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9867         (cosh_towardzero_test_data): New variable.
9868         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9869         (cosh_downward_test_data): New variable.
9870         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9871         (cosh_upward_test_data): New variable.
9872         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9873         (erf_test_data): New variable.
9874         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9875         (erfc_test_data): New variable.
9876         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9877         (exp_test_data): New variable.
9878         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9879         (exp_tonearest_test_data): New variable.
9880         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9881         (exp_towardzero_test_data): New variable.
9882         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9883         (exp_downward_test_data): New variable.
9884         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9885         (exp_upward_test_data): New variable.
9886         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9887         (exp10_test_data): New variable.
9888         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9889         (exp2_test_data): New variable.
9890         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9891         (expm1_test_data): New variable.
9892         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9893         (fabs_test_data): New variable.
9894         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9895         (floor_test_data): New variable.
9896         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9897         (j0_test_data): New variable.
9898         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9899         (j1_test_data): New variable.
9900         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9901         (log_test_data): New variable.
9902         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9903         (log10_test_data): New variable.
9904         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9905         (log1p_test_data): New variable.
9906         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9907         (log2_test_data): New variable.
9908         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9909         (logb_test_data): New variable.
9910         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9911         (logb_downward_test_data): New variable.
9912         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9913         (nearbyint_test_data): New variable.
9914         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9915         (rint_test_data): New variable.
9916         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9917         (rint_tonearest_test_data): New variable.
9918         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9919         (rint_towardzero_test_data): New variable.
9920         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9921         (rint_downward_test_data): New variable.
9922         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9923         (rint_upward_test_data): New variable.
9924         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9925         (round_test_data): New variable.
9926         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9927         (sin_test_data): New variable.
9928         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9929         (sin_tonearest_test_data): New variable.
9930         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9931         (sin_towardzero_test_data): New variable.
9932         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9933         (sin_downward_test_data): New variable.
9934         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9935         (sin_upward_test_data): New variable.
9936         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9937         (sinh_test_data): New variable.
9938         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9939         (sinh_tonearest_test_data): New variable.
9940         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9941         (sinh_towardzero_test_data): New variable.
9942         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9943         (sinh_downward_test_data): New variable.
9944         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9945         (sinh_upward_test_data): New variable.
9946         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9947         (sqrt_test_data): New variable.
9948         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9949         (tan_test_data): New variable.
9950         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9951         (tan_tonearest_test_data): New variable.
9952         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9953         (tan_towardzero_test_data): New variable.
9954         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9955         (tan_downward_test_data): New variable.
9956         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9957         (tan_upward_test_data): New variable.
9958         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9959         (tanh_test_data): New variable.
9960         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9961         (tgamma_test_data): New variable.
9962         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9963         (trunc_test_data): New variable.
9964         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9965         (y0_test_data): New variable.
9966         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9967         (y1_test_data): New variable.
9968         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9969         (significand_test_data): New variable.
9970         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9971
9972 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9973
9974         [BZ #12387]
9975         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9976
9977 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9978
9979         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9980
9981 2013-05-10  Andreas Jaeger  <aj@suse.de>
9982
9983         [BZ #15448]
9984         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9985         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9986
9987 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9988
9989         * math/gen-libm-test.pl (adjust_arg): New function.
9990         (special_functions): Handle generating output in both functions
9991         and arrays.
9992         (parse_args): Likewise.
9993         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9994         $in_func argument to parse_args.
9995         * math/libm-test.inc (struct test_f_f_data): New type.
9996         (IF_ROUND_INIT_): New macro.
9997         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9998         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9999         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10000         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10001         (ROUND_RESTORE_): Likewise.
10002         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10003         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10004         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10005         (ROUND_RESTORE_FE_UPWARD): Likewise.
10006         (RUN_TEST_LOOP_f_f): New macro.
10007         (acos_test_data): New variable.
10008         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10009         (acos_tonearest_test_data): New variable.
10010         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10011
10012 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10013
10014         * benchtests/bench-skeleton.c (startup): Fix coding style.
10015
10016 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10017
10018         [BZ #6809]
10019         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10020         negative infinity argument.
10021         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10022         negative infinity argument.
10023         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10024         negative infinity argument.
10025         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10026         domain errors.
10027
10028 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10029
10030         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10031         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10032         * iconv/iconv_prog.c (main): Likewise.
10033         * locale/programs/charmap-dir.c (charmap_readdir)
10034         (fopen_uncompressed): Likewise.
10035         * locale/programs/locfile.c (siblings_uncached)
10036         (write_locale_data): Use lstat64 instead of lstat.
10037         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10038         stat.
10039
10040 2013-05-10  Andreas Jaeger  <aj@suse.de>
10041
10042         [BZ #15395]
10043         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10044         localization.
10045         Include <locale.h>.
10046
10047 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10048
10049         * elf/dl-close.c (_dl_close_worker): Add comments.
10050
10051 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10052
10053         [BZ #15359]
10054         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10055         high part of pi/2.
10056         (__ieee754_rem_pio2l): Update comments.
10057
10058         [BZ #15429]
10059         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10060         high part of pi/2.
10061         (__ieee754_rem_pio2l): Update comments.
10062
10063         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10064         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10065
10066         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10067         M_PI_4l.
10068
10069         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10070         (M_PI_34_LOG10El): Likewise.
10071         (M_PI2_LOG10El): Likewise.
10072         (M_PI4_LOG10El): Likewise.
10073         (M_PI_LOG10El): Likewise.
10074
10075 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10076
10077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10078
10079 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10080
10081         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10082         (MINUS_ZERO_INIT): Likewise.
10083         (PLUS_INFTY_INIT): Likewise.
10084         (MINUS_INFTY_INIT): Likewise.
10085         (QNAN_VALUE_INIT): Likewise.
10086         (MAX_VALUE_INIT): Likewise.
10087         (MIN_VALUE_INIT): Likewise.
10088         (MIN_SUBNORM_VALUE_INIT): Likewise.
10089         (plus_zero): Initialize with PLUS_ZERO_INIT.
10090         (minus_zero): Initialize with MINUS_ZERO_INIT.
10091         (plus_infty): Initialize with PLUS_INFTY_INIT.
10092         (minus_infty): Initialize with MINUS_INFTY_INIT.
10093         (qnan_value): Initialize with QNAN_VALUE_INIT.
10094         (max_value): Initialize with MAX_VALUE_INIT.
10095         (min_value): Initialize with MIN_VALUE_INIT.
10096         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10097
10098         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10099         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10100         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10101         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10102
10103         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10104         (RUN_TEST_2_f): Likewise.
10105         (RUN_TEST_ff_f): Likewise.
10106         (RUN_TEST_fi_f): Likewise.
10107         (RUN_TEST_fl_f): Likewise.
10108         (RUN_TEST_fff_f): Likewise.
10109         (RUN_TEST_c_f): Likewise.
10110         (RUN_TEST_f_f1): Likewise.
10111         (RUN_TEST_fF_f1): Likewise.
10112         (RUN_TEST_fI_f1): Likewise.
10113         (RUN_TEST_ffI_f1): Likewise.
10114         (RUN_TEST_c_c): Likewise.
10115         (RUN_TEST_cc_c): Likewise.
10116         (RUN_TEST_f_i): Likewise.
10117         (RUN_TEST_f_i_tg): Likewise.
10118         (RUN_TEST_ff_i_tg): Likewise.
10119         (RUN_TEST_f_b): Likewise.
10120         (RUN_TEST_f_b_tg): Likewise.
10121         (RUN_TEST_f_l): Likewise.
10122         (RUN_TEST_f_L): Likewise.
10123         (RUN_TEST_sincos): Likewise.
10124         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10125         whether to show exceptions.  Do not include ");\n" in return
10126         value.
10127         (special_functions): Output call to RUN_TEST_sincos instead of
10128         check_float calls.  Update calls to new_test.
10129         (parse_args): Output call to single RUN_TEST_* macro instead of
10130         check_* calls and other assignments.  Update calls to new_test.
10131
10132         [BZ #2546]
10133         [BZ #2560]
10134         [BZ #5159]
10135         [BZ #15426]
10136         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10137         input to result for tgamma overflow.
10138         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10139         (gamma_coeff): New variable.
10140         (NCOEFF): New macro.
10141         (gamma_positive): New function.
10142         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10143         underflow here.  Use gamma_positive instead of exp (lgamma) for
10144         other arguments.
10145         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10146         (gamma_coeff): New variable.
10147         (NCOEFF): New macro.
10148         (gammaf_positive): New function.
10149         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10150         underflow here.  Use gamma_positive instead of exp (lgamma) for
10151         other arguments.
10152         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10153         (gamma_coeff): New variable.
10154         (NCOEFF): New macro.
10155         (gammal_positive): New function.
10156         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10157         underflow here.  Use gamma_positive instead of exp (lgamma) for
10158         other arguments.
10159         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10160         (gamma_coeff): New variable.
10161         (NCOEFF): New macro.
10162         (gammal_positive): New function.
10163         (__ieee754_gammal_r): Handle positive infinity, overflow and
10164         underflow here.  Handle NaN the same as positive infinity.  Remove
10165         check x < 0xffffffff for negative integers.  Use gamma_positive
10166         instead of exp (lgamma) for other arguments.
10167         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10168         (gamma_coeff): New variable.
10169         (NCOEFF): New macro.
10170         (gammal_positive): New function.
10171         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10172         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10176         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10177         * sysdeps/generic/math_private.h (__gamma_productf): New
10178         prototype.
10179         (__gamma_product): Likewise.
10180         (__gamma_productl): Likewise.
10181         * math/Makefile (libm-calls): Add gamma_product.
10182         * math/libm-test.inc (tgamma_test): Add more tests.
10183         * sysdeps/i386/fpu/libm-test-ulps: Update.
10184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185
10186 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10187
10188         * benchtests/bench-skeleton.c (main): Preheat CPU.
10189
10190 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10191
10192         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10193
10194 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10195
10196         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10197         and _dl_skip_args_internal.
10198
10199 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10200
10201         * manual/message.texi (Message Translation): Talk about users.
10202         Message to key mapping impacts design.
10203
10204 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10205
10206         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10207
10208         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10209
10210         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10211         * sysdeps/wordsize-64/glob64.c: ... here.
10212
10213         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10214         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10215         New macros.
10216
10217         * debug/getlogin_r_chk.c: Moved to ...
10218         * login/getlogin_r_chk.c: ... here.
10219         * debug/Makefile (routines): Move getlogin_r_chk to ...
10220         * login/Makefile (routines): ... here.
10221         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10222         * login/Versions (libc: GLIBC_2.4): ... here.
10223
10224         * io/poll.c (__poll): Renamed from poll.
10225         Add libc_hidden_def.
10226         (poll): Define as weak alias.
10227
10228         * debug/ptsname_r_chk.c: Moved to ...
10229         * login/ptsname_r_chk.c: ... here.
10230         * debug/Makefile (routines): Move ptsname_r_chk to ...
10231         * login/Makefile (routines): ... here.
10232         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10233         * login/Versions (libc: GLIBC_2.4): ... here.
10234
10235         * posix/getlogin.c: Moved to ...
10236         * login/getlogin.c: ... here.
10237         * posix/getlogin_r.c: Moved to ...
10238         * login/getlogin_r.c: ... here.
10239         * posix/getlogin_r.c: Moved to ...
10240         * login/getlogin_r.c: ... here.
10241         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10242         * login/Makefile (routines): ... here.
10243         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10244         * login/Versions (libc: GLIBC_2.0): ... here.
10245
10246         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10247         (setrlimit): Define as weak alias.
10248
10249         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10250         Call __ names for open, ftruncate, and close.
10251         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10252         (truncate): Define as weak alias.
10253
10254 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10255
10256         * math/gen-libm-test.pl (parse_args): Initialize x before each
10257         test of frexp, modf and remquo.
10258
10259         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10260         test signgam value.
10261
10262 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10263
10264         [BZ #15418]
10265         [BZ #15419]
10266         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10267         internal tests.
10268         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10269
10270 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10271
10272         * elf/dl-writev.h: New file.
10273         * elf/dl-misc.c: Include it.
10274         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10275         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10276
10277 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10278
10279         * math/libm-test.inc (noXFails): Remove variable.
10280         (noXPasses): Likewise.
10281         (BUILD_COMPLEX_INT): Remove macro.
10282         (print_screen): Remove xfail argument.
10283         (print_screen_max_error): Likewise.
10284         (update_stats): Likewise.
10285         (print_max_error): Likewise.  Update calls to other affected
10286         functions.
10287         (print_complex_max_error): Likewise.
10288         (test_single_exception): Update calls to print_screen.
10289         (test_single_errno): Likewise.
10290         (check_float_internal): Remove xfail argument.  Update calls to
10291         other affected functions.
10292         (check_float): Likewise.
10293         (check_complex): Likewise.
10294         (check_int): Likewise.
10295         (check_long): Likewise.
10296         (check_bool): Likewise.
10297         (check_longlong): Likewise.
10298         (main): Don't print noXFails and noXPasses.
10299         * math/gen-libm-test.pl (top level): Don't mention expected
10300         failure handling in comment.
10301         (new_test): Don't handle expected failures.
10302         (parse_args): Don't mention expected failure handling in comment.
10303         (generate_testfile): Don't handle expected failures.
10304         (parse_ulps): Likewise.
10305         (print_ulps_file): Likewise.
10306         (get_failure): Remove function.
10307         (output_test): Don't handle expected failures.
10308         * make/README.libm-test: Don't mention expected failure handling.
10309
10310         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10311         (minus_zero): Likewise.
10312         (plus_infty): Likewise.
10313         (minus_infty): Likewise.
10314         (qnan_value): Likewise.
10315         (max_value): Likewise.
10316         (min_value): Likewise.
10317         (min_subnorm_value): Likewise.
10318         (initialize): Do not initialize those variables dynamically.
10319
10320 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10321
10322         * io/open.c (__open_2): Moved to ...
10323         * io/open_2.c: ... this new file.
10324         * io/open64.c (__open64_2): Moved to ...
10325         * io/open64_2.c: ... this new file.
10326         * io/openat.c (__openat_2): Moved to ...
10327         * io/openat_2.c: ... this new file.
10328         * io/openat64.c (__openat64_2): Moved to ...
10329         * io/openat64_2.c: ... this new file.
10330         * io/Makefile (routines): Add them.
10331         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10332         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10333         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10334         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10335         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10336         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10337         (__openat64): Add hidden_ver.
10338         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10339         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10340
10341         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10342         Separately conditionalize setting of GLRO(dl_sysinfo) so
10343         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10344         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10345
10346 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10347
10348         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10349         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10350         definition.
10351         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10352         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10353         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10354         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10355         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10356
10357 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10358
10359         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10360         test signgam value.
10361
10362         * math/libm-test.inc (hypot_test): Do not use
10363         IGNORE_ZERO_INF_SIGN.
10364
10365 2013-05-03  Andreas Jaeger  <aj@suse.de>
10366
10367         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10368         Linux 3.9.
10369         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10370         (PF_MAX): Adjust for VSOCK change.
10371
10372 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10373
10374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10375
10376 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10377
10378         [BZ #15264]
10379         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10380         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10381         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10382
10383 2013-05-02  David S. Miller  <davem@davemloft.net>
10384
10385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10386
10387 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10388
10389         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10390
10391 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10392
10393         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10394
10395 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10396
10397         [BZ #14952]
10398         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10399         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10400         Use __attribute__ ((__gnu_inline__)).
10401         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10402         Don't use __attribute__ ((__gnu_inline__)).
10403
10404 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10405
10406         [BZ #15423]
10407         * math/s_catan.c (__catan): Handle small real or imaginary part of
10408         input specially to avoid spurious underflow.
10409         * math/s_catanf.c (__catanf): Likewise.
10410         * math/s_catanh.c (__catanh): Likewise.
10411         * math/s_catanhf.c (__catanhf): Likewise.
10412         * math/s_catanhl.c (__catanhl): Likewise.
10413         * math/s_catanl.c (__catanl): Likewise.
10414         * math/libm-test.inc (catan_test): Add more tests.
10415         (catanh_test): Likewise.
10416         * sysdeps/i386/fpu/libm-test-ulps: Update.
10417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10418
10419 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10420
10421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10422
10423 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10424
10425         [BZ #15416]
10426         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10427         accurately for denominator in atan2.
10428         * math/s_catanf.c (__catanf): Likewise.
10429         * math/s_catanh.c (__catanh): Likewise.
10430         * math/s_catanhf.c (__catanhf): Likewise.
10431         * math/s_catanhl.c (__catanhl): Likewise.
10432         * math/s_catanl.c (__catanl): Likewise.
10433         * math/libm-test.inc (catan_test): Add more tests.
10434         (catanh_test): Likewise.
10435         * sysdeps/i386/fpu/libm-test-ulps: Update.
10436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10437
10438 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10439
10440         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10441
10442         * benchtests/Makefile (bench): Remove slow benchmarks.
10443         * benchtests/atan-inputs: Add slow benchmark inputs.
10444         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10445         (BENCH_FUNC): Accept variant offset.
10446         (VARIANT): Define.
10447         * benchtests/bench-skeleton.c (main): Run benchmark for each
10448         variant.
10449         * benchtests/cos-inputs: Add slow benchmark inputs.
10450         * benchtests/exp-inputs: Likewise.
10451         * benchtests/pow-inputs: Likewise.
10452         * benchtests/sin-inputs: Likewise.
10453         * benchtests/slowatan-inputs: Remove.
10454         * benchtests/slowatan.c: Remove.
10455         * benchtests/slowcos-inputs: Remove.
10456         * benchtests/slowcos.c: Remove.
10457         * benchtests/slowexp-inputs: Remove.
10458         * benchtests/slowexp.c: Remove.
10459         * benchtests/slowpow-inputs: Remove.
10460         * benchtests/slowpow.c: Remove.
10461         * benchtests/slowsin-inputs: Remove.
10462         * benchtests/slowsin.c: Remove.
10463         * benchtests/slowtan-inputs: Remove.
10464         * benchtests/slowtan.c: Remove.
10465         * benchtests/tan-inputs: Add slow benchmark inputs.
10466         * scripts/bench.pl: Parse comments and directives.
10467
10468         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10469         in CPPFLAGS.
10470         ($(objpfx)bench-%.c): Remove *-ITER.
10471         * benchtests/bench-modf.c: Remove definition of ITER.
10472         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10473         (main): Loop for DURATION seconds instead of fixed number of
10474         iterations.
10475         * scripts/bench.pl: Don't expect iterations in parameters.
10476
10477 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10478
10479         * io/fchdir.c (__fchdir): Renamed from fchdir.
10480         (fchdir): Define as weak alias.
10481
10482 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10483
10484         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10485         (ERRNO_EDOM): Likewise.
10486         (ERRNO_ERANGE): Likewise.
10487         (noErrnoTests): New variable.
10488         (init_max_error): Set errno to 0.
10489         (test_single_errno): New function.
10490         (test_errno): Likewise.
10491         (check_float_internal): Call test_errno.  Set errno to 0.
10492         (check_complex): Refer to errno tests in comment.
10493         (check_int): Call test_errno.  Set errno to 0.
10494         (check_long): Likewise.
10495         (check_bool): Likewise.
10496         (check_longlong): Likewise.
10497         (cos_test): Use ERRNO_* flags for errno tests instead of
10498         check_int.
10499         (expm1_test): Likewise.
10500         (fmod_test): Likewise.
10501         (ilogb_test): Likewise.
10502         (lgamma_test): Likewise.
10503         (pow_test): Likewise.
10504         (remainder_test): Likewise.
10505         (sin_test): Likewise.
10506         (tan_test): Likewise.
10507         (yn_test): Likewise.
10508         (initialize): Set errno to 0.
10509         (main): Print number of errno tests.
10510         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10511
10512 2013-04-29  Andreas Jaeger  <aj@suse.de>
10513
10514         [BZ #15084]
10515         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10516         and RES_USEVC.
10517
10518         [BZ #15085]
10519         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10520         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10521         unimplemented.
10522
10523         [BZ #15380]
10524         * stdlib/random.c (__initstate): Return NULL if
10525         __initstate fails.
10526
10527         [BZ #15086]
10528         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10529         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10530         RES_SNGLKUPREOP.
10531
10532 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10533
10534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10535
10536 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10537
10538         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10539         of individual tests.
10540         (casin_test): Likewise.
10541         (casinh_test): Likewise.
10542
10543 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10544
10545         [BZ #15409]
10546         * math/s_catan.c (__catan): Handle arguments with large real or
10547         imaginary part separately without squaring.
10548         * math/s_catanf.c (__catanf): Likewise.
10549         * math/s_catanh.c (__catanh): Likewise.
10550         * math/s_catanhf.c (__catanhf): Likewise.
10551         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10552         and redefine.
10553         (__catanhl): Handle arguments with large real or imaginary part
10554         separately without squaring.
10555         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10556         and redefine.
10557         (__catanl): Handle arguments with large real or imaginary part
10558         separately without squaring.
10559         * math/libm-test.inc (catan_test): Add more tests.
10560         (catanh_test): Likewise.
10561         * sysdeps/i386/fpu/libm-test-ulps: Update.
10562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10563
10564 2013-04-27  Andreas Jaeger  <aj@suse.de>
10565
10566         [BZ #15007]
10567         * stdlib/stdlib.h: Update guards for qecvt.
10568         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10569         <stdlib.h>.
10570
10571 2013-04-27  Allan McRae  <allan@archlinux.org>
10572
10573         * sysdeps/i386/fpu/libm-test-ulps: Update.
10574
10575 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10576
10577         [BZ #15406]
10578         * math/s_catan.c: Include <float.h>.
10579         (__catan): Ensure underflow exception occurs for underflowed
10580         result.
10581         * math/s_catanf.c: Include <float.h>.
10582         (__catanf): Ensure underflow exception occurs for underflowed
10583         result.
10584         * math/s_catanh.c: Include <float.h>.
10585         (__catanh): Ensure underflow exception occurs for underflowed
10586         result.
10587         * math/s_catanhf.c: Include <float.h>.
10588         (__catanhf): Ensure underflow exception occurs for underflowed
10589         result.
10590         * math/s_catanhl.c: Include <float.h>.
10591         (__catanhl): Ensure underflow exception occurs for underflowed
10592         result.
10593         * math/s_catanl.c: Include <float.h>.
10594         (__catanl): Ensure underflow exception occurs for underflowed
10595         result.
10596         * math/libm-test.inc (catan_test): Add more tests.
10597         (catanh_test): Likewise.
10598
10599         [BZ #15405]
10600         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10601         underflowed result.
10602         * math/s_ccoshf.c (__ccoshf): Likewise.
10603         * math/s_ccoshl.c (__ccoshl): Likewise.
10604         * math/s_csin.c (__csin): Likewise.
10605         * math/s_csinf.c (__csinf): Likewise.
10606         * math/s_csinh.c (__csinh): Likewise.
10607         * math/s_csinhf.c (__csinhf): Likewise.
10608         * math/s_csinhl.c (__csinhl): Likewise.
10609         * math/s_csinl.c (__csinl): Likewise.
10610         * math/libm-test.inc (ccos_test): Add more tests.
10611         (ccosh_test): Likewise.
10612         (csin_test): Likewise.
10613         (csinh_test): Likewise.
10614
10615 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10616
10617         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10618         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10619         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10620         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10621         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10622         powerpc/power5+/fpu folders.
10623         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10624
10625
10626 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10627
10628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10629
10630 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10631
10632         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10633         additions to variable.
10634         [$(config-machine) = x86_64] (modules-names): Likewise.
10635         ($(objpfx)tst-audit3): Remove dependency.
10636         ($(objpfx)tst-audit3.out): Likewise.
10637         ($(objpfx)tst-audit4): Likewise.
10638         ($(objpfx)tst-audit4.out): Likewise.
10639         ($(objpfx)tst-audit5): Likewise.
10640         ($(objpfx)tst-audit5.out): Likewise.
10641         ($(objpfx)tst-audit6): Likewise.
10642         ($(objpfx)tst-audit6.out): Likewise.
10643         ($(objpfx)tst-audit7): Likewise.
10644         ($(objpfx)tst-audit7.out): Likewise.
10645         (tst-audit3-ENV): Remove variable.
10646         (tst-audit4-ENV): Likewise.
10647         (tst-audit5-ENV): Likewise.
10648         (tst-audit6-ENV): Likewise.
10649         (tst-audit7-ENV): Likewise.
10650         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10651         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10652         addition to variable.
10653         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10654         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10658         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10659         tst-audit3, tst-audit4 and tst-audit5.
10660         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10661         tst-audit6 and tst-audit7.
10662         [$(subdir) = elf] (modules-names): Add audit modules for those
10663         tests.
10664         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10665         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10666         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10667         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10668         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10669         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10670         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10671         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10672         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10673         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10674         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10675         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10676         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10677         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10678         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10679         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10680         Likewise.
10681         [$(subdir) = elf && $(config-cflags-avx) = yes]
10682         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10683         [$(subdir) = elf && $(config-cflags-avx) = yes]
10684         (CFLAGS-tst-auditmod4a.c): Likewise.
10685         [$(subdir) = elf && $(config-cflags-avx) = yes]
10686         (CFLAGS-tst-auditmod4b.c): Likewise.
10687         [$(subdir) = elf && $(config-cflags-avx) = yes]
10688         (CFLAGS-tst-auditmod6b.c): Likewise.
10689         [$(subdir) = elf && $(config-cflags-avx) = yes]
10690         (CFLAGS-tst-auditmod6c.c): Likewise.
10691         [$(subdir) = elf && $(config-cflags-avx) = yes]
10692         (CFLAGS-tst-auditmod7b.c): Likewise.
10693         * elf/tst-audit3.c: Move to ...
10694         * sysdeps/x86_64/tst-audit3.c: ... here.
10695         * elf/tst-audit4.c: Move to ...
10696         * sysdeps/x86_64/tst-audit4.c: ... here.
10697         * elf/tst-audit5.c: Move to ...
10698         * sysdeps/x86_64/tst-audit5.c: ... here.
10699         * elf/tst-audit6.c: Move to ...
10700         * sysdeps/x86_64/tst-audit6.c: ... here.
10701         * elf/tst-audit7.c: Move to ...
10702         * sysdeps/x86_64/tst-audit7.c: ... here.
10703         * elf/tst-auditmod3a.c: Move to ...
10704         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10705         * elf/tst-auditmod3b.c: Move to ...
10706         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10707         * elf/tst-auditmod4a.c: Move to ...
10708         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10709         * elf/tst-auditmod4b.c: Move to ...
10710         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10711         * elf/tst-auditmod5a.c: Move to ...
10712         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10713         * elf/tst-auditmod5b.c: Move to ...
10714         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10715         * elf/tst-auditmod6a.c: Move to ...
10716         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10717         * elf/tst-auditmod6b.c: Move to ...
10718         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10719         * elf/tst-auditmod6c.c: Move to ...
10720         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10721         * elf/tst-auditmod7a.c: Move to ...
10722         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10723         * elf/tst-auditmod7b.c: Move to ...
10724         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10725
10726 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10727
10728         [BZ #15366]
10729         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10730         define unconditionally.
10731         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10732         define unconditionally.
10733         (INT8_C, INT16_C, etc.): Likewise.
10734
10735 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10736
10737         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10738         __ehdr_start with hidden visibility.
10739
10740         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10741
10742 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10743
10744         * math/libm-test.inc (cos_test): Use accurate hex constants.
10745         (sincost_test): Likewise.
10746
10747 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10748
10749         * math/libm-test.inc (catan_test): Add more tests.
10750         (catanh_test): Likewise.
10751
10752         * math/s_catanf.c (__catanf): Use suffixed floating-point
10753         constants.
10754         * math/s_catanhf.c (__catanhf): Likewise.
10755         * math/s_catanhl.c (__catanhl): Likewise.
10756         * math/s_catanl.c (__catanl): Likewise.
10757
10758         [BZ #15394]
10759         * math/s_catan.c (__catan): Calculate imaginary part of result
10760         with log1p not log unless computing log of number close to 0.
10761         * math/s_catanf.c (__catanf): Likewise.
10762         * math/s_catanl.c (__catanl): Likewise.
10763         * math/s_catanh.c (__catanh): Calculate real part of result with
10764         log1p not log unless computing log of number close to 0.
10765         * math/s_catanhf.c (__catanhf): Likewise.
10766         * math/s_catanhl.c (__catanhl): Likewise.
10767         * math/libm-test.inc (catan_test): Add more tests.
10768         (catanh_test): Likewise.
10769         * sysdeps/i386/fpu/libm-test-ulps: Update.
10770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10771
10772 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10773
10774         * benchtests/Makefile: Mention files in which fast and slow
10775         paths of math functions are implemented.
10776
10777 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10778
10779         * sysdeps/posix/timespec_get.c: New file.
10780
10781 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10782
10783         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10784         POWER.
10785         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10786         for POWER.
10787         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10788         powerpc/power5/fpu folders.
10789         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10790         * benchtests/Makefile: Add modf testcase.
10791         * benchtests/bench-modf.c: New file: Benchmark test for mo
10792
10793 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10794
10795         [BZ #14888]
10796         * time/Makefile (tests): Add tst-strptime-whitespace.
10797         * time/strptime_l.c (get_number): Use ISSPACE.
10798         (__strptime_internal): Likewise.
10799         * time/tst-strptime-whitespace.c: New test case.
10800
10801 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10802
10803         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10804         member.
10805         (_nss_files_init): Set it here.
10806
10807 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10808
10809         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10810         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10811         unsigned.
10812
10813 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10814
10815         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10816
10817 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10818
10819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10820         size just once.
10821
10822 2013-04-21  David S. Miller  <davem@davemloft.net>
10823
10824         * po/ru.po: Update Russion translation from translation project.
10825
10826 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10827
10828         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10829         and setfsgid.
10830
10831 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10832
10833         * configure.in: Remove i386 configure warning. Remove i386 case.
10834         * configure: Regenerate.
10835         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10836         Add example to error message.
10837         * sysdeps/i386/configure: Regenerate.
10838
10839 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10840
10841         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10842         slowtan.
10843         * benchtests/cos-inputs: New file.
10844         * benchtests/slowcos-inputs: New file.
10845         * benchtests/slowcos.c: New file.
10846         * benchtests/slowtan-inputs: New file.
10847         * benchtests/slowtan.c: New file.
10848         * benchtests/tan-inputs: New file.
10849
10850 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10851
10852         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10853         considered kosher.
10854
10855 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10856
10857         * benchtests/Makefile: Include cppflags-iterator.mk to add
10858         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10859
10860         * Makefile.in (bench-clean): New target.
10861         * benchtests/Makefile (bench-clean): Likewise.
10862
10863 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10864
10865         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10866
10867 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10868
10869         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10870
10871 2013-04-15  Andreas Schwab  <schwab@suse.de>
10872
10873         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10874         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10875         * nscd/pwdcache.c (cache_addpw): Likewise.
10876         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10877         more than recsize.
10878
10879 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10880
10881         * benchtests/Makefile (bench): Write all output to
10882         bench-out.tmp together.
10883
10884 2013-04-15  Andreas Schwab  <schwab@suse.de>
10885
10886         * nscd/nscd.c (main): Don't fork again after closing files.
10887
10888 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10889
10890         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10891
10892         * benchtests/Rules (bench-deps): Collect dependencies into a
10893         single variable.  Add Makefile to dependencies.
10894         ($(objpfx)bench-%.c): Depend on bench-deps.
10895
10896 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10897             Xavier Roche  <roche+kml2@exalead.com>
10898
10899         [BZ #15361]
10900         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10901         just that it's a file descriptor.
10902         * manual/llio.texi (Synchronizing AIO Operations): Update description
10903         for EBADF error from aio_fsync.
10904
10905 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10906
10907         * Rules (bench): Move target definition...
10908         * benchtests/Makefile: ... here.
10909
10910 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10911
10912         * math/libm-test.inc (cos_test): Fix PI/2 test.
10913         (sincos_test): Likewise.
10914         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10915         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10916
10917 2013-04-11  Andreas Schwab  <schwab@suse.de>
10918
10919         [BZ #13988]
10920         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10921         accept exponent character only when digits were seen.
10922         * stdio-common/Makefile (tests): Add bug26.
10923         * stdio-common/bug26.c: New file.
10924
10925         [BZ #14293]
10926         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10927         non-freeable.
10928
10929 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10930
10931         * Makeconfig (rtld-prefix): Define built linker prefix.
10932         * Rules (run-bench): Use it.
10933         * math/Makefile (run-regen-ulps): Likewise.
10934
10935         * Rules (bench): Remove eval.
10936
10937 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10938             Roland McGrath  <roland@hack.frob.com>
10939             Ondrej Bilka  <neleai@seznam.cz>
10940
10941         [BZ #15346]
10942         * time/getdate.c: Include ctype.h and alloca.h.
10943         (__getdate_r): Trim leading and trailing spaces of input.
10944         * time/tst-getdate.c (tests): Add tests with leading and
10945         trailing spaces.
10946
10947 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10948
10949         [BZ #14280]
10950         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10951         when computing value.
10952
10953 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10954
10955         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10956         Use testrun.sh to run libm tests.
10957
10958         [BZ #15309]
10959         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10960
10961 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10962
10963         [BZ #15264]
10964         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10965
10966 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10967
10968         * Makefile.in (regen-ulps): New target.
10969         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10970         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10971         [ifneq (no,$(PERL)] (regen-ulps): New target.
10972         [ifeq (no,$(PERL)] (regen-ulps): New target.
10973         * math/libm-test.inc (ulps_file_name): Define.
10974         (output_dir): New variable.
10975         (options): Add "output-dir" option.
10976         (parse_opt): Handle 'o' case.
10977         (main): If output_dir is non-NULL use it as a prefix
10978         otherwise use "".
10979         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10980
10981 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10982
10983         [BZ #10060, #10062]
10984         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10985         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10986         fail configure if __sync_val_compare_and_swap is not inlined.
10987         * sysdeps/i386/configure: Regenerate.
10988         * configure.in: Build for i686 when configured for i386.
10989         * configure: Regenerate.
10990         * README: Remove i386 reference.
10991
10992 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10993
10994         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10995         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10996
10997 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10998
10999         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11000         (lmsnanval): New variables.
11001         (F): Add conversion tests.
11002         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11003         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11004
11005         * stdio-common/tstdiomisc.c (F): Properly collect individual
11006         tests' results.
11007
11008         [BZ #14686, #15336]
11009         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11010         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11011         Instead, use input NaN values or generate a qNaN by arithmetic
11012         operation.  Also fix bugs to comply with the standard.
11013         * math/libm-test.inc (remainder_test): Add more tests.
11014
11015         [BZ #15335, #15342]
11016         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11017         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11018         input NaN values or generate a qNaN by arithmetic operation.
11019
11020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11021         unreachable code.
11022
11023         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11024         definitions.
11025
11026 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11027
11028         [BZ #14478]
11029         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11030         underflowed result.
11031         * math/s_cexpf.c (__cexpf): Likewise.
11032         * math/s_cexpl.c (__cexpl): Likewise.
11033         * math/libm-test.inc (cexp_test): Add more tests.
11034
11035 2013-04-03  Andreas Schwab  <schwab@suse.de>
11036
11037         [BZ #15330]
11038         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11039         order arrays from heap if bigger than alloca cutoff.
11040
11041 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11042
11043         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11044         (SNAN_TESTS_double): Refer to GCC PR56831.
11045         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11046         GCC PR56828.
11047
11048 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11049
11050         * Rules (bench): Move bench.out after the run is complete.
11051
11052         * Rules (bench): Echo currently running benchmark.
11053
11054         * benchtests/Makefile (bench): Add atan and slowatan.
11055         * benchtests/atan-inputs: New file.
11056         * benchtests/slowatan-inputs: New file.
11057         * benchtests/slowatan.c: New file.
11058
11059         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11061         its value.
11062
11063         [BZ #15305]
11064         * sysdeps/unix/sysv/linux/kernel-features.h
11065         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11066         __ASSUME_XFS_RESTRICTED_CHOWN.
11067         * sysdeps/unix/sysv/linux/pathconf.c
11068         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11069         Save and restore errno.
11070
11071 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11072
11073         [BZ #15327]
11074         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11075         arguments using __kernel_casinh.
11076         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11077         arguments using __kernel_casinhf.
11078         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11079         arguments using __kernel_casinhl.
11080         * math/libm-test.inc (cacosh_test): Add more tests.
11081         * sysdeps/i386/fpu/libm-test-ulps: Update.
11082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11083
11084 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11085
11086         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11088
11089         * bench/Makefile (bench): Add sin and slowsin.
11090         * benchtests/sin-inputs: New file.
11091         * benchtests/slowsin-inputs: New file.
11092         * benchtests/slowsin.c: New file.
11093
11094         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11095         (bench): Add slowexp and slowpow.
11096         (exp-ITER): Increase iterations.
11097         (pow-ITER): Likewise.
11098         * benchtests/exp-inputs: Change input.
11099         * benchtests/pow-inputs: Likewise.
11100         * benchtests/slowexp-inputs: New file.
11101         * benchtests/slowexp.c: New file.
11102         * benchtests/slowpow-inputs: New file.
11103         * benchtests/slowpow.c: New file.
11104
11105 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11106
11107         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11108         instructions.
11109         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11110         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11111         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11112         * benchtests/Makefile: Add rint benchtest.
11113         * benchtests/rint-inputs: Input for rint benchtest.
11114
11115 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11116
11117         * Versions.def (libm): Add GLIBC_2.18.
11118         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11119         hidden libm prototypes.
11120         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11121         * math/Makefile (libm-calls): Add s_issignaling.
11122         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11123         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11124         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11125         declaration.
11126         * math/math.h [__USE_GNU] (issignaling): New macro.
11127         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11128         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11129         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11130         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11131         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11132         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11133         * manual/arith.texi (issignaling): New section.
11134         * manual/libm-err-tab.pl (@all_functions): Update comment.
11135         * math/gen-libm-test.pl (parse_args): Apply special handling for
11136         issignaling.
11137         * math/libm-test.inc (print_float, issignaling_test): New
11138         functions.
11139         (check_float_internal): Add issignaling checks.
11140         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11141         default definition.
11142         * sysdeps/powerpc/math-tests.h: New file.
11143         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11144         tests.
11145         * math/test-snan.c (TEST_FUNC): Likewise.
11146
11147 2013-03-30  David S. Miller  <davem@davemloft.net>
11148
11149         * po/de.po: Update from translation team.
11150
11151 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11152
11153         [BZ #10357]
11154         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11155         imaginary part less than 1.0 and real part less than 0.5
11156         specially.
11157         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11158         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11159         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11160         (cacos_test): Add more tests.
11161         (casin_test): Likewise.
11162         (casinh_test): Likewise.
11163         * sysdeps/i386/fpu/libm-test-ulps: Update.
11164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165
11166 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11167
11168         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11169         ONE with its value.
11170
11171         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11172         (__pow_mp): Replace ONE and MONE with their values.
11173         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11174         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11175         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11176         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11177         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11178         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11179
11180         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11181
11182         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11183         (__pow_mp): Replace ZERO and MZERO with their values.
11184         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11185         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11186         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11188         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11189         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11190         (__sqr): Likewise.
11191
11192         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11193
11194         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11195
11196 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11197
11198         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11199         Declare with __attribute__ ((weak)).
11200         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11201         Call __call_tls_dtors only if it's not NULL.
11202
11203 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11204
11205         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11206         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11207         magic __ehdr_start linker symbol if it's defined.
11208         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11209         them up here if it was already done.
11210
11211         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11212         (_dl_aux_init): Use const in cast when setting it.
11213         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11214         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11215         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11216
11217         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11218         Declare them here.
11219         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11220         * csu/libc-tls.c: Nor here.
11221         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11222
11223         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11224         (__libc_message): Never call vsyslog.
11225
11226 2013-03-28  Alan Modra  <amodra@gmail.com>
11227
11228         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11229         Define as empty.
11230         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11231         Likewise.
11232
11233 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11234
11235         [BZ #15214]
11236         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11237         underflow.
11238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11239
11240 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11241
11242         [BZ #15304]
11243         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11244         Don't add gid passed as argument.
11245
11246         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11247
11248 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11249
11250         [BZ #15307]
11251         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11252         imaginary part between 1.0 and 1.5 and real part less than 0.5
11253         specially.
11254         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11255         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11256         * math/libm-test.inc (cacos_test): Add more tests.
11257         (casin_test): Likewise.
11258         (casinh_test): Likewise.
11259         * sysdeps/i386/fpu/libm-test-ulps: Update.
11260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11261
11262 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11263
11264         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11265         constants.
11266         (norm): Likewise.
11267         (denorm): Likewise.
11268         (__dbl_mp): Likewise.
11269         (add_magnitudes): Likewise.
11270         (sub_magnitudes): Likewise.
11271         (__add): Likewise.
11272         (__sub): Likewise.
11273         (__mul): Likewise.
11274         (__sqr): Likewise.
11275         (__inv): Likewise.
11276         (__dvd): Likewise.
11277
11278         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11279         commented code.
11280         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11281         (__dubcos): Likewise.
11282         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11283         (__ieee754_acos): Likewise.
11284         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11285         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11286         (__exp1): Likewise.
11287         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11289         (log1): Likewise.
11290         (my_log2): Likewise.
11291         (checkint): Likewise.
11292         * sysdeps/ieee754/dbl-64/e_remainder.c
11293         (__ieee754_remainder): Likewise.
11294         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11295         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11296         (bsloww): Likewise.
11297         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11298
11299         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11300         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11301         MANTISSA_STORE_T to store computations on mantissa.  Use
11302         macros for rounding and division.
11303         (denorm): Likewise.
11304         (__dbl_mp): Likewise.
11305         (add_magnitudes): Likewise.
11306         (sub_magnitudes): Likewise.
11307         (__mul): Likewise.
11308         (__sqr): Likewise.
11309         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11310         powers of two in terms of TWOPOW macro.
11311         (mp_no): Make type of mantissa as MANTISSA_T.
11312         [!RADIXI]: Define RADIXI.
11313         [!TWO52]: Define TWO52.
11314         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11315
11316 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11317
11318         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11319         llroundl symbol when building for PPC32.
11320
11321 2013-03-24  Mark H Weaver  <mhw@netris.org>
11322
11323         * manual/arith.texi (Normalization Functions): Fix prototypes for
11324         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11325
11326 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11327
11328         [BZ #13889]
11329         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11330         high value to check if expl overflow.
11331         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11332         to check for underflow and overflow.
11333         * math/libm-test.inc: Add exp test.
11334
11335 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11336
11337         [BZ #11120]
11338         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11339         with NOT_IN_libc.
11340
11341 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11342
11343         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11344         symbol.
11345
11346 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11347
11348         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11349         wrap blocks consisting of several statements.
11350
11351         * sysdeps/generic/math-tests.h: New file.
11352         * sysdeps/i386/fpu/math-tests.h: Likewise.
11353         * math/test-snan.c: Include it.
11354         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11355
11356 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11357
11358         [BZ #15285]
11359         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11360         (__ieee754_j0l): Do not improve calculations using cos of twice
11361         input for inputs above LDBL_MAX / 2.0L.
11362         (__ieee754_y0l): Likewise.
11363         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11364         (__ieee754_j1l): Do not improve calculations using cos of twice
11365         input for inputs above LDBL_MAX / 2.0L.
11366         (__ieee754_y1l): Likewise.
11367         * math/libm-test.inc (j0_test): Add another test.
11368         (j1_test): Likewise.
11369         (y0_test): Likewise.
11370         (y1_test): Likewise.
11371         * sysdeps/i386/fpu/libm-test-ulps: Update.
11372
11373 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11374
11375         * Rules ($(objpfx)bench-%.c): Include code from a C source
11376         file.
11377
11378 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11379
11380         [BZ #15287]
11381         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11382         imaginary part 1.0 and real part less than 0.5 specially.
11383         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11384         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11385         * math/libm-test.inc (cacos_test): Add more tests.
11386         (casin_test): Likewise.
11387         (casinh_test): Likewise.
11388         * sysdeps/i386/fpu/libm-test-ulps: Update.
11389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11390
11391 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11392
11393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11394         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11395
11396 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11397
11398         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11399         * config.make.in (config-cflags-sse4): Remove variable.
11400         (config-cflags-avx): Likewise.
11401         (config-cflags-sse2avx): Likewise.
11402         (config-cflags-novzeroupper): Likewise.
11403         (config-asflags-i686): Likewise.
11404         (have-mfma4): Likewise.
11405         (have-as-vis3): Likewise.
11406         (MIG): Likewise.
11407         * configure.in (MIG): Do not AC_SUBST.
11408         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11409         (libc_cv_cc_sse4): Do not AC_SUBST.
11410         (libc_cv_cc_avx): Likewise.
11411         (libc_cv_cc_sse2avx): Likewise.
11412         (libc_cv_cc_novzeroupper): Likewise.
11413         (libc_cv_cc_fma4): Likewise.
11414         (libc_cv_as_i686): Likewise.
11415         (libc_cv_sparc_as_vis3): Likewise.
11416         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11417         LIBC_CONFIG_VAR.
11418         (config-asflags-i686): Likewise.
11419         (config-cflags-avx): Likewise.
11420         (config-cflags-sse2avx): Likewise.
11421         (have-mfma4): Likewise.
11422         (config-cflags-novzeroupper): Likewise.
11423         * sysdeps/mach/configure.in (MIG): Likewise.
11424         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11425         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11426         LIBC_CONFIG_VAR.
11427         (config-cflags-avx): Likewise.
11428         (config-cflags-sse2avx): Likewise.
11429         (have-mfma4): Likewise.
11430         (config-cflags-novzeroupper): Likewise.
11431         * configure: Regenerated.
11432         * sysdeps/i386/configure: Likewise.
11433         * sysdeps/mach/configure: Likewise.
11434         * sysdeps/sparc/configure: Likewise.
11435         * sysdeps/x86_64/configure: Likewise.
11436
11437 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11438
11439         [BZ #14812]
11440         * locale/programs/localedef.c (options): Put N_ translation marker
11441         on argument names, not just descriptions.
11442
11443 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11444
11445         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11446
11447 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11448
11449         [BZ #14176]
11450         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11451
11452 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11453
11454         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11455         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11456         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11457         [!BEFORE_ABORT] (before_abort): New function.
11458         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11459         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11460         (writev_for_fatal): New function.
11461         (WRITEV_FOR_FATAL): New macro; call that.
11462         (backtrace_and_maps): New function.
11463         (BEFORE_ABORT): New macro; call that.
11464         (struct str_list): Type removed.
11465         (__libc_message, __libc_fatal): Functions removed.
11466         Include <sysdeps/posix/libc_fatal.c> instead.
11467
11468 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11469
11470         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11471         constants.
11472         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11473         double constants.
11474
11475 2013-03-19  Andreas Schwab  <schwab@suse.de>
11476
11477         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11478         * sysdeps/gnu/configure: Regenerate.
11479
11480         * configure.in: Substitute libc_cv_rtlddir.
11481         * configure: Regenerate.
11482         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11483         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11484         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11485         * elf/Makefile (install-others, CFLAGS-interp.c)
11486         (ldso_install, common-ldd-rewrite): Likewise.
11487         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11488         $(inst_slibdir)/$(rtld-installed-name).
11489         * scripts/rellns-sh: Add -p option.
11490         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11491         for source.
11492
11493 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11494
11495         * manual/nptl.texi: Renamed to ...
11496         * manual/threads.texi: ... this.
11497         * manual/Makefile (chapters): Update.
11498
11499 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11500
11501         [BZ #14812]
11502         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11503         on argument names, not just descriptions.
11504         * malloc/memusagestat.c (options): Likewise.
11505         * nss/getent.c (options): Likewise.
11506
11507 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11508
11509         [BZ #14812]
11510         * iconv/iconv_prog.c (options): Put N_ translation marker
11511         on argument names, not just descriptions.
11512         * iconv/iconvconfig.c (options): Likewise.
11513
11514 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11515
11516         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11517         implementation which is faster on all x86_64 architectures.
11518         Tested on AMD, Intel Nehalem, SNB, IVB.
11519         * sysdeps/x86_64/strnlen.S: Likewise.
11520
11521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11522         Remove all multiarch strlen and strnlen versions.
11523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11524         Remove strlen and strnlen related parts.
11525
11526         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11527         Inline strlen part.
11528         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11529
11530         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11531         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11532         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11533         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11534         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11535         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11536
11537 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11538
11539         * manual/memory.texi (Malloc Tunable Parameters):
11540         Sort parameters alphabetically. Add comments for missing entries.
11541
11542 2013-03-17  David S. Miller  <davem@davemloft.net>
11543
11544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11545
11546 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11547
11548         [BZ #15283]
11549         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11550         for arguments at most half maximum finite value.
11551         * math/libm-test.inc (j0_test): Add more tests.
11552         (j1_test): Likewise.
11553         (y0_test): Likewise.
11554         (y1_test): Likewise.
11555         * sysdeps/i386/fpu/libm-test-ulps: Update.
11556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11557
11558         [BZ #14155]
11559         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11560         1 / x and functions P and Q for arguments above 0x1p256L.
11561         (__ieee754_y0l): Likewise.
11562         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11563         (__ieee754_y1l): Likewise.
11564         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11565         (j1_test): Likewise.
11566         (y0_test): Likewise.
11567         (y1_test): Likewise.
11568
11569 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11570
11571         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11572         variable.
11573
11574 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11575
11576         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11577         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11578         zero since it's initialized to EXEC_PAGESIZE.
11579
11580         * sysdeps/unix/sysv/linux/ldsodefs.h
11581         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11582         * sysdeps/generic/ldsodefs.h: ... here.
11583
11584 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11585
11586         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11587
11588         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11589         math/test-snan.c.
11590         * math/test-snan.c: Renamed from
11591         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11592         * math/Makefile (tests): Add test-snan.
11593         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11594         test-powerpc-snan.
11595
11596         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11597         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11598         functions.
11599         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11600         __builtin_nan family of functions.
11601         * math/libm-test.inc (initialize): Initialize qnan_value with
11602         __builtin_nan family of functions.
11603         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11604         Remove variables.
11605         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11606         Remove functions.
11607         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11608         storage class.  Initialize qNaN_var and sNaN_var with
11609         __builtin_nan and __builtin_nans families of functions,
11610         respectively.
11611
11612         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11613         (sqrt_test): Remove duplicate test with qNaN input.
11614         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11615         (round_test, signbit_test, significand_test): Note missing +/-Inf
11616         as well as qNaN tests.
11617
11618         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11619         qNaN_var.  Fix a few strings, too.
11620         * math/libm-test.inc (nan_value): Rename to qnan_value.
11621         * math/gen-libm-test.pl (%beautify): Adjust to that.
11622         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11623         * math/test-misc.c (main): Likewise.
11624         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11625         to __qnan_bytes, and __qnan_union, respectively.
11626         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11627         Likewise.
11628         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11629         and lqnanval, respectively.
11630         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11631         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11632         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11633         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11634
11635         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11636         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11637         doubles.
11638
11639         * math/test-misc.c (main): Fix copy'n'pastos.
11640         * misc/tst-efgcvt.c (special): Likewise.
11641
11642         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11643         Remove declarations.
11644
11645 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11646
11647         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11648         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11649         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11650         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11651
11652 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11653
11654         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11655         macro to return vdso values correctly in IFUNC implementations.
11656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11657         Optimization by using IFUNC.
11658
11659 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660             Richard Henderson  <rth@redhat.com>
11661             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11662
11663         * Makefile.in (bench): New target.
11664         * NEWS: Mention the benchmark framework.
11665         * Rules (bench): Likewise.
11666         (binaries-bench): Generate binaries for functions to
11667         benchmark.
11668         * benchtests/Makefile: New makefile for benchmark tests.
11669         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11670         programs.
11671         * benchtests/exp-inputs: New input file for EXP function.
11672         * benchtests/pow-inputs: New input file for POW function.
11673         * scripts/bench.pl: New script to generate source files for
11674         benchmark programs.
11675
11676 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11677
11678         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11679         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11680         computations on mantissa.  Use macros for rounding and
11681         division.
11682         (denorm): Likewise.
11683         (__dbl_mp): Likewise.
11684         (add_magnitudes): Likewise.
11685         (sub_magnitudes): Likewise.
11686         (__mul): Likewise.
11687         (__sqr): Likewise.
11688         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11689         powers of two in terms of TWOPOW macro.
11690         (mp_no): Make type of mantissa as MANTISSA_T.
11691         [!RADIXI]: Define RADIXI.
11692         [!TWO52]: Define TWO52.
11693         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11694
11695         * manual/nptl.texi (cindex): Modify threads to pthreads.
11696
11697 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11698
11699         * sysdeps/x86_64/preconfigure: Regenerated.
11700
11701 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11702
11703         [BZ #14155]
11704         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11705         0x1p28 and above.
11706         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11707         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11708         0x1p28 and above.
11709         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11710         * math/libm-test.inc (j0_test): Do not allow one spurious
11711         underflow exception.
11712         (y1_test): Likewise.
11713
11714 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11715
11716         * manual/Makefile (chapters): Add nptl.
11717         * manual/debug.texi (Debugging Support): Add link to Threads
11718         chapter.
11719         * manual/nptl.texi: New file.
11720
11721         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11722
11723 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11724
11725         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11726         for non-NULL pointer before the memory validity test. Pointed
11727         out by Holger Brunck <holger.brunck@keymile.com>.
11728
11729 2013-03-13  Andreas Schwab  <schwab@suse.de>
11730
11731         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11732         instead of .os.
11733
11734 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11735
11736         * timezone/zic.c: Update from tzcode 2013b.
11737
11738 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11739
11740         * manual/install.texi (Configuring and compiling):
11741         Mention i686 and i586.
11742         * INSTALL: Regenerate.
11743
11744 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11745
11746         * sysdeps/init_array/elf-init.c: New file.
11747         * csu/elf-init.c
11748         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11749         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11750
11751         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11752         __gmon_start__ as global, but as static with a .preinit_array pointer.
11753         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11754         * sysdeps/init_array/crti.S: New file, empty except for comments.
11755         * sysdeps/init_array/crtn.S: Likewise.
11756
11757 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11758
11759         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11760         definining bcopy.
11761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11762         Remove Prefer_SSE_for_memop.
11763         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11764         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11765         HAS_PREFER_SSE_FOR_MEMOP.
11766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11767         memset-x86-64.
11768         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11769         Remove bzero, memset ifunc support.
11770         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11771         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11772         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11773         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11774
11775 2013-03-11  Andreas Schwab  <schwab@suse.de>
11776
11777         [BZ #15234]
11778         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11779         by SHLIB_COMPAT.
11780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11781         (GLIBC_2.16): Remove pthread_atfork.
11782
11783 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11784
11785         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11786         (ptestcases.h): Likewise.
11787
11788 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11789
11790         * Makeconfig ($(common-objpfx)config.status): Depend on
11791         sysdeps/*/preconfigure{,.in} too.
11792
11793 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11794
11795         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11796         (__free_hook): Use void * instead of __malloc_ptr_t.
11797         (__malloc_hook): Likewise.
11798         (__realloc_hook): Likewise.
11799         (__memalign_hook): Likewise.
11800         (__after_morecore_hook): Likewise.
11801         * malloc/arena.c (save_malloc_hook): Likewise.
11802         (save_free_hook): Likewise.
11803         * malloc/hooks.c (malloc_hook_ini): Likewise.
11804         (realloc_hook_ini): Likewise.
11805         (memalign_hook_ini): Likewise.
11806         * malloc/malloc.c (malloc_hook_ini): Likewise.
11807         (realloc_hook_ini): Likewise.
11808         (memalign_hook_ini): Likewise.
11809         (__free_hook): Likewise.
11810         (__malloc_hook): Likewise.
11811         (__realloc_hook): Likewise.
11812         (__memalign_hook): Likewise.
11813         (__libc_malloc): Likewise.
11814         (__libc_free): Likewise.
11815         (__libc_realloc): Likewise.
11816         (__libc_memalign): Likewise.
11817         (__libc_valloc): Likewise.
11818         (__libc_pvalloc): Likewise.
11819         (__libc_calloc): Likewise.
11820         (__posix_memalign): Likewise.
11821         * malloc/morecore.c (__sbrk): Likewise.
11822         (__default_morecore): Likewise.
11823
11824         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11825
11826         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11827         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11828         __malloc_ptrdiff_t.
11829
11830         * malloc/malloc.h (__malloc_size_t): Remove macro.
11831         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11832         __malloc_size_t.
11833         (old_memalign_hook): Likewise.
11834         (old_realloc_hook): Likewise.
11835         (struct hdr): Likewise.
11836         (flood): Likewise.
11837         (mallochook): Likewise.
11838         (memalignhook): Likewise.
11839         (reallochook): Likewise.
11840         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11841         (tr_old_realloc_hook): Likewise.
11842         (tr_old_memalign_hook): Likewise.
11843         (tr_mallochook): Likewise.
11844         (tr_reallochook): Likewise.
11845         (tr_memalignhook): Likewise.
11846
11847 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11848
11849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11850         default_ldbl_pack and using as default implementation.
11851         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11852         implementation.
11853         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11854         redundant definition.
11855         (ldbl_insert_mantissa): Likewise.
11856         (ldbl_canonicalize): Likewise.
11857         (ldbl_nearbyint): Likewise.
11858         (ldbl_pack): Rename to ldbl_pack_ppc.
11859         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11860         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11861         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11862
11863 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11864
11865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11866         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11868         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11870         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11871         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11872         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11873
11874 2013-03-07  Andreas Jaeger  <aj@suse.de>
11875
11876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11877         bits/mman-linux.h.
11878
11879 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11880
11881         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11882         Include mpa.h and declare __MPEXP.
11883         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11884         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11885         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11886         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11887         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11888         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11889         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11890
11891         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11892         (__slowpow): Use long double EXPL and LOGL functions to
11893         compute POW.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11895         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11897         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11898         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11899         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11900
11901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11902         intermediate variable to calculate exponent.
11903         (__sqr): Likewise.
11904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11905         Likewise.
11906         (__sqr): Likewise.
11907
11908         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11909         [!NO__SQR]: Define __sqr.
11910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11911         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11912         sysdeps/ieee754/dbl-64/mpa.c.
11913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11914
11915         [BZ #12723]
11916         * posix/Makefile (tests): Add tst-pathconf.
11917         * posix/tst-pathconf.c: New test case.
11918         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11919         _PC_PIPE_BUF.
11920         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11921
11922 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11923
11924         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11925
11926 2013-03-06  Andreas Jaeger  <aj@suse.de>
11927
11928         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11929         definition via __MAP_ANONYMOUS.
11930
11931         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11932         it's not part of Linux headers.
11933
11934         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11935         (MAP_HUGE_MASK): Define.
11936
11937         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11938         Define.
11939         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11940         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11941         Define.
11942         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11943         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11944         Define.
11945         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11946         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11947         Define.
11948         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11949
11950         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11951         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11952         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11953         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11954         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11955         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11956
11957         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11958         Handle f2fs.
11959
11960         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11961         Handle f2fs and efivarfs.
11962
11963         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11964         f2fs.
11965
11966         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11967         (EFIVARFS_MAGIC): Add.
11968         (F2FS_LINK_MAX): Add.
11969
11970 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11971
11972         * stdio-common/vfprintf.c: Replace __builtin_expect with
11973         __glibc_unlikely.
11974
11975 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11976
11977         [BZ #13550]
11978         * sysdeps/generic/bp-sym.h: Remove file.
11979         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11980         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11981         <bp-sym.h> and <bp-asm.h>.
11982         (__longjmp): Don't use BP_SYM.
11983         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11984         and <bp-asm.h>.
11985         (memcpy): Don't use BP_SYM.
11986         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11987         <bp-sym.h> and <bp-asm.h>.
11988         (memcpy): Don't use BP_SYM.
11989         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11990         <bp-asm.h>.
11991         (memcpy): Don't use BP_SYM.
11992         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11993         <bp-asm.h>.
11994         (memset): Don't use BP_SYM.
11995         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11996         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11997         (__bzero): Don't use BP_SYM.
11998         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11999         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12000         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12001         <bp-sym.h> and <bp-asm.h>.
12002         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12003         pointers.
12004         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12005         <bp-sym.h> and <bp-asm.h>.
12006         (memcpy): Don't use BP_SYM.
12007         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12008         <bp-sym.h> and <bp-asm.h>.
12009         (memset): Don't use BP_SYM.
12010         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12011         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12012         (__bzero): Don't use BP_SYM.
12013         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12014         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12015         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12016         <bp-sym.h> and <bp-asm.h>.
12017         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12018         pointers.
12019         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12020         <bp-sym.h> and <bp-asm.h>.
12021         (memcpy): Don't use BP_SYM.
12022         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12023         <bp-sym.h> and <bp-asm.h>.
12024         (memset): Don't use BP_SYM.
12025         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12026         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12027         (__bzero): Don't use BP_SYM.
12028         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12029         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12030         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12031         <bp-sym.h> and <bp-asm.h>.
12032         (__memchr): Don't use BP_SYM.
12033         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12034         <bp-sym.h> and <bp-asm.h>.
12035         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12036         pointers.
12037         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12038         <bp-sym.h> and <bp-asm.h>.
12039         (memcpy): Don't use BP_SYM.
12040         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12041         <bp-sym.h> and <bp-asm.h>.
12042         (__mempcpy): Don't use BP_SYM.
12043         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12044         <bp-sym.h> and <bp-asm.h>.
12045         (__memrchr): Don't use BP_SYM.
12046         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12047         <bp-sym.h> and <bp-asm.h>.
12048         (memset): Don't use BP_SYM.
12049         (__bzero): Likewise.
12050         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12051         <bp-sym.h> and <bp-asm.h>.
12052         (__rawmemchr): Don't use BP_SYM.
12053         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12054         <bp-sym.h> and <bp-asm.h>.
12055         (__STRCMP): Don't use BP_SYM.
12056         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12057         <bp-sym.h> and <bp-asm.h>.
12058         (strchr): Don't use BP_SYM.
12059         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12060         <bp-sym.h> and <bp-asm.h>.
12061         (__strchrnul): Don't use BP_SYM.
12062         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12063         <bp-sym.h> and <bp-asm.h>.
12064         (strlen): Don't use BP_SYM.
12065         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12066         <bp-sym.h> and <bp-asm.h>.
12067         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12068         pointers.
12069         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12070         <bp-sym.h> and <bp-asm.h>.
12071         (__strnlen): Don't use BP_SYM.
12072         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12073         <bp-sym.h> and <bp-asm.h>.
12074         (__GI__setjmp): Don't use BP_SYM.
12075         (_setjmp): Likewise.
12076         (__sigsetjmp): Likewise.
12077         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12078         (L(start_addresses)): Don't use BP_SYM.
12079         (_start): Likewise.
12080         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12081         <bp-asm.h>.
12082         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12083         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12084         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12085         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12086         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12087         <bp-asm.h>.
12088         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12089         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12090         about bounded pointers.
12091         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12092         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12093         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12094         <bp-asm.h>.
12095         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12096         about bounded pointers.  Remove GKM FIXME comments.
12097         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12098         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12099         <bp-asm.h>.
12100         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12101         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12102         Remove GKM FIXME comments.
12103         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12104         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12105         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12106         <bp-asm.h>.
12107         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12108         about bounded pointers.  Remove GKM FIXME comment.
12109         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12110         and <bp-asm.h>.
12111         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12112         pointers.
12113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12114         <bp-sym.h> and <bp-asm.h>.
12115         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12117         <bp-sym.h> and <bp-asm.h>.
12118         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12119         comment.
12120
12121 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12122
12123         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12124         call free(NULL).
12125
12126 2013-03-05  David S. Miller  <davem@davemloft.net>
12127
12128         * po/es.po: Update from translation team.
12129
12130 2013-03-05  Andreas Jaeger  <aj@suse.de>
12131
12132         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12133         <bits/mman-linux.h>.
12134         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12135         is fine.
12136         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12137         <bits/mman-linux.h> to end of file.
12138         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12139         is fine.
12140         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12141         <bits/mman-linux.h> to end of file.
12142         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12143         is fine.
12144         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12145         <bits/mman-linux.h> to end of file.
12146
12147         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12148         (MCL_CURRENT, MCL_FUTURE): Define here.
12149
12150 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12151
12152         [BZ #15232]
12153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12154         attribute_hidden.
12155         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12156
12157 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12158
12159         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12160         fourth parameter needed for rt_sigprocmask syscall.
12161         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12162         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12163         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12164         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12165         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12166         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12167
12168 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12169
12170         [BZ #13550]
12171         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12172         comment about bounded pointers.
12173         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12174         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12175
12176 2013-03-04  Andreas Jaeger  <aj@suse.de>
12177
12178         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12179         common definitions.
12180
12181         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12182         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12183         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12184         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12185         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12186         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12187
12188 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12189
12190         [BZ #15055]
12191         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12192         __ieee754_sqrl instead of __sqrl.
12193
12194 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12195
12196         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12197         * sysdeps/powerpc/fpu_control.h: ... here.
12198         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12199         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12200         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12201         * sysdeps/powerpc/bits/mathinline.h: ... here.
12202
12203 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12204
12205         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12206         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12207         to just [NEED_DL_SYSINFO_DSO].
12208         * elf/dl-support.c: Likewise.
12209         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12210         * elf/rtld.c (dl_main): Likewise.
12211         * elf/setup-vdso.h (setup_vdso): Likewise.
12212         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12213         * sysdeps/unix/sysv/linux/dl-sysdep.c
12214         (_dl_discover_osversion): Likewise.
12215
12216 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12217
12218         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12219         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12220
12221 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12222
12223         * NEWS: Mention libm performance improvements and non-x86 PI
12224         futex support.
12225
12226         * csu/libc-start.c (__pthread_initialize_minimal): Change
12227         function arguments.
12228         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12229
12230 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12231
12232         [BZ #13550]
12233         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12234         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12235         <bp-sym.h> and <bp-asm.h>.
12236         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12237         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12238         and <bp-asm.h>.
12239         (memcpy): Don't use BP_SYM.
12240         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12241         <bp-asm.h>.
12242         (__mpn_add_n): Don't use BP_SYM.
12243         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12244         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12245         and <bp-asm.h>.
12246         (__mpn_addmul_1): Don't use BP_SYM.
12247         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12248         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12249         <bp-sym.h>.
12250         (_setjmp): Don't use BP_SYM.
12251         (__novmx_setjmp): Likewise.
12252         (__GI__setjmp): Likewise.
12253         (__vmx_setjmp): Likewise.
12254         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12255         <bp-sym.h>.
12256         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12257         (__bzero): Don't use BP_SYM.
12258         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12259         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12260         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12261         <bp-sym.h> and <bp-asm.h>.
12262         (memcpy): Don't use BP_SYM.
12263         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12264         <bp-sym.h> and <bp-asm.h>.
12265         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12266         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12267         <bp-sym.h> and <bp-asm.h>.
12268         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12269         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12270         <bp-asm.h>.
12271         (__mpn_lshift): Don't use BP_SYM.
12272         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12273         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12274         <bp-asm.h>.
12275         (memset): Don't use BP_SYM.
12276         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12277         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12278         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12279         <bp-asm.h>.
12280         (__mpn_mul_1): Don't use BP_SYM.
12281         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12282         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12283         <bp-sym.h> and <bp-asm.h>.
12284         (memcmp): Don't use BP_SYM.
12285         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12286         <bp-sym.h> and <bp-asm.h>.
12287         (memcpy): Don't use BP_SYM.
12288         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12289         <bp-sym.h> and <bp-asm.h>.
12290         (memset): Don't use BP_SYM.
12291         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12292         <bp-sym.h> and <bp-asm.h>.
12293         (strncmp): Don't use BP_SYM.
12294         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12295         <bp-sym.h> and <bp-asm.h>.
12296         (memcpy): Don't use BP_SYM.
12297         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12298         <bp-sym.h> and <bp-asm.h>.
12299         (memset): Don't use BP_SYM.
12300         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12301         <bp-sym.h> and <bp-asm.h>.
12302         (__memchr): Don't use BP_SYM.
12303         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12304         <bp-sym.h> and <bp-asm.h>.
12305         (memcmp): Don't use BP_SYM.
12306         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12307         <bp-sym.h> and <bp-asm.h>.
12308         (memcpy): Don't use BP_SYM.
12309         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12310         <bp-sym.h> and <bp-asm.h>.
12311         (__mempcpy): Don't use BP_SYM.
12312         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12313         <bp-sym.h> and <bp-asm.h>.
12314         (__memrchr): Don't use BP_SYM.
12315         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12316         <bp-sym.h> and <bp-asm.h>.
12317         (memset): Don't use BP_SYM.
12318         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12319         <bp-sym.h> and <bp-asm.h>.
12320         (__rawmemchr): Don't use BP_SYM.
12321         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12322         <bp-sym.h> and <bp-asm.h>.
12323         (__STRCMP): Don't use BP_SYM.
12324         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12325         <bp-sym.h> and <bp-asm.h>.
12326         (strchr): Don't use BP_SYM.
12327         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12328         <bp-sym.h> and <bp-asm.h>.
12329         (__strchrnul): Don't use BP_SYM.
12330         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12331         <bp-sym.h> and <bp-asm.h>.
12332         (strlen): Don't use BP_SYM.
12333         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12334         <bp-sym.h> and <bp-asm.h>.
12335         (strncmp): Don't use BP_SYM.
12336         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12337         <bp-sym.h> and <bp-asm.h>.
12338         (__strnlen): Don't use BP_SYM.
12339         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12340         <bp-asm.h>.
12341         (__mpn_rshift): Don't use BP_SYM.
12342         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12343         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12344         <bp-sym.h> and <bp-asm.h>.
12345         (__sigsetjmp): Don't use BP_SYM.
12346         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12347         (L(start_addresses)): Don't use BP_SYM.
12348         (_start): Likewise.
12349         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12350         <bp-asm.h>.
12351         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12352         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12353         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12354         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12355         <bp-asm.h>.
12356         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12357         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12358         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12359         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12360         <bp-asm.h>.
12361         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12362         comments.
12363         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12364         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12365         <bp-asm.h>.
12366         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12367         FIXME comments.
12368         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12369         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12370         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12371         <bp-asm.h>.
12372         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12373         comment.
12374         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12375         and <bp-asm.h>.
12376         (strncmp): Don't use BP_SYM,
12377         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12378         <bp-asm.h>.
12379         (__mpn_sub_n): Don't use BP_SYM.
12380         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12381         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12382         and <bp-asm.h>.
12383         (__mpn_submul_1): Don't use BP_SYM.
12384         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12386         <bp-sym.h> and <bp-asm.h>.
12387         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12389         <bp-sym.h> and <bp-asm.h>.
12390         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12391         comment.
12392
12393 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12394
12395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12396         Use ZK to minimize writes to Z.
12397         (sub_magnitudes): Simplify code a bit.
12398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12399         Use ZK to minimize writes to Z.
12400         (sub_magnitudes): Simplify code a bit.
12401
12402 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12403
12404         * csu/gmon-start.c: Add special exception to license text.
12405
12406 2013-02-27  Richard Henderson  <rth@redhat.com>
12407
12408         * scripts/config.guess: Update from config.git.
12409         * scripts/config.sub: Likewise.
12410
12411 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12412
12413         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12414
12415         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12416
12417         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12418
12419         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12420
12421         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12422
12423 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12424
12425         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12426         [$(build-shared = yes].
12427
12428 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12429
12430         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12431         (__mul): Reduce iterations for calculating mantissa.
12432
12433         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12434         MPTWO.
12435         (__mpranred): Likewise.
12436
12437         [BZ #15160]
12438         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12439         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12440
12441 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12442
12443         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12444         Define __attribute__.
12445
12446 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12447
12448         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12449         unused.
12450         * posix/regex_internal.h (__attribute): Remove.
12451         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12452         (re_string_context_at): Likewise.
12453         (bitset_not): Use __attribute__ and mark function as possibly
12454         unused.
12455         (bitset_merge): Likewise.
12456         (bitset_mask): Likewise.
12457         (re_string_char_size_at): Likewise.
12458         (re_string_wchar_at): Likewise.
12459         (re_string_elem_size_at): Likewise.
12460
12461 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12462
12463         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12464         code.
12465         (cc32): Likewise.
12466
12467         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12468         (__acr): Likewise.
12469         (__cpy): Likewise.
12470         (norm): Likewise.
12471         (denorm): Likewise.
12472         (__dbl_mp): Likewise.
12473         (add_magnitudes): Likewise.
12474         (sub_magnitudes): Likewise.
12475         (__mul): Likewise.
12476         (__inv): Likewise.
12477
12478         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12479         style.
12480
12481         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12482         style.
12483
12484         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12485         code.
12486
12487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12488         up changes with default code.
12489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12490         Likewise.
12491
12492 2013-02-24  Allan McRae  <allan@archlinux.org>
12493
12494         * manual/socket.texi (The Internet Namespace): Order menu items
12495         to match that in the file.
12496
12497         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12498         node listing of the info page menu.
12499
12500 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12501
12502         [BZ #13550]
12503         * sysdeps/i386/bp-asm.h: Remove file.
12504         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12505         (PARMS): Do not use macros from bp-asm.h.
12506         (S1): Likewise.
12507         (S2): Likewise.
12508         (SIZE): Likewise.
12509         (__mpn_add_n): Do not use BP_SYM
12510         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12511         "bp-asm.h".
12512         (PARMS): Do not use macros from bp-asm.h.
12513         (S1): Likewise.
12514         (SIZE): Likewise.
12515         (__mpn_addmul_1): Do not use BP_SYM
12516         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12517         "bp-asm.h".
12518         (PARMS): Do not use macros from bp-asm.h.
12519         (SIGMSK): Likewise.
12520         (_setjmp): Likewise.  Do not use BP_SYM.
12521         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12522         "bp-asm.h".
12523         (PARMS): Do not use macros from bp-asm.h.
12524         (SIGMSK): Likewise.
12525         (setjmp): Likewise.  Do not use BP_SYM.
12526         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12527         "bp-asm.h".
12528         (PARMS): Do not use macros from bp-asm.h.
12529         (__frexp): Do not use BP_SYM.
12530         (frexp): Likewise.
12531         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12532         "bp-asm.h".
12533         (PARMS): Do not use macros from bp-asm.h.
12534         (__frexpf): Do not use BP_SYM.
12535         (frexpf): Likewise.
12536         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12537         "bp-asm.h".
12538         (PARMS): Do not use macros from bp-asm.h.
12539         (__frexpl): Do not use BP_SYM.
12540         (frexpl): Likewise.
12541         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12542         "bp-asm.h".
12543         (PARMS): Do not use macros from bp-asm.h.
12544         (__remquo): Do not use BP_SYM.
12545         (remquo): Likewise.
12546         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12547         "bp-asm.h".
12548         (PARMS): Do not use macros from bp-asm.h.
12549         (__remquof): Do not use BP_SYM.
12550         (remquof): Likewise.
12551         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12552         "bp-asm.h".
12553         (PARMS): Do not use macros from bp-asm.h.
12554         (__remquol): Do not use BP_SYM.
12555         (remquol): Likewise.
12556         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12557         "bp-asm.h".
12558         (PARMS): Do not use macros from bp-asm.h.
12559         (DEST): Likewise.
12560         (SRC): Likewise.
12561         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12562         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12563         "bp-asm.h".
12564         (PARMS): Do not use macros from bp-asm.h.
12565         (strlen): Do not use BP_SYM.
12566         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12567         "bp-asm.h".
12568         (PARMS): Do not use macros from bp-asm.h.
12569         (S1): Likewise.
12570         (S2): Likewise.
12571         (SIZE): Likewise.
12572         (__mpn_add_n): Do not use BP_SYM.
12573         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12574         "bp-asm.h".
12575         (PARMS): Do not use macros from bp-asm.h.
12576         (S1): Likewise.
12577         (SIZE): Likewise.
12578         (__mpn_addmul_1): Do not use BP_SYM.
12579         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12580         weak_alias.
12581         (bzero): Likewise.
12582         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12583         "bp-asm.h".
12584         (PARMS): Do not use macros from bp-asm.h.
12585         (S): Likewise.
12586         (SIZE): Likewise.
12587         (__mpn_lshift): Do not use BP_SYM.
12588         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12589         "bp-asm.h".
12590         (PARMS): Do not use macros from bp-asm.h.
12591         (DEST): Likewise.
12592         (SRC): Likewise.
12593         (LEN): Likewise.
12594         (memcpy): Likewise.  Do not use BP_SYM.
12595         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12596         libc_hidden_def and weak_alias.
12597         (mempcpy): Do not use BP_SYM in weak_alias.
12598         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12599         "bp-asm.h".
12600         (PARMS): Do not use macros from bp-asm.h.
12601         (DEST): Likewise.
12602         (LEN): Likewise.
12603         [!BZERO_P] (CHR): Likewise.
12604         (memset): Likewise.  Do not use BP_SYM.
12605         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12606         "bp-asm.h".
12607         (PARMS): Do not use macros from bp-asm.h.
12608         (S1): Likewise.
12609         (SIZE): Likewise.
12610         (__mpn_mul_1): Do not use BP_SYM.
12611         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12612         "bp-asm.h".
12613         (PARMS): Do not use macros from bp-asm.h.
12614         (S): Likewise.
12615         (SIZE): Likewise.
12616         (__mpn_rshift): Do not use BP_SYM.
12617         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12618         "bp-asm.h".
12619         (PARMS): Do not use macros from bp-asm.h.
12620         (STR): Likewise.
12621         (CHR): Likewise.
12622         (strchr): Likewise.  Do not use BP_SYM.
12623         (index): Do not use BP_SYM in weak_alias.
12624         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12625         "bp-asm.h".
12626         (PARMS): Do not use macros from bp-asm.h.
12627         (DEST): Likewise.
12628         (SRC): Likewise.
12629         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12630         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12631         "bp-asm.h".
12632         (PARMS): Do not use macros from bp-asm.h.
12633         (strlen): Do not use BP_SYM.
12634         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12635         "bp-asm.h".
12636         (PARMS): Do not use macros from bp-asm.h.
12637         (S1): Likewise.
12638         (S2): Likewise.
12639         (SIZE): Likewise.
12640         (__mpn_sub_n): Do not use BP_SYM.
12641         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12642         "bp-asm.h".
12643         (PARMS): Do not use macros from bp-asm.h.
12644         (S1): Likewise.
12645         (SIZE): Likewise.
12646         (__mpn_submul_1): Do not use BP_SYM.
12647         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12648         "bp-asm.h".
12649         (PARMS): Do not use macros from bp-asm.h.
12650         (S1): Likewise.
12651         (S2): Likewise.
12652         (SIZE): Likewise.
12653         (__mpn_add_n): Do not use BP_SYM.
12654         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12655         weak_alias.
12656         (bzero): Likewise.
12657         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12658         "bp-asm.h".
12659         (PARMS): Do not use macros from bp-asm.h.
12660         (BLK2): Likewise.
12661         (LEN): Likewise.
12662         (memcmp): Do not use BP_SYM.
12663         (bcmp): Do not use BP_SYM in weak_alias.
12664         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12665         "bp-asm.h".
12666         (PARMS): Do not use macros from bp-asm.h.
12667         (DEST): Likewise.
12668         (SRC): Likewise.
12669         (LEN): Likewise.
12670         (memcpy): Likewise.  Do not use BP_SYM.
12671         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12672         "bp-asm.h".
12673         (PARMS): Do not use macros from bp-asm.h.
12674         (DEST): Likewise.
12675         (SRC): Likewise.
12676         (LEN): Likewise.
12677         (memmove): Likewise.  Do not use BP_SYM.
12678         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12679         "bp-asm.h".
12680         (PARMS): Do not use macros from bp-asm.h.
12681         (DEST): Likewise.
12682         (SRC): Likewise.
12683         (LEN): Likewise.
12684         (__mempcpy): Likewise.  Do not use BP_SYM.
12685         (mempcpy): Do not use BP_SYM in weak_alias.
12686         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12687         "bp-asm.h".
12688         (PARMS): Do not use macros from bp-asm.h.
12689         (DEST): Likewise.
12690         (LEN): Likewise.
12691         [!BZERO_P] (CHR): Likewise.
12692         (memset): Likewise.  Do not use BP_SYM.
12693         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12694         "bp-asm.h".
12695         (PARMS): Do not use macros from bp-asm.h.
12696         (STR2): Likewise.
12697         (strcmp): Do not use BP_SYM.
12698         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12699         "bp-asm.h".
12700         (PARMS): Do not use macros from bp-asm.h.
12701         (STR): Likewise.
12702         (DELIM): Likewise.
12703         [USE_AS_STRTOK_R] (SAVE): Likewise.
12704         (FUNCTION): Likewise.  Do not use BP_SYM.
12705         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12706         aliases.
12707         (strtok_r): Likewise.
12708         (__GI___strtok_r): Likewise.
12709         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12710         (PARMS): Do not use macros from bp-asm.h.
12711         (S): Likewise.
12712         (SIZE): Likewise.
12713         (__mpn_lshift): Do not use BP_SYM.
12714         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12715         (PARMS): Do not use macros from bp-asm.h.
12716         (STR): Likewise.
12717         (CHR): Likewise.
12718         (__memchr): Do not use BP_SYM.
12719         (memchr): Do not use BP_SYM in weak_alias.
12720         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12721         (PARMS): Do not use macros from bp-asm.h.
12722         (BLK2): Likewise.
12723         (LEN): Likewise.
12724         (memcmp): Do not use BP_SYM.
12725         (bcmp): Do not use BP_SYM in weak_alias.
12726         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12727         (PARMS): Do not use macros from bp-asm.h.
12728         (S1): Likewise.
12729         (SIZE): Likewise.
12730         (__mpn_mul_1): Do not use BP_SYM.
12731         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12732         "bp-asm.h".
12733         (PARMS): Do not use macros from bp-asm.h.
12734         (STR): Likewise.
12735         (CHR): Likewise.
12736         (__rawmemchr): Do not use BP_SYM.
12737         (rawmemchr): Do not use BP_SYM in weak_alias.
12738         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12739         (PARMS): Do not use macros from bp-asm.h.
12740         (S): Likewise.
12741         (SIZE): Likewise.
12742         (__mpn_rshift): Do not use BP_SYM.
12743         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12744         (PARMS): Do not use macros from bp-asm.h.
12745         (SIGMSK): Likewise.
12746         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12747         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12748         (_start): Do not use BP_SYM.
12749         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12750         (PARMS): Do not use macros from bp-asm.h.
12751         (DEST): Likewise.
12752         (SRC): Likewise.
12753         (__stpcpy): Likewise.  Do not use BP_SYM.
12754         (stpcpy): Do not use BP_SYM in weak_alias.
12755         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12756         "bp-asm.h".
12757         (PARMS): Do not use macros from bp-asm.h.
12758         (DEST): Likewise.
12759         (SRC): Likewise.
12760         (LEN): Likewise.
12761         (__stpncpy): Likewise.  Do not use BP_SYM.
12762         (stpncpy): Do not use BP_SYM in weak_alias.
12763         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12764         (PARMS): Do not use macros from bp-asm.h.
12765         (STR): Likewise.
12766         (CHR): Likewise.
12767         (strchr): Likewise.  Do not use BP_SYM.
12768         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12769         "bp-asm.h".
12770         (PARMS): Do not use macros from bp-asm.h.
12771         (STR): Likewise.
12772         (CHR): Likewise.
12773         (__strchrnul): Likewise.  Do not use BP_SYM.
12774         (strchrnul): Do not use BP_SYM in weak_alias.
12775         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12776         "bp-asm.h".
12777         (PARMS): Do not use macros from bp-asm.h.
12778         (STOP): Likewise.
12779         (strcspn): Do not use BP_SYM.
12780         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12781         "bp-asm.h".
12782         (PARMS): Do not use macros from bp-asm.h.
12783         (STR): Likewise.
12784         (STOP): Likewise.
12785         (strpbrk): Likewise.  Do not use BP_SYM.
12786         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12787         "bp-asm.h".
12788         (PARMS): Do not use macros from bp-asm.h.
12789         (STR): Likewise.
12790         (CHR): Likewise.
12791         (strrchr): Likewise.  Do not use BP_SYM.
12792         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12793         (PARMS): Do not use macros from bp-asm.h.
12794         (SKIP): Likewise.
12795         (strspn): Do not use BP_SYM.
12796         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12797         (PARMS): Do not use macros from bp-asm.h.
12798         (STR): Likewise.
12799         (DELIM): Likewise.
12800         (SAVE): Likewise.
12801         (FUNCTION): Likewise.  Do not use BP_SYM.
12802         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12803         aliases.
12804         (strtok_r): Likewise.
12805         (__GI___strtok_r): Likewise.
12806         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12807         (PARMS): Do not use macros from bp-asm.h.
12808         (S1): Likewise.
12809         (S2): Likewise.
12810         (SIZE): Likewise.
12811         (__mpn_sub_n): Do not use BP_SYM.
12812         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12813         "bp-asm.h".
12814         (PARMS): Do not use macros from bp-asm.h.
12815         (S1): Likewise.
12816         (SIZE): Likewise.
12817         (__mpn_submul_1): Do not use BP_SYM.
12818         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12819         <bp-sym.h>.
12820         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12821         and <bp-asm.h>.
12822         (PARMS): Do not use macros from bp-asm.h.
12823         (FLAGS): Likewise.
12824         (PTID): Likewise.
12825         (TLS): Likewise.
12826         (CTID): Likewise.
12827         (__clone): Do not use BP_SYM.
12828         (clone): Do not use BP_SYM in weak_alias.
12829         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12830         and <bp-asm.h>.
12831         (PARMS): Do not use macros from bp-asm.h.
12832         (LEN): Likewise.
12833         (__mmap64): Do not use BP_SYM.
12834         (mmap64): Do not use BP_SYM in weak_alias.
12835         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12836         <bp-sym.h> and <bp-asm.h>.
12837         (PARMS): Do not use macros from bp-asm.h.
12838         (__posix_fadvise64_l64): Do not use BP_SYM.
12839         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12840         (PARMS): Do not use macros from bp-asm.h.
12841         (NSOPS): Likewise.
12842         (semtimedop): Do not use BP_SYM.
12843         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12844         and <bp-asm.h>.
12845
12846 2013-02-21  Allan McRae  <allan@archlinux.org>
12847
12848         * manual/message.texi (Charset conversion in gettext):
12849         Move @end statement to beginning of line.
12850
12851 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12852
12853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12854         static.
12855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12856         Likewise.
12857
12858         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12859         (denorm): Likewise.
12860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12862
12863 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12864
12865         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12866         tail-call to the resolved function if pltexit isn't needed.
12867
12868 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12869
12870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12871         or Y being zero as being unlikely.
12872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12873         Likewise.
12874
12875 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12876
12877         * manual/nss.texi (System Databases and Name Service Switch):
12878         Remove frobnicate @pxref.
12879
12880 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12881
12882         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12883         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12884
12885 2013-02-20  Petr Machata  <pmachata@redhat.com>
12886
12887         * elf/elf.h (R_ARM_TARGET1): New macro.
12888         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12889         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12890         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12891         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12892         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12893         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12894         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12895         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12896         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12897         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12898         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12899         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12900         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12901         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12902         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12903         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12904         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12905         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12906         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12907         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12908         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12909         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12910         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12911         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12912         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12913         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12914         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12915         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12916         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12917         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12918         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12919         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12920         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12921         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12922         (R_ARM_THM_GOT_BREL12): Likewise.
12923         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12924         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12925         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12926         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12927         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12928         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12929         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12930         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12931         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12932
12933 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12934
12935         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12936         __attribute_used__ to __attribute__ ((unused)).
12937
12938 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12939
12940         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12941         powerpc mpa.c.
12942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12943         comment formatting.
12944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12945
12946 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12947
12948         [BZ #13550]
12949         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12950         Remove macro.
12951         (ENTER): Remove both macro definitions.
12952         (LEAVE): Likewise.
12953         (CHECK_BOUNDS_LOW): Likewise.
12954         (CHECK_BOUNDS_HIGH): Likewise.
12955         (CHECK_BOUNDS_BOTH): Likewise.
12956         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12957         (RETURN_BOUNDED_POINTER): Likewise.
12958         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12959         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12960         (POP_ERRNO_LOCATION_RETURN): Likewise.
12961         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12962         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12963         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12964         macros.
12965         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12966         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12967         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12968         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12969         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12970         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12971         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12972         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12973         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12974         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12975         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12976         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12977         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12978         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12979         removed macros.
12980         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12981         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12982         macros.
12983         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12984         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12985         * sysdeps/i386/i586/memset.S (memset): Likewise.
12986         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12987         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12988         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12989         macros.
12990         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12991         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12992         Change uses of L(2) to L(out).
12993         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12994         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12995         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12996         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12997         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12998         removed macros.
12999         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13000         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13001         macros.
13002         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13003         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13004         (RETURN): Do not use macro LEAVE.
13005         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13006         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13007         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13008         * sysdeps/i386/i686/memset.S (memset): Likewise.
13009         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13010         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13011         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13012         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13013         Likewise.
13014         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13015         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13016         L(1_2) and L(1_3) into L(1).
13017         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13018         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13019         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13020         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13021         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13022         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13023         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13024         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13025         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13026         macros.
13027         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13028         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13029         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13030         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13031         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13032         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13033         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13034         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13035         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13036         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13037         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13038         * sysdeps/i386/strspn.S (strspn): Likewise.
13039         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13040         conditional code.
13041         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13042         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13043         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13044         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13045         L(1_3) into L(1_1).
13046         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13047         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13048         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13049         macros.
13050         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13051
13052 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13053
13054         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13055         macro.
13056
13057 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13058
13059         * math/atest-exp.c (exp_mpn): Remove ROUND.
13060         * math/atest-exp2.c (exp_mpn): Likewise.
13061         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13062
13063         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13064         * stdlib/tst-tls-atexit-lib.c: Likewise.
13065         * stdlib/tst-tls-atexit.c: Likewise.
13066
13067 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13068
13069         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13070         and __attribute_alloc_size__.
13071
13072 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13073
13074         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13075         __attribute_alloc_size__.
13076         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13077         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13078
13079 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13080
13081         * include/programs/xmalloc.h: New file.
13082         * catgets/gencat.c: Include it.
13083         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13084         * elf/pldd.c: Likewise.
13085         * iconv/iconv_charmap.c: Likewise.
13086         * iconv/iconvconfig.c: Likewise.
13087         * iconv/strtab.c: Likewise.
13088         * locale/programs/locale.c: Likewise.
13089         * locale/programs/localedef.h: Likewise.
13090         * locale/programs/simple-hash.c: Likewise.
13091         * nscd/nscd.h: Likewise.
13092         * nss/makedb.c: Likewise.
13093         * sysdeps/generic/ldconfig.h: Likewise.
13094
13095 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13096
13097         * Versions.def: Add GLIBC_2.18.
13098         * include/link.h (struct link_map): New member l_tls_dtor_count.
13099         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13100         (__call_tls_dtors): Likewise.
13101         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13102         __cxa_thread_atexit_impl.
13103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13104         Likewise.
13105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13106         Likewise.
13107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13108         Likewise.
13109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13110         Likewise.
13111         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13113         Likewise.
13114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13115         Likewise.
13116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13118         Likewise.
13119         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13120         (tests): Add test case tst-tls-atexit.
13121         (modules-names): Add shared library for tst-tls-atexit.
13122         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13123         (GLIBC_PRIVATE): Add __call_tls_dtors.
13124         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13125         for libstdc++.
13126         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13127         * stdlib/tst-tls-atexit.c: New test case.
13128         * stdlib/tst-tls-atexit-lib.c: New test case.
13129
13130         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13131
13132         * elf/Versions (ld): Add _dl_find_dso_for_object.
13133         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13134         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13135         (dl_open_worker): Use _dl_find_dso_for_object.
13136         * elf/dl-sym.c (do_sym): Likewise.
13137         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13138
13139 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13140
13141         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13142         Syntactic changes only.
13143         (_dl_runtime_profile): Do a tail-call to the resolved function.
13144
13145 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13146
13147         [BZ #13550]
13148         * sysdeps/x86_64/bp-asm.h: Remove file.
13149         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13150         <bp-sym.h> and <bp-asm.h>.
13151         (__clone): Do not use BP_SYM.
13152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13153         <bp-sym.h> and <bp-asm.h>.
13154         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13155         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13156         "bp-asm.h".
13157         (_setjmp): Do not use BP_SYM.
13158         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13159         "bp-asm.h".
13160         (setjmp): Do not use BP_SYM.
13161         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13162         libc_hidden_def.
13163         (mempcpy): Do not use BP_SYM in weak_alias.
13164         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13165         "bp-asm.h".
13166         (strchr): Do not use BP_SYM.
13167         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13168         "bp-asm.h".
13169         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13170         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13171         (_start): Do not use BP_SYM.
13172         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13173         "bp-asm.h".
13174         (strcat): Do not use BP_SYM.
13175         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13176         "bp-asm.h".
13177         (STRCMP): Do not use BP_SYM.
13178         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13179         "bp-asm.h".
13180         (STRCPY): Do not use BP_SYM.
13181         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13182         "bp-asm.h".
13183         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13184         "bp-asm.h".
13185         (FUNCTION): Do not use BP_SYM.
13186         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13187         weak_alias.
13188         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13189
13190 2013-02-17  Andreas Jaeger  <aj@suse.de>
13191
13192         * time/Versions: Sort entries.
13193         * string/Versions: Likewise.
13194         * resolv/Versions: Likewise.
13195         * posix/Versions: Likewise.
13196         * iconv/Versions: Likewise.
13197         * elf/Versions: Likewise.
13198         * wcsmbs/Versions: Likewise.
13199
13200 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13201
13202         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13203         loop termination condition.
13204
13205         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13206         variable to calculate EZ.
13207         (__sqr): Likewise.
13208
13209         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13210         the lower precision input.
13211
13212 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13213
13214         [BZ #13550]
13215         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13216         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13217         (run-via-rtld-prefix): Do not handle %-bp tests.
13218         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13219         (all-object-suffixes): Remove .ob.
13220         (bppfx): Remove variable.
13221         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13222         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13223         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13224         [$(build-bounded) = yes] (libtype.ob): Likewise.
13225         * Makerules (elide-routines.ob): Remove variable.
13226         (do-tests-clean): Do not handle *-bp.out.
13227         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13228         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13229         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13230         (tests): Do not include $(tests-bp.out).
13231         (xtests): Do not include $(xtests-bp.out).
13232         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13233         [$(build-bounded) = yes] ($(addprefix
13234         $(objpfx),$(binaries-bounded))): Remove rule.
13235         ($(objpfx)%-bp.out): Remove rule.
13236         * config.make.in (build-bounded): Remove variable.
13237         * crypt/Makefile [$(build-bounded) = yes]
13238         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13239         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13240         append to variable.
13241         [$(build-bounded) = yes] (install-lib): Likewise.
13242         [$(build-bounded) = yes] (generated): Likewise.
13243         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13244         Remove rule.
13245         * intl/Makefile [$(build-bounded) = yes]
13246         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13247         * math/Makefile [$(build-bounded) = yes]
13248         ($(tests:%=$(objpfx)%-bp): Likewise.
13249         * misc/Makefile [$(build-bounded) = yes]
13250         ($(objpfx)tst-tsearch-bp): Likewise.
13251         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13252         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13253         Remove dependency.
13254         * string/Makefile (o-objects.ob): Remove variable.
13255         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13256         (CFLAGS-.ob): Remove variable.
13257         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13258         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13259         both definitions of variable.
13260         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13261         (ASFLAGS-.ob): Remove variable.
13262
13263 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13264
13265         [BZ #13550]
13266         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13267         Remove __BOUNDED_POINTERS__ from condition.
13268         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13269         * string/bits/string2.h [!__NO_STRING_INLINES &&
13270         !__BOUNDED_POINTERS__]: Likewise.
13271         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13272         Likewise.
13273         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13274         Remove conditional code.
13275         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13276         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13277         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13278         condition.
13279
13280         [BZ #13550]
13281         * csu/libc-start.c: Do not include <bp-sym.h>.
13282         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13283         * elf/dl-open.c: Do not include <bp-sym.h>.
13284         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13285         * math/fegetenv.c: Do not include <bp-sym.h>.
13286         (fegetenv): Do not use BP_SYM in versioned symbols.
13287         * nptl/sysdeps/pthread/bits/libc-lockP.h
13288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13289         <bp-sym.h>.
13290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13291         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13293         (__pthread_mutex_destroy): Likewise.
13294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13295         (__pthread_mutex_lock): Likewise.
13296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13297         (__pthread_mutex_trylock): Likewise.
13298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13299         (__pthread_mutex_unlock): Likewise.
13300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13301         (__pthread_mutexattr_init): Likewise.
13302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13303         (__pthread_mutexattr_destroy): Likewise.
13304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13305         (__pthread_mutexattr_settype): Likewise.
13306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13307         (__pthread_rwlock_init): Likewise.
13308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13309         (__pthread_rwlock_destroy): Likewise.
13310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13311         (__pthread_rwlock_rdlock): Likewise.
13312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13313         (__pthread_rwlock_tryrdlock): Likewise.
13314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13315         (__pthread_rwlock_wrlock): Likewise.
13316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13317         (__pthread_rwlock_trywrlock): Likewise.
13318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13319         (__pthread_rwlock_unlock): Likewise.
13320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13321         (__pthread_key_create): Likewise.
13322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13323         (__pthread_setspecific): Likewise.
13324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13325         (__pthread_getspecific): Likewise.
13326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13327         Likewise.
13328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13329         (_pthread_cleanup_push_defer): Likewise.
13330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13331         (_pthread_cleanup_pop_restore): Likewise.
13332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13333         (pthread_setcancelstate): Likewise.
13334         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13335         <bp-sym.h>.
13336         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13337         (memchr): Do not use BP_SYM in weak_alias.
13338         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13339         (fegetenv): Do not use BP_SYM in versioned symbols.
13340         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13341         (fesetenv): Do not use BP_SYM in versioned symbols.
13342         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13343         (feupdateenv): Do not use BP_SYM in versioned symbols.
13344         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13345         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13346         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13347         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13348         (open64): Do not use BP_SYM in weak_alias.
13349         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13350         (fegetenv): Do not use BP_SYM in versioned symbols.
13351         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13352         (fesetenv): Do not use BP_SYM in versioned symbols.
13353         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13354         (feupdateenv): Do not use BP_SYM in versioned symbols.
13355         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13356         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13357         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13358         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13359         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13360         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13361         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13362         <bp-sym.h>.
13363         (__libc_start_main): Do not use BP_SYM.
13364
13365 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13366
13367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13368         redundant return line.
13369         (norm): Likewise.
13370         (denorm): Likewise.
13371         (dbl_mp): Likewise.
13372         (sub_magnitudes): Likewise.
13373         (__add): Likewise.
13374         (__sub): Likewise.
13375         (__mul): Likewise.
13376         (__inv): Likewise.
13377         (__dvd): Likewise.
13378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13379         (norm): Likewise.
13380         (denorm): Likewise.
13381         (dbl_mp): Likewise.
13382         (sub_magnitudes): Likewise.
13383         (__add): Likewise.
13384         (__sub): Likewise.
13385         (__mul): Likewise.
13386         (__inv): Likewise.
13387         (__dvd): Likewise.
13388
13389         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13390         instead of __mul.
13391         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13392         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13393         (cc32): Likewise.
13394
13395         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13396         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13398         of __mul for squares.
13399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13400         function
13401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13402         Likewise.
13403         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13404         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13405
13406 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13407
13408         [BZ #13550]
13409         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13410         code.
13411         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13412         prototype or function definition.  Rename ubp_* variables and
13413         parameters.  Remove argv definitions conditional on
13414         [__BOUNDED_POINTERS__].
13415         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13416         * elf/dl-runtime.c (_dl_fixup): Likewise.
13417         * include/set-hooks.h (RUN_HOOK): Likewise.
13418         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13419         definition.
13420         * string/strcpy.c (strcpy): Do not use __unbounded.
13421         * sysdeps/generic/frame.h (struct layout): Likewise.
13422         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13423         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13424         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13425         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13426         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13427         (__backtrace): Likewise.
13428         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13429         use __ptrvalue.
13430         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13431         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13432         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13433         Likewise.
13434         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13435         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13436         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13437         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13438         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13439         Do not use __unbounded.
13440         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13441         Rename __unboundedrlimits parameter to rlimits in prototype.
13442         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13443         Do not use __unbounded.
13444         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13445         not use __ptrvalue.
13446         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13447         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13448         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13449         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13450         __ptrvalue or __unbounded.
13451         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13452         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13453         use __unbounded.
13454         (__new_msgctl): Do not use __ptrvalue.
13455         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13456         __unbounded.
13457         (__libc_msgrcv): Do not use __ptrvalue.
13458         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13459         startup_info): Do not use __unbounded.
13460         (__libc_start_main): Likewise.  Rename ubp_* variables and
13461         parameters.  Remove argv definitions conditional on
13462         [__BOUNDED_POINTERS__].
13463         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13464         __ptrvalue.
13465         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13466         use __unbounded.
13467         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13468         or __ptrvalue.
13469         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13470         use __unbounded.
13471         (__new_shmctl): Do not use __ptrvalue.
13472         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13473         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13474         Likewise.
13475         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13476         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13477         (__libc_sigaction): Likewise.
13478         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13479         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13480         Likewise.
13481         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13482
13483 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13484
13485         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13486
13487         * string/mempcpy.c: Implement by calling memcpy.
13488
13489 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13490
13491         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13492
13493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13494         evaluation.
13495
13496         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13497         values in the mantissa.
13498
13499         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13500         minimize writes to Z.
13501         (sub_magnitudes): Simplify code a bit.
13502
13503 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13504
13505         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13506         from the message.  The linker prefixes all warnings with that already.
13507
13508 2013-02-12  Andreas Schwab  <schwab@suse.de>
13509
13510         [BZ #15078]
13511         * posix/regexec.c (extend_buffers): Add parameter min_len.
13512         (check_matching): Pass minimum needed length.
13513         (clean_state_log_if_needed): Likewise.
13514         (get_subexp): Likewise.
13515         * posix/Makefile (tests): Add bug-regex34.
13516         (bug-regex34-ENV): Define.
13517         * posix/bug-regex34.c: New file.
13518
13519         [BZ #11561]
13520         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13521         elements compare against the byte sequence of it, not its name.
13522         * posix/Makefile (tests): Add bug-regex35.
13523         (bug-regex35-ENV): Define.
13524         * posix/bug-regex35.c: New file.
13525
13526 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13527
13528         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13529         comment.
13530         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13531         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13532         (CHECK_EOL): Add undef.
13533
13534 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13535
13536         * bits/stdlib-bsearch.h: New file.
13537         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13538         * stdlib/stdlib.h: Likewise.
13539
13540 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13541
13542         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13543         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13544         declaration.
13545         * manual/search.texi (Array Search Function): Add missing const in
13546         lfind prototype.
13547         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13548         declaration to use rlim_t.
13549         (Basic Scheduling Functions): Remove erroneous const from
13550         sched_getparam prototype.  Remove erroneous * from
13551         sched_get_priority_max and sched_get_priority_min prototypes.
13552         (Resource Usage): Fix summary @comment on vtimes to refer to
13553         sys/vtimes.h rather than vtimes.h.
13554         Add missing *s in vtimes prototype.
13555         (Limits on Resources): Fix ulimit prototype to return long int.
13556         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13557         prototypes to use long int rather than double.
13558         (BSD Random): Fix initstate and setstate to use char *, not void *.
13559         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13560         prototype to make second argument 'struct aiocb64 *const[]'.
13561         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13562         (Status of AIO Operations): Remove erroneous const in aio_return and
13563         aio_return64 prototypes.
13564         (Synchronizing I/O): Fix sync prototype to return void.
13565         * manual/startup.texi (Suboptions): Remove an erroneous const in
13566         getsubopt prototype.
13567         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13568         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13569         use size_t rather than int.
13570         (Scanning All Users): Likewise for getpwent_r.
13571         (Setting Groups): Add missing const to setgroups prototype.
13572         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13573         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13574         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13575         'const void *' rather than 'const char *'.
13576         (Host Address Functions): Likewise for inet_ntop.
13577         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13578         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13579         ssize_t for return value.
13580         (Sending Data): Likewise for send, sendto, sendmsg.
13581         (Socket Option Functions): Add a missing const in setsockopt prototype.
13582         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13583         use wchar_t for the argument.
13584         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13585         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13586         take no arguments.
13587         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13588         double/float/long double for second argument.
13589         Fix return types of significand, significandf, significandl.
13590         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13591         argument in fchmod prototype.
13592         (File Owner): Use uid_t and gid_t in fchown prototype.
13593         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13594         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13595         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13596         use 'const struct dirent **' as argument types to CMP function pointer
13597         argument.
13598         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13599         (File Times): Fix summary magic @comment for struct utimbuf and utime
13600         to refer to utime.h, not time.h.
13601         * manual/string.texi (Argz Functions): Add missing const in
13602         argz_extract and argz_next prototypes.
13603         (Finding Tokens in a String): Likewise for basename.
13604         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13605         (Copying and Concatenation): Fix typo in wmemmove prototype.
13606         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13607         (Signal Stack): Remove erroneous const in sigstack prototype.
13608         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13609         prototype.
13610         (Simple Calendar Time): Likewise for stime.
13611         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13612         prototype.
13613         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13614         say sys/sysctl.h instead.
13615         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13616         and vsyslog prototypes.
13617
13618 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13619
13620         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13621         Remove.
13622
13623 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13624
13625         * misc/sys/mman.h: Fix typo in mremap comment.
13626
13627 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13628
13629         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13630         the '\0' terminator.
13631
13632 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13633
13634         [BZ #13550]
13635         * debug/segfault.c: Don't include <bp-checks.h>.
13636         * sysdeps/generic/bp-checks.h: Remove file.
13637         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13638         (__GETDENTS): Don't use CHECK_N.
13639         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13640         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13641         (__getgroups): Don't use CHECK_N.
13642         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13643         (setgroups): Don't use CHECK_N.
13644         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13645         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13646         (__libc_msgrcv): Don't use CHECK_N.
13647         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13648         (__libc_msgsnd): Don't use CHECK_N.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13650         <bp-checks.h>.
13651         (__libc_pread): Don't use CHECK_N.
13652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13653         include <bp-checks.h>.
13654         (__libc_pread64): Don't use CHECK_N.
13655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13656         include <bp-checks.h>.
13657         (__libc_pwrite): Don't use CHECK_N.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13659         include <bp-checks.h>.
13660         (__libc_pwrite64): Don't use CHECK_N.
13661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13662         <bp-checks.h>.
13663         (__libc_pread): Don't use CHECK_N.
13664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13665         include <bp-checks.h>.
13666         (__libc_pread64): Don't use CHECK_N.
13667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13668         include <bp-checks.h>.
13669         (__libc_pwrite): Don't use CHECK_N.
13670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13671         include <bp-checks.h>.
13672         (__libc_pwrite64): Don't use CHECK_N.
13673         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13674         (do_pread): Don't use CHECK_N.
13675         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13676         (do_pread64): Don't use CHECK_N.
13677         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13678         (do_pwrite): Don't use CHECK_N.
13679         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13680         (do_pwrite64): Don't use CHECK_N.
13681         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13682         (__libc_readv): Don't use CHECK_N.
13683         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13684         (semop): Don't use CHECK_N.
13685         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13686         <bp-checks.h>.
13687         (semtimedop): Don't use CHECK_N.
13688         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13689         (__libc_pread): Don't use CHECK_N.
13690         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13691         <bp-checks.h>.
13692         (__libc_pread64): Don't use CHECK_N.
13693         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13694         <bp-checks.h>.
13695         (__libc_pwrite): Don't use CHECK_N.
13696         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13697         <bp-checks.h>.
13698         (__libc_pwrite64): Don't use CHECK_N.
13699         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13700         <bp-checks.h>.
13701         (__libc_msgrcv): Don't use CHECK_N.
13702         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13703         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13704         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13705         (__libc_writev): Don't use CHECK_N.
13706
13707 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13708
13709         * string/strcpy.c: Removed unused variable.
13710
13711         * Makeconfig (+sysdep-includes): Define with := rather than =.
13712         Use an existing include/ subdir of each sysdeps dir before it.
13713
13714 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13715
13716         * nscd/connection.c (register_traced_file): Comment function.
13717         [HAVE_INOTIFY] (union __inev): Define.
13718         [HAVE_INOTIFY] (inotify_check_files): New function.
13719         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13720         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13721         clear_db_cache.
13722         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13723
13724 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13725
13726         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13727         loaded if not already and that a failure is permanent.
13728
13729 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13730
13731         [BZ #15006]
13732         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13733         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13734
13735 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13736
13737         [BZ #13550]
13738         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13739         (CHECK_1_NULL_OK): Likewise.
13740         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13741         (__fxstat): Do not use CHECK_1.
13742         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13743         <bp-checks.h>.
13744         (___fxstat64): Do not use CHECK_1.
13745         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13746         <bp-checks.h>.
13747         (__fxstatat): Do not use CHECK_1.
13748         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13749         <bp-checks.h>.
13750         (__fxstatat64): Do not use CHECK_1.
13751         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13752         <bp-checks.h>.
13753         (__fxstat): Do not use CHECK_1.
13754         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13755         <bp-checks.h>.
13756         (__fxstatat): Do not use CHECK_1.
13757         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13758         <bp-checks.h>.
13759         (__getresgid): Do not use CHECK_1.
13760         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13761         <bp-checks.h>.
13762         (__getresuid): Do not use CHECK_1.
13763         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13764         <bp-checks.h>.
13765         (__lxstat): Do not use CHECK_1.
13766         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13767         <bp-checks.h>.
13768         (__old_msgctl): Do not use CHECK_1.
13769         (__new_msgctl): Likewise.
13770         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13771         <bp-checks.h>.
13772         (__new_setrlimit): Do not use CHECK_1.
13773         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13774         <bp-checks.h>.
13775         (__old_shmctl): Do not use CHECK_1.
13776         (__new_shmctl): Likewise.
13777         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13778         <bp-checks.h>.
13779         (__xstat): Do not use CHECK_1.
13780         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13781         (__lxstat): Do not use CHECK_1.
13782         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13783         <bp-checks.h>.
13784         (___lxstat64): Do not use CHECK_1.
13785         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13786         (__old_msgctl): Do not use CHECK_1.
13787         (__new_msgctl): Likewise.
13788         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13789         <bp-checks.h>.
13790         (__gettimeofday): Do not use CHECK_1.
13791         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13792         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13793         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13794         <bp-checks.h>.
13795         (__gettimeofday): Do not use CHECK_1.
13796         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13797         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13798         (__new_shmctl): Do not use CHECK_1.
13799         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13800         <bp-checks.h>.
13801         (do_sigtimedwait): Do not use CHECK_1.
13802         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13803         <bp-checks.h>.
13804         (do_sigwaitinfo): Do not use CHECK_1.
13805         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13806         <bp-checks.h>.
13807         (msgctl): Do not use CHECK_1.
13808         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13809         <bp-checks.h>.
13810         (shmctl): Do not use CHECK_1.
13811         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13812         (ustat): Do not use CHECK_1.
13813         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13814         <bp-checks.h>.
13815         (__fxstat): Do not use CHECK_1.
13816         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13817         <bp-checks.h>.
13818         (__fxstatat): Do not use CHECK_1.
13819         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13820         <bp-checks.h>.
13821         (__lxstat): Do not use CHECK_1.
13822         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13823         <bp-checks.h>.
13824         (__xstat): Do not use CHECK_1.
13825         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13826         (__xstat): Do not use CHECK_1.
13827         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13828         (___xstat64): Do not use CHECK_1.
13829
13830         [BZ #13550]
13831         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13832         definitions.
13833         (CHECK_BOUNDS_HIGH): Likewise.
13834         * string/strcpy.c: Do not include <bp-checks.h>.
13835         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13836
13837 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13838
13839         * nscd/nscd-client.h (__nscd_drop_map_ref):
13840         Add __attribute__ ((unused)).
13841         * nis/nss-nisplus.h (niserr2nss): Likewise.
13842
13843         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13844         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13845
13846         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13847         Remove inline keyword.
13848         * include/rounding-mode.h (round_away): Likewise.
13849         * libio/wfileops.c (adjust_wide_data): Likewise.
13850         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13851         (__m128i_strloadu_tolower): Likewise.
13852         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13853         (__m128i_strloadu_tolower): Likewise.
13854         * time/mktime.c (ydhms_diff): Likewise.
13855         * locale/elem-hash.h (elem_hash): Likewise.
13856         * locale/setlocale.c (setdata): Likewise.
13857         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13858         (re_string_wchar_at): Likewise.
13859         (bitset_not, bitset_merge, bitset_mask): Likewise.
13860         [!(__GNUC__ > 3)] (inline): Remove macro.
13861         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13862         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13863         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13864         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13865         * string/memcmp.c (memcmp_bytes): Likewise.
13866         * locale/programs/locarchive.c (compute_hashval): Likewise.
13867         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13868         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13869         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13870         * nss/getent.c (print_rpc, print_protocols): Likewise.
13871         (print_passwd, print_group, print_aliases): Likewise.
13872         * nis/nss-nisplus.h (niserr2nss): Likewise.
13873         * nscd/connections.c (restart_p): Likewise.
13874         Change return type to bool.
13875
13876 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13877
13878         * Makeconfig (all-Depend-files): Add existing
13879         $(sorted-subdirs:=/Depend) files.
13880         (all-subdirs): Remove nss.
13881         * sysdeps/unix/inet/Subdirs: Add it here instead.
13882         * hesiod/Depend: New file.
13883
13884         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13885         instead of calling alloca.
13886
13887         * io/lseek.c (__lseek): Rename to __libc_lseek.
13888         Define __lseek as an alias.
13889
13890         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13891
13892 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13893
13894         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13895         else clause and remove check for non-standard endianness.
13896
13897 2013-02-04  David S. Miller  <davem@davemloft.net>
13898
13899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13900
13901 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13902
13903         [BZ #13550]
13904         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13905         (__ubp_memchr): Remove prototype.
13906         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13907         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13908         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13909         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13910         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13911         Remove alias.
13912         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13913         (__ubp_memchr): Likewise.
13914         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13915         (__ubp_memchr): Likewise.
13916         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13917         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13918         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13919         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13920         CHECK_STRING.
13921         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13922         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13923         (__getcwd): Do not use CHECK_STRING.
13924         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13925         <bp-checks.h>.
13926         (__real_chown): Do not use CHECK_STRING.
13927         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13928         <bp-checks.h>.
13929         (fchownat): Do not use CHECK_STRING.
13930         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13931         CHECK_STRING.
13932         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13933         <bp-checks.h>.
13934         (__lchown): Do not use CHECK_STRING.
13935         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13936         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13937         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13938         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13940         include <bp-checks.h>.
13941         (truncate64): Do not use CHECK_STRING.
13942         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13943         <bp-checks.h>.
13944         (__real_chown): Do not use CHECK_STRING.
13945         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13946         <bp-checks.h>.
13947         (__lchown): Do not use CHECK_STRING.
13948         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13949         <bp-checks.h>.
13950         (__chown): Do not use CHECK_STRING.
13951         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13952         <bp-checks.h>.
13953         (truncate64): Do not use CHECK_STRING.
13954         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13955         Likewise.
13956         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13957         (__xmknod): Do not use CHECK_STRING.
13958         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13959         <bp-checks.h>.
13960         (__xmknodat): Do not use CHECK_STRING.
13961         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13962         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13963
13964 2013-02-04  Andreas Schwab  <schwab@suse.de>
13965
13966         [BZ #14142]
13967         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13968         * include/netdb.h: Likewise for h_errno.
13969         * elf/tst-stackguard1.c: Include <tls.h>.
13970
13971 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13972
13973         * elf/link.h (struct link_map): Extend the l_addr comment.
13974         * include/link.h (struct link_map): Likewise.
13975
13976 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13977
13978         [BZ #13550]
13979         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13980         (BOUNDED_1): Remove macro.
13981         * debug/backtrace.c: Don't include <bp-checks.h>.
13982         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13983         (__backtrace): Likewise.
13984         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13985         <bp-checks.h>.
13986         (__backtrace): Don't use BOUNDED_1.
13987         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13988         <bp-checks.h>.
13989         (__backtrace): Don't use BOUNDED_1.
13990         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13991         (__backtrace): Don't use BOUNDED_1.
13992         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13993         (shmat): Don't use BOUNDED_N.
13994
13995 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13996
13997         [BZ #13550]
13998         * sysdeps/generic/bp-start.h: Remove file.
13999         * csu/libc-start.c: Don't include <bp-start.h>.
14000         (LIBC_START_MAIN): Set up __environ directly instead of using
14001         INIT_ARGV_and_ENVIRON.
14002         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14003         <bp-start.h>.
14004
14005         [BZ #13550]
14006         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14007         definitions.
14008         (CHECK_FCNTL): Likewise.
14009         (CHECK_N_PAGES): Likewise.
14010
14011         [BZ #13550]
14012         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14013         definitions.
14014         (CHECK_SIGSET_NULL_OK): Likewise.
14015         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14016         <bp-checks.h>.
14017         (sigpending): Don't use CHECK_SIGSET.
14018         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14019         <bp-checks.h>.
14020         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14021         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14022         <bp-checks.h>.
14023         (do_sigsuspend): Don't use CHECK_SIGSET.
14024         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14025         use CHECK_SIGSET.
14026         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14027         (do_sigwait): Don't use CHECK_SIGSET.
14028         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14029         use CHECK_SIGSET.
14030         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14031         include <bp-checks.h>.
14032         (sigpending): Don't use CHECK_SIGSET.
14033         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14034         include <bp-checks.h>.
14035         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14036         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14037         <bp-checks.h>.
14038         (sigpending): Don't use CHECK_SIGSET.
14039         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14040         <bp-checks.h>.
14041         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14042
14043         [BZ #13550]
14044         * sysdeps/generic/bp-semctl.h: Remove file.
14045         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14046         <bp-checks.h> and <bp-semctl.h>.
14047         (__old_semctl): Don't use CHECK_SEMCTL.
14048         (__new_semctl): Likewise.
14049         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14050         and <bp-semctl.h>.
14051         (__old_semctl): Don't use CHECK_SEMCTL.
14052         (__new_semctl): Likewise.
14053         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14054         <bp-checks.h> and <bp-semctl.h>.
14055         (__old_semctl): Don't use CHECK_SEMCTL.
14056         (__new_semctl): Likewise.
14057         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14058         <bp-checks.h> and <bp-semctl.h>.
14059         (semctl): Don't use CHECK_SEMCTL.
14060
14061         [BZ #13550]
14062         * Makerules (elide-bp-thunks): Remove variable.
14063         (elide-routines.oS): Don't use $(elide-bp-thunks).
14064         (elide-routines.os): Likewise.
14065         (elide-routines.o): Likewise.
14066         (elide-routines.op): Likewise.
14067         (elide-routines.og): Likewise.
14068         (objects): Don't use $(bp-thunks).
14069         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14070         include.
14071         (common-generated): Do not add s-proto-bp.d.
14072         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14073         (int): Likewise.
14074         (typ): Likewise.
14075         Do not generate makefile rules for bounded-pointer thunks.
14076         * sysdeps/generic/bp-thunks.h: Remove file.
14077         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14078         * sysdeps/unix/s-proto-bp.S: Likewise.
14079
14080         [BZ #15062]
14081         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14082         parts of result separately when argument is not close to line from
14083         -i to i and one part of argument is small.
14084         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14085         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14086         * math/libm-test.inc (cacos_test): Add more tests.
14087         (casin_test): Likewise.
14088         (casinh_test): Likewise.
14089         * sysdeps/i386/fpu/libm-test-ulps: Update.
14090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14091
14092 2013-01-31  David S. Miller  <davem@davemloft.net>
14093
14094         * po/de.po: Update from translation team.
14095
14096 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14097
14098         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14099
14100 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14101
14102         * configure.in (_AC_PROG_CC_C89): New definition.
14103         * configure: Regenerate.
14104
14105         * configure.in (AC_PROG_CPP): New definition.
14106         * configure: Regenerate.
14107
14108 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14109
14110         * debug/tst-backtrace.h: New file.
14111         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14112         (ret): Remove variable.
14113         (x): Likewise.
14114         (FAIL): Remove macro.
14115         (NO_INLINE): Likewise.
14116         (fn1): Use match function instead of strstr.
14117         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14118         (ret): Remove variable.
14119         (x): Likewise.
14120         (FAIL): Remove macro.
14121         (NO_INLINE): Likewise.
14122         (fn): Use match function instead of strstr.
14123         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14124         (ret): Remove variable.
14125         (x): Likewise.
14126         (FAIL): Remove macro.
14127         (NO_INLINE): Likewise.
14128         (handle_signal): Use match function instead of strstr.
14129         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14130         (ret): Remove variable.
14131         (x): Likewise.
14132         (FAIL): Remove macro.
14133         (NO_INLINE): Likewise.
14134         (handle_signal): Use match function instead of strstr.
14135
14136 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14137
14138         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14139
14140 2013-01-23  David S. Miller  <davem@davemloft.net>
14141
14142         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14143         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14144         argument of CAS if possible.
14145         * sysdeps/sparc/sparc64/bits/atomic.h
14146         (__arch_compare_and_exchange_val_32_acq): Likewise.
14147         (__arch_compare_and_exchange_val_64_acq): Likewise.
14148
14149 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14150
14151         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14152         * sysdeps/posix/ulimit.c: ... this.
14153         Include <limits.h>.
14154         * sysdeps/unix/bsd/ulimit.c: Remove file.
14155
14156 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14157
14158         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14159         (LDFLAGS-tst-array5): Likewise.
14160
14161 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14162
14163         [BZ #15036]
14164         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14165         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14166         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14167         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14168
14169 2013-01-21  David S. Miller  <davem@davemloft.net>
14170
14171         * sysdeps/sparc/backtrace.c: New file.
14172         * sysdeps/sparc/sparc32/backtrace.h: New file.
14173         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14174         * sysdeps/sparc/sparc64/backtrace.h: New file.
14175         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14176         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14177         -funwind-tables.
14178
14179 2013-01-21  Andreas Schwab  <schwab@suse.de>
14180
14181         [BZ #15020]
14182         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14183         closed its stdout.
14184
14185 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14186
14187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14188         "mpa2.h".
14189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14190
14191 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14192             Mark Mitchell  <mark@codesourcery.com>
14193             Tom de Vries  <tom@codesourcery.com>
14194             Paul Pluzhnikov  <ppluzhnikov@google.com>
14195
14196         * debug/tst-backtrace2.c: New file.
14197         * debug/tst-backtrace3.c: Likewise.
14198         * debug/tst-backtrace4.c: Likewise.
14199         * debug/tst-backtrace5.c: Likewise.
14200         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14201         (CFLAGS-tst-backtrace3.c): Likewise.
14202         (CFLAGS-tst-backtrace4.c): Likewise.
14203         (CFLAGS-tst-backtrace5.c): Likewise.
14204         (LDFLAGS-tst-backtrace2): Likewise.
14205         (LDFLAGS-tst-backtrace3): Likewise.
14206         (LDFLAGS-tst-backtrace4): Likewise.
14207         (LDFLAGS-tst-backtrace5): Likewise.
14208         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14209         tst-backtrace4 and tst-backtrace5.
14210
14211 2013-01-18  Anton Blanchard  <anton@samba.org>
14212             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14213
14214         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14215         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14216         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14217         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14219         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14220         "+r" and remove output regs list as redundant.  Add explicit inline
14221         asm to specify register of return val to work around compiler codegen
14222         bug.  Remove (int) cast on return value.  Add return type parameter to
14223         use in macro so that this macro does not truncate return value for
14224         64-bit values.
14225         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14226         pass to INTERNAL_VSYSCALL_NCS.
14227         (INLINE_VSYSCALL): Add 'long int' as return type to
14228         INTERNAL_VSYSCALL_NCS macro invocation.
14229         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14230         INTERNAL_VSYSCALL_NCS macro invocation.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14232
14233 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14234
14235         [BZ #14496]
14236         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14237         Fix application of SIMD FP exception mask.
14238
14239         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14240         mp_no from a power of two.
14241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14242         __mpexp_twomm1.  Use __pow_mp.
14243
14244         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14245         multiplication.
14246
14247 2013-01-17  David S. Miller  <davem@davemloft.net>
14248
14249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14250
14251 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14252
14253         [BZ #15023]
14254         * include/complex.h: Condition contents on [!_COMPLEX_H].
14255         (__kernel_casinhf): New prototype.
14256         (__kernel_casinh): Likewise.
14257         (__kernel_casinhl): Likewise.
14258         * math/Makefile (libm_calls): Add k_casinh.
14259         * math/k_casinh.c: New file.
14260         * math/k_casinhf.c: Likewise.
14261         * math/k_casinhl.c: Likewise.
14262         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14263         finite nonzero arguments.
14264         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14265         finite nonzero arguments.
14266         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14267         finite nonzero arguments.
14268         * math/s_casinh.c: Do not include <float.h>.
14269         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14270         * math/s_casinhf.c: Do not include <float.h>.
14271         (__casinhf): Move code for finite nonzero arguments to
14272         k_casinhf.c.
14273         * math/s_casinhl.c: Do not include <float.h>.
14274         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14275         redefine.
14276         (__casinhl): Move code for finite nonzero arguments to
14277         k_casinhl.c.
14278         * math/libm-test.inc (cacos_test): Add more tests.
14279         * sysdeps/i386/fpu/libm-test-ulps: Update.
14280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14281
14282 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14283
14284         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14285         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14286         [!HAVE_MREMAP]: Remove [defined linux] case.
14287         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14288
14289 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14290
14291         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14292
14293 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14294
14295         * elf/elf.h (R_386_SIZE32): New relocation.
14296         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14297         R_386_SIZE32.
14298         (elf_machine_rela): Likewise.
14299         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14300         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14301
14302 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14303
14304         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14305         (FP_FAST_FMA): Do not define.
14306         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14307         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14308         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14309         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14310         !_SOFT_FLOAT]: Likewise.
14311         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14312         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14313         value.
14314         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14315         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14316         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14317         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14318         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14319         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14320         file.
14321
14322 2013-01-16  Andreas Schwab  <schwab@suse.de>
14323
14324         [BZ #14327]
14325         * include/stdlib.h (__mktemp): Add declaration.
14326         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14327         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14328
14329 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14330
14331         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14332         definitions.
14333         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14334         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14335         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14336         definitions here.
14337         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14338         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14339         definitions.
14340         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14341         and ONE.
14342         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14343         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14344         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14345         definitions.
14346         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14347         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14348         definitions.
14349         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14350
14351         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14352
14353 2013-01-15  David S. Miller  <davem@davemloft.net>
14354
14355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14356         trunc{,f} to libm-sysdep_routes.
14357         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14359         file.
14360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14362         file.
14363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14364         file.
14365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14367         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14368         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14369         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14370         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14371         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14372         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14373
14374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14375         nearbyint{,f} to libm-sysdep_routes.
14376         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14378         New file.
14379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14380         file.
14381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14382         New file.
14383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14384         file.
14385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14387         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14388         file.
14389         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14390         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14391         file.
14392         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14393         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14394         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14395
14396         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14397         libc_feholdexcept and libc_fesetenv.
14398
14399 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14400
14401         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14402
14403 2013-01-14  David S. Miller  <davem@davemloft.net>
14404
14405         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14406         (SPARC_ASM_VIS2_IFUNC): Likewise.
14407         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14409         use of 'siam' instruction.
14410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14411         Likewise.
14412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14413         Likewise.
14414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14415         Likewise.
14416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14421         file.
14422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14423         file.
14424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14425         file.
14426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14427         file.
14428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14430         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14433         new VIS2 routines.
14434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14437         Likewise.
14438         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14443         routines to libm-sysdep_routines.
14444         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14445
14446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14447         fdim/fdimf to libm-sysdep_routines.
14448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14449         file.
14450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14452         file.
14453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14456         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14457         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14458         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14459         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14460
14461 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14462
14463         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14464         to optimize copies.
14465
14466         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14469
14470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14471         local variable MPTWO.
14472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14473         Likewise.
14474
14475 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14476
14477         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14478         GLOB_NOESCAPE.
14479
14480 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14481
14482         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14483
14484 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14485
14486         * manual/pattern.texi (glob_t): Document gl_flags.
14487         (glob64_t): Likewise.
14488
14489 2013-01-11  David S. Miller  <davem@davemloft.net>
14490
14491         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14492         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14493         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14494         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14495         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14496         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14497         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14498         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14499         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14500         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14501         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14502         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14503         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14504
14505         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14506         sparc V9 rather than using V8 code.
14507         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14508         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14509
14510         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14511         Move to...
14512         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14513         Here.
14514
14515 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14516
14517         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14518         not in the main loop.
14519         * configure: Regenerated.
14520
14521 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14522
14523         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14524         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14525         to just #else.
14526         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14527         [!__GLIBC_HAVE_LONG_LONG] case.
14528         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14529         condition to just #else.
14530         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14531         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14532         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14533         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14534         unconditional.
14535         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14536         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14537         #elif condition to just #else.
14538         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14539         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14540         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14541         #elif condition to just #else.
14542
14543 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14544
14545         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14546         (EF_MIPS_ARCH_64): Fix value.
14547         (EF_MIPS_ARCH_32R2): New.
14548         (EF_MIPS_ARCH_64R2): New.
14549
14550 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14551
14552         * Makeconfig (+link-pie-before-libc): New.
14553         (+link-pie-after-libc): Likewise.
14554         (+link-pie-tests): Likewise.
14555         (+link-pie): Rewritten.
14556         (link-before-libc): Remove $(config-LDFLAGS).
14557         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14558         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14559         (config-LDFLAGS): Renamed to ...
14560         (rtld-LDFLAGS): This.
14561         (rtld-tests-LDFLAGS): New macro.
14562         (link-libc-rpath-link): Likewise.
14563         (link-libc-tests-rpath-link): Likewise.
14564         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14565         (link-libc): Prepand $(link-libc-rpath-link).
14566         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14567         (test-program-prefix): New macro.
14568         (test-via-rtld-prefix): Likewise.
14569         (test-program-cmd): Likewise.
14570         (host-test-program-cmd): Likewise.
14571         * Makefile ($(common-objpfx)testrun.sh): Replace
14572         $(run-program-prefix) with $(test-program-prefix).
14573         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14574         $(rtld-LDFLAGS).
14575         ($(common-objpfx)shlib.lds): Likewise.
14576         (build-module-helper): Likewise.
14577         ($(common-objpfx)format.lds): Likewise.
14578         * Rules (binaries-pie-tests): New.
14579         (binaries-pie-notests): Likewise.
14580         (binaries-pie): Rewritten.
14581         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14582         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14583         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14584         (make-test-out): Replace $(host-built-program-cmd) with
14585         $(host-test-program-cmd).
14586         * config.make.in (build-hardcoded-path-in-tests): New variable.
14587         * configure.in (--enable-hardcoded-path-in-tests): New configure
14588         option.
14589         (hardcoded_path_in_tests): New AC_SUBST.
14590         * configure: Regenerated.
14591         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14592         $(built-program-cmd) with $(test-program-cmd).
14593         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14594         (test_program_cmd): This.
14595         * elf/Makefile ($(objpfx)order.out): Run test with
14596         $(test-program-prefix).
14597         ($(objpfx)order2.out): Likewise.
14598         ($(objpfx)tst-initorder.out): Likewise.
14599         ($(objpfx)tst-initorder2.out): Likewise.
14600         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14601         $(test-program-cmd).
14602         ($(objpfx)tst-array1-static.out): Likewise.
14603         ($(objpfx)tst-array2.out): Likewise.
14604         ($(objpfx)tst-array3.out): Likewise.
14605         ($(objpfx)tst-array4.out): Likewise.
14606         ($(objpfx)tst-array5.out): Likewise.
14607         ($(objpfx)tst-array5-static.out): Likewise.
14608         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14609         $(test-program-cmd).
14610         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14611         $(run-program-prefix) with $(test-program-prefix).
14612         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14613         (test_program_prefix): This.
14614         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14615         $(run-program-prefix) with $(test-program-prefix).
14616         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14617         (test_program_prefix): This.
14618         * iconvdata/tst-tables.sh: Likewise.
14619         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14620         $(run-program-prefix) with $(test-program-prefix).
14621         ($(objpfx)tst-translit.out): Likewise.
14622         ($(objpfx)tst-gettext2.out): Likewise.
14623         ($(objpfx)tst-gettext4.out): Likewise.
14624         ($(objpfx)tst-gettext6.out): Likewise.
14625         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14626         (test_program_prefix): This.
14627         * intl/tst-gettext2.sh: Likewise.
14628         * intl/tst-gettext4.sh  Likewise.
14629         * intl/tst-gettext6.sh: Likewise.
14630         * intl/tst-translit.sh: Likewise.
14631         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14632         with $(test-program-cmd).
14633         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14634         $(run-program-prefix) with $(test-program-prefix).
14635         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14636         (test_program_prefix): This.
14637         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14638         $(run-program-prefix) with $(test-program-prefix).
14639         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14640         (test_program_prefix): This.
14641         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14642         * posix/Makefile ($(objpfx)globtest.out): Replace
14643         $(run-via-rtld-prefix) and $(test-wrapper) with
14644         $(test-program-prefix) and $(test-via-rtld-prefix).
14645         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14646         $(test-program-prefix).
14647         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14648         $(host-test-program-cmd).
14649         (tst-spawn-ARGS): Likewise.
14650         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14651         $(test-program-prefix).
14652         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14653         (test_via_rtld_prefix): This.
14654         (test_wrapper): Renamed to ...
14655         (test_program_prefix): This.
14656         (run_program_prefix): Replaced by test_program_prefix.
14657         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14658         (test_program_prefix): This.
14659         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14660         with $(host-test-program-cmd).
14661         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14662         $(run-program-prefix) with $(test-program-prefix).
14663         ($(objpfx)tst-printf.out): Likewise.
14664         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14665         $(test-program-cmd).
14666         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14667         (test_program_prefix): This.
14668         * stdio-common/tst-unbputc.sh: Likewise.
14669         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14670         $(run-program-prefix) with $(test-program-prefix).
14671         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14672         (test_program_prefix): This.
14673         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14674         $(built-program-cmd) with $(test-program-cmd).
14675
14676 2013-01-11  Andreas Jaeger  <aj@suse.de>
14677
14678         [BZ #15003]
14679         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14680         value. Sync with Linux 3.7.
14681
14682 2013-01-10  David S. Miller  <davem@davemloft.net>
14683
14684         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14685         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14686         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14687
14688 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14689
14690         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14691         never set.
14692         * configure: Regenerated.
14693
14694 2013-01-10  David S. Miller  <davem@davemloft.net>
14695
14696         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14697         sparc V9 rather than using V8 code.
14698         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14699         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14700
14701 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14702
14703         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14704         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14705         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14706         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14707         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14708         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14709         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14710         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14711         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14712         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14713         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14714         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14715         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14716         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14717         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14718         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14719         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14720         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14721         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14722         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14723         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14724         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14725         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14726         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14727         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14728         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14729         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14730
14731 2013-01-10  David S. Miller  <davem@davemloft.net>
14732
14733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14734
14735 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14736
14737         * posix/Makefile (tests-static): New variable.
14738         (tests): Add $(tests-static).
14739         (tst-exec-static-ARGS): New variable.
14740         (tst-spawn-static-ARGS): Likewise.
14741         * posix/tst-exec-static.c: New file.
14742         * posix/tst-spawn-static.c: Likewise.
14743         * posix/tst-exec.c: Support run directly.
14744         * posix/tst-spawn.c: Likewise.
14745
14746 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14747
14748         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14749         long.
14750         * math/bits/mathcalls.h (llrint): Likewise.
14751         (llround): Likewise.
14752         * stdlib/stdlib.h (struct drand48_data): Likewise.
14753         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14754         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14755         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14756         Likewise.
14757         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14758         Likewise.
14759         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14760         (elf_greg_t): Likewise.
14761         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14762         (__jmp_buf): Likewise.
14763         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14764         definitions.
14765         (llrint): Likewise, for all definitions.
14766         (llrintl): Likewise.
14767
14768         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14769         Remove [__GNUC__] condition.
14770         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14771         condition to just [__USE_ISOC99].
14772         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14773
14774 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14775
14776         [BZ #14200]
14777         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14778         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14779         defined.
14780         (_POSIX_V6_ILP32_OFF32): Likewise.
14781         (_XBS5_ILP32_OFF32): Likewise.
14782         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14783         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14784
14785 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14786
14787         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14788
14789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14790         doubles __mpexp_twomm1.  Adjust usage.
14791         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14792         Remove.
14793
14794 2013-01-10  Andreas Schwab  <schwab@suse.de>
14795
14796         [BZ #14964]
14797         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14798         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14799
14800 2013-01-09  David S. Miller  <davem@davemloft.net>
14801
14802         [BZ #15003]
14803         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14804         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14805         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14806         TCP_FASTOPEN): Define.
14807         (tcp_repair_opt): New structure.
14808         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14809         enum values.
14810         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14811         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14812         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14813         (tcp_cookie_transactions): New structure.
14814
14815 2013-01-09  Anton Blanchard  <anton@samba.org>
14816
14817         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14818         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14819         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14820         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14821
14822 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14823
14824         * include/features.h (__USE_ANSI): Remove.
14825
14826 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14827
14828         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14829
14830         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14831
14832 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14833
14834         * sysdeps/s390/fpu/libm-test-ulps: Update.
14835
14836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14837
14838         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14839         (__acr): Likewise.
14840         (__cpy): Likewise.
14841         (norm): Likewise.
14842         (denorm): Likewise.
14843         (__mp_dbl): Likewise.
14844         (__dbl_mp): Likewise.
14845         (add_magnitudes): Likewise.
14846         (sub_magnitudes): Likewise.
14847         (__add): Likewise.
14848         (__sub): Likewise.
14849         (__mul): Likewise.
14850         (__inv): Likewise.
14851         (__dvd): Likewise.
14852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14853         (__acr): Likewise.
14854         (__cpy): Likewise.
14855         (norm): Likewise.
14856         (denorm): Likewise.
14857         (__mp_dbl): Likewise.
14858         (__dbl_mp): Likewise.
14859         (add_magnitudes): Likewise.
14860         (sub_magnitudes): Likewise.
14861         (__add): Likewise.
14862         (__sub): Likewise.
14863         (__mul): Likewise.
14864         (__inv): Likewise.
14865         (__dvd): Likewise.
14866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14867         (__acr): Likewise.
14868         (__cpy): Likewise.
14869         (norm): Likewise.
14870         (denorm): Likewise.
14871         (__mp_dbl): Likewise.
14872         (__dbl_mp): Likewise.
14873         (add_magnitudes): Likewise.
14874         (sub_magnitudes): Likewise.
14875         (__add): Likewise.
14876         (__sub): Likewise.
14877         (__mul): Likewise.
14878         (__inv): Likewise.
14879         (__dvd): Likewise.
14880
14881 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14882
14883         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14884         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14885         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14886         2 && __USE_EXTERN_INLINES]: Likewise.
14887
14888 2013-01-08  Andreas Jaeger  <aj@suse.de>
14889
14890         [BZ# 14985]
14891         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14892         Remove.
14893         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14894         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14895
14896 2013-01-07  Anton Blanchard  <anton@samba.org>
14897
14898         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14899         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14900         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14901         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14902         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14903         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14904         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14905         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14907         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14908         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14909         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14910         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14911         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14912         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14913         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14914         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14915         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14916         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14917         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14918         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14919         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14920         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14921         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14922         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14923         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14924         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14925         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14926         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14927         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14928         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14930         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14931         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14932         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14933         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14934         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14936         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14937         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14938         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14939         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14940         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14941
14942 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14943
14944         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14945         (__MALLOC_PMT): Likewise.
14946         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14947         [__GNUC__], only on [_LIBC].
14948         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14949         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14950         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14951         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14952         forward declaration.
14953         (realloc_hook_ini): Likewise.
14954         (memalign_hook_ini): Likewise.
14955         (__libc_memalign): Do not use __MALLOC_PMT in variable
14956         declaration.
14957         (__libc_valloc): Likewise.
14958         (__libc_pvalloc): Likewise.
14959         (__libc_calloc): Likewise.
14960         (__posix_memalign): Likewise.
14961
14962         [BZ #14996]
14963         * math/s_casinh.c: Include <float.h>.
14964         (__casinh): Do not do computation with squaring and square root
14965         for large arguments.
14966         * math/s_casinhf.c: Include <float.h>.
14967         (__casinhf): Do not do computation with squaring and square root
14968         for large arguments.
14969         * math/s_casinhl.c: Include <float.h>.
14970         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14971         (__casinhl): Do not do computation with squaring and square root
14972         for large arguments.
14973         * math/libm-test.inc (casin_test): Add more tests.
14974         (casinh_test): Likewise.
14975         * sysdeps/i386/fpu/libm-test-ulps: Update.
14976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14977
14978 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14979
14980         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14981         (__x86_64_raw_data_cache_size): Likewise.
14982         (__x86_64_data_cache_size_half): Likewise.
14983         (__x86_64_raw_data_cache_size_half): Likewise.
14984         (__x86_64_shared_cache_size): Likewise.
14985         (__x86_64_raw_shared_cache_size): Likewise.
14986         (__x86_64_shared_cache_size_half): Likewise.
14987         (__x86_64_raw_shared_cache_size_half): Likewise.
14988         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14989         to ...
14990         (__x86_data_cache_size): This.
14991         (__x86_64_raw_data_cache_size): Renamed to ...
14992         (__x86_raw_data_cache_size): This.
14993         (__x86_64_data_cache_size_half): Renamed to ...
14994         (__x86_data_cache_size_half): This.
14995         (__x86_64_raw_data_cache_size_half): Renamed to ...
14996         (__x86_raw_data_cache_size_half): This.
14997         (__x86_64_shared_cache_size): Renamed to ...
14998         (__x86_shared_cache_size): This.
14999         (__x86_64_raw_shared_cache_size): Renamed to ...
15000         (__x86_raw_shared_cache_size): This.
15001         (__x86_64_shared_cache_size_half): Renamed to ...
15002         (__x86_shared_cache_size_half): This.
15003         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15004         (__x86_raw_shared_cache_size_half): This.
15005         * sysdeps/x86_64/memcpy.S: Updated.
15006         * sysdeps/x86_64/memset.S: Likewise.
15007         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15008         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15009         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15010
15011 2013-01-04  David S. Miller  <davem@davemloft.net>
15012
15013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15014
15015 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15016
15017         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15018         1 to avoid redefinition warning.
15019         (__USE_GNU): Don't define.
15020         (init_signaling_nan): Protoize.
15021
15022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15023
15024 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15025
15026         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15028         (__cpymn): Likewise.
15029         (norm): Remove commented code.
15030         (denorm): Likewise.
15031         (__mp_dbl): Likewise.
15032         (__inv): Likewise.
15033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15034         (__cpymn): Likewise.
15035         (norm): Remove commented code.
15036         (denorm): Likewise.
15037         (__mp_dbl): Likewise.
15038         (__inv): Likewise.
15039
15040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15041         mp_no value for 1.0 and 2.0.
15042         (norm): Use RADIXI instead of radixi.d.
15043         (denorm): Likewise.
15044         (__mul): Use 0.0 instead of zero.d.
15045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15046         mp_no value for 1.0 and 2.0.
15047         (norm): Use RADIXI instead of radixi.d.
15048         (denorm): Likewise.
15049         (__mul): Use 0.0 instead of zero.d.
15050
15051 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15052
15053         [BZ #14994]
15054         * math/s_casinh.c (__casinh): Reduce finite argument to first
15055         quadrant then set signs of results at the end.
15056         * math/s_casinhf.c (__casinhf): Likewise.
15057         * math/s_casinhl.c (__casinhl): Likewise.
15058         * math/libm-test.inc (casin_test): Add more tests.
15059         (casinh_test): Likewise.
15060         * sysdeps/i386/fpu/libm-test-ulps: Update.
15061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15062
15063 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15064
15065         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15066
15067         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15068
15069         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15070         declarations.
15071         (denorm): Likewise.
15072         (__mp_dbl): Likewise.
15073         (__inv): Likewise.
15074
15075         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15076         and adjust the header comment.
15077
15078         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15079         variable name from declaration.
15080
15081 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15082
15083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15084         Initialize COMMON_CPUID_INDEX_7 element.
15085         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15086         (CPUID_RTM): Likewise.
15087         (HAS_RTM): Likewise.
15088         (COMMON_CPUID_INDEX_7): New enum.
15089
15090 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15091
15092         [BZ #14981]
15093         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15094         size is zero, record memory as freed.
15095
15096 2013-01-03  Andreas Jaeger  <aj@suse.de>
15097
15098         * po/ia.po: Add new Interlingua translation.
15099
15100 2012-01-03  Allan McRae  <allan@archlinux.org>
15101
15102         * locale/programs/localedef.c: Fix description of '--posix' flag.
15103
15104 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15105
15106         * NEWS: Update dates in second copyright notice.
15107         * README: Update copyright dates in example.
15108         * manual/libc.texinfo: Update copyright dates.
15109         * scripts/test-installation.pl: Update copyright date in --version
15110         output.
15111
15112         * hurd/ctty-input.c: Fix copyright notice formatting.
15113         * hurd/ctty-output.c: Likewise.
15114         * hurd/dtable.c: Likewise.
15115         * hurd/hurd-raise.c: Likewise.
15116         * hurd/hurdprio.c: Likewise.
15117         * hurd/msgportdemux.c: Likewise.
15118         * misc/sys/file.h: Likewise.
15119         * misc/sys/ioctl.h: Likewise.
15120         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15121         * sysdeps/mach/hurd/chdir.c: Likewise.
15122         * sysdeps/mach/hurd/fchdir.c: Likewise.
15123         * sysdeps/mach/hurd/rename.c: Likewise.
15124         * sysdeps/mach/hurd/rmdir.c: Likewise.
15125         * sysdeps/mach/hurd/seekdir.c: Likewise.
15126         * sysdeps/mach/hurd/setsid.c: Likewise.
15127         * sysdeps/posix/wait3.c: Likewise.
15128
15129         * All files with FSF copyright notices: Update copyright dates
15130         using scripts/update-copyrights.
15131         * intl/plural.c: Regenerated.
15132         * locale/programs/charmap-kw.h: Likewise.
15133         * locale/programs/locfile-kw.h: Likewise.
15134
15135 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15136
15137         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15138         four values.
15139
15140         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15141         calculation loop and add branch prediction.
15142
15143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15144         check access beyond bounds of m1np.
15145
15146         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15147         MPTWO.
15148         (__inv): Remove local variable MPTWO to use the global
15149         constant.
15150         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15151         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15152         variable MPTWO.
15153         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15154         MP3HALFS static const.
15155
15156 2013-01-01  David S. Miller  <davem@davemloft.net>
15157
15158         * po/ca.po: Update from translation team.
15159
15160 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15161
15162         * scripts/update-copyrights: New file.
15163         * Makeconfig: Reformat copyright notice.
15164         * ctype/ctype.h: Likewise.
15165         * debug/swprintf_chk.c: Likewise.
15166         * elf/dl-cache.c: Likewise.
15167         * elf/dl-debug.c: Likewise.
15168         * elf/dl-object.c: Likewise.
15169         * grp/initgroups.c: Likewise.
15170         * hurd/Makefile: Likewise.
15171         * hurd/hurd/signal.h: Likewise.
15172         * hurd/hurdfault.c: Likewise.
15173         * hurd/hurdioctl.c: Likewise.
15174         * hurd/hurdlookup.c: Likewise.
15175         * hurd/intr-msg.c: Likewise.
15176         * iconv/gconv_open.c: Likewise.
15177         * libio/swprintf.c: Likewise.
15178         * locale/lc-ctype.c: Likewise.
15179         * locale/nl_langinfo.c: Likewise.
15180         * mach/Machrules: Likewise.
15181         * mach/Makefile: Likewise.
15182         * malloc/obstack.h: Likewise.
15183         * manual/Makefile: Likewise.
15184         * manual/tsort.awk: Likewise.
15185         * misc/bits/stab.def: Likewise.
15186         * nis/nis_print_group_entry.c: Likewise.
15187         * nis/nis_table.c: Likewise.
15188         * nis/nss_compat/compat-pwd.c: Likewise.
15189         * nis/nss_compat/compat-spwd.c: Likewise.
15190         * po/Makefile: Likewise.
15191         * posix/fnmatch.c: Likewise.
15192         * posix/regex.h: Likewise.
15193         * resolv/Makefile: Likewise.
15194         * resolv/nss_dns/dns-network.c: Likewise.
15195         * resolv/res_hconf.c: Likewise.
15196         * scripts/gen-sorted.awk: Likewise.
15197         * soft-fp/soft-fp.h: Likewise.
15198         * stdio-common/printf.h: Likewise.
15199         * stdlib/monetary.h: Likewise.
15200         * stdlib/random.c: Likewise.
15201         * stdlib/random_r.c: Likewise.
15202         * sysdeps/generic/Makefile: Likewise.
15203         * sysdeps/gnu/Makefile: Likewise.
15204         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15206         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15207         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15208         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15209         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15210         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15211         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15212         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15213         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15214         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15215         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15216         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15217         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15218         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15219         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15220         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15221         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15222         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15223         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15224         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15225         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15226         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15227         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15228         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15229         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15230         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15231         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15232         * sysdeps/mach/hurd/errnos.awk: Likewise.
15233         * sysdeps/mach/hurd/fork.c: Likewise.
15234         * sysdeps/mach/hurd/getcwd.c: Likewise.
15235         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15236         * sysdeps/mach/hurd/mmap.c: Likewise.
15237         * sysdeps/mach/hurd/utimes.c: Likewise.
15238         * sysdeps/mach/hurd/xmknod.c: Likewise.
15239         * sysdeps/posix/profil.c: Likewise.
15240         * sysdeps/posix/readdir_r.c: Likewise.
15241         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15242         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15243         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15244         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15246         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15247         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15248         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15250         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15251         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15252         * sysdeps/pthread/lio_listio.c: Likewise.
15253         * sysdeps/sparc/dl-procinfo.h: Likewise.
15254         * sysdeps/unix/i386/sysdep.S: Likewise.
15255         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15256         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15257         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15258         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15260         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15261         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15262         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15263         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15264         * sysdeps/wordsize-32/divdi3.c: Likewise.
15265         * time/sys/time.h: Likewise.
15266         * wcsmbs/Makefile: Likewise.
15267
15268 2013-01-01  David S. Miller  <davem@davemloft.net>
15269
15270         * po/fr.po: Update from translation team.
15271
15272         * catgets/gencat.c: Update copyright year.
15273         * csu/version.c: Likewise.
15274         * debug/catchsegv.sh: Likewise.
15275         * debug/pcprofiledump.c: Likewise.
15276         * debug/xtrace.sh: Likewise.
15277         * elf/ldconfig.c: Likewise.
15278         * elf/ldd.bash.in: Likewise.
15279         * elf/pldd.c: Likewise.
15280         * elf/sotruss.ksh: Likewise.
15281         * elf/sprof.c: Likewise.
15282         * iconv/iconv_prog.c: Likewise.
15283         * iconv/iconvconfig.c: Likewise.
15284         * locale/programs/locale.c: Likewise.
15285         * locale/programs/localedef.c: Likewise.
15286         * login/programs/pt_chown.c: Likewise.
15287         * malloc/memusage.sh: Likewise.
15288         * malloc/memusagestat.c: Likewise.
15289         * malloc/mtrace.pl: Likewise.
15290         * nscd/nscd.c: Likewise.
15291         * nss/getent.c: Likewise.
15292         * nss/makedb.c: Likewise.
15293         * posix/getconf.c: Likewise.
15294
15295 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15296
15297         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15298         numbers.
15299
15300 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15301
15302         * math/bits/mathcalls.h (modf): Use __nonnull.
15303
15304 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15305
15306         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15307         (split): Use macro CN instead of the bare value.
15308         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15309         could be used.
15310         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15311         instead of the bare value.
15312         (power1): Likewise.
15313
15314 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15315
15316         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15317         __ATAN_TWOM.
15318         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15319
15320         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15321         their values.
15322         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15323         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15324         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15325         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15326
15327 2012-12-28  Andreas Jaeger  <aj@suse.de>
15328
15329         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15330         values are from Linux 3.7.
15331
15332         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15333         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15334
15335 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15336
15337         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15338         TRUE case.
15339
15340         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15341         (norm): Likewise.
15342         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15343         variables with preprocessor constants.
15344         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15345         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15346         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15347
15348 2012-12-27  Bruno Haible  <bruno@clisp.org>
15349
15350         [BZ #14317]
15351         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15352         only if needed.
15353
15354 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15355
15356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15357         and use variable directly.
15358         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15359
15360         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15361         MPONE.
15362         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15363         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15364         variable MPONE.
15365         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15367         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15368         include directive.  Remove local variable MPONE.
15369         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15370         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15371         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15372
15373 2012-12-25  David S. Miller  <davem@davemloft.net>
15374
15375         * version.h (RELEASE): Set to "development".
15376         (VERSION): Set to "2.17.90".
15377         * NEWS: Add 2.18 section.
15378
15379 2012-12-21  David S. Miller  <davem@davemloft.net>
15380
15381         * po/hr.po: Update from translation team.
15382
15383 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15384
15385         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15386
15387 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15388
15389         * NEWS:  Mention new memcpy for MIPS.
15390
15391 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15392
15393         * manual/contrib.texi (Contributors): Spelling correction.
15394
15395 2012-12-15  David S. Miller  <davem@davemloft.net>
15396
15397         * po/ru.po: Update from translation team.
15398
15399 2012-12-13  David S. Miller  <davem@davemloft.net>
15400
15401         * NEWS: Mention IFUNC testsuite enhancements.
15402
15403         * po/pl.po: Update from translation team.
15404         * po/bg.po: Likewise.
15405
15406         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15407         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15408
15409 2012-12-11  David S. Miller  <davem@davemloft.net>
15410
15411         * po/sv.po: Update from translation team.
15412
15413         * po/vi.po: Update from translation team.
15414
15415         * po/cs.po: Update from translation team.
15416
15417         * po/de.po: Update from translation team.
15418         * po/eo.po: Likewise.
15419         * po/nl.po: Likewise.
15420
15421 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15422
15423         [BZ #14246]
15424         * manual/argp.texi (Argp Helper Functions): Move node to follow
15425         Argp Parsing State.
15426
15427         [BZ #14872]
15428         * manual/conf.texi (Limits on File System Capacity): Mention if
15429         terminating null is included in the max size.
15430
15431 2012-12-10  Andreas Jaeger  <aj@suse.de>
15432
15433         * po/cs.po: Update from translation team.
15434
15435 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15436
15437         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15438         void pointer and cast to uintptr_t.
15439         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15440         path.
15441         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15442         * sysdeps/s390/s390-64/memset.S: Likewise.
15443
15444 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15445
15446         [BZ #14833]
15447         * menual/message.texi (Message Translation): Fix typos.
15448         (Helper programs for gettext): Likewise.
15449
15450 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15451
15452         [BZ #14898]
15453         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15454         Change to -1.
15455
15456 2012-12-07  David S. Miller  <davem@davemloft.net>
15457
15458         * po/libc.pot: Update.
15459
15460 2012-12-07  Richard Henderson  <rth@redhat.com>
15461
15462         [BZ #10114]
15463         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15464         normal/normal case to before the switch.
15465         (_FP_DIV): Likewise.
15466
15467 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15468             Mike Frysinger  <vapier@gentoo.org>
15469
15470         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15471         check for __NR_fadvise64_64.
15472
15473 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15474
15475         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15476         0, not just to plain "0" as a statement.
15477         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15478         with cw.
15479
15480 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15481
15482         * NEWS: Use sourceware.org in Bugzilla URL.
15483
15484 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15485
15486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15487         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15488
15489         * stdio-common/tst-put-error.c (do_test): Add newline to the
15490         padded test to ensure flush.
15491
15492 2012-12-05  Jeff Law  <law@redhat.com>
15493
15494         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15495
15496 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15497
15498         * README: Don't refer to ports add-on as distributed separately.
15499         Mention AArch64 in list of systems supported in the ports add-on.
15500
15501         * LICENSES: Add more non-FSF copyright and license notices.
15502
15503         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15504         ((unused)).
15505
15506         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15507
15508         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15509         10000 as width of padded output.
15510
15511 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15512
15513         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15514
15515         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15516         variable LX with __attribute__ ((unused)).
15517         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15518         Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15521         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15522         with __attribute__ ((unused)).
15523
15524 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15525
15526         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15527
15528 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15529
15530         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15531         (CFLAGS-nldbl-acos.c): New variable.
15532         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15533         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15534         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15535         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15536         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15537         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15538         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15539         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15540         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15541         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15542         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15543         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15544         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15545         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15546         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15547         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15548         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15549         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15550         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15551         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15552         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15553         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15554         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15555         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15556         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15557         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15558         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15559         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15560         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15561         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15562         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15563         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15564         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15565         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15566         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15567         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15568         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15569         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15570         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15571         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15572         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15573         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15574         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15575         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15576         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15577         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15578         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15579         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15580         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15581         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15582         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15583         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15584         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15585         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15586         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15587         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15588         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15589         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15590         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15591         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15592         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15593         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15594         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15595         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15596         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15597         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15598         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15599         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15600         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15601         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15602         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15603         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15604         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15605         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15606         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15607         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15608         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15609         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15610         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15611         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15612         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15613         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15614         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15615         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15616         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15617         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15618         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15619         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15620         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15621         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15622         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15623         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15624         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15625         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15626         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15627         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15628         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15629
15630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15631         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15632
15633         [BZ #14914]
15634         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15635         whole low double instead of just low 47 bits when splitting values
15636         into two parts.
15637
15638 2012-12-03  Allan McRae  <allan@archlinux.org>
15639
15640         * manual/stdio.texi (Predefined Printf Handlers): Remove
15641         @hsep and @vsep usage.
15642
15643 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15644
15645         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15646         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15647
15648 2012-12-03  Jeff Law  <law@redhat.com>
15649
15650         * time/sys/time.h (settimeofday): Do not mark TV argument
15651         as __nonnull.
15652
15653 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15654
15655         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15656         when currently writing and seek to current position when not.
15657         * libio/Makefile (tests): Remove bug-fclose1.
15658         * libio/bug-fclose1.c: Delete.
15659
15660 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15661
15662         * manual/arith.texi (feenableexcept): Fix typo.
15663         (fedisableexcept): Likewise.
15664
15665 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15666
15667         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15668         second, differently-typed declaration, rather than a cast.
15669
15670 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15671
15672         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15673         * include/rpc/svc.h: ... here.
15674
15675 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15676
15677         [BZ #13013]
15678         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15679         depending n and resplen2 to catch cases where answer
15680         equals answerp2.
15681
15682 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15683
15684         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15685         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15686
15687 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15688
15689         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15690
15691 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15692
15693         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15694
15695 2012-11-28  Jeff Law  <law@redhat.com>
15696
15697         [BZ #13761]
15698         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15699         dataset_temporary.  Track alloca usage into alloca_used.
15700         If dataset is large allocate and release it via malloc/free.
15701
15702 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15703
15704         [BZ #14197]
15705         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15706
15707 2012-11-28  David S. Miller  <davem@davemloft.net>
15708
15709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15710
15711 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15712
15713         [BZ #14803]
15714         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15715         of pi/2 rounded to nearest to 64 bits.
15716         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15717         nearest to 64 bits.
15718         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15719         bits.
15720
15721 2012-11-28  Jeff Law <law@redhat.com>
15722             Martin Osvald <mosvald@redhat.com>
15723
15724         [BZ #14889]
15725         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15726         * sunrpc/svc.c: Include time.h.
15727         (__svc_accept_failed): New function.
15728         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15729         any reason other than EINTR, call __svc_accept_failed.
15730         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15731         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15732
15733 2012-11-28  Andreas Schwab  <schwab@suse.de>
15734
15735         * scripts/abilist.awk: Also handle indirect functions in .opd
15736         section.
15737
15738 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15739
15740         [BZ #13881]
15741         * sysdeps/x86/fpu/powl_helper.c: New file.
15742         * sysdeps/x86/fpu/Makefile: Likewise.
15743         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15744         (p3): New object.
15745         (__ieee754_powl): Use __powl_helper for finite arguments except
15746         integer exponents below 8.
15747         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15748         (p3): New object.
15749         (__ieee754_powl): Use __powl_helper for finite arguments except
15750         integer exponents below 8.
15751         * math/libm-test.inc (pow_test): Add more tests and enable some
15752         previously disabled tests.
15753         * sysdeps/i386/fpu/libm-test-ulps: Update.
15754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15755
15756 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15757             Carlos O'Donell  <carlos_odonell@mentor.com>
15758
15759         * nss/makedb.c (is_prime): Assert that input is odd and greater
15760         than 4.  Note that fact in a comment too.
15761         (next_prime): Add 4 to input.
15762
15763 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15764
15765         [BZ #11741]
15766         * libio/Makefile (tests): Add test case tst-fwrite-error.
15767         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15768         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15769         * libio/tst-fwrite-error.c: New test case.
15770
15771 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15772
15773         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15774         before casting to void *.
15775         * include/libc-internal.h (__pointer_type): New macro.
15776         (__integer_if_pointer_type_sub): Likewise.
15777         (__integer_if_pointer_type): Likewise.
15778         (cast_to_integer): Likewise.
15779         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15780         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15781         before casting to atomic64_t.
15782         (atomic_exchange_acq): Likewise.
15783         (__arch_exchange_and_add_body): Likewise.
15784         (__arch_add_body): Likewise.
15785         (atomic_add_negative): Likewise.
15786         (atomic_add_zero): Likewise.
15787
15788 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15789
15790         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15791         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15792         (add_fdes): Likewise.
15793         (linear_search_fdes): Likewise.
15794         (binary_search_unencoded_fdes): Likewise.
15795
15796 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15797
15798         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15799
15800 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15801
15802         * configure.in: Autodetect C++ header directories.
15803         * configure: Regenerated.
15804
15805 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15806
15807         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15808
15809 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15810
15811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15812
15813 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15814
15815         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15816         LDBL_MANT_DIG == 106]: Disable some tests.
15817         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15818         Likewise.
15819         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15820         Likewise.
15821
15822         [BZ #14871]
15823         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15824         input for small inputs.  Return +/- pi/2 for large inputs.
15825         * math/libm-test.inc (atan_test): Add more tests.
15826
15827         * sysdeps/generic/unwind-dw2-fde-glibc.c
15828         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15829         __attribute__ ((unused)).
15830
15831         [BZ #14645]
15832         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15833         x * y if x and y are nonzero and z is zero.
15834
15835         [BZ #14811]
15836         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15837         nonzero exponents with absolute value below 0x1p-117 to +/-
15838         0x1p-117.
15839
15840         [BZ #14869]
15841         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15842         up arguments below 2**-450, not just those below 2**-500.
15843         * math/libm-test.inc (hypot_test): Add another test.
15844
15845         [BZ #14868]
15846         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15847         Return a+b for ratio over 2**120, not 2**60.
15848         * math/libm-test.inc (hypot_test): Add another test.
15849
15850         * math/libm-test.inc (clog_test): Use
15851         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15852         (clog10_test): Likewise.
15853
15854         [BZ #6778]
15855         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15856
15857 2012-11-22  Andreas Schwab  <schwab@suse.de>
15858
15859         * sysdeps/i386/fpu/libm-test-ulps: Update.
15860
15861 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15862
15863         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15864         printf output with newline.
15865
15866 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15867
15868         [BZ #14865]
15869         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15870         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15871         -z nodlopen, -z initfirst and -z execstack support.
15872         * configure: Regenerated.
15873
15874         * elf/elf.h (DF_1_NODIRECT): New macro.
15875         (DF_1_IGNMULDEF): Likewise.
15876         (DF_1_NOKSYMS): Likewise.
15877         (DF_1_NOHDR): Likewise.
15878         (DF_1_EDITED): Likewise.
15879         (DF_1_NORELOC): Likewise.
15880         (DF_1_SYMINTPOSE): Likewise.
15881         (DF_1_GLOBAUDIT): Likewise.
15882         (DF_1_SINGLETON): Likewise.
15883         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15884         DT_1_SUPPORTED_MASK bits.
15885         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15886
15887 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15888
15889         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15890
15891 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15892
15893         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15894         macro.
15895
15896         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15897         (sendmmsg): Move declarations...
15898         * socket/sys/socket.h: ... here.
15899         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15900         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15901         include it from...
15902         * socket/recvmmsg.c: ... this new file.
15903         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15904         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15905         definition of __sendmmsg hidden.
15906         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15907         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15908         Move ENOSYS stub into and include it from...
15909         * socket/sendmmsg.c: ... this new file.
15910         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15911         (sysdep_routines): Move recvmmsg and sendmmsg...
15912         * socket/Makefile (routines): ... here.
15913         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15914         (GLIBC_PRIVATE): Add __sendmmsg.
15915         * include/sys/socket.h (__sendmmsg): Add declarations.
15916         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15917         sendmmsg.
15918
15919 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15920
15921         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15922         variable I1 with __attribute__ ((unused)).
15923         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15924
15925 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15926
15927         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15928         DUMMY variables with __attribute__ ((unused)).
15929
15930         * bits/byteswap.h: Include <bits/types.h>.
15931         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15932
15933 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15934
15935         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15936         string_t.  Do not manually set errno.
15937         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15938         length with __strnlen.  Make sure to both set errno and return it on
15939         failure.
15940
15941 2012-11-19  David S. Miller  <davem@davemloft.net>
15942
15943         With help from Joseph Myers.
15944         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15945         very large arguments properly.
15946         * math/libm-test.inc (atan_test): New tests.
15947         (atan2_test): New tests.
15948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15950
15951 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15952
15953         [BZ #14856]
15954         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15955         Define to 3.
15956
15957         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15958         [POSIX] (EADDRNOTAVAIL): Likewise.
15959         [POSIX] (EAFNOSUPPORT): Likewise.
15960         [POSIX] (EALREADY): Likewise.
15961         [POSIX] (ECONNABORTED): Likewise.
15962         [POSIX] (ECONNREFUSED): Likewise.
15963         [POSIX] (ECONNRESET): Likewise.
15964         [POSIX] (EDESTADDRREQ): Likewise.
15965         [POSIX] (EDQUOT): Likewise.
15966         [POSIX] (EHOSTUNREACH): Likewise.
15967         [POSIX] (EIDRM): Likewise.
15968         [POSIX] (EISCONN): Likewise.
15969         [POSIX] (ELOOP): Likewise.
15970         [POSIX] (EMULTIHOP): Likewise.
15971         [POSIX] (ENETDOWN): Likewise.
15972         [POSIX] (ENETUNREACH): Likewise.
15973         [POSIX] (ENOBUFS): Likewise.
15974         [POSIX] (ENODATA): Likewise.
15975         [POSIX] (ENOLINK): Likewise.
15976         [POSIX] (ENOMSG): Likewise.
15977         [POSIX] (ENOPROTOOPT): Likewise.
15978         [POSIX] (ENOSR): Likewise.
15979         [POSIX] (ENOSTR): Likewise.
15980         [POSIX] (ENOTCONN): Likewise.
15981         [POSIX] (ENOTSOCK): Likewise.
15982         [POSIX] (EOPNOTSUPP): Likewise.
15983         [POSIX] (EOVERFLOW): Likewise.
15984         [POSIX] (EPROTO): Likewise.
15985         [POSIX] (EPROTONOSUPPORT): Likewise.
15986         [POSIX] (EPROTOTYPE): Likewise.
15987         [POSIX] (ESTALE): Likewise.
15988         [POSIX] (ETIME): Likewise.
15989         [POSIX] (ETXTBSY): Likewise.
15990         [POSIX] (EWOULDBLOCK): Likewise.
15991         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15992         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15993         [POSIX] (SEEK_CUR): Likewise.
15994         [POSIX] (SEEK_END): Likewise.
15995         [POSIX || UNIX98] (mode_t): Do not require.
15996         [POSIX] (off_t): Likewise.
15997         [POSIX] (pid_t): Likewise.
15998         [POSIX] (sys/stat.h): Do not allow header.
15999         [POSIX] (unistd.h): Likewise.
16000         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16001         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16002         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16003         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16004         require.
16005         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16006         sigevent): Specify elements.
16007         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16008         entry.
16009         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16010         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16011
16012         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16013         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16014         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16015         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16016         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16017         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16018         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16019         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16020         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16021         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16022         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16023         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16024         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16025         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16026         Likewise.
16027         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16028         Likewise.
16029         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16030         Likewise.
16031         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16032         Likewise.
16033         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16034         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16035         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16037         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16038         Specify lower bound on value.
16039         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16040         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16041         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16042         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16043         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16044         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16045         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16046         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16047         value.
16048         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16049         as optional.
16050         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16051         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16052         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16053         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16054         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16055         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16056         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16057         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16058         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16059         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16060         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16061         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16062         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16063         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16064         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16065         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16066         entry.
16067         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16068         optional.
16069         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16070         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16071         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16072         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16073         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16074         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16075         Likewise.
16076         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16077         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16078         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16079         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16080         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16081         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16082         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16083         as optional.
16084         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16085         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16087         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16088         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16089         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16090         specify as optional.
16091         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16092         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16093         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16094         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16095         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16096         [XPG3] (NL_LANGMAX): Likewise.
16097         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16098         [POSIX || XPG3] (NL_NMAX): Likewise.
16099         [POSIX || XPG3] (NL_SETMAX): Likewise.
16100         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16101         [XPG3] (NZERO): Likewise.
16102         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16103         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16104         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16105         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16106         (REG_ERANGE): Expect.
16107         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16108         optional-constant.
16109         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16110         Use (void) in prototype.
16111         [POSIX] (*_t): Allow.
16112         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16113         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16114         (WRDE_BADVAL): Expect.
16115
16116         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16117         expect.
16118         [XPG3 || XPG4] (O_RSYNC): Likewise.
16119         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16120         Likewise.
16121         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16122         [XPG3 || XPG4] (sigqueue): Likewise.
16123         [XPG3 || XPG4] (sigtimedwait): Likewise.
16124         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16125         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16126         [XPG3 || XPG4] (vsnprintf): Likewise.
16127         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16128         Likewise.
16129         [XPG3 || XPG4] (blksize_t): Likewise.
16130         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16131         Likewise.
16132         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16133         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16134         [XPG3 || XPG4] (struct itimerspec): Likewise.
16135         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16136         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16137         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16138         [XPG3 || XPG4] (clockid_t): Likewise.
16139         [XPG3 || XPG4] (timer_t): Likewise.
16140         [XPG3 || XPG4] (clock_getres): Likewise.
16141         [XPG3 || XPG4] (clock_gettime): Likewise.
16142         [XPG3 || XPG4] (clock_settime): Likewise.
16143         [XPG3 || XPG4] (nanosleep): Likewise.
16144         [XPG3 || XPG4] (timer_create): Likewise.
16145         [XPG3 || XPG4] (timer_delete): Likewise.
16146         [XPG3 || XPG4] (timer_gettime): Likewise.
16147         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16148         [XPG3 || XPG4] (timer_settime): Likewise.
16149         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16150         [XPG3 || XPG4] (getlogin_r): Likewise.
16151         [XPG3 || XPG4] (pread): Likewise.
16152         [XPG3 || XPG4] (pthread_atfork): Likewise.
16153         [XPG3 || XPG4] (pwrite): Likewise.
16154
16155         [BZ #14835]
16156         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16157         <bits/siginfo.h>.
16158
16159 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16160
16161         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16162         finalizing MALLSTREAM.
16163
16164         * sysdeps/mach/hurd/syncfs.c: New file.
16165
16166 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16167
16168         [BZ #14719]
16169         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16170         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16171         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16172         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16173         (_nss_dns_gethostbyname4_r): Likewise.
16174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16175         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16176
16177 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16178
16179         [BZ #13763]
16180         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16181
16182 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16183
16184         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16185         * elf/cache.c (print_entry): Print ",AArch64" for
16186         FLAG_AARCH64_LIB64
16187
16188         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16189         * elf/cache.c (print_entry): Print ",hard-float" for
16190         FLAG_ARM_LIBHF.
16191
16192 2012-11-18  David S. Miller  <davem@davemloft.net>
16193
16194         With help from Joseph Myers.
16195         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16196         cutoff to 2**-13.
16197         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16198         cutoff to 2**-25.
16199         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16200         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16201         small.
16202         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16203         * math/libm-test.inc (y0_test): New tests.
16204         (y1_test): New tests.
16205         * sysdeps/i386/fpu/libm-test-ulps: Update.
16206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16208
16209 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16210
16211         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16212         64-bit targets.
16213         * configure: Regenerated.
16214
16215 2012-11-17  David S. Miller  <davem@davemloft.net>
16216
16217         [BZ #14811]
16218         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16219         nonzero exponents with absolute value below 0x1p-128 to +/-
16220         0x1p-128.
16221
16222 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16223
16224         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16225
16226         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16227
16228         * posix/getconf-speclist.c: New file.
16229         * posix/posix-envs.def: Likewise.
16230         * posix/confstr.c (START_ENV_GROUP): New macro.
16231         (END_ENV_GROUP): Likewise.
16232         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16233         (KNOWN_PRESENT_ENV_STRING): Likewise.
16234         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16235         (UNKNOWN_ENVIRONMENT): Likewise.
16236         (confstr): Include posix-envs.def instead of handling
16237         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16238         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16239         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16240         (END_ENV_GROUP): Likewise.
16241         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16242         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16243         (UNKNOWN_ENVIRONMENT): Likewise.
16244         (__sysconf): Include posix-envs.def instead of handling associated
16245         cases directly here.
16246         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16247         preprocessing getconf-speclist.c rather than running getconf or
16248         generating empty file.
16249
16250 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16251
16252         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16253
16254 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16255
16256         [BZ #14672]
16257         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16258
16259 2012-11-16  David S. Miller  <davem@davemloft.net>
16260
16261         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16262         smaller than LDBL_EPSILON/2.0L, just return xm1.
16263
16264 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16265
16266         * elf/tst-array1.c (init): Set constructor priority to 1000.
16267         (fini): Set destructor priority to 1000.
16268         * elf/tst-array2dep.c: Likewise.
16269
16270 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16271
16272         [BZ #11741]
16273         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16274         (_IO_new_file_xsputn): Also return EOF if none of the input
16275         data was written when overflow failed.
16276         * libio/iopadn.c (_IO_padn): Likewise.
16277         * libio/iowpadn.c (_IO_wpadn): Likewise.
16278         * stdio-common/tst-put-error.c: Add copyright notice.
16279         (do_test): Add case for printing padded string.
16280         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16281         _IO_padn returned error.
16282         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16283         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16284         return EOF.
16285
16286 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16287
16288         * libio/libioP.h: Add comment note that the references to C++
16289         bits are now obsolete.
16290
16291 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16292
16293         * math/libm-test.inc (check_complex): Use asprintf.
16294
16295 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16296
16297         * debug/pcprofiledump.c (print_version): Update copyright year.
16298         * malloc/memusagestat.c (print_version): Likewise.
16299
16300 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16301
16302         [BZ #14831]
16303         * elf/Makefile (tests): Add tst-audit8.
16304         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16305         ($(objpfx)tst-audit8.out): New target.
16306         (tst-audit8-ENV): New variable.
16307         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16308         audit if l_reloc_result is NULL.
16309         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16310         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16311         * elf/tst-audit8.c: New file.
16312
16313 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16314
16315         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16316         * misc/Makefile (CFLAGS-select.c): Define.
16317         * posix/Makefile (CFLAGS-pause.c): Define.
16318
16319 2012-11-13  David S. Miller  <davem@davemloft.net>
16320
16321         * crypt/Makefile: Move test targets after toplevel Rules
16322         inclusion.  Grab any necessary sysdep routines when linking.
16323         * crypt/md5.c (md5_process_block): Remove define, we will always
16324         name it __md5_process_block.
16325         (md5_finish_ctx): Update md5_process_block call.
16326         (md5_stream): Likewise.
16327         (md5_process_bytes): Likewise.
16328         (md5_process_block): Rename to __md5_process_block and move to ...
16329         * crypt/md5-block.c: ... here.
16330         * crypt/sha256.c (sha256_process_block): Move to ...
16331         * crypt/sha256-block.c: ... here.
16332         * crypt/sha512.c (sha512_process_block): Move to ...
16333         * crypt/sha512-block.c: ... here.
16334         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16335         path.
16336         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16337         * sysdeps/sparc/sparc64/multiarch/Makefile
16338         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16339         crypt subdir.
16340         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16341         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16342         multiarch changes.
16343         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16344         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16345         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16346         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16347         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16348         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16349         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16350         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16351         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16352         file.
16353         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16354         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16355         file.
16356         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16357
16358 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16359
16360         * timezone/tzselect.ksh: Update from tzcode git revision
16361         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16362         * timezone/zdump.c: Likewise.
16363         * timezone/zic.c: Likewise.
16364         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16365         in TZVERSION setting, not $(PKGVERSION).
16366         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16367         REPORT_BUGS_TO settings.
16368
16369         [BZ #14838]
16370         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16371         macro.
16372
16373 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16374
16375         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16376         detection to immediately after _FP_ROUND().
16377         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16378         bits are 0.
16379
16380 2012-11-11  David S. Miller  <davem@davemloft.net>
16381
16382         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16383         inttypes.h
16384         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16385         __close rather than their public counterparts.
16386
16387 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16388
16389         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16390         file.
16391         [UNIX98] (sem_timedwait): Do not expect.
16392         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16393         [XPG4 || UNIX98] (sockatmark): Do not expect.
16394         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16395         (clock_getcpuclockid): Do not expect.
16396         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16397         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16398         Do not expect.
16399         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16400         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16401         [UNIX98] (vwscanf): Likewise.
16402         [UNIX98] (vswscanf): Likewise.
16403
16404 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16405
16406         * timezone/version.h: Remove file.
16407         * timezone/README: Do not refer to version.h.
16408         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16409         $(objpfx)version.h.
16410         ($(objpfx)zdump.o): Likewise.
16411         ($(objpfx)version.h): New target.
16412
16413         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16414         2012i.
16415         * timezone/README: Don't mention modification to tzselect.ksh.
16416         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16417         work on unmodified tzselect.ksh.  Substitute version numbers in
16418         tzselect.ksh.
16419
16420         * Makefile (format-me): Remove.
16421         (INSTALL): Adjust indentation.  Use commands directly instead of
16422         using $(format-me).
16423
16424         * aclocal.m4 (ACX_PKGVERSION): New macro.
16425         (ACX_BUGURL): Likewise.
16426         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16427         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16428         (REPORT_BUGS_TO): Likewise.
16429         * configure: Regenerated.
16430         * config.h.in (PKGVERSION): New macro.
16431         (REPORT_BUGS_TO): Likewise.
16432         * config.make.in (PKGVERSION): New variable.
16433         (PKGVERSION_TEXI): Likewise.
16434         (REPORT_BUGS_TO): Likewise.
16435         (REPORT_BUGS_TEXI): Likewise.
16436         * Makefile (format-me): Use -I$(common-objpfx)manual.
16437         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16438         ($(common-objpfx)manual/%): New target.
16439         (manual/%): Remove target.
16440         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16441         (print_version): Use PKGVERSION.
16442         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16443         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16444         and REPORT_BUGS_TO.
16445         ($(objpfx)xtrace): Likewise.
16446         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16447         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16448         (print_version): Use PKGVERSION.
16449         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16450         (do_version): Use PKGVERSION.
16451         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16452         REPORT_BUGS_TO.
16453         (common-ldd-rewrite): Likewise.
16454         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16455         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16456         (print_version): Use PKGVERSION.
16457         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16458         * elf/pldd.c (argp_program_bug_address): Remove variable.
16459         (more_help): New function.
16460         (argp): Use more_help.
16461         (print_version): Use PKGVERSION.
16462         * elf/sln.c (main): Use PKGVERSION.
16463         (usage): Use REPORT_BUGS_TO.
16464         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16465         (top level): Use PKGVERSION.
16466         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16467         (print_version): Use PKGVERSION.
16468         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16469         (print_version): Use PKGVERSION.
16470         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16471         (print_version): Use PKGVERSION.
16472         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16473         (print_version): Use PKGVERSION.
16474         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16475         (print_version): Use PKGVERSION.
16476         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16477         (print_version): Use PKGVERSION.
16478         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16479         and BUGURL.
16480         ($(objpfx)memusage): Likewise.
16481         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16482         (do_version): Use PKGVERSION.
16483         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16484         (print_version): Use PKGVERSION.
16485         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16486         ($PKGVERSION): New variable.
16487         ($REPORT_BUGS_TO): Likewise.
16488         (usage): Use $REPORT_BUGS_TO.
16489         (top level): Use $PKGVERSION.
16490         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16491         ($(objpfx)pkgvers.texi): New rule.
16492         ($(objpfx)stamp-pkgvers): Likewise.
16493         * manual/install.texi: Include pkgvers.texi.
16494         (--with-pkgversion): Document new configure option.
16495         (--with-bugurl): Likewise.
16496         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16497         than necessarily for this particular distribution.  Use
16498         REPORT_BUGS_TO for where to report bugs.
16499         * INSTALL: Regenerated.
16500         * manual/libc.texinfo: Include pkgvers.texi.
16501         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16502         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16503         (print_version): Use PKGVERSION.
16504         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16505         (print_version): Use PKGVERSION.
16506         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16507         (print_version): Use PKGVERSION.
16508         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16509         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16510         macro.
16511         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16512         (print_version): Use PKGVERSION.
16513         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16514         (print_version): Use PKGVERSION.
16515         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16516         and PKGVERSION.
16517
16518         * timezone/checktab.awk: Update from tzcode 2012i.
16519         * timezone/ialloc.c: Likewise.
16520         * timezone/private.h: Likewise.
16521         * timezone/scheck.c: Likewise.
16522         * timezone/tzfile.h: Likewise.
16523         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16524         (TZVERSION): Hardcode tzcode version number.
16525         * timezone/zdump.c: Update from tzcode 2012i.
16526         * timezone/zic.c: Likewise.
16527         * timezone/version.h: New file.
16528         * timezone/README: Describe version.h.  Update upstream location.
16529
16530         [BZ #14824]
16531         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16532         (mktemp): Enable declaration.
16533         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16534         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16537         Likewise.
16538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16539         Likewise.
16540         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16541         Likewise.
16542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16543         Likewise.
16544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16545         Likewise.
16546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16547         Likewise.
16548
16549         [BZ #14821]
16550         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16551         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16552         for copies of such integer values.
16553         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16554         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16555
16556 2012-11-09  Andreas Jaeger  <aj@suse.de>
16557
16558         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16559         definitions and declarations that are provided by
16560         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16561
16562 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16563
16564         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16565         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16566         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16567         definition.
16568
16569 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16570
16571         * elf/elf.h: Update comment before AArch64 relocations.
16572
16573 2012-11-07  David S. Miller  <davem@davemloft.net>
16574
16575         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16576         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16577         (__start_context): Declare.
16578         (__makecontext_ret): Delete.
16579         (__makecontext): Hook up __start_context instead of
16580         __makecontext_ret.
16581         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16582         (sysdep_routines): Add __start_context when in stdlib.
16583
16584 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16585
16586         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16587         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16588         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16589         hardcoded "nm".
16590         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16591         (READELF): New variable.  Use it instead of hardcoded "readelf".
16592
16593 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16594
16595         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16596         * sysdeps/x86/Makefile: Here.
16597         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16598         * sysdeps/x86/tst-xmmymm.sh: This.
16599
16600 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16601
16602         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16603         expectations.
16604         [UNIX98] (pthread_barrier_t): Do not expect.
16605         [UNIX98] (pthread_barrierattr_t): Likewise.
16606         [UNIX98] (pthread_spinlock_t): Likewise.
16607         [UNIX98] (pthread_barrier_destroy): Likewise.
16608         [UNIX98] (pthread_barrier_init): Likewise.
16609         [UNIX98] (pthread_barrier_wait): Likewise.
16610         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16611         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16612         [UNIX98] (pthread_barrierattr_init): Likewise.
16613         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16614         [UNIX98] (pthread_getcpuclockid): Likewise.
16615         [UNIX98] (pthread_mutex_timedlock): Likewise.
16616         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16617         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16618         [UNIX98] (pthread_sigmask): Likewise.
16619         [UNIX98] (pthread_spin_destroy): Likewise.
16620         [UNIX98] (pthread_spin_init): Likewise.
16621         [UNIX98] (pthread_spin_lock): Likewise.
16622         [UNIX98] (pthread_spin_trylock): Likewise.
16623         [UNIX98] (pthread_spin_unlock): Likewise.
16624         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16625         Do not expect.
16626         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16627         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16628         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16629         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16630         [XPG3 || XPG4] (pthread_key_t): Likewise.
16631         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16632         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16633         [XPG3 || XPG4] (pthread_once_t): Likewise.
16634         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16635         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16636         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16637         [XPG3 || XPG4] (pthread_t): Likewise.
16638
16639         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16640         not expect.
16641         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16642
16643         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16644         Change function return type to int.
16645
16646         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16647         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16648         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16649         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16650         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16651         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16652         [!POSIX] (posix_madvise): Likewise.
16653         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16654         && !UNIX98].
16655         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16656         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16657         (mode_t): Likewise.
16658         (posix_mem_offset): Likewise.
16659         (posix_typed_mem_get_info): Likewise.
16660         (posix_typed_mem_open): Likewise.
16661
16662         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16663         Change condition to [XOPEN2K8].
16664
16665         * conform/conformtest.pl: Preprocess allow-header data with -x c
16666         instead of from stdin.
16667         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16668         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16669         [C99-based standards] (cerfc): Likewise.
16670         [C99-based standards] (cexp2): Likewise.
16671         [C99-based standards] (cexpm1): Likewise.
16672         [C99-based standards] (clog10): Likewise.
16673         [C99-based standards] (clog1p): Likewise.
16674         [C99-based standards] (clog2): Likewise.
16675         [C99-based standards] (clgamma): Likewise.
16676         [C99-based standards] (ctgamma): Likewise.
16677         [C99-based standards] (cerff): Likewise.
16678         [C99-based standards] (cerfcf): Likewise.
16679         [C99-based standards] (cexp2f): Likewise.
16680         [C99-based standards] (cexpm1f): Likewise.
16681         [C99-based standards] (clog10f): Likewise.
16682         [C99-based standards] (clog1pf): Likewise.
16683         [C99-based standards] (clog2f): Likewise.
16684         [C99-based standards] (clgammaf): Likewise.
16685         [C99-based standards] (ctgammaf): Likewise.
16686         [C99-based standards] (cerfl): Likewise.
16687         [C99-based standards] (cerfcl): Likewise.
16688         [C99-based standards] (cexp2l): Likewise.
16689         [C99-based standards] (cexpm1l): Likewise.
16690         [C99-based standards] (clog10l): Likewise.
16691         [C99-based standards] (clog1pl): Likewise.
16692         [C99-based standards] (clog2l): Likewise.
16693         [C99-based standards] (clgammal): Likewise.
16694         [C99-based standards] (ctgammal): Likewise.
16695         * conform/data/inttypes.h-data [C99-based standards]: Include
16696         stdint.h-data.  Remove all expectations for stdint.h contents.
16697         [C99-based standards] (PRI*): Do not allow.
16698         [C99-based standards] (SCN*): Likewise.
16699         [C99-based standards] (*_t): Likewise.
16700         [C99-based-standards] (PRId8): Expect macro.
16701         [C99-based-standards] (PRIi8): Likewise.
16702         [C99-based-standards] (PRIo8): Likewise.
16703         [C99-based-standards] (PRIu8): Likewise.
16704         [C99-based-standards] (PRIx8): Likewise.
16705         [C99-based-standards] (PRIX8): Likewise.
16706         [C99-based-standards] (SCNd8): Likewise.
16707         [C99-based-standards] (SCNi8): Likewise.
16708         [C99-based-standards] (SCNo8): Likewise.
16709         [C99-based-standards] (SCNu8): Likewise.
16710         [C99-based-standards] (SCNx8): Likewise.
16711         [C99-based-standards] (PRIdLEAST8): Likewise.
16712         [C99-based-standards] (PRIiLEAST8): Likewise.
16713         [C99-based-standards] (PRIoLEAST8): Likewise.
16714         [C99-based-standards] (PRIuLEAST8): Likewise.
16715         [C99-based-standards] (PRIxLEAST8): Likewise.
16716         [C99-based-standards] (PRIXLEAST8): Likewise.
16717         [C99-based-standards] (SCNdLEAST8): Likewise.
16718         [C99-based-standards] (SCNiLEAST8): Likewise.
16719         [C99-based-standards] (SCNoLEAST8): Likewise.
16720         [C99-based-standards] (SCNuLEAST8): Likewise.
16721         [C99-based-standards] (SCNxLEAST8): Likewise.
16722         [C99-based-standards] (PRIdFAST8): Likewise.
16723         [C99-based-standards] (PRIiFAST8): Likewise.
16724         [C99-based-standards] (PRIoFAST8): Likewise.
16725         [C99-based-standards] (PRIuFAST8): Likewise.
16726         [C99-based-standards] (PRIxFAST8): Likewise.
16727         [C99-based-standards] (PRIXFAST8): Likewise.
16728         [C99-based-standards] (SCNdFAST8): Likewise.
16729         [C99-based-standards] (SCNiFAST8): Likewise.
16730         [C99-based-standards] (SCNoFAST8): Likewise.
16731         [C99-based-standards] (SCNuFAST8): Likewise.
16732         [C99-based-standards] (SCNxFAST8): Likewise.
16733         [C99-based-standards] (PRId16): Likewise.
16734         [C99-based-standards] (PRIi16): Likewise.
16735         [C99-based-standards] (PRIo16): Likewise.
16736         [C99-based-standards] (PRIu16): Likewise.
16737         [C99-based-standards] (PRIx16): Likewise.
16738         [C99-based-standards] (PRIX16): Likewise.
16739         [C99-based-standards] (SCNd16): Likewise.
16740         [C99-based-standards] (SCNi16): Likewise.
16741         [C99-based-standards] (SCNo16): Likewise.
16742         [C99-based-standards] (SCNu16): Likewise.
16743         [C99-based-standards] (SCNx16): Likewise.
16744         [C99-based-standards] (PRIdLEAST16): Likewise.
16745         [C99-based-standards] (PRIiLEAST16): Likewise.
16746         [C99-based-standards] (PRIoLEAST16): Likewise.
16747         [C99-based-standards] (PRIuLEAST16): Likewise.
16748         [C99-based-standards] (PRIxLEAST16): Likewise.
16749         [C99-based-standards] (PRIXLEAST16): Likewise.
16750         [C99-based-standards] (SCNdLEAST16): Likewise.
16751         [C99-based-standards] (SCNiLEAST16): Likewise.
16752         [C99-based-standards] (SCNoLEAST16): Likewise.
16753         [C99-based-standards] (SCNuLEAST16): Likewise.
16754         [C99-based-standards] (SCNxLEAST16): Likewise.
16755         [C99-based-standards] (PRIdFAST16): Likewise.
16756         [C99-based-standards] (PRIiFAST16): Likewise.
16757         [C99-based-standards] (PRIoFAST16): Likewise.
16758         [C99-based-standards] (PRIuFAST16): Likewise.
16759         [C99-based-standards] (PRIxFAST16): Likewise.
16760         [C99-based-standards] (PRIXFAST16): Likewise.
16761         [C99-based-standards] (SCNdFAST16): Likewise.
16762         [C99-based-standards] (SCNiFAST16): Likewise.
16763         [C99-based-standards] (SCNoFAST16): Likewise.
16764         [C99-based-standards] (SCNuFAST16): Likewise.
16765         [C99-based-standards] (SCNxFAST16): Likewise.
16766         [C99-based-standards] (PRId32): Likewise.
16767         [C99-based-standards] (PRIi32): Likewise.
16768         [C99-based-standards] (PRIo32): Likewise.
16769         [C99-based-standards] (PRIu32): Likewise.
16770         [C99-based-standards] (PRIx32): Likewise.
16771         [C99-based-standards] (PRIX32): Likewise.
16772         [C99-based-standards] (SCNd32): Likewise.
16773         [C99-based-standards] (SCNi32): Likewise.
16774         [C99-based-standards] (SCNo32): Likewise.
16775         [C99-based-standards] (SCNu32): Likewise.
16776         [C99-based-standards] (SCNx32): Likewise.
16777         [C99-based-standards] (PRIdLEAST32): Likewise.
16778         [C99-based-standards] (PRIiLEAST32): Likewise.
16779         [C99-based-standards] (PRIoLEAST32): Likewise.
16780         [C99-based-standards] (PRIuLEAST32): Likewise.
16781         [C99-based-standards] (PRIxLEAST32): Likewise.
16782         [C99-based-standards] (PRIXLEAST32): Likewise.
16783         [C99-based-standards] (SCNdLEAST32): Likewise.
16784         [C99-based-standards] (SCNiLEAST32): Likewise.
16785         [C99-based-standards] (SCNoLEAST32): Likewise.
16786         [C99-based-standards] (SCNuLEAST32): Likewise.
16787         [C99-based-standards] (SCNxLEAST32): Likewise.
16788         [C99-based-standards] (PRIdFAST32): Likewise.
16789         [C99-based-standards] (PRIiFAST32): Likewise.
16790         [C99-based-standards] (PRIoFAST32): Likewise.
16791         [C99-based-standards] (PRIuFAST32): Likewise.
16792         [C99-based-standards] (PRIxFAST32): Likewise.
16793         [C99-based-standards] (PRIXFAST32): Likewise.
16794         [C99-based-standards] (SCNdFAST32): Likewise.
16795         [C99-based-standards] (SCNiFAST32): Likewise.
16796         [C99-based-standards] (SCNoFAST32): Likewise.
16797         [C99-based-standards] (SCNuFAST32): Likewise.
16798         [C99-based-standards] (SCNxFAST32): Likewise.
16799         [C99-based-standards] (PRId64): Likewise.
16800         [C99-based-standards] (PRIi64): Likewise.
16801         [C99-based-standards] (PRIo64): Likewise.
16802         [C99-based-standards] (PRIu64): Likewise.
16803         [C99-based-standards] (PRIx64): Likewise.
16804         [C99-based-standards] (PRIX64): Likewise.
16805         [C99-based-standards] (SCNd64): Likewise.
16806         [C99-based-standards] (SCNi64): Likewise.
16807         [C99-based-standards] (SCNo64): Likewise.
16808         [C99-based-standards] (SCNu64): Likewise.
16809         [C99-based-standards] (SCNx64): Likewise.
16810         [C99-based-standards] (PRIdLEAST64): Likewise.
16811         [C99-based-standards] (PRIiLEAST64): Likewise.
16812         [C99-based-standards] (PRIoLEAST64): Likewise.
16813         [C99-based-standards] (PRIuLEAST64): Likewise.
16814         [C99-based-standards] (PRIxLEAST64): Likewise.
16815         [C99-based-standards] (PRIXLEAST64): Likewise.
16816         [C99-based-standards] (SCNdLEAST64): Likewise.
16817         [C99-based-standards] (SCNiLEAST64): Likewise.
16818         [C99-based-standards] (SCNoLEAST64): Likewise.
16819         [C99-based-standards] (SCNuLEAST64): Likewise.
16820         [C99-based-standards] (SCNxLEAST64): Likewise.
16821         [C99-based-standards] (PRIdFAST64): Likewise.
16822         [C99-based-standards] (PRIiFAST64): Likewise.
16823         [C99-based-standards] (PRIoFAST64): Likewise.
16824         [C99-based-standards] (PRIuFAST64): Likewise.
16825         [C99-based-standards] (PRIxFAST64): Likewise.
16826         [C99-based-standards] (PRIXFAST64): Likewise.
16827         [C99-based-standards] (SCNdFAST64): Likewise.
16828         [C99-based-standards] (SCNiFAST64): Likewise.
16829         [C99-based-standards] (SCNoFAST64): Likewise.
16830         [C99-based-standards] (SCNuFAST64): Likewise.
16831         [C99-based-standards] (SCNxFAST64): Likewise.
16832         [C99-based-standards] (PRIdMAX): Likewise.
16833         [C99-based-standards] (PRIiMAX): Likewise.
16834         [C99-based-standards] (PRIoMAX): Likewise.
16835         [C99-based-standards] (PRIuMAX): Likewise.
16836         [C99-based-standards] (PRIxMAX): Likewise.
16837         [C99-based-standards] (PRIXMAX): Likewise.
16838         [C99-based-standards] (SCNdMAX): Likewise.
16839         [C99-based-standards] (SCNiMAX): Likewise.
16840         [C99-based-standards] (SCNoMAX): Likewise.
16841         [C99-based-standards] (SCNuMAX): Likewise.
16842         [C99-based-standards] (SCNxMAX): Likewise.
16843         [C99-based-standards] (PRIdPTR): Likewise.
16844         [C99-based-standards] (PRIiPTR): Likewise.
16845         [C99-based-standards] (PRIoPTR): Likewise.
16846         [C99-based-standards] (PRIuPTR): Likewise.
16847         [C99-based-standards] (PRIxPTR): Likewise.
16848         [C99-based-standards] (PRIXPTR): Likewise.
16849         [C99-based-standards] (SCNdPTR): Likewise.
16850         [C99-based-standards] (SCNiPTR): Likewise.
16851         [C99-based-standards] (SCNoPTR): Likewise.
16852         [C99-based-standards] (SCNuPTR): Likewise.
16853         [C99-based-standards] (SCNxPTR): Likewise.
16854         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16855         allow.
16856         * conform/data/stdint.h-data: Update comments to clarify
16857         requirements.
16858         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16859         type.
16860         [C99-based standards] (INT8_MAX): Likewise.
16861         [C99-based standards] (INT16_MIN): Likewise.
16862         [C99-based standards] (INT16_MAX): Likewise.
16863         [C99-based standards] (INT32_MIN): Likewise.
16864         [C99-based standards] (INT32_MAX): Likewise.
16865         [C99-based standards] (INT64_MIN): Likewise.
16866         [C99-based standards] (INT64_MAX): Likewise.
16867         [C99-based standards] (UINT8_MAX): Likewise.
16868         [C99-based standards] (UINT16_MAX): Likewise.
16869         [C99-based standards] (UINT32_MAX): Likewise.
16870         [C99-based standards] (UINT64_MAX): Likewise.
16871         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16872         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16873         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16874         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16875         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16876         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16877         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16878         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16879         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16880         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16881         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16882         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16883         [C99-based standards] (INT_FAST8_MIN): Likewise.
16884         [C99-based standards] (INT_FAST8_MAX): Likewise.
16885         [C99-based standards] (INT_FAST16_MIN): Likewise.
16886         [C99-based standards] (INT_FAST16_MAX): Likewise.
16887         [C99-based standards] (INT_FAST32_MIN): Likewise.
16888         [C99-based standards] (INT_FAST32_MAX): Likewise.
16889         [C99-based standards] (INT_FAST64_MIN): Likewise.
16890         [C99-based standards] (INT_FAST64_MAX): Likewise.
16891         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16892         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16893         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16894         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16895         [C99-based standards] (INTPTR_MIN): Likewise.
16896         [C99-based standards] (INTPTR_MAX): Likewise.
16897         [C99-based standards] (UINTPTR_MAX): Likewise.
16898         [C99-based standards] (INTMAX_MIN): Likewise.
16899         [C99-based standards] (INTMAX_MAX): Likewise.
16900         [C99-based standards] (UINTMAX_MAX): Likewise.
16901         [C99-based standards] (PTRDIFF_MIN): Likewise.
16902         [C99-based standards] (PTRDIFF_MAX): Likewise.
16903         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16904         [C99-based standards] (SIZE_MAX): Likewise.
16905         [C99-based standards] (WCHAR_MAX): Likewise.
16906         [C99-based standards] (WINT_MAX): Likewise.
16907         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16908         constraint on value.
16909         [C99-based standards] (WCHAR_MIN): Likewise.
16910         [C99-based standards] (WINT_MIN): Likewise.
16911         [C99-based standards] (*_t): Allow.
16912         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16913         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16914         Include math.h-data and complex.h-data.  Remove all expectations
16915         of math.h and complex.h contents.
16916         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16917         at end of line.
16918         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16919         (struct tm): Expect tag.
16920         [C99-based-standards] (wcstof): Expect function.
16921         [C99-based-standards] (wcstold): Likewise.
16922         [C99-based-standards] (wcstoll): Likewise.
16923         [C99-based-standards] (wcstoull): Likewise.
16924         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16925         macro-int-constant.  Specify type.
16926         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16927         constraint on value.
16928         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16929         Specify type.
16930         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16931         Specify value.
16932         [ISO C standards]: Do not allow headers.
16933         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16934         wcs[abcdefghijklmnopqrstuvwxyz]*.
16935         [ISO C standards] (*_t): Do not allow.
16936         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16937         Expect function.
16938         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16939         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16940         Specify type.
16941         [ISO C standards]: Do not allow headers.
16942         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16943         is[abcdefghijklmnopqrstuvwxyz]*.
16944         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16945         to[abcdefghijklmnopqrstuvwxyz]*.
16946         [ISO C standards] (*_t): Do not allow.
16947         * conform/data/stdalign.h-data: New file.
16948         * conform/data/stdbool.h-data: Likewise.
16949         * conform/data/stdnoreturn.h-data: Likewise.
16950
16951 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16952
16953         [BZ #14815]
16954         * manual/filesys.texi (Directory Entries): Typo fix.
16955         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16956
16957 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16958
16959         * elf/elf.h (EM_AARCH64): New macro.
16960         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16961         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16962         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16963         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16964         (R_AARCH64_TLSDESC): Likewise.
16965         (NT_ARM_TLS): Likewise.
16966         (NT_ARM_HW_BREAK): Likewise.
16967         (NT_ARM_HW_WATCH): Likewise.
16968
16969 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16970
16971         [BZ #14811]
16972         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16973         (__ieee754_powl): Saturate nonzero exponents with absolute value
16974         below 0x1p-79 to +/- 0x1p-79.
16975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16976         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16977         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16978         nonzero exponents with absolute value below 0x1p-32 to +/-
16979         0x1p-32.
16980         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16981         (__ieee754_powl): Saturate nonzero exponents with absolute value
16982         below 0x1p-79 to +/- 0x1p-79.
16983         * math/libm-test.inc (pow_test): Add more tests.
16984
16985 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16986
16987         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16988         _dl_s390_cap_flags with kernel. Increase string length.
16989         (_dl_s390_platforms): Add z196 and zEC12.
16990
16991 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16992
16993         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16994         Change XOPEN21K to XOPEN2K.
16995
16996 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16997
16998         * string/memmove.c: Use memcpy when possible.
16999
17000 2012-11-06  Andreas Jaeger  <aj@suse.de>
17001
17002         * po/eo.po: Update from translation team.
17003
17004 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17005
17006         [BZ #14793]
17007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17008         exponent and small x and y exponents, scale x or y up.  Increase
17009         by 2 the exponent used in scaling up.
17010         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17011         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17012         * math/libm-test.inc (fma_test): Add more tests.
17013         (fma_test_towardzero): Likewise.
17014         (fma_test_downward): Likewise.
17015         (fma_test_upward): Likewise.
17016
17017 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17018
17019         [BZ #14805]
17020         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17021         fenv_t *.
17022
17023         [BZ #14801]
17024         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17025         namespace for names of struct fields.
17026         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17027         fenv_t fields.
17028         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17029         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17030
17031 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17032
17033         [BZ #3665]
17034         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17035
17036 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17037
17038         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17039         PTR_DEMANGLE.
17040
17041         [BZ #5246]
17042         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17043         PTR_DEMANGLE.
17044
17045 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17046
17047         [BZ #14797]
17048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17049         definitely overflow as x * y not x * y + z.
17050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17051         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17052         * math/libm-test.inc (fma_test): Add more tests.
17053         (fma_test_towardzero): Likewise.
17054         (fma_test_downward): Likewise.
17055         (fma_test_upward): Likewise.
17056
17057 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17058
17059         [BZ #157]
17060
17061         * include/stub-tag.h: Remove file.
17062         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17063         '#include' of it.
17064         * manual/maint.texi (Porting): Don't reference it.
17065         * Makerules ($(objpfx)stubs): Likewise.
17066         * dirent/closedir.c: Don't include <stub-tag.h>.
17067         * dirent/dirfd.c: Likewise.
17068         * dirent/fdopendir.c: Likewise.
17069         * dirent/getdents.c: Likewise.
17070         * dirent/getdents64.c: Likewise.
17071         * dirent/opendir.c: Likewise.
17072         * dirent/readdir.c: Likewise.
17073         * dirent/readdir64.c: Likewise.
17074         * dirent/readdir64_r.c: Likewise.
17075         * dirent/readdir_r.c: Likewise.
17076         * dirent/rewinddir.c: Likewise.
17077         * dirent/seekdir.c: Likewise.
17078         * dirent/telldir.c: Likewise.
17079         * gmon/profil.c: Likewise.
17080         * grp/setgroups.c: Likewise.
17081         * inet/if_index.c: Likewise.
17082         * io/access.c: Likewise.
17083         * io/chdir.c: Likewise.
17084         * io/chmod.c: Likewise.
17085         * io/chown.c: Likewise.
17086         * io/close.c: Likewise.
17087         * io/dup.c: Likewise.
17088         * io/dup2.c: Likewise.
17089         * io/dup3.c: Likewise.
17090         * io/euidaccess.c: Likewise.
17091         * io/faccessat.c: Likewise.
17092         * io/fchdir.c: Likewise.
17093         * io/fchmod.c: Likewise.
17094         * io/fchmodat.c: Likewise.
17095         * io/fchown.c: Likewise.
17096         * io/fchownat.c: Likewise.
17097         * io/fcntl.c: Likewise.
17098         * io/flock.c: Likewise.
17099         * io/fstatfs.c: Likewise.
17100         * io/fstatfs64.c: Likewise.
17101         * io/fstatvfs.c: Likewise.
17102         * io/fstatvfs64.c: Likewise.
17103         * io/futimens.c: Likewise.
17104         * io/fxstat.c: Likewise.
17105         * io/fxstat64.c: Likewise.
17106         * io/fxstatat.c: Likewise.
17107         * io/fxstatat64.c: Likewise.
17108         * io/getcwd.c: Likewise.
17109         * io/isatty.c: Likewise.
17110         * io/lchmod.c: Likewise.
17111         * io/lchown.c: Likewise.
17112         * io/link.c: Likewise.
17113         * io/linkat.c: Likewise.
17114         * io/lseek.c: Likewise.
17115         * io/lseek64.c: Likewise.
17116         * io/lxstat64.c: Likewise.
17117         * io/mkdir.c: Likewise.
17118         * io/mkdirat.c: Likewise.
17119         * io/mkfifo.c: Likewise.
17120         * io/mkfifoat.c: Likewise.
17121         * io/open.c: Likewise.
17122         * io/open64.c: Likewise.
17123         * io/openat.c: Likewise.
17124         * io/openat64.c: Likewise.
17125         * io/pipe.c: Likewise.
17126         * io/pipe2.c: Likewise.
17127         * io/poll.c: Likewise.
17128         * io/posix_fadvise.c: Likewise.
17129         * io/posix_fadvise64.c: Likewise.
17130         * io/posix_fallocate.c: Likewise.
17131         * io/posix_fallocate64.c: Likewise.
17132         * io/read.c: Likewise.
17133         * io/readlink.c: Likewise.
17134         * io/readlinkat.c: Likewise.
17135         * io/rmdir.c: Likewise.
17136         * io/sendfile.c: Likewise.
17137         * io/sendfile64.c: Likewise.
17138         * io/statfs.c: Likewise.
17139         * io/statfs64.c: Likewise.
17140         * io/statvfs.c: Likewise.
17141         * io/statvfs64.c: Likewise.
17142         * io/symlink.c: Likewise.
17143         * io/symlinkat.c: Likewise.
17144         * io/ttyname.c: Likewise.
17145         * io/ttyname_r.c: Likewise.
17146         * io/umask.c: Likewise.
17147         * io/unlink.c: Likewise.
17148         * io/unlinkat.c: Likewise.
17149         * io/utime.c: Likewise.
17150         * io/utimensat.c: Likewise.
17151         * io/write.c: Likewise.
17152         * io/xmknod.c: Likewise.
17153         * io/xmknodat.c: Likewise.
17154         * io/xstat.c: Likewise.
17155         * io/xstat64.c: Likewise.
17156         * login/getpt.c: Likewise.
17157         * login/grantpt.c: Likewise.
17158         * login/unlockpt.c: Likewise.
17159         * math/e_acoshl.c: Likewise.
17160         * math/e_acosl.c: Likewise.
17161         * math/e_asinl.c: Likewise.
17162         * math/e_atan2l.c: Likewise.
17163         * math/e_atanhl.c: Likewise.
17164         * math/e_coshl.c: Likewise.
17165         * math/e_expl.c: Likewise.
17166         * math/e_fmodl.c: Likewise.
17167         * math/e_gammal_r.c: Likewise.
17168         * math/e_hypotl.c: Likewise.
17169         * math/e_j0l.c: Likewise.
17170         * math/e_j1l.c: Likewise.
17171         * math/e_jnl.c: Likewise.
17172         * math/e_lgammal_r.c: Likewise.
17173         * math/e_log10l.c: Likewise.
17174         * math/e_log2l.c: Likewise.
17175         * math/e_logl.c: Likewise.
17176         * math/e_powl.c: Likewise.
17177         * math/e_rem_pio2l.c: Likewise.
17178         * math/e_sinhl.c: Likewise.
17179         * math/e_sqrtl.c: Likewise.
17180         * math/fclrexcpt.c: Likewise.
17181         * math/fedisblxcpt.c: Likewise.
17182         * math/feenablxcpt.c: Likewise.
17183         * math/fegetenv.c: Likewise.
17184         * math/fegetexcept.c: Likewise.
17185         * math/fegetround.c: Likewise.
17186         * math/feholdexcpt.c: Likewise.
17187         * math/fesetenv.c: Likewise.
17188         * math/fesetround.c: Likewise.
17189         * math/feupdateenv.c: Likewise.
17190         * math/fgetexcptflg.c: Likewise.
17191         * math/fraiseexcpt.c: Likewise.
17192         * math/fsetexcptflg.c: Likewise.
17193         * math/ftestexcept.c: Likewise.
17194         * math/k_cosl.c: Likewise.
17195         * math/k_rem_pio2l.c: Likewise.
17196         * math/k_sinl.c: Likewise.
17197         * math/k_tanl.c: Likewise.
17198         * math/s_asinhl.c: Likewise.
17199         * math/s_atanl.c: Likewise.
17200         * math/s_cbrtl.c: Likewise.
17201         * math/s_erfl.c: Likewise.
17202         * math/s_expm1l.c: Likewise.
17203         * math/s_log1pl.c: Likewise.
17204         * math/s_tanhl.c: Likewise.
17205         * misc/acct.c: Likewise.
17206         * misc/brk.c: Likewise.
17207         * misc/chflags.c: Likewise.
17208         * misc/chroot.c: Likewise.
17209         * misc/fchflags.c: Likewise.
17210         * misc/fgetxattr.c: Likewise.
17211         * misc/flistxattr.c: Likewise.
17212         * misc/fremovexattr.c: Likewise.
17213         * misc/fsetxattr.c: Likewise.
17214         * misc/fsync.c: Likewise.
17215         * misc/ftruncate.c: Likewise.
17216         * misc/futimes.c: Likewise.
17217         * misc/futimesat.c: Likewise.
17218         * misc/getdomain.c: Likewise.
17219         * misc/getdtsz.c: Likewise.
17220         * misc/gethostid.c: Likewise.
17221         * misc/gethostname.c: Likewise.
17222         * misc/getloadavg.c: Likewise.
17223         * misc/getpagesize.c: Likewise.
17224         * misc/getsysstats.c: Likewise.
17225         * misc/getxattr.c: Likewise.
17226         * misc/gtty.c: Likewise.
17227         * misc/ioctl.c: Likewise.
17228         * misc/lgetxattr.c: Likewise.
17229         * misc/listxattr.c: Likewise.
17230         * misc/llistxattr.c: Likewise.
17231         * misc/lremovexattr.c: Likewise.
17232         * misc/lsetxattr.c: Likewise.
17233         * misc/lutimes.c: Likewise.
17234         * misc/madvise.c: Likewise.
17235         * misc/mincore.c: Likewise.
17236         * misc/mlock.c: Likewise.
17237         * misc/mlockall.c: Likewise.
17238         * misc/mmap.c: Likewise.
17239         * misc/mprotect.c: Likewise.
17240         * misc/msync.c: Likewise.
17241         * misc/munlock.c: Likewise.
17242         * misc/munlockall.c: Likewise.
17243         * misc/munmap.c: Likewise.
17244         * misc/preadv.c: Likewise.
17245         * misc/preadv64.c: Likewise.
17246         * misc/ptrace.c: Likewise.
17247         * misc/pwritev.c: Likewise.
17248         * misc/pwritev64.c: Likewise.
17249         * misc/readv.c: Likewise.
17250         * misc/reboot.c: Likewise.
17251         * misc/remap_file_pages.c: Likewise.
17252         * misc/removexattr.c: Likewise.
17253         * misc/revoke.c: Likewise.
17254         * misc/select.c: Likewise.
17255         * misc/setdomain.c: Likewise.
17256         * misc/setegid.c: Likewise.
17257         * misc/seteuid.c: Likewise.
17258         * misc/sethostid.c: Likewise.
17259         * misc/sethostname.c: Likewise.
17260         * misc/setregid.c: Likewise.
17261         * misc/setreuid.c: Likewise.
17262         * misc/setxattr.c: Likewise.
17263         * misc/sstk.c: Likewise.
17264         * misc/stty.c: Likewise.
17265         * misc/swapoff.c: Likewise.
17266         * misc/swapon.c: Likewise.
17267         * misc/sync.c: Likewise.
17268         * misc/syncfs.c: Likewise.
17269         * misc/syscall.c: Likewise.
17270         * misc/truncate.c: Likewise.
17271         * misc/ualarm.c: Likewise.
17272         * misc/usleep.c: Likewise.
17273         * misc/ustat.c: Likewise.
17274         * misc/utimes.c: Likewise.
17275         * misc/vhangup.c: Likewise.
17276         * misc/writev.c: Likewise.
17277         * posix/_exit.c: Likewise.
17278         * posix/alarm.c: Likewise.
17279         * posix/execve.c: Likewise.
17280         * posix/fexecve.c: Likewise.
17281         * posix/fork.c: Likewise.
17282         * posix/fpathconf.c: Likewise.
17283         * posix/getaddrinfo.c: Likewise.
17284         * posix/getegid.c: Likewise.
17285         * posix/geteuid.c: Likewise.
17286         * posix/getgid.c: Likewise.
17287         * posix/getgroups.c: Likewise.
17288         * posix/getlogin.c: Likewise.
17289         * posix/getlogin_r.c: Likewise.
17290         * posix/getpgid.c: Likewise.
17291         * posix/getpid.c: Likewise.
17292         * posix/getppid.c: Likewise.
17293         * posix/getresgid.c: Likewise.
17294         * posix/getresuid.c: Likewise.
17295         * posix/getsid.c: Likewise.
17296         * posix/getuid.c: Likewise.
17297         * posix/glob64.c: Likewise.
17298         * posix/nanosleep.c: Likewise.
17299         * posix/pathconf.c: Likewise.
17300         * posix/pause.c: Likewise.
17301         * posix/posix_madvise.c: Likewise.
17302         * posix/pread.c: Likewise.
17303         * posix/pread64.c: Likewise.
17304         * posix/pwrite.c: Likewise.
17305         * posix/pwrite64.c: Likewise.
17306         * posix/sched_getaffinity.c: Likewise.
17307         * posix/sched_getp.c: Likewise.
17308         * posix/sched_gets.c: Likewise.
17309         * posix/sched_primax.c: Likewise.
17310         * posix/sched_primin.c: Likewise.
17311         * posix/sched_rr_gi.c: Likewise.
17312         * posix/sched_setaffinity.c: Likewise.
17313         * posix/sched_setp.c: Likewise.
17314         * posix/sched_sets.c: Likewise.
17315         * posix/sched_yield.c: Likewise.
17316         * posix/setgid.c: Likewise.
17317         * posix/setlogin.c: Likewise.
17318         * posix/setpgid.c: Likewise.
17319         * posix/setresgid.c: Likewise.
17320         * posix/setresuid.c: Likewise.
17321         * posix/setsid.c: Likewise.
17322         * posix/setuid.c: Likewise.
17323         * posix/sleep.c: Likewise.
17324         * posix/spawni.c: Likewise.
17325         * posix/sysconf.c: Likewise.
17326         * posix/times.c: Likewise.
17327         * posix/wait.c: Likewise.
17328         * posix/wait3.c: Likewise.
17329         * posix/wait4.c: Likewise.
17330         * posix/waitpid.c: Likewise.
17331         * resolv/gai_sigqueue.c: Likewise.
17332         * resource/getpriority.c: Likewise.
17333         * resource/getrlimit.c: Likewise.
17334         * resource/getrusage.c: Likewise.
17335         * resource/nice.c: Likewise.
17336         * resource/setpriority.c: Likewise.
17337         * resource/setrlimit.c: Likewise.
17338         * resource/ulimit.c: Likewise.
17339         * rt/aio_cancel.c: Likewise.
17340         * rt/aio_fsync.c: Likewise.
17341         * rt/aio_read.c: Likewise.
17342         * rt/aio_sigqueue.c: Likewise.
17343         * rt/aio_suspend.c: Likewise.
17344         * rt/aio_write.c: Likewise.
17345         * rt/clock_getres.c: Likewise.
17346         * rt/clock_gettime.c: Likewise.
17347         * rt/clock_nanosleep.c: Likewise.
17348         * rt/clock_settime.c: Likewise.
17349         * rt/lio_listio.c: Likewise.
17350         * rt/mq_close.c: Likewise.
17351         * rt/mq_getattr.c: Likewise.
17352         * rt/mq_notify.c: Likewise.
17353         * rt/mq_open.c: Likewise.
17354         * rt/mq_receive.c: Likewise.
17355         * rt/mq_send.c: Likewise.
17356         * rt/mq_setattr.c: Likewise.
17357         * rt/mq_timedreceive.c: Likewise.
17358         * rt/mq_timedsend.c: Likewise.
17359         * rt/mq_unlink.c: Likewise.
17360         * rt/shm_open.c: Likewise.
17361         * rt/shm_unlink.c: Likewise.
17362         * rt/timer_create.c: Likewise.
17363         * rt/timer_delete.c: Likewise.
17364         * rt/timer_getoverr.c: Likewise.
17365         * rt/timer_gettime.c: Likewise.
17366         * rt/timer_settime.c: Likewise.
17367         * setjmp/__longjmp.c: Likewise.
17368         * setjmp/setjmp.c: Likewise.
17369         * signal/kill.c: Likewise.
17370         * signal/killpg.c: Likewise.
17371         * signal/raise.c: Likewise.
17372         * signal/sigaction.c: Likewise.
17373         * signal/sigaltstack.c: Likewise.
17374         * signal/sigblock.c: Likewise.
17375         * signal/sigignore.c: Likewise.
17376         * signal/sigintr.c: Likewise.
17377         * signal/signal.c: Likewise.
17378         * signal/sigpause.c: Likewise.
17379         * signal/sigpending.c: Likewise.
17380         * signal/sigqueue.c: Likewise.
17381         * signal/sigreturn.c: Likewise.
17382         * signal/sigset.c: Likewise.
17383         * signal/sigsetmask.c: Likewise.
17384         * signal/sigstack.c: Likewise.
17385         * signal/sigsuspend.c: Likewise.
17386         * signal/sigtimedwait.c: Likewise.
17387         * signal/sigvec.c: Likewise.
17388         * signal/sigwait.c: Likewise.
17389         * signal/sigwaitinfo.c: Likewise.
17390         * signal/sysv_signal.c: Likewise.
17391         * socket/accept.c: Likewise.
17392         * socket/accept4.c: Likewise.
17393         * socket/bind.c: Likewise.
17394         * socket/connect.c: Likewise.
17395         * socket/getpeername.c: Likewise.
17396         * socket/getsockname.c: Likewise.
17397         * socket/getsockopt.c: Likewise.
17398         * socket/isfdtype.c: Likewise.
17399         * socket/listen.c: Likewise.
17400         * socket/recv.c: Likewise.
17401         * socket/recvfrom.c: Likewise.
17402         * socket/recvmsg.c: Likewise.
17403         * socket/send.c: Likewise.
17404         * socket/sendmsg.c: Likewise.
17405         * socket/sendto.c: Likewise.
17406         * socket/setsockopt.c: Likewise.
17407         * socket/shutdown.c: Likewise.
17408         * socket/sockatmark.c: Likewise.
17409         * socket/socket.c: Likewise.
17410         * socket/socketpair.c: Likewise.
17411         * stdio-common/ctermid.c: Likewise.
17412         * stdio-common/cuserid.c: Likewise.
17413         * stdio-common/remove.c: Likewise.
17414         * stdio-common/rename.c: Likewise.
17415         * stdio-common/renameat.c: Likewise.
17416         * stdio-common/tempname.c: Likewise.
17417         * stdlib/getcontext.c: Likewise.
17418         * stdlib/makecontext.c: Likewise.
17419         * stdlib/setcontext.c: Likewise.
17420         * stdlib/swapcontext.c: Likewise.
17421         * stdlib/system.c: Likewise.
17422         * streams/fattach.c: Likewise.
17423         * streams/fdetach.c: Likewise.
17424         * streams/getmsg.c: Likewise.
17425         * streams/getpmsg.c: Likewise.
17426         * streams/putmsg.c: Likewise.
17427         * streams/putpmsg.c: Likewise.
17428         * sysdeps/unix/bsd/getpt.c: Likewise.
17429         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17430         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17431         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17433         Likewise.
17434         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17435         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17436         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17437         * sysvipc/msgctl.c: Likewise.
17438         * sysvipc/msgget.c: Likewise.
17439         * sysvipc/msgrcv.c: Likewise.
17440         * sysvipc/msgsnd.c: Likewise.
17441         * sysvipc/semctl.c: Likewise.
17442         * sysvipc/semget.c: Likewise.
17443         * sysvipc/semop.c: Likewise.
17444         * sysvipc/semtimedop.c: Likewise.
17445         * sysvipc/shmat.c: Likewise.
17446         * sysvipc/shmctl.c: Likewise.
17447         * sysvipc/shmdt.c: Likewise.
17448         * sysvipc/shmget.c: Likewise.
17449         * termios/tcdrain.c: Likewise.
17450         * termios/tcflow.c: Likewise.
17451         * termios/tcflush.c: Likewise.
17452         * termios/tcgetattr.c: Likewise.
17453         * termios/tcgetpgrp.c: Likewise.
17454         * termios/tcsendbrk.c: Likewise.
17455         * termios/tcsetattr.c: Likewise.
17456         * termios/tcsetpgrp.c: Likewise.
17457         * time/adjtime.c: Likewise.
17458         * time/clock.c: Likewise.
17459         * time/getitimer.c: Likewise.
17460         * time/gettimeofday.c: Likewise.
17461         * time/setitimer.c: Likewise.
17462         * time/settimeofday.c: Likewise.
17463         * time/stime.c: Likewise.
17464         * time/time.c: Likewise.
17465
17466 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17467
17468         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17469         /usr/old/bin.
17470
17471         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17472         instead of spaces.
17473         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17474
17475 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17476
17477         [BZ #14796]
17478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17479         FE_TONEAREST before applying Dekker multiplication and Knuth
17480         addition.  Clear inexact exceptions and check for exact zero
17481         results afterwards.
17482         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17483         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17485         * math/libm-test.inc (fma_test): Add more tests.
17486         (fma_test_towardzero): Likewise.
17487         (fma_test_downward): Likewise.
17488         (fma_test_upward): Likewise.
17489         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17490         function.
17491         (libc_fesetround): New macro.
17492         (libc_fesetroundf): Likewise.
17493         (libc_fesetroundl): Likewise.
17494         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17495         function.
17496         (libc_fesetround_387): Likewise.
17497         (libc_fesetroundf): New macro.
17498         (libc_fesetround): Likewise.
17499         (libc_fesetroundl): Likewise.
17500         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17501         function.
17502         (libc_fesetroundf): New macro.
17503         (libc_fesetround): Likewise.
17504         (libc_fesetroundl): Likewise.
17505         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17506         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17507         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17508         libm_hidden_ver.
17509         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17510         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17511         libm_hidden_def.
17512         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17513         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17514         libm_hidden_ver.
17515         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17516         libm_hidden_def.
17517
17518         [BZ #3439]
17519         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17520         integer constant usable in #if and use that to give value to enum
17521         constant.
17522         (FE_DIVBYZERO): Likewise.
17523         (FE_UNDERFLOW): Likewise.
17524         (FE_OVERFLOW): Likewise.
17525         (FE_INVALID): Likewise.
17526         (FE_INVALID_SNAN): Likewise.
17527         (FE_INVALID_ISI): Likewise.
17528         (FE_INVALID_IDI): Likewise.
17529         (FE_INVALID_ZDZ): Likewise.
17530         (FE_INVALID_IMZ): Likewise.
17531         (FE_INVALID_COMPARE): Likewise.
17532         (FE_INVALID_SOFTWARE): Likewise.
17533         (FE_INVALID_SQRT): Likewise.
17534         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17535         (FE_TONEAREST): Likewise.
17536         (FE_TOWARDZERO): Likewise.
17537         (FE_UPWARD): Likewise.
17538         (FE_DOWNWARD): Likewise.
17539         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17540         (FE_DIVBYZERO): Likewise.
17541         (FE_OVERFLOW): Likewise.
17542         (FE_UNDERFLOW): Likewise.
17543         (FE_INEXACT): Likewise.
17544         (FE_TONEAREST): Likewise.
17545         (FE_DOWNWARD): Likewise.
17546         (FE_UPWARD): Likewise.
17547         (FE_TOWARDZERO): Likewise.
17548         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17549         (FE_UNDERFLOW): Likewise.
17550         (FE_OVERFLOW): Likewise.
17551         (FE_DIVBYZERO): Likewise.
17552         (FE_INVALID): Likewise.
17553         (FE_TONEAREST): Likewise.
17554         (FE_TOWARDZERO): Likewise.
17555         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17556         (FE_OVERFLOW): Likewise.
17557         (FE_UNDERFLOW): Likewise.
17558         (FE_DIVBYZERO): Likewise.
17559         (FE_INEXACT): Likewise.
17560         (FE_TONEAREST): Likewise.
17561         (FE_TOWARDZERO): Likewise.
17562         (FE_UPWARD): Likewise.
17563         (FE_DOWNWARD): Likewise.
17564         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17565         (FE_DIVBYZERO): Likewise.
17566         (FE_OVERFLOW): Likewise.
17567         (FE_UNDERFLOW): Likewise.
17568         (FE_INEXACT): Likewise.
17569         (FE_TONEAREST): Likewise.
17570         (FE_DOWNWARD): Likewise.
17571         (FE_UPWARD): Likewise.
17572         (FE_TOWARDZERO): Likewise.
17573
17574 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17575
17576         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17577
17578 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17579
17580         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17581         commands.  Quote $PWD.
17582         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17583         -x" by "export".
17584         (remove_newlines): Remove.
17585
17586 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17587
17588         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17589         * stdlib/stdlib.h (atof): Moved to ...
17590         * include/bits/stdlib-float.h: Here.  New file.
17591         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17592         * stdlib/bits/stdlib-float.h: New file.
17593         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17594         -mno-sse -mno-mmx.
17595         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17596         <xmmintrin.h>.
17597
17598 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17599
17600         * conform/conformtest.pl (@headers): Add fenv.h.
17601         * conform/data/fenv.h-data: New file.
17602         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17603         include of <math/fenv.h>.
17604
17605         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17606         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17607         && !UNIX98].  Enables tests for XOPEN2K8.
17608         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17609         POSIX2008]: Likewise.
17610
17611         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17612         (struct rusage): Do not expect type or its members.
17613
17614         [BZ #3439]
17615         * math/math.h (FP_NAN): Define macro to integer constant usable in
17616         #if and use that to give value to enum constant.
17617         (FP_INFINITE): Likewise.
17618         (FP_ZERO): Likewise.
17619         (FP_SUBNORMAL): Likewise.
17620         (FP_NORMAL): Likewise.
17621
17622 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17623
17624         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17625         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17626         arguments.
17627
17628 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17629
17630         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17631         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17632         autoconf-time if not.
17633         * configure.in: Remove AC_PREREQ.
17634
17635 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17636
17637         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17638         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17639         of the internal implementation.
17640
17641 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17642
17643         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17644         except include of <misc/sys/syslog.h>.
17645
17646 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17647
17648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17649         function returns with a NULL context exit with zero.
17650
17651 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17652
17653         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17654
17655 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17656
17657         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17658         (run_program_cmd): This.
17659         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17660         (tst_langinfo): New variable.  Use it.
17661
17662 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17663
17664         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17665         floating point opcodes.
17666
17667 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17668
17669         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17670         variable.
17671
17672         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17673
17674         * sysdeps/mach/hurd/powerpc: Remove directory.
17675         * sysdeps/mach/powerpc: Likewise.
17676
17677 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17678
17679         * scripts/check-local-headers.sh: Ignore c++ headers.
17680
17681 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17682
17683         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17684         __libc_cleanup_region_start argument.
17685
17686 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17687
17688         [BZ #14784]
17689         [BZ #14785]
17690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17691         x * y using scaling, not as x * y + z.
17692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17694         * math/libm-test.inc (fma_test): Add more tests.
17695         (fma_test_towardzero): Likewise.
17696         (fma_test_downward): Likewise.
17697         (fma_test_upward): Likewise.
17698
17699 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17700
17701         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17702
17703 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17704
17705         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17706         New variable.
17707
17708 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17709
17710         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17711
17712 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17713
17714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17715         Fix sort order.
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17717         Likewise.
17718
17719 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17720
17721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17722         Fix the order of the list for glibc 2.17.
17723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17724         Likewise.
17725
17726 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17727
17728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17729
17730 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17731
17732         [BZ #14610]
17733         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17734         for low part of x being zero before using __atanl (y).
17735         * math/libm-test.inc (atan2_test): Add another test.
17736
17737         * manual/install.texi (Configuring and compiling): Document
17738         general use of test-wrapper and test-wrapper-env.
17739         * INSTALL: Regenerated.
17740
17741         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17742         (__fma): Do not extract and scale down low bits on after-rounding
17743         systems when result rounded to normal precision would have normal
17744         exponent.
17745         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17746         (__fmal): Do not extract and scale down low bits on after-rounding
17747         systems when result rounded to normal precision would have normal
17748         exponent.
17749         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17750         (__fmal): Do not extract and scale down low bits on after-rounding
17751         systems when result rounded to normal precision would have normal
17752         exponent.
17753         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17754         macro.
17755         (fma_test): Add more tests.
17756         (fma_test_towardzero): Likewise.
17757         (fma_test_downward): Likewise.
17758         (fma_test_upward): Likewise.
17759
17760 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17761
17762         * sysdeps/i386/tininess.h: Renamed to ...
17763         * sysdeps/x86/tininess.h: This.
17764         * sysdeps/x86_64/tininess.h: Removed.
17765
17766 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17767
17768         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17769         input.  Use $(build-program-cmd).
17770         ($(objpfx)tst-array1-static.out): Likewise.
17771         ($(objpfx)tst-array2.out): Likewise.
17772         ($(objpfx)tst-array3.out): Likewise.
17773         ($(objpfx)tst-array4.out): Likewise.
17774         ($(objpfx)tst-array5.out): Likewise.
17775         ($(objpfx)tst-array5-static.out): Likewise.
17776
17777 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17778
17779         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17780         if defined.
17781
17782         * nss/nsswitch.h (nss_interface_function): Provide new
17783         macro for use with NSS functions.
17784         * grp/initgroups.c: Use new macro.
17785         * nss/getXXbyYY.c: Likewise.
17786         * nss/getXXbyYY_r.c: Likewise.
17787         * nss/getXXent.c: Likewise.
17788         * nss/getXXent_r.c: Likewise.
17789         * sysdeps/posix/getaddrinfo.c: Likewise.
17790
17791 2012-10-30  Andreas Jaeger  <aj@suse.de>
17792
17793         * po/ru.po: Update Russion translation from translation project.
17794
17795 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17796
17797         [BZ #14152]
17798         [BZ #14783]
17799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17800         result and shift together with sticky bit instead of replicating
17801         round-to-nearest rounding.
17802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17803         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17804         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17805         missing underflow exceptions.
17806         (fma_test_towardzero): Add more tests.
17807         (fma_test_downward): Likewise.
17808         (fma_test_upward): Likewise.
17809
17810         [BZ #14047]
17811         * sysdeps/generic/tininess.h: New file.
17812         * sysdeps/i386/tininess.h: Likewise.
17813         * sysdeps/sh/tininess.h: Likewise.
17814         * sysdeps/x86_64/tininess.h: Likewise.
17815         * stdlib/tst-strtod-underflow.c: Likewise.
17816         * stdlib/tst-tininess.c: Likewise.
17817         * stdlib/strtod_l.c: Include <tininess.h>.
17818         (round_and_return): Do not set errno for exact underflow cases.
17819         Force an underflow exception when setting errno for underflow.
17820         Determine underflow based on rounding to normal precision if
17821         TININESS_AFTER_ROUNDING.
17822         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17823         ERANGE for exact underflow cases.
17824         * stdlib/Makefile (tests): Add tst-tininess and
17825         tst-strtod-underflow.
17826         ($(objpfx)tst-tininess): Use $(link-libm).
17827         ($(objpfx)tst-strtod-underflow): Likewise.
17828
17829 2012-10-30  Andreas Jaeger  <aj@suse.de>
17830
17831         [BZ#14767]
17832         * elf/Makefile (tests): Remove conditional for have-initfini-array
17833         since this is now always required and the variable does not exist
17834         anymore.
17835         (tests-static): Likewise.
17836         (modules-names): Likewise.
17837
17838         * po/eo.po: Add Esperanto translation from translation project.
17839
17840         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17841         merged with constructor/destructor.
17842         (init_array): Likewise.
17843         * elf/tst-array2dep.c (fini_array): Likewise.
17844         (init_array): Likewise.
17845
17846 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17847
17848         * manual/message.texi: Delete @cartouche tags.
17849
17850 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17851
17852         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17853         EOPNOTSUPP.
17854         * sysdeps/mach/hurd/fsync.c: Likewise.
17855
17856         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17857         [_POSIX_REALTIME_SIGNALS]: Change condition to
17858         [_POSIX_REALTIME_SIGNALS > 0].
17859
17860 2012-10-27  Andreas Jaeger  <aj@suse.de>
17861
17862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17863         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17864         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17865         [__WORDSIZE != 64]: Likewise.
17866
17867 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17868
17869         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17870         *  iconvdata/tst-tables.sh: Likewise.
17871
17872 2012-10-25  David S. Miller  <davem@davemloft.net>
17873
17874         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17875         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17876         of strtoull.
17877
17878         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17879         ifunc-impl-list.c
17880         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17881         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17882         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17883         file.
17884
17885 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17886
17887         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17888         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17889         __getdirentries.
17890
17891 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17892             Jim Blandy  <jimb@codesourcery.com>
17893
17894         * scripts/cross-test-ssh.sh: New file.
17895         * manual/install.texi (Configuring and compiling): Document use of
17896         cross-test-ssh.sh.
17897         * INSTALL: Regenerated.
17898
17899 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17900
17901         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17902         EOPNOTSUPP.
17903
17904 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17905
17906         * Makeconfig (run-program-prefix): Fix comment.
17907
17908 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17909             Jim Blandy  <jimb@codesourcery.com>
17910
17911         * Makeconfig (test-wrapper): New variable,
17912         (test-wrapper-env): Likewise.
17913         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17914         (run-built-tests): Define to yes.
17915         (run-program-prefix): Use $(test-wrapper).
17916         (built-program-cmd): Likewise.
17917         * Rules (make-test-out): Use $(test-wrapper-env) and
17918         $(host-built-program-cmd).
17919         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17920         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17921         tst-pathopt.sh.
17922         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17923         $(test-wrapper-env) to tst-rtld-load-self.sh.
17924         ($(objpfx)order2.out): Use $(test-wrapper).
17925         ($(objpfx)tst-initorder.out): Likewise.
17926         ($(objpfx)tst-initorder2.out): Likewise.
17927         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17928         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17929         (test_wrapper_env): New variable.  Use it to run ld.so.
17930         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17931         Use it to run ld.so.
17932         (test_wrapper_env): Likewise.
17933         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17934         $(test-wrapper) to run-iconv-test.sh.
17935         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17936         (ICONV): Use $test_wrapper.
17937         * posix/Makefile ($(objpfx)globtest.out): Pass
17938         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17939         globtest.sh, not $(run-program-prefix).
17940         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17941         (test_wrapper): Likewise.
17942         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17943         set together with run_via_rtld_prefix.
17944         (run_program_prefix): Define in terms of test_wrapper and
17945         run_via_rtld_prefix.
17946
17947 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17948
17949         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17950         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17951         Targets removed.
17952
17953         [BZ #14743]
17954         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17955         Declare __clock_getres, __clock_gettime, __clock_settime,
17956         __clock_nanosleep, and __clock_getcpuclockid.
17957         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17958         Remove librt_hidden_def (clock_gettime).
17959         * sysdeps/unix/clock_gettime.c: Likewise.
17960         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17961         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17962         * rt/clock_getres.c: Define __clock_getres as an alias.
17963         * sysdeps/posix/clock_getres.c: Likewise.
17964         * rt/clock_settime.c: Define __clock_settime as an alias.
17965         * sysdeps/unix/clock_settime.c: Likewise.
17966         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17967         * sysdeps/unix/clock_nanosleep.c: Likewise.
17968         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17969         * rt/clock-compat.c: New file.
17970         * rt/Makefile (librt-routines): Add clock-compat and move
17971         $(clock-routines) to ...
17972         (routines): ... here, new variable.
17973         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17974         Don't add get_clockfreq here.
17975         * rt/Versions (libc: GLIBC_2.17): New version set.
17976         Add clock_* symbols here.
17977         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17978         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17979         (GLIBC_2.17): Add clock_* symbols.
17980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17982         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17984         Likewise.
17985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17986         Likewise.
17987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17991         * NEWS: Mention the move.
17992
17993         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17994         Use __open, __read, __close rather than their public counterparts.
17995         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17996         (__get_clockfreq_via_cpuinfo): Likewise.
17997         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17998         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17999
18000         * config.h.in (HAVE_IFUNC): New #undef.
18001         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18002         was successful.
18003         * configure: Regenerated.
18004
18005 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18006
18007         * configure.in: Move READELF check to start of file.
18008         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18009         libc_cv_asm_gnu_indirect_function in the process.
18010         * configure: Regenerated.
18011
18012 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18013
18014         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18015         send the output to /dev/null.
18016         (libc_cv_cc_with_libunwind): Likewise.
18017         (libc_cv_as_noexecstack): Likewise.
18018         * configure: Regenerate.
18019
18020 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18021
18022         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18023
18024         * posix/globtest.sh (TMPDIR): Do not set.
18025         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18026         (testout): Likewise.
18027
18028 2012-10-24  Andreas Jaeger  <aj@suse.de>
18029
18030         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18031         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18032         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18033         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18034         posix_fadvise64, posix_fallocate64.
18035
18036         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18037         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18038         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18039         Likewise.
18040         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18041         Likewise.
18042         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18043
18044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18045         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18046         <bits/fcntl-linux.h>.
18047         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18048
18049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18050         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18051         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18052         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18053         [__WORDSIZE != 64]: Likewise.
18054
18055 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18056
18057         * Makeconfig (run-built-tests): New variable.
18058         * Rules [$(cross-compiling) = yes]: Change condition to
18059         [$(run-built-tests) = no].
18060         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18061         to [$(run-built-tests) = yes].
18062         * elf/Makefile [$(cross-compiling) = no]: Likewise
18063         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18064         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18065         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18066         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18067         * io/Makefile [$(cross-compiling) = no]: Likewise.
18068         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18069         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18070         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18071         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18072         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18073         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18074         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18075         * string/Makefile [$(cross-compiling) = no]: Likewise.
18076
18077         * posix/Makefile ($(objpfx)globtest.out): Pass
18078         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18079         $(rtld-installed-name).
18080         * posix/globtest.sh (elf_objpfx): Remove variable.
18081         (rtld_installed_name): Likewise.
18082         (library_path): Likewise.
18083         (run_program_prefix): New variable.  Use for running globtest
18084         binary.
18085
18086 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18087             Joseph Myers  <joseph@codesourcery.com>
18088
18089         * Makeconfig (host-built-program-cmd): New variable.
18090         * elf/Makefile (tst-stackguard1-ARGS): Use
18091         $(host-built-program-cmd).
18092         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18093         (tst-spawn-ARGS): Likewise.
18094         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18095
18096 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18097             Jim Blandy  <jimb@codesourcery.com>
18098
18099         * Makeconfig (run-via-rtld-prefix): New variable.
18100         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18101         (built-program-cmd): Likewise.
18102
18103 2012-10-22  Andreas Jaeger  <aj@suse.de>
18104
18105         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18106         __O_RSYNC if it exists, otherwise to O_SYNC.
18107
18108 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18109             Joseph Myers  <joseph@codesourcery.com>
18110
18111         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18112         /dev/null.
18113         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18114         from /dev/null
18115         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18116         /dev/null.
18117
18118 2012-10-22  Andreas Jaeger  <aj@suse.de>
18119
18120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18121         Define always.
18122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18123
18124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18125         bits/fcntl-linux.h.
18126
18127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18128         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18129
18130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18131         to __O_LARGEFILE.
18132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18133         to __O_LARGEFILE.
18134
18135 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18136             Joseph Myers  <joseph@codesourcery.com>
18137
18138         * config.make.in (NM): New variable.
18139
18140 2012-10-21  Andreas Jaeger  <aj@suse.de>
18141
18142         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18143         definitions and declarations that are provided by
18144         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18145
18146 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18147
18148         [BZ #14683]
18149         * elf/Makefile (tests-static): Add tst-leaks1-static.
18150         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18151         ($(objpfx)tst-leaks1-static): New rule.
18152         ($(objpfx)tst-leaks1-static-mem): Likewise.
18153         (tst-leaks1-static-ENV): New macro.
18154         * elf/dl-open.c (dl_open_worker): Check the main application
18155         only if SHARED is defined.
18156         * elf/tst-leaks1-static.c: New file.
18157
18158 2012-10-20  Andreas Jaeger  <aj@suse.de>
18159
18160         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18161         generic values for Linux.
18162         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18163         and declarations that are provided by <bits/fcntl-linux.h> and
18164         include <bits/fcntl-linux.h>.
18165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18166         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18167
18168 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18169
18170         * io/fcntl.h: Move include of <bits/types.h> to the top and
18171         include it unconditionally.
18172
18173 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18174
18175         * wcsmbs/Makefile (tests-ifunc): New variable.
18176         (tests): Add $(tests-ifunc).
18177         * wcsmbs/test-wcschr-ifunc.c: New file.
18178         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18179         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18180         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18181         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18182         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18183
18184         * string/Makefile (tests-ifunc): New variable.
18185         (tests): Add $(tests-ifunc).
18186         * string/test-memccpy.c (TEST_NAME): New macro.
18187         * string/test-memchr.c (TEST_NAME): Likewise.
18188         * string/test-memcmp.c (TEST_NAME): Likewise.
18189         * string/test-memcpy.c (TEST_NAME): Likewise.
18190         * string/test-memmem.c (TEST_NAME): Likewise.
18191         * string/test-memmove.c (TEST_NAME): Likewise.
18192         * string/test-memset.c (TEST_NAME): Likewise.
18193         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18194         * string/test-stpcpy.c (TEST_NAME): Likewise.
18195         * string/test-stpncpy.c (TEST_NAME): Likewise.
18196         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18197         * string/test-strcasestr.c (TEST_NAME): Likewise.
18198         * string/test-strcat.c (TEST_NAME): Likewise.
18199         * string/test-strchr.c (TEST_NAME): Likewise.
18200         * string/test-strcmp.c(TEST_NAME): Likewise.
18201         * string/test-strcpy.c (TEST_NAME): Likewise.
18202         * string/test-strcspn.c (TEST_NAME): Likewise.
18203         * string/test-strlen.c (TEST_NAME): Likewise.
18204         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18205         * string/test-strncmp.c (TEST_NAME): Likewise.
18206         * string/test-strncpy.c (TEST_NAME): Likewise.
18207         * string/test-strnlen.c (TEST_NAME): Likewise.
18208         * string/test-strpbrk.c (TEST_NAME): Likewise.
18209         * string/test-strrchr.c (TEST_NAME): Likewise.
18210         * string/test-strspn.c (TEST_NAME): Likewise.
18211         * string/test-strstr.c (TEST_NAME): Likewise.
18212         * string/test-bcopy-ifunc.c: New file.
18213         * string/test-bzero-ifunc.c: Likewise.
18214         * string/test-memccpy-ifunc.c: Likewise.
18215         * string/test-memchr-ifunc.c: Likewise.
18216         * string/test-memcmp-ifunc.c: Likewise.
18217         * string/test-memcpy-ifunc.c: Likewise.
18218         * string/test-memmem-ifunc.c: Likewise.
18219         * string/test-memmove-ifunc.c: Likewise.
18220         * string/test-mempcpy-ifunc.c: Likewise.
18221         * string/test-memset-ifunc.c: Likewise.
18222         * string/test-rawmemchr-ifunc.c: Likewise.
18223         * string/test-stpcpy-ifunc.c: Likewise.
18224         * string/test-stpncpy-ifunc.c: Likewise.
18225         * string/test-strcasecmp-ifunc.c: Likewise.
18226         * string/test-strcasestr-ifunc.c: Likewise.
18227         * string/test-strcat-ifunc.c: Likewise.
18228         * string/test-strchr-ifunc.c: Likewise.
18229         * string/test-strchrnul-ifunc.c: Likewise.
18230         * string/test-strcmp-ifunc.c: Likewise.
18231         * string/test-strcpy-ifunc.c: Likewise.
18232         * string/test-strcspn-ifunc.c: Likewise.
18233         * string/test-strlen-ifunc.c: Likewise.
18234         * string/test-strncasecmp-ifunc.c: Likewise.
18235         * string/test-strncat-ifunc.c: Likewise.
18236         * string/test-strncmp-ifunc.c: Likewise.
18237         * string/test-strncpy-ifunc.c: Likewise.
18238         * string/test-strnlen-ifunc.c: Likewise.
18239         * string/test-strpbrk-ifunc.c: Likewise.
18240         * string/test-strrchr-ifunc.c: Likewise.
18241         * string/test-strspn-ifunc.c: Likewise.
18242         * string/test-strstr-ifunc.c: Likewise.
18243
18244         * debug/Makefile (tests-ifunc): New variable.
18245         (tests): Add $(tests-ifunc).
18246         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18247         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18248         * debug/test-stpcpy_chk-ifunc.c: New file.
18249         * debug/test-strcpy_chk-ifunc.c: Likewise.
18250
18251 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18252
18253         [BZ #13601]
18254         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18255         header is not read in.
18256
18257 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18258
18259         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18260         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18261         directly.  Pass built executable to script as
18262         $(built-program-cmd).
18263         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18264         $testprogram without using LD_LIBRARY_PATH and $ldso.
18265
18266         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18267         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18268         $(rtld-installed-name).
18269         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18270         (rtld_installed_name): Likewise.
18271         (library_path): Likewise.
18272         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18273         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18274         $(run-program-prefix) to tst-tables.sh.
18275         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18276         it to run tst-table-from and tst-table-to.
18277         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18278         Pass it to tst-table.sh.
18279         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18280         $(run-program-prefix) to tst-gettext.sh.
18281         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18282         tst-translit.sh.
18283         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18284         tst-gettext2.sh.
18285         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18286         to run tst-gettext.
18287         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18288         to run tst-gettext2.
18289         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18290         to run tst-translit.
18291         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18292         $(run-program-prefix) to tst-mtrace.sh.
18293         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18294         to run tst-mtrace.
18295         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18296         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18297         $(rtld-installed-name).
18298         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18299         (rtld_installed_name): Likewise.
18300         (run_program_prefix): New variable.  Use it to run wordexp-test.
18301
18302         * Makeconfig (ARCH): Remove all definitions.
18303         (machine): Likewise.
18304         [ARCH]: Remove conditional code.
18305         [!objdir]: Give error.
18306         [!objdir] (objpfx): Remove.
18307         [!objdir] (common-objpfx): Likewise.
18308         [!objdir] (common-objdir): Likewise.
18309         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18310         AC_CONFIG_FILES call.
18311         * configure: Regenerated.
18312
18313         [BZ #13888]
18314         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18315         or TMPDIR.
18316         (testout): Likewise.
18317
18318         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18319         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18320         $(rtld-installed-name).
18321         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18322         (rtld_installed_name): Likwise.
18323         (runit): Remove function.
18324         (run_getconf): New variable,  Use it for running getconf binary.
18325
18326 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18327
18328         [BZ #14716]
18329         * string/test-memmem.c (check_result): New function.
18330         (do_one_test): Use it.
18331         (check1): New function.
18332         (test_main): Use it.
18333
18334 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18335
18336         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18337
18338 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18339
18340         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18341         (_G_LSEEK64): Likewise.
18342         (_G_MMAP64): Likewise.
18343         (_G_FSTAT64): Likewise.
18344         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18345         (_G_LSEEK64): Likewise.
18346         (_G_MMAP64): Likewise.
18347         (_G_FSTAT64): Likewise.
18348         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18349         unconditional.  Call __mmap64 directly.
18350         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18351         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18352         __lseek64 directly.
18353         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18354         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18355         __mmap64 directly.
18356         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18357         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18358         __lseek64 directly.
18359         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18360         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18361         __lseek64 directly.
18362         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18363         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18364         __lseek64 directly.
18365         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18366         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18367         __fxstat64 directly.
18368         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18369         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18370         unconditional.
18371         (freopen64) [!_G_OPEN64]: Remove conditional code.
18372         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18373         unconditional.
18374         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18375         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18376         unconditional.
18377         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18378         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18379         unconditional.
18380         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18381         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18382         unconditional.
18383         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18384         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18385         unconditional.
18386         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18387         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18388         unconditional.
18389         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18390         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18391         unconditional.
18392         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18393
18394 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18395
18396         [BZ #12140]
18397         * manual/memory.texi (Malloc Tunable Parameters): Add note
18398         about free list pointers overwriting some perturb bytes.
18399         Wording suggested by Roland McGrath.
18400
18401 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18402
18403         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18404         (lgamma_test): Likewise.
18405         (tgamma_test): Likewise.
18406
18407 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18408
18409         [BZ #14700]
18410         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18411         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18412
18413 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18414
18415         * NEWS: Mention BZ #14716.
18416         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18417         when removing AVAILABLE1_USES_J macro.
18418
18419 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18420
18421         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18422         (__bswap_64): __uint64_t for unsigned 64-bit int.
18423
18424 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18425
18426         * include/string.h (memmem): Declare libc hidden alias.
18427         * string/memmem.c (memmem): Define libc hidden alias.
18428         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18429         __read, __close instead of open, read, close.
18430
18431 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18432
18433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18434         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18435         global and hidden.
18436         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18437         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18438         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18439         Likewise.
18440         (__rawmemchr_sse2): Likewise.
18441         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18442         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18443         (__strchr_sse2): Likewise.
18444         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18445         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18446         (__strcasecmp_sse2): Likewise.
18447         (__strncasecmp_sse2): Likewise.
18448         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18449         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18450         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18451         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18452         (__strrchr_sse2): Likewise.
18453         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18454         ifunc-impl-list.c.
18455         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18456         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18457         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18458         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18459         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18460         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18461         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18462         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18463         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18464         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18465         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18466         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18467         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18468         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18469         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18470         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18471         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18472         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18473         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18474         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18475         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18476         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18477         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18478         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18479         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18480         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18481         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18482         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18483         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18484         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18485
18486         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18487         global and hidden.
18488         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18489         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18490         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18491         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18492         Likewise.
18493         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18494         Likewise.
18495         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18496         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18497         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18498         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18499         ifunc-impl-list.c.
18500         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18502         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18503         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18504         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18505         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18506         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18507         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18508         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18509         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18510         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18511         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18512         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18513         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18514         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18515         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18516         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18517         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18518         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18519         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18520         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18521         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18522         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18523         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18524         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18525         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18526         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18527         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18528         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18529         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18530         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18533         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18534         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18535         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18536         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18537         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18538         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18539         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18540         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18541
18542         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18543         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18544         * include/ifunc-impl-list.h: New file.
18545         * misc/ifunc-impl-list.c: Likewise.
18546         * misc/Makefile (routines): Add ifunc-impl-list.
18547         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18548         * string/test-string.h: Include <ifunc-impl-list.h>.
18549         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18550         impl_array): New variables.
18551         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18552         are defined.
18553         (test_init): Call __libc_ifunc_impl_list to initialize
18554         func_list if TEST_IFUNC and TEST_NAME are defined.
18555
18556         * string/Makefile (strop-tests): Add bcopy and bzero.
18557         * string/test-bcopy.c: New file.
18558         * string/test-bzero.c: Likewise.
18559         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18560         defined.
18561         * string/test-memset.c: Support bzero test if TEST_BZERO is
18562         defined.
18563         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18564         __libc_memmove.
18565         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18566         __libc_memset.
18567         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18568         of memset.
18569
18570 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18571
18572         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18573         * configure: Regenerated.
18574
18575         * Makeconfig (+link-static-before-libc): Don't include
18576         $(link-static-libc).
18577
18578         * libio/libio.h (_IO_pos_t): Remove.
18579
18580 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18581
18582         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18583         McGrath.
18584
18585 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18586
18587         * crypt/crypt-entry.c: Include fips-private.h.
18588         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18589         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18590         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18591         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18592
18593 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18594
18595         * crypt/crypt-private.h: Include stdbool.h.
18596         (_ufc_setup_salt_r): Return bool.
18597         * crypt/crypt-entry.c: Include errno.h.
18598         (__crypt_r): Return NULL with EINVAL for bad salt.
18599         * crypt/crypt_util.c (bad_for_salt): New.
18600         (_ufc_setup_salt_r): Check that salt is long enough and within
18601         the specified alphabet.
18602         * crypt/badsalttest.c: New file.
18603         * crypt/Makefile (tests): Add it.
18604         ($(objpfx)badsalttest): New.
18605
18606 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18607
18608         * NEWS: Add entry for BZ #14602.
18609
18610 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18611
18612         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18613         type-generic.
18614         * math/libm-test.inc: Update comment listing what functions and
18615         macros are tested.
18616         (isgreater_test): New function.
18617         (isgreaterequal_test): Likewise.
18618         (isless_test): Likewise.
18619         (islessequal_test): Likewise.
18620         (islessgreater_test): Likewise.
18621         (isunordered_test): Likewise.
18622         (main): Call the new functions.
18623
18624 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18625
18626         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18627         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18628         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18629         * sysdeps/i386/configure: Regenerated.
18630         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18631         * sysdeps/mach/configure: Regenerated.
18632         * sysdeps/mach/hurd/configure: Regenerated.
18633         * sysdeps/powerpc/configure: Regenerated.
18634         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18635         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18636         * sysdeps/s390/s390-32/configure: Regenerated.
18637         * sysdeps/s390/s390-64/configure: Regenerated.
18638         * sysdeps/sh/configure: Regenerated.
18639         * sysdeps/sparc/configure: Regenerated.
18640         * sysdeps/unix/sysv/linux/configure: Regenerated.
18641         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18642         * sysdeps/x86_64/configure: Regenerated.
18643
18644         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18645         defined.  Don't check if MAP is NULL.
18646
18647 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18648
18649         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18650         (_G_stat64): Likewise.
18651         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18652         (_G_stat64): Likewise.
18653         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18654         instead of struct _G_stat64.
18655         * libio/fileops.c (mmap_remap_check): Likewise.
18656         (decide_maybe_mmap): Likewise.
18657         (_IO_new_file_seekoff): Likewise.
18658         (_IO_file_stat): Likewise.
18659         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18660         _G_off64_t.
18661         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18662         instead of struct _G_stat64.
18663         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18664
18665 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18666
18667         [BZ #14602]
18668         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18669         Replace with ...
18670         (CHECK_EOL): New macro.
18671         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18672         CHECK_EOL.
18673         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18674         Replace with CHECK_EOL.
18675         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18676         Replace with CHECK_EOL.
18677
18678 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18679
18680         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18681         type-generic.
18682         * math/libm-test.inc: Update comment listing what functions and
18683         macros are tested.
18684         (finite_test): New function.
18685         (isinf_test): Likewise.
18686         (isnan_test): Likewise.
18687         (fpclassify_test): Test subnormal input.
18688         (isfinite_test): Likewise.
18689         (isnormal_test): Likewise.
18690         (main): Call the new functions.
18691
18692 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18693
18694         [BZ #14660]
18695         * Makerules (%.dynsym): Force C locale when running
18696         $(OBJDUMP) --dynamic-syms.
18697
18698 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18699
18700         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18701         <stdint.h>.
18702
18703 2012-10-06  David S. Miller  <davem@davemloft.net>
18704
18705         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18706         upper 32-bits of the length value in %o2 since we use branch-on-register
18707         tests which consider the entire 64-bit register.
18708
18709 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18710
18711         * string/test-strstr.c (check2): Add a test for page boundary.
18712
18713 2012-10-05  David S. Miller  <davem@davemloft.net>
18714
18715         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18716         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18717         file.
18718         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18719         sysdep_routines.
18720         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18721         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18722         and bzero when HWCAP_SPARC_CRYPTO is present.
18723
18724 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18725
18726         [BZ #14602]
18727         * string/test-strstr.c (check2): New function.
18728         (test_main): Call check2.
18729
18730         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18731         and bug-strchr1.
18732         * string/bug-strcasestr1.c (do_test): Moved to ...
18733         * string/test-strcasestr.c (check1): Here.  New function.
18734         (do_one_test): Break out result checking code into ...
18735         (check_result): This.  New function.
18736         (do_one_test): Call check_result.
18737         (test_main): Call check1.
18738         * string/bug-strchr1.c (do_test): Moved to ...
18739         * string/test-strchr.c (check1): Here.  New function.
18740         (do_one_test): Break out result checking code into ...
18741         (check_result): This.  New function.
18742         (do_one_test): Call check_result.
18743         (test_main): Call check1.
18744         * string/bug-strstr1.c (main): Moved to ...
18745         * string/test-strstr.c (check1): Here.  New function.
18746         (do_one_test): Break out result checking code into ...
18747         (check_result): This.  New function.
18748         (do_one_test): Call check_result.
18749         (test_main): Call check1.
18750         * string/bug-strcasestr1.c: Removed.
18751         * string/bug-strchr1.c: Likewise.
18752         * string/bug-strstr1.c: Likewise.
18753
18754         * elf/Makefile (dl-routines): Add hwcaps.
18755         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18756         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18757         (_dl_important_hwcaps): Moved to ...
18758         * elf/dl-hwcaps.c: Here.  New file.
18759         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18760
18761         [BZ #14557]
18762         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18763         if IS_IN_rtld isn't defined.
18764
18765         * elf/dl-support.c (_dl_sysinfo_map): New.
18766         Include "get-dynamic-info.h" and "setup-vdso.h".
18767         (_dl_non_dynamic_init): Call setup_vdso.
18768         * elf/dynamic-link.h: Don't include <assert.h>.
18769         (elf_get_dynamic_info): Moved to ...
18770         * elf/get-dynamic-info.h: Here.  New file.
18771         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18772         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18773         * elf/setup-vdso.h: Here.  New file.
18774         * elf/rtld.c: Include "setup-vdso.h".
18775         (dl_main): Call setup_vdso.
18776
18777 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18778
18779         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18780         creal in comment listing functions tested.  List finite, isinf,
18781         isnan, isless, islessequal, isgreater, isgreaterequal,
18782         islessgreater, isunordered, lgamma_r and pow10 as functions and
18783         macros not tested.  Mention which functions not tested are aliases
18784         for other functions.  Fix typo.  Note that signs of NaNs are not
18785         tested.
18786
18787         * scripts/config.guess: Update from config.git.
18788         * scripts/config.sub: Likewise.
18789
18790 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18791
18792         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18793         * misc/madvise.c (madvise): Renamed to __madvise.
18794         Make madvise a weak alias.
18795         * include/sys/mman.h: Declare __madvise.
18796         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18797         * sysdeps/unix/syscalls.list
18798         (madvise): Make __madvise the strong name, and madvise a weak alias.
18799         * sysdeps/unix/sysv/linux/syscalls.list
18800         (madvise, mmap): Remove redundant entries.
18801         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18802         * malloc/malloc.c (mtrim): Likewise.
18803         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18804
18805 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18806
18807         * sysdeps/mach/hurd/dl-cache.c: File removed.
18808         * config.h.in (USE_LDCONFIG): New #undef.
18809         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18810         * configure: Regenerated.
18811         * elf/Makefile (dl-routines): Add dl-cache only under
18812         [$(use-ldconfig) = yes].
18813         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18814         cache on [USE_LDCONFIG].
18815         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18816         [USE_LDCONFIG].
18817         * elf/rtld.c (dl_main): Likewise.
18818
18819 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18820
18821         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18822         _SC_LEVEL4_CACHE_LINESIZE.
18823
18824 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18825
18826         * sysdeps/unix/bsd/confstr.h: File removed.
18827
18828 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18829
18830         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18831         sys/sdt-config.h.
18832
18833 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18834
18835         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18836         Make 'mapoff' field ElfW(Off) rather than off_t.
18837
18838 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18839
18840         * nscd/Makefile: Remove nscd-cflags and all its users.
18841         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18842         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18843
18844         [BZ #10631]
18845         * malloc.c (malloc_printerr): Clarify error message.
18846
18847 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18848
18849         [BZ #14648]
18850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18851         Set bit_FMA_Usable if FMA is supported.
18852         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18853         macro.
18854         (bit_FMA4_Usable): Updated.
18855         (index_FMA_Usable): New macro.
18856         (CPUID_FMA): Likewise
18857         (HAS_FMA): Defined with bit_FMA_Usable.
18858
18859 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18860
18861         * bits/types.h (__swblk_t): Type removed.
18862         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18863         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18864         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18865         (__SWBLK_T_TYPE): Likewise.
18866         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18867         (__SWBLK_T_TYPE): Likewise.
18868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18869         (__SWBLK_T_TYPE): Likewise.
18870         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18871         (__SWBLK_T_TYPE): Likewise.
18872
18873 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18874             Honza Horak <hhorak@redhat.com>
18875
18876         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18877         (xdr_mapname): Use YPMAXMAP as maxsize.
18878         (xdr_peername): Use YPMAXPEER as maxsize.
18879         (xdr_keydat): Use YPAXRECORD as maxsize.
18880         (xdr_valdat): Use YPMAXRECORD as maxsize.
18881
18882 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18883
18884         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18885
18886         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18887         * csu/init-first.c: ... here.
18888         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18889         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18890         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18891         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18892         * sysdeps/i386/init-first.c: File removed.
18893         * sysdeps/sh/init-first.c: File removed.
18894
18895 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18896
18897         [BZ #14645]
18898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18899         if x * y might underflow to zero and z is zero.
18900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18902         * math/libm-test.inc (min_subnorm_value): New variable.
18903         (fma_test): Add more tests.
18904         (fma_test_towardzero): Likewise.
18905         (fma_test_downward): Likewise
18906         (fma_test_upward): Likewise.
18907         (initialize): Set min_subnorm_value.
18908
18909 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18910
18911         [BZ #14638]
18912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18913         0 + 0.
18914         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18915         mode for addition resulting in exact zero.
18916         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18918         exact 0 + 0.
18919         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18921         * math/libm-test.inc (fma_test): Add more tests.
18922         (fma_test_towardzero): New function.
18923         (fma_test_downward): Likewise.
18924         (fma_test_upward): Likewise.
18925         (main): Call the new functions.
18926
18927 2012-09-28  David S. Miller  <davem@davemloft.net>
18928
18929         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18930
18931 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18932
18933         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18934         instead of SIGALRM.
18935
18936         * sysdeps/gnu/_G_config.h: Moved to ...
18937         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18938         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18939         * sysdeps/generic/_G_config.h: ... here.
18940
18941         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18942
18943         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18944
18945         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18946         Conditionalize target on [libnss_test1.so-version].
18947
18948         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18949
18950         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18951         (elfobjdir): Move out of conditionals.
18952
18953         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18954         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18955         (__nss_lookup_function): Conditionalize label remove_from_tree on
18956         [!DO_STATIC_NSS || SHARED], matching its only use.
18957
18958 2012-09-28  David S. Miller  <davem@davemloft.net>
18959
18960         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18961         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18962         file.
18963         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18964         sysdep_routines.
18965         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18966         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18967         when HWCAP_SPARC_CRYPTO is present.
18968
18969 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18970
18971         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18972
18973 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18974
18975         [BZ #6530]
18976         * stdio-common/vfprintf.c (process_string_arg): Revert
18977         2000-07-22 change.
18978
18979 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18980
18981         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18982         for testcase.
18983         * stdio-common/tst-sprintf.c: Include <locale.h>
18984         (main): Test sprintf's handling of incomplete multibyte
18985         characters.
18986
18987 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18988
18989         * elf/dl-runtime.c (VERSYMIDX): Removed.
18990         * elf/dl-version.c (VERSYMIDX): Likewise.
18991         * elf/do-rel.h (VERSYMIDX): Likewise.
18992         (VALIDX): Likewise.
18993         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18994         * elf/rtld.c (VALIDX): Likewise.
18995         (ADDRIDX): Likewise.
18996         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18997         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18998         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18999         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19000         (VALIDX): Likewise.
19001         (ADDRIDX): Likewise.
19002
19003 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19004
19005         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19006
19007 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19008
19009         [BZ #11438]
19010         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19011         to global scope.
19012         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19013         addresses are in the same scope as 192.0.2/24.
19014         * posix/gai.conf: Document new scope table defaults.
19015
19016 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19017
19018         [BZ #5298]
19019         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19020         for ftell.  Compute offsets from write pointers instead.
19021         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19022
19023 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19024
19025         [BZ #14543]
19026         * libio/Makefile (tests): New test case tst-fseek.
19027         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19028         combination works in wide mode.
19029         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19030         state when the external buffer state changes.
19031
19032 2012-09-27  David S. Miller  <davem@davemloft.net>
19033
19034         [BZ #14376]
19035         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19036         pass reloc->r_addend in as the 'high' argument to
19037         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19038
19039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19040
19041 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19042
19043         * rt/tst-aio2.c: Include <pthread.h>.
19044         * rt/tst-aio3.c: Likewise.
19045
19046 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19047
19048         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19049
19050 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19051
19052         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19053         contents on [SHARED].
19054
19055 2012-09-26  Marek Polacek  <polacek@redhat.com>
19056
19057         [BZ #14530]
19058         [BZ #13741]
19059         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19060         for C++ and GCC <4.3 as well as for non GCC compilers.
19061
19062 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19063
19064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19065
19066 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19067
19068         * Makefile.in (all, install): Declare with .PHONY.
19069         Reported by Michael Hope <michael.hope@linaro.org>.
19070
19071 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19072
19073         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19074         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19075         system header.
19076         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19077         Likewise.
19078         (sydep_routines): Add the new and the internal functions.
19079         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19080         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19082         (GLIBC_2.17): Add the new function.
19083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19084         (GLIBC_2.17): Likewise.
19085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19086         (GLIBC_2.17): Likewise.
19087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19088         (GLIBC_2.17): Likewise.
19089         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19090
19091 2012-09-25  Alan Modra  <amodra@gmail.com>
19092
19093         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19094         Add release barrier before setting once_control to say
19095         initialisation is done.  Add hints on lwarx.  Use macro in
19096         place of isync.
19097         (clear_once_control): Add release barrier.
19098
19099 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19100
19101         [BZ #13629]
19102         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19103         specially.
19104         * math/s_clog10.c (__clog10): Likewise.
19105         * math/s_clog10f.c (__clog10f): Likewise.
19106         * math/s_clog10l.c (__clog10l): Likewise.
19107         * math/s_clogf.c (__clogf): Likewise.
19108         * math/s_clogl.c (__clogl): Likewise.
19109         * math/Makefile (libm-calls): Add x2y2m1.
19110         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19111         (__x2y2m1): Likewise.
19112         (__x2y2m1l): Likewise.
19113         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19114         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19115         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19116         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19117         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19118         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19119         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19120         * sysdeps/i386/fpu/libm-test-ulps: Update.
19121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19122
19123         [BZ #14621]
19124         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19125         int as type of variable DEPTH.
19126         (glob): Use size_t instead of int as type of variables NEWCOUNT
19127         and OLD_PATHC.
19128
19129 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19130
19131         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19132         Add s_sincosf-sse2.
19133         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19134         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19135         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19136         macros for using routine as __sincosf_ia32.
19137         Use macro for function declaration and weak_alias.
19138         * sysdeps/i386/fpu/libm-test-ulps: Update.
19139
19140         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19142
19143         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19144         subnormal argument.
19145         * math/s_cexpf.c (__cexpf): Likewise.
19146         * math/s_csinf.c (__csinf): Likewise.
19147         * math/s_csinhf.c (__csinhf): Likewise.
19148         * math/s_ctanf.c (__ctanf): Likewise.
19149         * math/s_ctanhf.c (__ctanhf): Likewise.
19150         * math/s_ccosh.c (__ccoshf): Likewise.
19151         * math/s_cexp.c (__cexpl): Likewise.
19152         * math/s_csin.c (__csin): Likewise.
19153         * math/s_csinh.c (__csinh): Likewise.
19154         * math/s_ctan.c (__ctan): Likewise.
19155         * math/s_ctanh.c (ctanh): Likewise.
19156         * math/s_ccoshl.c (__ccoshl): Likewise.
19157         * math/s_cexpl.c (__cexpl): Likewise.
19158         * math/s_csinl.c (__csinl): Likewise.
19159         * math/s_csinhl.c (__csinhl): Likewise.
19160         * math/s_ctanl.c (__ctanl): Likewise.
19161         * math/s_ctanhl.c (__ctanhl): Likewise.
19162
19163 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19164
19165         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19166         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19167         (_IO_off_t): Define to __off_t, not _G_off_t.
19168         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19169         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19170         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19171         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19172         type of __dummy and __dummy2 fields.
19173         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19174         (_G_ssize_t): Likewise.
19175         (_G_off_t): Likewise.
19176         (_G_pid_t): Likewise.
19177         (_G_uid_t): Likewise.
19178         (_G_wchar_t): Likewise.
19179         (_G_wint_t): Likewise.
19180         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19181         (_G_ssize_t): Likewise.
19182         (_G_off_t): Likewise.
19183         (_G_pid_t): Likewise.
19184         (_G_uid_t): Likewise.
19185         (_G_wchar_t): Likewise.
19186         (_G_wint_t): Likewise.
19187         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19188         (_G_ssize_t): Likewise.
19189         (_G_off_t): Likewise.
19190         (_G_pid_t): Likewise.
19191         (_G_uid_t): Likewise.
19192         (_G_wchar_t): Likewise.
19193         (_G_wint_t): Likewise.
19194
19195 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19196
19197         * malloc/arena.c: Include malloc-sysdep.h.
19198         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19199         is sufficient to shrink the heap or an unmap is needed.
19200         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19201         new function check_may_shrink_heap.
19202         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19203         new function check_may_shrink_heap.
19204
19205 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19206
19207         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19208         comments.
19209
19210 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19211
19212         * catgets/test-gencat.sh: Add "set -e".
19213         * elf/tst-pathopt.sh: Likewise.
19214         * grp/tst_fgetgrent.sh: Likewise.
19215         * iconvdata/run-iconv-test.sh: Likewise.
19216         * intl/tst-gettext.sh: Likewise.
19217         * intl/tst-gettext2.sh: Likewise.
19218         * intl/tst-gettext4.sh: Likewise.
19219         * intl/tst-gettext6.sh: Likewise.
19220         * intl/tst-translit.sh: Likewise.
19221         * io/ftwtest-sh: Likewise.
19222         * libio/test-freopen.sh: Likewise.
19223         * malloc/tst-mtrace.sh: Likewise.
19224         * posix/globtest.sh: Likewise.
19225         * posix/tst-getconf.sh: Likewise.
19226         * posix/wordexp-tst.sh: Likewise.
19227         * stdio-common/tst-printf.sh: Likewise.
19228         * stdio-common/tst-unbputc.sh: Likewise.
19229         * stdlib/tst-fmtmsg.sh: Likewise.
19230         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19231         * catgets/Makefile: Do not specify -e option when running
19232         testsuite shell scripts.
19233         * elf/Makefile: Likewise.
19234         * grp/Makefile: Likewise.
19235         * iconvdata/Makefile: Likewise.
19236         * intl/Makefile: Likewise.
19237         * io/Makefile: Likewise.
19238         * libio/Makefile: Likewise.
19239         * malloc/Makefile: Likewise.
19240         * posix/Makefile: Likewise.
19241         * stdio-common/Makefile: Likewise.
19242         * stdlib/Makefile: Likewise.
19243         * sysdeps/x86_64/Makefile: Likewise.
19244
19245         * io/ftwtest-sh: Add copyright header.
19246         * posix/globtest.sh: Likewise.
19247         * posix/tst-getconf.sh: Likewise.
19248         * posix/wordexp-tst.sh: Likewise.
19249         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19250
19251 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19252
19253         [BZ #13679]
19254         * Makeconfig (+link): Defined as $(+link-static) if
19255         $(build-shared) isn't yes.
19256         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19257         isn't yes.
19258         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19259
19260         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19261
19262         [BZ #14562]
19263         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19264         new chunk size with MALLOC_ALIGN_MASK.
19265
19266 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19267
19268         [BZ #5044]
19269         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19270         <rounding-mode.h>.
19271         (__printf_fphex): Determine rounding using get_rounding_mode and
19272         round_away.
19273         * stdio-common/tst-printf-round.c (struct hex_test): New
19274         structure.
19275         (hex_tests): New variable.
19276         (test_hex_in_one_mode): New function.
19277         (do_test): Also run tests for hex float output.
19278
19279 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19280
19281         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19282         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19283         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19284         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19285         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19286         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19287         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19288         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19289
19290 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19291
19292         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19293         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19294         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19295         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19296
19297 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19298
19299         [BZ #14579]
19300         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19301         mode only.
19302         * elf/tst-rtld-load-self.sh: New test.
19303         * elf/Makefile: Run it.
19304
19305 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19306
19307         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19308         (tst-writev-ENV): Remove.
19309         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19310
19311 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19312
19313         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19314
19315 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19316
19317         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19318         unconditional.
19319         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19320         Likewise.
19321         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19322         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19323         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19324         Likewise.
19325
19326 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19327
19328         [BZ #14587]
19329         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19330         * config.make.in (have-cpp-asm-debuginfo): Removed.
19331         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19332         * configure: Regenerated.
19333
19334 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19335
19336         [BZ #5044]
19337         * stdio-common/printf_fp.c: Include <stdbool.h> and
19338         <rounding-mode.h>.
19339         (___printf_fp): Determine rounding using get_rounding_mode and
19340         round_away.
19341         * stdio-common/tst-printf-round.c: New file.
19342         * stdio-common/Makefile (tests): Add tst-printf-round.
19343         (link-libm): New variable.
19344         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19345
19346 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19347
19348         [BZ #14576]
19349         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19350         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19351         Likewise.
19352         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19353         Likewise.
19354
19355 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19356
19357         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19358         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19359         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19360         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19361
19362 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19363
19364         [BZ #14518]
19365         * include/rounding-mode.h: New file.
19366         * sysdeps/generic/get-rounding-mode.h: Likewise.
19367         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19368         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19369         (MAX_VALUE): New macro.
19370         (MIN_VALUE): Likewise.
19371         (overflow_value): New function.
19372         (underflow_value): Likewise.
19373         (round_and_return): Use overflow_value and underflow_value to
19374         determine return values in overflow and underflow cases.  Use
19375         round_away to determine rounding depending on rounding mode.
19376         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19377         determine return values in overflow and underflow cases.
19378         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19379         (struct test_results): New structure.
19380         (struct test): Use struct test_results to store expected results
19381         for all rounding modes.
19382         (TEST): Include expected results for all rounding modes.
19383         (test_in_one_mode): New function.
19384         (do_test): Use test_in_one_mode to compute and check results.
19385         Check results for all rounding modes.
19386         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19387         $(link-libm).
19388
19389 2012-12-09  Allan McRae  <allan@archlinux.org>
19390
19391         * sysdeps/i386/fpu/libm-test-ulps: Update
19392
19393 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19394
19395         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19396         (_G_int32_t): Likewise.
19397         (_G_uint16_t): Likewise.
19398         (_G_uint32_t): Likewise.
19399         (_G_HAVE_BOOL): Likewise.
19400         (_G_HAVE_ATEXIT): Likewise.
19401         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19402         (_G_HAVE_IO_FILE_OPEN): Likewise.
19403         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19404         (_G_int32_t): Likewise.
19405         (_G_uint16_t): Likewise.
19406         (_G_uint32_t): Likewise.
19407         (_G_HAVE_BOOL): Likewise.
19408         (_G_HAVE_ATEXIT): Likewise.
19409         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19410         (_G_HAVE_IO_FILE_OPEN): Likewise.
19411         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19412         (_G_int32_t): Likewise.
19413         (_G_uint16_t): Likewise.
19414         (_G_uint32_t): Likewise.
19415         (_G_HAVE_BOOL): Likewise.
19416         (_G_HAVE_ATEXIT): Likewise.
19417         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19418         (_G_HAVE_IO_FILE_OPEN): Likewise.
19419
19420 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19421
19422         * csu/libc-tls.c: Update copyright years.
19423
19424 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19425
19426         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19427         [!_G_USING_THUNKS]: Remove conditional code.
19428         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19429         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19430
19431         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19432         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19433         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19434         (_G_VTABLE_LABEL_PREFIX): Likewise.
19435         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19436         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19437         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19438         (_G_VTABLE_LABEL_PREFIX): Likewise.
19439         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19440         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19441         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19442         (_G_VTABLE_LABEL_PREFIX): Likewise.
19443         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19444
19445 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19446
19447         * libio/Makefile: Include ../Makeconfig before tests.
19448         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19449         only if $(build-shared) is yes.
19450
19451         * iconv/gconv_db.c: Update copyright years.
19452
19453 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19454
19455         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19456         unwind info if defined PIC. Fix special cases description.
19457         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19458
19459         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19460         DP_HI_MASK entry.
19461         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19462
19463 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19464
19465         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19466
19467         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19468         is NULL.
19469
19470         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19471         (LDLIBS-tst-chk4): This.
19472         (LDFLAGS-tst-chk5): Renamed to ...
19473         (LDLIBS-tst-chk5): This.
19474         (LDFLAGS-tst-chk6): Renamed to ...
19475         (LDLIBS-tst-chk6): This.
19476         (LDFLAGS-tst-lfschk4): Renamed to ...
19477         (LDLIBS-tst-lfschk4): This.
19478         (LDFLAGS-tst-lfschk5): Renamed to ...
19479         (LDLIBS-tst-lfschk5): This.
19480         (LDFLAGS-tst-lfschk6): Renamed to ...
19481         (LDLIBS-tst-lfschk6): This.
19482
19483         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19484         on $(common-objpfx)soversions.mk.
19485
19486 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19487
19488         [BZ #10014]
19489         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19490         example host name.
19491
19492 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19493
19494         * malloc/arena.c (arena_get_retry): New function that gets
19495         another arena for the caller to try its request on.
19496         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19497         current arena cannot fulfill the request.
19498         (__libc_memalign): Likewise.
19499         (__libc_memalign): Likewise.
19500         (__libc_pvalloc): Likewise.
19501         (__libc_calloc): Likewise.
19502
19503 2012-09-05  John Tobey  <john.tobey@gmail.com>
19504
19505         [BZ #13542]
19506         * manual/arith.texi (Operations on Complex): Fix description
19507         of carg branch cut.
19508
19509 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19510
19511         [BZ #10014]
19512         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19513         host name.
19514
19515         [BZ #10038]
19516         * manual/memory.texi (Memory): Make order of menu items match
19517         order of sections.
19518
19519 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19520
19521         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19522         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19523         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19524
19525 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19526
19527         * csu/libc-tls.c (static_dtv): Renamed to ...
19528         (_dl_static_dtv): This.  Make it global.
19529         (_dl_initial_dtv): Removed.
19530         (__libc_setup_tls): Updated.
19531         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19532         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19533         DL_INITIAL_DTV.
19534
19535 2012-09-06  Petr Machata  <pmachata@redhat.com>
19536
19537         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19538         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19539         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19540         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19541
19542 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19543
19544         [BZ #14545]
19545         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19546         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19547         freeing dtv[-1].
19548
19549 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19550
19551         [BZ #14544]
19552         * Makeconfig (link-static-before-libc): Replace $(+prector)
19553         with $(+prectorT).
19554         (link-static-after-libc): Replace $(+postctor) with
19555         $(+postctorT).
19556         (link-bounded): Replace $(+prector)/$(+postctor) with
19557         $(+prectorT)/$(+postctorT).
19558         (+prectorT): New macro.
19559         (+postctorT): Likewise.
19560
19561 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19562
19563         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19564         (round_str): Handle values above the maximum for IBM long double
19565         as inexact.
19566         * stdlib/tst-strtod-round.c (tests): Regenerated.
19567
19568 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19569
19570         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19571         assembler flag.
19572         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19573         zarch_nohighgprs around the zarch optimized routines.
19574         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19575         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19576         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19577         for zarch.
19578
19579 2012-09-05  David S. Miller  <davem@davemloft.net>
19580
19581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19582
19583         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19584         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19585         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19586         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19587         entries.
19588
19589 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19590
19591         * malloc/arena.c: Fold copyright years.
19592         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19593
19594 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19595
19596         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19597
19598 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19599
19600         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19601
19602 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19603
19604         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19605         change internal state upon failure.
19606
19607 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19608
19609         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19610         * malloc/memusage.c (mmap): Likewise.
19611         (mmap64, mremap): Likewise.  Adjust name in comment.
19612
19613 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19614
19615         * libio/fileops.c: Fix typos in comments.
19616         * libio/oldfileops.c: Likewise.
19617         * libio/wfileops.c: Likewise.
19618
19619 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19620
19621         [BZ #1349]
19622         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19623         (tst-malloc-usable-ENV): Set environment for test case.
19624         * malloc/hooks.c (malloc_check_get_size): New function to get
19625         requested size.
19626         * malloc/malloc.c (musable): Use malloc_check_get_size.
19627         * malloc/tst-malloc-usable.c: New test case.
19628
19629 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19630
19631         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19632
19633 2012-09-05  Allan McRae  <allan@archlinux.org>
19634
19635         [BZ #13966]
19636         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19637         determine header location.
19638         * configure: Regenerated.
19639
19640 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19641
19642         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19643         float format.
19644         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19645         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19646         format.
19647         (test): Regenerate.
19648
19649 2012-09-04  David S. Miller  <davem@davemloft.net>
19650
19651         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19652         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19653         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19654
19655 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19656
19657         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19658         failures.
19659
19660         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19661
19662 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19663
19664         [BZ #9914]
19665         * libio/iogetdelim.c: Include <limits.h>.
19666         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19667         + len + 1 would overflow.
19668
19669 2012-09-03  Andreas Jaeger  <aj@suse.de>
19670
19671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19672         * sysdeps/i386/fpu/libm-test-ulps: Update.
19673
19674 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19675
19676         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19677         Add s_sinf-sse2, s_conf-sse2.
19678
19679         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19680         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19681         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19682         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19683
19684         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19685         for using routine as __sinf_ia32.
19686         Use macro for function declaration and weak_alias.
19687         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19688         for using routine as __cosf_ia32.
19689         Use macro for function declaration and weak_alias.
19690
19691         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19692         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19693
19694         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19695         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19697
19698         * math/libm-test.inc (cos_test): Add more test cases.
19699         (sin_test): Likewise.
19700         (sincos_test): Likewise.
19701
19702 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19703
19704         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19705         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19706         hidden.
19707         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19708
19709 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19710
19711         [BZ #14538]
19712         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19713         first element of the GOT.
19714         (elf_machine_load_address): Return the difference between
19715         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19716
19717 2012-09-01  Allan McRae  <allan@archlinux.org>
19718
19719         [BZ #13412]
19720         * configure.in (AWK): Require gawk version 3.0 or later.
19721         * configure: Regenerated.
19722
19723 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19724
19725         * sysdeps/unix/sysv/linux/kernel-features.h
19726         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19727         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19728         [__NR_clock_getres]: Make code unconditional.
19729         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19730         (clock_getcpuclockid): Remove code left unreachable by removal of
19731         conditionals.
19732         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19733         code unconditional.
19734         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19735         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19736         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19737         Make code unconditional.
19738         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19739         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19740         * sysdeps/unix/sysv/linux/clock_settime.c
19741         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19742         conditional code.
19743         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19744         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19745
19746 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19747
19748         [BZ #14476]
19749         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19750         scripts/test-installation.pl.
19751
19752         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19753         and $ld_so_version if it is set.
19754
19755 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19756
19757         [BZ #14516]
19758         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19759         failure if reading from procfs failed.
19760         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19761
19762 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19763
19764         * sysdeps/unix/sysv/linux/kernel-features.h
19765         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19766         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19767         Remove conditional code.
19768         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19769         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19770         Remove conditional code.
19771         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19772         * sysdeps/unix/sysv/linux/i386/fxstat.c
19773         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19774         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19775         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19776         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19777         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19778         * sysdeps/unix/sysv/linux/i386/lxstat.c
19779         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19780         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19781         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19782         Remove conditional code.
19783         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19784         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19785         Remove conditional code.
19786         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19787         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19788         <kernel-features.h>.
19789         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19790         Remove.
19791         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19792         Remove conditional code.
19793         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19794         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19795         Remove conditional.
19796
19797 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19798
19799         [BZ #5400]
19800         * NEWS: Add fixed bug number.
19801
19802 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19803
19804         [BZ #14519]
19805         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19806         underflowing exponent in case of negative sign.
19807         * stdlib/tst-strtod-round-data: Add more tests.
19808         * stdlib/tst-strtod-round.c (tests): Regenerated.
19809
19810         [BZ #3479]
19811         * stdlib/strtod_l.c (NDIG): Remove.
19812         (HEXNDIG): Likewise.
19813         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19814         smallest representable value.
19815         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19816         lie within an exact representation of 1/2 ulp of the result.
19817         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19818         unconditionally.
19819         (TENS_P9_IDX): Define unconditionally.
19820         (TENS_P9_SIZE): Likewise.
19821         (TENS_P10_IDX): Likewise.
19822         (TENS_P10_SIZE): Likewise.
19823         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19824         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19825         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19826         entries for 10^2^13 and 10^2^14.
19827         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19828         (TENS_P13_IDX): Define.
19829         (TENS_P13_SIZE): Likewise.
19830         (TENS_P14_IDX): Likewise.
19831         (TENS_P14_SIZE): Likewise.
19832         (_fpioconst_pow10): Change array size to
19833         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19834         unconditional.
19835         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19836         1024]: Add entries for 10^2^13 and 10^2^14.
19837         [LAST_POW10 > _LAST_POW10]: Remove #error.
19838         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19839         (_fpioconst_pow10): Change array size to
19840         FPIOCONST_POW10_ARRAY_SIZE.
19841         * stdlib/gen-fpioconst.c: New file.
19842         * stdlib/gen-tst-strtod-round.c: Likewise.
19843         * stdlib/tst-strtod-round-data: Likewise.
19844         * stdlib/tst-strtod-round.c: Likewise.
19845         * stdlib/Makefile (tests): Add tst-strtod-round.
19846
19847         [BZ #14459]
19848         * stdlib/strtod_l.c: Include <stdint.h>.
19849         (NDEBUG): Do not define.
19850         (round_and_return): Change EXPONENT parameter to type intmax_t.
19851         Rearrange calculations to avoid internal overflow possibilities.
19852         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19853         Rearrange calculations to avoid internal overflow possibilities.
19854         Assert that number fits inside MPNSIZE limbs.
19855         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19856         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19857         calculations and add assertions to avoid internal overflow
19858         possibilities.  Add casts to avoid signed/unsigned operations.
19859         * stdlib/tst-strtod-overflow.c: New file.
19860         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19861
19862 2012-08-25  Marek Polacek  <polacek@redhat.com>
19863
19864         * time/time.h: Fix some typos in comments.
19865
19866 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19867
19868         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19869         * posix/tst-rfc3484-2.c: Likewise.
19870         * posix/tst-rfc3484-3.c: Likewise.
19871
19872 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19873
19874         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19875         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19876
19877 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19878
19879         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19880         #include of fxstatat64.c.
19881
19882 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19883
19884         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19885         * shadow/getspent_r.c: Likewise.
19886         * shadow/getspnam.c: Likewise.
19887         * shadow/getspnam_r.c: Likewise.
19888         * gshadow/getsgent.c: Likewise.
19889         * gshadow/getsgent_r.c: Likewise.
19890         * gshadow/getsgnam.c: Likewise.
19891         * gshadow/getsgnam_r.c: Likewise.
19892         * inet/getnetbyad.c: Likewise.
19893         * inet/getnetbyad_r.c: Likewise.
19894         * inet/getnetbynm.c: Likewise.
19895         * inet/getnetbynm_r.c: Likewise.
19896         * inet/getnetent.c: Likewise.
19897         * inet/getnetent_r.c: Likewise.
19898         * inet/getproto.c: Likewise.
19899         * inet/getproto_r.c: Likewise.
19900         * inet/getprtent.c: Likewise.
19901         * inet/getprtent_r.c: Likewise.
19902         * inet/getprtname.c: Likewise.
19903         * inet/getprtname_r.c: Likewise.
19904         * inet/getrpcbyname.c: Likewise.
19905         * inet/getrpcbyname_r.c: Likewise.
19906         * inet/getrpcbynumber.c: Likewise.
19907         * inet/getrpcbynumber_r.c: Likewise.
19908         * inet/getrpcent.c: Likewise.
19909         * inet/getrpcent_r.c: Likewise.
19910         * inet/getaliasent.c: Likewise.
19911         * inet/getaliasent_r.c: Likewise.
19912         * inet/getaliasname.c: Likewise.
19913         * inet/getaliasname_r.c: Likewise.
19914         * nscd/getgrgid_r.c: Likewise.
19915         * nscd/getgrnam_r.c: Likewise.
19916         * nscd/gethstbyad_r.c: Likewise.
19917         * nscd/gethstbynm3_r.c: Likewise.
19918         * nscd/getpwnam_r.c: Likewise.
19919         * nscd/getpwuid_r.c: Likewise.
19920         * nscd/getsrvbynm_r.c: Likewise.
19921         * nscd/getsrvbypt_r.c: Likewise.
19922         * nscd/gai.c: Likewise.
19923
19924         * configure.in (build_nscd): New substituted variable, set
19925         by --disable-build-nscd and defaults to $use_nscd.
19926         * configure: Regenerated.
19927         * config.make.in (build-nscd): New substituted variable.
19928         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19929         Change conditional to require [$(build-nscd) = yes] as well.
19930         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19931
19932         [BZ# 13696]
19933         * configure.in (use_nscd): New substituted variable, set by
19934         --disable-nscd.  If enabled, define USE_NSCD.
19935         * configure: Regenerated.
19936         * config.h.in: Add USE_NSCD.
19937         * config.make.in (use-nscd): New substituted variable.
19938         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19939         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19940         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19941         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19942         (CFLAGS-getgrnam_r.c): Likewise.
19943         (CFLAGS-initgroups.c): Likewise.
19944         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19945         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19946         Variables removed.
19947         * inet/getnetgrent_r.c
19948         (nscd_setnetgrent): New function, broken out of ...
19949         (setnetgrent): ... here.  Call it.
19950         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19951         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19952         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19953         * nscd/Makefile (routines, aux): Move definitions after include of
19954         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19955         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19956         Conditionalize on [USE_NSCD].
19957         (is_nscd, nscd_init_cb): Likewise.
19958         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19959         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19960         * nss/nss_db/db-init.c: Likewise.
19961         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19962         [USE_NSCD].
19963         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19964         (make_request): Use it.
19965         (cache_valid_p): New function.
19966         (__check_pf): Use it.
19967         * NEWS: Add item for --disable-nscd.
19968
19969 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19970
19971         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19972         to support sed >= 4.2.1-20-ga9bf076.
19973         * configure: Regenerated.
19974
19975 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19976
19977         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19978         Conditionalize whole body on [IREL].
19979
19980 2012-08-22  Jeff Law <law@redhat.com>
19981
19982         [BZ #14505]
19983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19984         if the family is PF_UNSPEC.
19985
19986 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19987
19988         * Makerules (lib-version): Rename from V.
19989         (install-lib-nosubdir): Change V to lib-version.
19990
19991 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19992
19993         [BZ #14252]
19994         * powerpc32/power6/wcschr.c: New file.
19995         * powerpc32/power6/wcscpy.c: New file.
19996         * powerpc32/power6/wcsrchr.c: New file.
19997         * powerpc64/power6/wcschr.c: New file.
19998         * powerpc64/power6/wcscpy.c: New file.
19999         * powerpc64/power6/wcsrchr.c: New file.
20000
20001 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20002
20003         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20004         (two_way_short_needle): Use it.
20005         * string/strstr.c (AVAILABLE1_USES_J): Define.
20006         * string/strcasestr.c: Likewise.
20007
20008         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20009         array references.
20010         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20011
20012         [BZ #11607]
20013         * NEWS: Add an entry.
20014         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20015         define their defaults.
20016         (two_way_short_needle): Detect end-of-string on-the-fly.
20017         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20018         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20019         * string/bug-strcasestr1.c: New test.
20020         * string/Makefile: Run it.
20021
20022 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20023
20024         [BZ #11607]
20025         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20026         the first character.
20027
20028 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20029
20030         * csu/elf-init.c (__libc_csu_irel): Function removed.
20031         * csu/libc-start.c (apply_irel): New function.
20032         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20033
20034 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20035
20036         * sysdeps/unix/sysv/linux/kernel-features.h
20037         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20038         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20039         <kernel-features.h>.
20040         [__NR_fadvise64_64]: Make code unconditional.
20041         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20042         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20043         !__NR_fadvise64_64)]: Likewise.
20044         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20045         !__NR_fadvise64_64))]: Likewise.
20046         [__NR_fadvise64]: Make code unconditional.
20047         [!__NR_fadvise64]: Remove conditional code.
20048         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20049         <kernel-features.h>.
20050         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20051         unconditional.
20052         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20053         conditional code.
20054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20055         not include <kernel-features.h>.
20056         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20057         unconditional.
20058         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20059         conditional code.
20060         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20061         include <kernel-features.h>.
20062         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20063         unconditional.
20064         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20065         conditional code.
20066
20067 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20068
20069         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20070         slight instruction rearrangements per scrollpipe analysis.
20071         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20072
20073 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20074
20075         * manual/syslog.texi (syslog; vsyslog, closelog):
20076         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20077         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20078
20079         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20080         DSOCAPS to match condition on defining it.
20081
20082 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20083
20084         * sysdeps/unix/sysv/linux/kernel-features.h
20085         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20087         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20088         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20090         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20091         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20093         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20094         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20095
20096         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20097         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20098
20099         * sysdeps/unix/sysv/linux/kernel-features.h
20100         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20101         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20102         unconditional.
20103         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20104         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20105         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20106         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20107         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20108         Make code unconditional.
20109         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20110         (__mmap64) [!__NR_mmap2]: Likewise.
20111         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20112         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20113         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20114         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20115         [__NR_mmap2]: Make code unconditional.
20116         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20117         (__mmap64) [!__NR_mmap2]: Likewise.
20118
20119 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20120
20121         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20122
20123 2012-08-18  Andreas Jaeger  <aj@suse.de>
20124
20125         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20126
20127 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20128
20129         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20130         * include/unistd.h (__have_sock_cloexec): Likewise.
20131         (__have_pipe2): Likewise.
20132         (__have_dup3): Likewise.
20133
20134 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20135
20136         [BZ #9685]
20137         * include/unistd.h (__have_pipe2): Change define into an extern int.
20138         (__have_dup3): Likewise.
20139         * socket/have_sock_cloexec.c: Include fcntl.h.
20140         (__have_pipe2): New variable.
20141         (__have_dup3): Likewise.
20142
20143 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20144
20145         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20146
20147 2012-08-17  Marek Polacek  <polacek@redhat.com>
20148
20149         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20150         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20151
20152 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20153
20154         * configure.in: Add AC_SUBST for sysheaders.
20155         * configure: Regenerated.
20156         * config.make.in (sysheaders): New substituted variable.
20157
20158         * sysdeps/unix/mkfifo.c: Moved ...
20159         * sysdeps/posix/mkfifo.c: ... here.
20160         * sysdeps/unix/mkfifoat.c: Moved ...
20161         * sysdeps/posix/mkfifoat.c: ... here.
20162
20163         * sysdeps/unix/utime.c: Moved ...
20164         * sysdeps/posix/utime.c: ... here.
20165
20166         * sysdeps/unix/time.c: Moved ...
20167         * sysdeps/posix/time.c: ... here.
20168         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20169         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20170
20171         * sysdeps/unix/nice.c: Moved ...
20172         * sysdeps/posix/nice.c: ... here.
20173
20174         * sysdeps/unix/alarm.c: Moved ...
20175         * sysdeps/posix/alarm.c: ... here.
20176
20177         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20178
20179 2012-08-17  Jeff Law <law@redhat.com>
20180
20181         * intl/Makefile (codeset_mo): New variable.
20182         ($(codeset_mo)): New target.
20183         (tst-codeset.out): Depend on that.  Remove explicit rule.
20184         (tst-gettext3.out, tst-gettext5.out): Likewise.
20185         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20186         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20187         * intl/tst-codeset.sh: Remove.
20188         * intl/tst-gettext3.sh: Likewise.
20189         * intl/tst-gettext5.sh: Likewise.
20190
20191 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20192
20193         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20194         * sysdeps/unix/syscalls.list: ... here.
20195
20196         * sysdeps/posix/getaddrinfo.c
20197         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20198         (gaiconf_init, gaiconf_reload): Use them.
20199         [!_STATBUF_ST_NSEC]
20200         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20201         Define using time_t rather than struct timespec.
20202
20203         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20204         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20205         Macros removed.
20206         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20207         [!NO_THREADS].
20208         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20209         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20210         Likewise.
20211
20212         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20213         __libc_cleanup_push argument.
20214
20215         * bits/param.h: New file.
20216         * misc/sys/param.h: New file.
20217         * include/sys/param.h: New file.
20218         * misc/Makefile (headers): Add bits/param.h.
20219         * sysdeps/generic/sys/param.h: File removed.
20220         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20221         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20222         * sysdeps/mach/hurd/bits/param.h: New file.
20223         * sysdeps/mach/hurd/sys/param.h: File removed.
20224
20225         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20226         last change.
20227
20228         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20229         [_IO_MTSAFE_IO].
20230         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20231         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20232         New macros.
20233
20234         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20235         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20236         rather than -D_IO_MTSAFE_IO conditionally.
20237         * stdio-common/Makefile (CPPFLAGS): Likewise.
20238         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20239         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20240         Use $(libio-mtsafe).
20241         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20242         of -D_IO_MTSAFE_IO.
20243         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20244         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20245         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20246         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20247         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20248         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20249         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20250         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20251         (CFLAGS-fread_u_chk.c): Likewise.
20252         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20253         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20254         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20255         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20256         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20257         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20258         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20259         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20260         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20261
20262         * libio/Makefile: Test [$(libc-reentrant) = yes]
20263         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20264
20265         * Makeconfig
20266         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20267         * sysdeps/pthread/configure: File removed.
20268         * sysdeps/pthread/Makeconfig: New file.
20269         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20270         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20271
20272 2012-08-16  Gary Benson  <gbenson@redhat.com>
20273
20274         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20275         unmapping the first object in a namespace.
20276
20277 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20278
20279         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20280         (__internal_setnetgrent): ... this.  Add internal_function to
20281         definition.  Add libc_hidden_def.
20282         (setnetgrent): Update caller.
20283         (internal_endnetgrent): Renamed to ...
20284         (__internal_endnetgrent): ... this.  Add internal_function to
20285         definition.  Add libc_hidden_def.
20286         (endnetgrent): Update caller.
20287         (internal_getnetgrent_r): Renamed to ...
20288         (__internal_getnetgrent_r): ... this.  Add internal_function to
20289         definition.  Add libc_hidden_def.
20290         (__getnetgrent_r): Update caller.
20291         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20292
20293 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20294
20295         * stdlib/longlong.h: Update from GCC.
20296
20297 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20298
20299         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20300         on _QL, which is set by umul_ppmm but never used.
20301         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20302         variables, which are set by GMP macros but never used.
20303         * stdio-common/_itowa.c (_itowa): Likewise.
20304         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20305         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20306
20307 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20308
20309         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20310         struct La_sh_regs is not constant.
20311         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20312         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20313         and struct La_sparc64_regs are not constant.
20314
20315 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20316
20317         * sysdeps/unix/sysv/linux/kernel-features.h
20318         (__ASSUME_POSIX_TIMERS): Remove.
20319         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20320         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20321         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20322         Make code unconditional.
20323         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20324         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20325         Make code unconditional.
20326         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20327         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20328         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20329         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20330         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20331         Make code unconditional.
20332         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20333         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20334         (__libc_missing_posix_timers): Remove.
20335
20336 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20337
20338         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20339         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20340
20341         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20342
20343         * elf/dl-sym.c: Include <stdlib.h>.
20344
20345         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20346         constants, which avoids warnings in 32-bit builds.
20347
20348         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20349         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20350
20351         * misc/lseek.c: File moved to ...
20352         * io/lseek.c: ... here.
20353
20354         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20355
20356         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20357         shifting LEN more than 31 bits at once.
20358
20359 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20360
20361         [BZ #14195]
20362         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20363         segmentation fault for a case of two empty input strings.
20364         * string/test-strncasecmp.c (check1): Renamed to...
20365         (bz12205): ...this.
20366         (bz14195): Add new testcase for two empty input strings and N > 0.
20367         (test_main): Call new testcase, adapt for renamed function.
20368
20369 2012-08-15  Andreas Jaeger  <aj@suse.de>
20370
20371         [BZ #14090]
20372         * crypt/md5test2.c: New test, based on test supplied by Serge
20373         Belyshev <belyshev@depni.sinp.msu.ru>.
20374         * crypt/Makefile (xtests): Add md5test-giant..
20375         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20376
20377 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20378
20379         [BZ #14090]
20380         * crypt/md5.c (md5_process_block): Don't assume the buffer
20381         length is less than 2**32.
20382         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20383         length is less than 2**64.
20384
20385 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20386
20387         * string/str-two-way.h: Include <sys/param.h>.
20388         (MAX): Macro removed.
20389
20390         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20391         Move #define and #undef of memmove to just before and after
20392         including <string.h>.
20393
20394         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20395         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20396         and after including <string.h>.  Move declarations of
20397         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20398         to before #include "string/memmove.c".
20399
20400         * include/dirent.h: Declare __getdirentries.
20401
20402         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20403         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20404
20405 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20406
20407         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20408         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20409         * sysdeps/i386/configure: Regenerated.
20410         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20411         STABS_CURRENT_FILE, and STABS_FUN.
20412         (END): Remove call to STABS_FUN_END.
20413         (STABS_CURRENT_FILE1): Delete.
20414         (STABS_CURRENT_FILE): Likewise.
20415         (STABS_FUN): Likewise.
20416         (STABS_FUN_END): Likewise.
20417         (STABS_FUN2): Likewise.
20418         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20419         * sysdeps/x86_64/configure: Regenerated.
20420
20421 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20422
20423         * elf/dl-open.c: Include <atomic.h>.
20424         * elf/dl-lookup.c: Likewise.
20425
20426 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20427
20428         * sysdeps/unix/sysv/linux/kernel-features.h
20429         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20430         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20431         unconditionally.
20432         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20433         unconditionally.
20434         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20435         condition on __ASSUME_CLONE_THREAD_FLAGS.
20436
20437 2012-08-14  Andreas Jaeger  <aj@suse.de>
20438
20439         * sysdeps/i386/fpu/libm-test-ulps: Update.
20440
20441 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20442
20443         * include/atomic.h (atomic_exchange_and_add): Split into ...
20444         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20445         New atomic macros.
20446
20447 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20448
20449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20450
20451 2012-08-13  Jeff Law <law@redhat.com>
20452
20453         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20454         null byte in the output string.
20455
20456 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20457
20458         * sysdeps/unix/sysv/linux/kernel-features.h
20459         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20460         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20461         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20462         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20463         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20464         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20465         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20466
20467 2012-08-09  Jeff Law <law@redhat.com>
20468
20469         [BZ #13939]
20470         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20471         When avoid_arena is set, don't retry in the that arena.  Pick the
20472         next one, whatever it might be.
20473         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20474         (arena_lock): Pass in new parameter to arena_get2.
20475         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20476         arena_get2.
20477         (__libc_malloc): Unify retrying after main arena failure with
20478         __libc_memalign version.
20479         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20480
20481 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20482
20483         [BZ #14166]
20484         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20485         to __redirect_strstr.
20486         (__strstr_sse42): Use typeof __redirect_strstr.
20487         (__strstr_ia32): Likewise.
20488         (__libc_strstr): New prototype.
20489         (strstr): Renamed to ...
20490         (__libc_strstr): This.
20491         (strstr): New strong alias of __libc_strstr.
20492         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20493         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20494         __redirect_time.
20495         Include <time.h>.
20496         (__libc_time): New prototype.
20497         (time_ifunc): Replace time with __libc_time.
20498         (time): New strong alias and hidden definition of __libc_time.
20499         (__GI_time): Remove strong alias.
20500         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20501         Include <stddef.h>.
20502         (memmove): Redefined to __redirect_memmove.
20503         (__memmove_sse2): Use typeof __redirect_memmove.
20504         (__memmove_ssse3): Likewise.
20505         (__memmove_ssse3_back): Likewise.
20506         (__libc_memmove): New prototype.
20507         (memmove): Renamed to ...
20508         (__libc_memmove): This.
20509         (memmove): New strong alias of __libc_memmove.
20510
20511 2012-08-08  Mark Salter  <msalter@redhat.com>
20512
20513         * elf/elf.h
20514         (R_MN10300_TLS_GD): Define.
20515         (R_MN10300_TLS_LD): Likewise.
20516         (R_MN10300_TLS_LDO): Likewise.
20517         (R_MN10300_TLS_GOTIE): Likewise.
20518         (R_MN10300_TLS_IE): Likewise.
20519         (R_MN10300_TLS_LE): Likewise.
20520         (R_MN10300_TLS_DTPMOD): Likewise.
20521         (R_MN10300_TLS_DTPOFF): Likewise.
20522         (R_MN10300_TLS_TPOFF): Likewise.
20523         (R_MN10300_SYM_DIFF): Likewise.
20524         (R_MN10300_ALIGN): Likewise.
20525         (R_MN10300_NUM): Update.
20526
20527 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20528
20529         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20530         Remove.
20531
20532 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20533
20534         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20535
20536         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20537         sysdeps/unix -> sysdeps/posix move.
20538         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20539
20540 2012-08-07      Allan McRae     <allan@archlinux.org>
20541
20542         [BZ #14303]
20543         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20544         (SUNOS_CPP): Likewise.
20545         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20546         not found.
20547         (open_input): Call CPP using execvp.
20548
20549 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20550
20551         * sysdeps/unix/sysv/linux/kernel-features.h
20552         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20553         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20554         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20555         (__ASSUME_WAITID_SYSCALL): Likewise.
20556         * sysdeps/unix/sysv/linux/dl-execstack.c
20557         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20558         code unconditional.
20559         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20560         conditional code.
20561         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20562         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20563         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20564         code.
20565         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20566         unconditional.
20567         [__ASSUME_WAITID_SYSCALL]: Likewise.
20568         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20569
20570 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20571
20572         * sysdeps/unix/closedir.c: Renamed to ...
20573         * sysdeps/posix/closedir.c: ... here.
20574         * sysdeps/unix/dirfd.c: Renamed to ...
20575         * sysdeps/posix/dirfd.c: ... here.
20576         * sysdeps/unix/dirstream.h: Renamed to ...
20577         * sysdeps/posix/dirstream.h: ... here.
20578         * sysdeps/unix/fdopendir.c: Renamed to ...
20579         * sysdeps/posix/fdopendir.c: ... here.
20580         * sysdeps/unix/opendir.c: Renamed to ...
20581         * sysdeps/posix/opendir.c: ... here.
20582         * sysdeps/unix/readdir.c: Renamed to ...
20583         * sysdeps/posix/readdir.c: ... here.
20584         * sysdeps/unix/readdir_r.c: Renamed to ...
20585         * sysdeps/posix/readdir_r.c: ... here.
20586         * sysdeps/unix/rewinddir.c: Renamed to ...
20587         * sysdeps/posix/rewinddir.c: ... here.
20588         * sysdeps/unix/seekdir.c: Renamed to ...
20589         * sysdeps/posix/seekdir.c: ... here.
20590         * sysdeps/unix/telldir.c: Renamed to ...
20591         * sysdeps/posix/telldir.c: ... here.
20592         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20593         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20594         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20595         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20596
20597         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20598         * bits/fcntl.h: ... here.
20599
20600         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20601         not 0.
20602         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20603         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20604         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20605         (struct flock): Move l_start, l_len to the beginning.
20606         Use __pid_t for l_pid.
20607         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20608         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20609         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20610         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20611         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20612         [__USE_LARGEFILE64] (struct flock64): New type.
20613         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20614
20615         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20616         * bits/dirent.h: ... here.
20617
20618         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20619         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20620
20621 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20622
20623         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20624         Change from 2.6.0 to 2.6.16.
20625         * sysdeps/unix/sysv/linux/configure: Regenerated.
20626         * sysdeps/unix/sysv/linux/kernel-features.h
20627         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20628         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20629         version.
20630         (__ASSUME_UTIMES): Likewise.
20631         (__ASSUME_CLONE_STOPPED): Remove.
20632         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20633         architectures, not kernel version.
20634         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20635         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20636         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20637         (__ASSUME_WAITID_SYSCALL): Likewise.
20638         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20639         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20640         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20641         refer to older versions.
20642
20643 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20644
20645         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20646         Define alphasort64 as an alias.
20647         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20648         Define versionsort64 as an alias.
20649         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20650         Define scandir64 as an alias.
20651         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20652         Define scandirat64 as an alias.
20653         * dirent/alphasort64.c (alphasort64):
20654         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20655         * dirent/versionsort64.c: Likewise.
20656         * dirent/scandir64.c: Likewise.
20657         * dirent/scandirat64.c: Likewise.
20658         * sysdeps/wordsize-64/alphasort.c: File removed.
20659         * sysdeps/wordsize-64/alphasort64.c: File removed.
20660         * sysdeps/wordsize-64/scandir.c: File removed.
20661         * sysdeps/wordsize-64/scandir64.c: File removed.
20662         * sysdeps/wordsize-64/scandirat.c: File removed.
20663         * sysdeps/wordsize-64/scandirat64.c: File removed.
20664         * sysdeps/wordsize-64/versionsort.c: File removed.
20665         * sysdeps/wordsize-64/versionsort64.c: File removed.
20666         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20667         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20668         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20669         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20670         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20671         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20672         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20673         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20674
20675         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20676         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20677         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20678         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20679         [defined __arch64__ || defined __sparcv9]
20680         (__INO_T_MATCHES_INO64_T): New macro.
20681         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20682         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20683         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20684         * sysdeps/unix/sysv/linux/bits/dirent.h
20685         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20686         (_DIRENT_MATCHES_DIRENT64): New macro.
20687
20688         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20689         Define lockf64 as an alias.
20690         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20691         Define fseeko64 as an alias.
20692         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20693         Define ftello64 as an alias.
20694         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20695         Define _IO_fgetpos64 and fgetpos64 as aliases.
20696         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20697         Define _IO_fsetpos64 and fsetpos64 as aliases.
20698         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20699         Conditionalize body on this.
20700         * libio/fseeko64.c: Likewise.
20701         * libio/ftello64.c: Likewise.
20702         * libio/iofgetpos64.c: Likewise.
20703         * libio/iofsetpos64.c: Likewise.
20704         * sysdeps/wordsize-64/lockf.c: File removed.
20705         * sysdeps/wordsize-64/lockf64.c: File removed.
20706         * sysdeps/wordsize-64/fseeko.c: File removed.
20707         * sysdeps/wordsize-64/fseeko64.c: File removed.
20708         * sysdeps/wordsize-64/ftello.c: File removed.
20709         * sysdeps/wordsize-64/ftello64.c: File removed.
20710         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20711         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20712         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20713         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20714         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20716         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20717         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20718         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20719         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20720         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20721         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20722         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20723         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20724
20725         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20727         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20729         [defined __arch64__ || defined __sparcv9]
20730         (__OFF_T_MATCHES_OFF64_T): New macro.
20731         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20732         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20733         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20734         (__OFF_T_MATCHES_OFF64_T): New macro.
20735
20736 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20737
20738         * stdlib/secure-getenv.c (__secure_getenv): Replace
20739         GLIBC_2_16 with GLIBC_2_17.
20740
20741 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20742
20743         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20744         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20745
20746 2012-08-03  David S. Miller  <davem@davemloft.net>
20747
20748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20749
20750 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20751
20752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20753         Remove.
20754         (__ASSUME_CORRECT_SI_PID): Likewise.
20755         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20756         (__ASSUME_TMPFS_NAME): Likewise.
20757         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20758         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20759         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20760         (HAVE_AUX_SECURE): Make definition unconditional.
20761         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20762         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20763
20764 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20765
20766         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20767         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20768         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20769         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20770         __eloop_threshold instead of SYMLOOP_MAX.
20771
20772         * sysdeps/generic/eloop-threshold.h: New file.
20773         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20774         of MAXSYMLINKS.
20775         * elf/chroot_canon.c (chroot_canon): Likewise.
20776
20777 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20778
20779         [BZ #13717]
20780         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20781         Change to 2.6.0 everywhere.
20782         * sysdeps/unix/sysv/linux/configure: Regenerated.
20783         * sysdeps/unix/sysv/linux/kernel-features.h
20784         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20785         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20786         kernel versions.
20787         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20788         (__ASSUME_FUTEX_REQUEUE): Remove.
20789         (__ASSUME_STATFS64): Define unconditionally.
20790         (__ASSUME_AT_SECURE): Likewise.
20791         (__ASSUME_CORRECT_SI_PID): Likewise.
20792         (__ASSUME_TGKILL): Define without depending on kernel version for
20793         i386.
20794         (__ASSUME_UTIMES): Likewise.
20795         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20796         kernel version.
20797         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20798         (__ASSUME_TMPFS_NAME): Likewise.
20799         * README: Update reference to Linux kernel versions.
20800
20801 2012-08-02  Marek Polacek  <polacek@redhat.com>
20802
20803         [BZ# 14150]
20804         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20805         libc_cv_asm_type_prefix with %.
20806         * configure: Regenerated.
20807         * include/libc-symbols.h: Remove comment about
20808         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20809         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20810         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20811         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20812         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20813         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20814         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20815         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20816         * elf/tst-unique2mod1.c: Likewise.
20817         * elf/tst-unique1mod2.c: Likewise.
20818         * elf/tst-unique1mod1.c: Likewise.
20819         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20820         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20821         Replace ASM_TYPE_DIRECTIVE with .type.
20822         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20823         * sysdeps/i386/sysdep.h: Likewise.
20824         * sysdeps/x86_64/sysdep.h: Likewise.
20825         * sysdeps/sh/sysdep.h: Likewise.
20826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20827         Do not define ASM_TYPE_DIRECTIVE.
20828         * sysdeps/powerpc/sysdep.h: Likewise.
20829         * sysdeps/powerpc/powerpc32/sysdep.h:
20830         Replace ASM_TYPE_DIRECTIVE with .type.
20831         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20832         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20833         * sysdeps/i386/fpu/e_powf.S: Likewise.
20834         * sysdeps/i386/fpu/e_expl.S: Likewise.
20835         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20836         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20837         * sysdeps/i386/fpu/e_pow.S: Likewise.
20838         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20839         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20840         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20841         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20842         * sysdeps/i386/fpu/e_log2.S: Likewise.
20843         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20844         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20845         * sysdeps/i386/fpu/e_powl.S: Likewise.
20846         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20847         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20848         * sysdeps/i386/fpu/e_logl.S: Likewise.
20849         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20850         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20851         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20852         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20853         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20854         * sysdeps/i386/fpu/e_log.S: Likewise.
20855         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20856         * sysdeps/i386/fpu/e_logf.S: Likewise.
20857         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20858         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20859         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20860         * sysdeps/i386/fpu/e_log10.S: Likewise.
20861         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20862         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20863         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20864         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20865         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20866         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20867         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20868         * sysdeps/i386/i686/strtok.S: Likewise.
20869         * sysdeps/i386/i386-mcount.S: Likewise.
20870         * sysdeps/i386/strtok.S: Likewise.
20871         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20872         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20873         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20874         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20875         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20876         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20877         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20878         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20879         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20880         * sysdeps/x86_64/_mcount.S: Likewise.
20881         * sysdeps/x86_64/strtok.S: Likewise.
20882         * sysdeps/sh/_mcount.S: Likewise.
20883
20884 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20885
20886         * libio/iofopen.c: Include <fcntl.h>.
20887         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20888         (_IO_fopen64, fopen64): Define as aliases.
20889         * libio/iofopen64.c: Include <fcntl.h>.
20890         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20891         Conditionalize body on this.
20892         * sysdeps/wordsize-64/iofopen.c: File removed.
20893         * sysdeps/wordsize-64/iofopen64.c: File removed.
20894
20895 2012-08-01  Marek Polacek  <polacek@redhat.com>
20896
20897         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20898         Use dlfcn directly instead of a variable.
20899         (binfmt-subdir): Do not define.
20900         (dlfcn): Likewise.
20901
20902 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20903
20904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20905         Remove all definitions.
20906         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20907         <kernel-features.h>.
20908         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20909         (miss_F_GETOWN_EX): Remove all definitions.
20910         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20911         macro definition.
20912         [!__ASSUME_FCNTL64]: Remove conditional code.
20913         [__ASSUME_FCNTL64]: Make code unconditional.
20914         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20915         <kernel-features.h>.
20916         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20917         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20918         (lockf64) [__NR_fcntl64]: Make code unconditional.
20919         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20920
20921         * sysdeps/unix/sysv/linux/kernel-features.h
20922         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20923         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20924         Make code unconditional.
20925         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20926         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20928         [__NR_vfork]: Make code unconditional.
20929         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20930         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20932         [__NR_vfork]: Make code unconditional.
20933         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20934         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20935
20936 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20937
20938         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20939         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20940
20941         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20942         Define mkstemp64 as an alias.
20943         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20944         Define mkstemps64 as an alias.
20945         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20946         Define mkostemp64 as an alias.
20947         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20948         Define mkostemps64 as an alias.
20949         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20950         Conditionalize body on this.
20951         * misc/mkostemp64.c: Likewise.
20952         * misc/mkostemps64.c: Likewise.
20953         * misc/mkstemps64.c: Likewise.
20954         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20955         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20956         * sysdeps/wordsize-64/mkostemp.c: File removed.
20957         * sysdeps/wordsize-64/mkstemp.c: File removed.
20958         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20959         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20960         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20961         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20962
20963         [BZ #14138]
20964         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20965         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20966         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20967         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20968
20969         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20970         compat_symbol macros from <shlib-compat.h> rather than the underlying
20971         default_symbol_version and symbol_version macros, so that DEFAULT
20972         lines in shlib-versions are respected.
20973         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20974
20975 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20976
20977         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20978         Declare with warn_unused_result.
20979         (setgid, setregid, setegid, setresgid): Likewise.
20980         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20981         Likewise.
20982         * WUR-REPORT: Remove set*id functions.
20983
20984 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20985
20986         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20987
20988 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20989
20990         [BZ #10191]
20991         * include/sys/socket.h (__libc_accept, __libc_accept4):
20992         Add attribute_hidden.
20993         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20994
20995         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20996         use of PTR_MANGLE.
20997         * inet/getnetgrent_r.c (setup): Likewise.
20998
20999         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21000
21001 2012-07-31  David S. Miller  <davem@davemloft.net>
21002
21003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21004
21005 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21006
21007         [BZ #13629]
21008         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21009         value between 1.0 and 2.0 and smaller part has absolute value less
21010         than 1.0.
21011         * math/s_clog10.c (__clog10): Likewise.
21012         * math/s_clog10f.c (__clog10f): Likewise.
21013         * math/s_clog10l.c (__clog10l): Likewise.
21014         * math/s_clogf.c (__clogf): Likewise.
21015         * math/s_clogl.c (__clogl): Likewise.
21016         * math/libm-test.inc (clog_test): Add more tests.
21017         (clog10_test): Likewise.
21018         * sysdeps/i386/fpu/libm-test-ulps: Update.
21019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21020
21021 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21022
21023         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21024         Exit with zero in case no suitable GID is found, and write a
21025         message to standard error.
21026
21027 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21028
21029         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21030         rather than to 1.
21031         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21032         (MAXPATHLEN): Removed.
21033         (NOGROUP, NODEV): New macros.
21034         (setbit, clrbit, isset, isclr): New macros.
21035         (howmany, roundup, powerof2): New macros.
21036         (DEV_BSIZE): New macro.
21037
21038         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21039         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21040
21041         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21042         definition on [!__NO_LONG_DOUBLE_MATH].
21043
21044         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21045         PTR_MANGLE and PTR_DEMANGLE.
21046
21047         * socket/accept4.c (accept4): Rename to __libc_accept4.
21048         Define accept4 as a weak alias.
21049
21050         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21051         on [_DIRENT_HAVE_D_TYPE].
21052         * io/ftw.c (ftw_dir): Likewise.
21053
21054         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21055
21056         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21057
21058         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21059         Use the BSD numbers rather than the arbitrary ones we had.
21060         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21061         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21062         (SIGXCPU, SIGXFSZ): New macros.
21063         (_NSIG): Now 32.
21064
21065         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21066         initializer on [_LIBC_REENTRANT].
21067
21068         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21069         definitions inside [_POSIX_MAPPED_FILES].
21070
21071         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21072
21073         * dirent/opendir.c: Include <fcntl.h>.
21074
21075         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21076         (__libc_getspecific): Likewise.
21077         (__libc_key_create): Likewise.
21078
21079         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21080         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21081         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21082         (tmpfile64): Define as alias.
21083         * sysdeps/wordsize-64/tmpfile.c: File removed.
21084         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21085         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21087
21088         * stdio-common/vfscanf.c: Include <stdbool.h>.
21089         * nss/makedb.c: Likewise.
21090         * stdio-common/_i18n_number.h: Likewise.
21091         * argp/argp-help.c: Likewise.
21092         * posix/wordexp.c: Likewise.
21093         * sysdeps/posix/spawni.c: Likewise.
21094         * nss/nss_files/files-initgroups.c: Likewise.
21095         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21096         * nss/nss_files/files-initgroups.c: Likewise.
21097         * nss/nss_db/db-netgrp.c: Likewise.
21098         * nss/nss_db/db-initgroups.c: Likewise.
21099         * io/fchmodat.c: Include <sys/stat.h>.
21100
21101         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21102         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21103
21104         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21105         [HAVE_MMAP].
21106
21107         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21108         Add multiple inclusion protection.
21109
21110 2012-07-27  David S. Miller  <davem@davemloft.net>
21111
21112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21113
21114 2012-07-27  Gary Benson  <gbenson@redhat.com>
21115
21116         [BZ #14298]
21117         * elf/rtld.c: Include <stap-probe.h>.
21118         (dl_main): Added static probes "init_start" and "init_complete".
21119         * elf/dl-load.c: Include <stap-probe.h>.
21120         (lose): Take new parameter "nsid".
21121         Added static probe "map_failed".
21122         (_dl_map_object_from_fd): Pass namespace id to lose.
21123         Added static probe "map_start".
21124         (open_verify): Pass namespace id to lose.
21125         * elf/dl-open.c: Include <stap-probe.h>.
21126         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21127         and "reloc_complete".
21128         * elf/dl-close.c: Include <stap-probe.h>.
21129         (_dl_close_worker): Added static probes "unmap_start" and
21130         "unmap_complete".
21131         * elf/rtld-debugger-interface.txt: New file documenting the above.
21132
21133 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21134
21135         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21136         rather than a string variable.
21137         * sunrpc/rpc_main.c (h_output): Likewise.
21138         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21139
21140 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21141
21142         * inet/check_native.c: New file.
21143
21144 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21145
21146         [BZ #13629]
21147         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21148         if larger part has absolute value 1.0.
21149         * math/s_clog10.c (__clog10): Likewise.
21150         * math/s_clog10f.c (__clog10f): Likewise.
21151         * math/s_clog10l.c (__clog10l): Likewise.
21152         * math/s_clogf.c (__clogf): Likewise.
21153         * math/s_clogl.c (__clogl): Likewise.
21154         * math/libm-test.inc (clog_test): Add more tests.
21155         (clog10_test): Likewise.
21156         * sysdeps/i386/fpu/libm-test-ulps: Update.
21157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21158
21159         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21160         (pltexit): Likewise.
21161         (La_regs): Likewise.
21162         (La_retval): Likewise.
21163         (int_retval): Likewise.
21164         Update #error for removed macros to refer only to definitions in
21165         tst-audit.h.
21166         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21167         macro.
21168         (pltexit): Likewise.
21169         (La_regs): Likewise.
21170         (La_retval): Likewise.
21171         (int_retval): Likewise.
21172         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21173         macro.
21174         (pltexit): Likewise.
21175         (La_regs): Likewise.
21176         (La_retval): Likewise.
21177         (int_retval): Likewise.
21178         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21179         macro.
21180         (pltexit): Likewise.
21181         (La_regs): Likewise.
21182         (La_retval): Likewise.
21183         (int_retval): Likewise.
21184         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21185         macro.
21186         (pltexit): Likewise.
21187         (La_regs): Likewise.
21188         (La_retval): Likewise.
21189         (int_retval): Likewise.
21190         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21191         macro.
21192         (pltexit): Likewise.
21193         (La_regs): Likewise.
21194         (La_retval): Likewise.
21195         (int_retval): Likewise.
21196         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21197         macro.
21198         (pltexit): Likewise.
21199         (La_regs): Likewise.
21200         (La_retval): Likewise.
21201         (int_retval): Likewise.
21202         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21203         macro definitions in tst-audit.h.
21204         * sysdeps/i386/tst-audit.h: New file.
21205         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21206         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21207         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21208         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21209         * sysdeps/sh/tst-audit.h: Likewise.
21210         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21211         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21212         * sysdeps/x86_64/tst-audit.h: Likewise.
21213
21214 2012-07-26  Andreas Jaeger  <aj@suse.de>
21215
21216         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21217         ptrace.
21218
21219         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21220         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21221         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21222         PTRACE_O_MASK.
21223         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21224         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21225         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21226
21227         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21228         value.
21229
21230         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21231         _sigsys.
21232         (si_call_addr, si_syscall, si_arch): Define new macro.
21233         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21234         _sigsys.
21235         (si_call_addr, si_syscall, si_arch): Define new marcro.
21236         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21237         _sigsys.
21238         (si_call_addr, si_syscall, si_arch): Define new macro.
21239         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21240         _sigsys.
21241         (si_call_addr, si_syscall, si_arch): Define new macro.
21242
21243 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21244
21245         [BZ #13717]
21246         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21247         Change to 2.4.21 where previously 2.4.1.
21248         * sysdeps/unix/sysv/linux/configure: Regenerated.
21249         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21250         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21251         Linux kernel version.
21252         (__ASSUME_STD_AUXV): Remove.
21253         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21254         kernel version.
21255         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21256         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21257         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21258         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21259         (__ASSUME_NETLINK_SUPPORT): Likewise.
21260         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21261         (__no_netlink_support): Remove conditional definition.
21262         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21263         Remove.
21264         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21265         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21266         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21267         (if_nameindex_ioctl): Remove.
21268         (if_nameindex_netlink): Do not handle __no_netlink_support.
21269         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21270         code.
21271         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21272         Remove conditional code.
21273         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21274         code.
21275         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21276         unconditional.
21277         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21278         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21279         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21280         Remove.
21281         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21282         [!__ASSUME_STD_AUXV]: Remove conditional code.
21283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21284         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21285         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21287         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21288         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21289         code.
21290         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21292         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21293         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21294         conditional code.
21295         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21297         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21298         code.
21299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21300         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21301         conditional code.
21302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21303         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21304         code unconditional.
21305         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21306         conditional code.
21307         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21308         unconditional.
21309         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21310         conditional code.
21311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21312         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21313         unconditional.
21314         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21315         conditional code.
21316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21317         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21318         code unconditional.
21319         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21320         conditional code.
21321         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21322         unconditional.
21323         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21324         conditional code.
21325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21326         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21327         code unconditional.
21328         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21329         conditional code.
21330         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21331         unconditional.
21332         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21333         conditional code.
21334
21335 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21336
21337         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21338         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21339         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21340         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21341         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21342         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21343         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21344         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21345         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21346         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21347         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21348         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21349         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21350         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21351         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21352         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21353         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21354         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21355         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21357         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21358         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21359         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21360
21361 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21362
21363         * Versions.def: Add GLIBC_2.17.
21364         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21365         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21366         Introduce __libc_secure_getenv.
21367         * stdlib/Versions (2.17): Add secure_getenv
21368         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21369         * stdlib/secure-getenv.c: Rename __secure_getenv to
21370         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21371         symbol __secure_getenv for GLIBC_2.0.
21372         * stdlib/tst-secure-getenv.c: New.
21373         * stdlib/Makefile (tests): Add testcase.
21374         * manual/startup.texi (Environment Access): Document
21375         secure_getenv.
21376         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21377         __libc_secure_getenv.
21378         * inet/ruserpass.c (ruserpass): Likewise.
21379         * malloc/mtrace.c (mtrace): Likewise.
21380         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21381         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21382         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21383         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21384         HAVE_SECURE_GETENV.
21385         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21386         __secure_getenv to __libc_secure_getenv.
21387         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21389         Likewise.
21390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21391         Likewise.
21392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21394         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21399
21400 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21401
21402         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21403         (struct La_i86_retval): Likewise.
21404         (struct La_x86_64_regs): Likewise.
21405         (struct La_x86_64_retval): Likewise.
21406         (struct La_x32_regs): Likewise.
21407         (struct La_x32_retval): Likewise.
21408         (struct La_ppc32_regs): Likewise.
21409         (struct La_ppc32_retval): Likewise.
21410         (struct La_ppc64_regs): Likewise.
21411         (struct La_ppc64_retval): Likewise.
21412         (struct La_sh_regs): Likewise.
21413         (struct La_sh_retval): Likewise.
21414         (struct La_s390_32_regs): Likewise.
21415         (struct La_s390_32_retval): Likewise.
21416         (struct La_s390_64_regs): Likewise.
21417         (struct La_s390_64_retval): Likewise.
21418         (struct La_sparc32_regs): Likewise.
21419         (struct La_sparc32_retval): Likewise.
21420         (struct La_sparc64_regs): Likewise.
21421         (struct La_sparc64_retval): Likewise.
21422         (struct audit_ifaces): Remove architecture-specific pltenter and
21423         pltexit members.
21424         * sysdeps/i386/ldsodefs.h: New file.
21425         * sysdeps/powerpc/ldsodefs.h: Likewise.
21426         * sysdeps/s390/ldsodefs.h: Likewise.
21427         * sysdeps/sh/ldsodefs.h: Likewise.
21428         * sysdeps/sparc/ldsodefs.h: Likewise.
21429         * sysdeps/x86_64/ldsodefs.h: Likewise.
21430
21431 2012-07-25  Marek Polacek  <polacek@redhat.com>
21432
21433         [BZ #6808]
21434         * math/libm-test.inc (yn_test): Add another test.
21435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21436         to ERANGE when the result is +-Inf.
21437         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21438         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21439         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21440         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21441
21442 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21443
21444         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21445         equal to 0.
21446         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21447         clock_t.
21448         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21449
21450 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21451
21452         * configure.in <sysdeps resolving>: Correct printing
21453         Implies_before.
21454         * configure: Regenerate.
21455
21456 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21457
21458         * math/w_ilogb.c: Include <limits.h>.
21459         * math/w_ilogbl.c: Likewise.
21460
21461 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21462
21463         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21464         va_copy.  Document allowing for unavailable va_copy only as
21465         pre-C99 compatibility.
21466         * manual/string.texi (Copying and Concatenation): Use va_copy
21467         instead of __va_copy in concat example.
21468
21469 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21470
21471         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21472         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21473         it if not null.
21474
21475         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21476         with O_NOLINK passed to __file_name_lookup.
21477
21478         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21479         with O_NOLINK passed to __file_name_lookup.
21480
21481         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21482         negative N or less than NGIDS.
21483
21484         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21485         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21486         enough.  Use memcpy instead of strncpy.
21487
21488 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21489
21490         * elf/Makefile (check-data): Remove.
21491         (localplt.data): New vpath directive.
21492         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21493         instead of $(check-data).
21494         * scripts/data/localplt-generic.data: Move to ...
21495         * sysdeps/generic/localplt.data: ... here.
21496         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21497         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21498         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21500         ... here.
21501         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21503         ... here.
21504         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21506         ... here.
21507         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21509         ... here.
21510         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21512         ... here.
21513         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21515         ... here.
21516
21517 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21518
21519         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21520         PPC32 and PPC64 files.
21521         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21522         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21523
21524 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21525
21526         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21527         __makecontext_ret to ...
21528         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21529         ... here and call exit if uc_link is NULL.  New file.
21530         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21531         __makecontext_ret.S.
21532         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21533         __makecontext_ret to ...
21534         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21535         ... here and call exit if uc_link is NULL.  New file.
21536         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21537         __makecontext_ret.S.
21538
21539 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21540
21541         * elf/elf.h (R_390_IRELATIVE): New definition.
21542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21543         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21544         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21545         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21546         (elf_machine_lazy_rel): Likewise.
21547         * sysdeps/s390/dl-irel.h: New file.
21548         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21549         * sysdeps/s390/s390-64/memset.S: New asm code.
21550         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21551         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21552         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21553         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21554         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21555         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21556         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21557         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21558         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21559         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21560         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21561         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21562         * sysdeps/s390/s390-32/memset.S: New asm code.
21563         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21564
21565 2012-07-17  Marek Polacek  <polacek@redhat.com>
21566
21567         [BZ #14349]
21568         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21569         * sysdeps/s390/s390-64/configure.in: Likewise.
21570         * sysdeps/sparc/configure.in: Likewise.
21571         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21572         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21573         * sysdeps/i386/configure.in: Likewise.
21574         * sysdeps/x86_64/configure.in: Likewise.
21575         * sysdeps/sh/configure.in: Likewise.
21576         * sysdeps/s390/s390-32/configure: Regenerated.
21577         * sysdeps/s390/s390-64/configure: Likewise.
21578         * sysdeps/x86_64/configure: Likewise.
21579         * sysdeps/sh/configure: Likewise.
21580         * sysdeps/powerpc/powerpc64/configure: Likewise.
21581         * sysdeps/powerpc/powerpc32/configure: Likewise.
21582         * sysdeps/sparc/configure: Likwise.
21583         * sysdeps/i386/configure: Likewise.
21584
21585         * elf/dl-open.c: Comment fixes.
21586
21587 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21588
21589         * Makefile [CXX] (check-data): Remove.
21590         [CXX] (c++-types.data): New vpath directive.
21591         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21592         vpath.  Do not allow for C++ type data being missing.
21593         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21594         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21595         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21596         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21597         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21598         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21599         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21601         ... here.
21602         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21604         ... here.
21605         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21607         ... here.
21608         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21610         ... here.
21611         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21613         ... here.
21614         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21616         ... here.
21617         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21619         ... here.
21620         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21622
21623         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21624         definitions to architecture-specific files.
21625         (TLS_IE): Likewise.
21626         (TLS_LD): Likewise.
21627         (TLS_GD): Likewise.
21628         * sysdeps/i386/tls-macros.h: New file.
21629         * sysdeps/powerpc/tls-macros.h: Likewise.
21630         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21631         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21632         * sysdeps/sh/tls-macros.h: Likewise.
21633         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21634         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21635         * sysdeps/x86_64/tls-macros.h: Likewise.
21636
21637 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21638
21639         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21640         zero value for regular exit case.
21641
21642         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21643         (__start_context): Preserve zero value for regular exit case.
21644
21645 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21646             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21647
21648         * manual/setjmp.texi (setcontext): Clarify normal process
21649         termination when uc_link is the null pointer.
21650         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21651         exit call.
21652
21653 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21654
21655         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21656         preprocessor.  Test for each exception mask separately.
21657
21658 2012-07-16  Andreas Jaeger  <aj@suse.de>
21659
21660         * po/ru.po: Update from translation team.
21661
21662 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21663
21664         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21665         equal to 0.
21666         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21667         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21668         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21669         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21670         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21671
21672 2012-07-13  Andreas Jaeger  <aj@suse.de>
21673
21674         * po/fr.po: Update from translation team.
21675
21676 2012-07-12  Marek Polacek  <polacek@redhat.com>
21677
21678         [BZ #14173]
21679         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21681         loop condition.
21682
21683 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21684
21685         [BZ #13717]
21686         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21687         Change to 2.4.1 where previously 2.4.0.
21688         * sysdeps/unix/sysv/linux/configure: Regenerated.
21689         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21690         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21691         version.
21692         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21693         (__ASSUME_AT_CLKTCK): Remove.
21694         (__ASSUME_AT_PAGESIZE): Likewise.
21695         (__ASSUME_AT_XID): Likewise.
21696         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21697         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21698         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21699         unconditionally.
21700         (HAVE_AUX_PAGESIZE): Likewise.
21701         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21702         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21703         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21704
21705 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21706
21707         [BZ #14307]
21708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21709         the temporary buffer used to invoke __gethostbyname2_r,
21710         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21711         host_data / struct gaih_addrtuple.
21712         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21713         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21714         header file nss/nsswitch.h.
21715         * nss/nsswitch.h (global scope): Add definition of implementation
21716         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21717         resolv/nss_dns/dns-host.c).
21718
21719 2012-07-11  Andreas Jaeger  <aj@suse.de>
21720
21721         * po/fr.po: Update from translation team.
21722
21723         * po/sv.po: Update from translation team
21724         * po/fr.po: Another update from translation team.
21725
21726 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21727
21728         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21729         for subnormals or multiply small sinh result by itself.
21730         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21732
21733 2012-07-11  David S. Miller  <davem@davemloft.net>
21734
21735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21736
21737 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21738
21739         [BZ #14347]
21740         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21741         (INTERNAL_MARK): Shift it here.
21742
21743 2012-07-10  Marek Polacek  <polacek@redhat.com>
21744
21745         [BZ #14151]
21746         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21747         libc_cv_asm_global_directive with .globl.
21748         * configure: Regenerated.
21749         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21750         with .globl.
21751         * sysdeps/i386/configure: Regenerated.
21752         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21753         with .globl.
21754         * sysdeps/x86_64/configure: Regenerated.
21755         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21756         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21757         * elf/tst-unique2mod2.c: Likewise.
21758         * elf/tst-unique2mod1.c: Likewise.
21759         * elf/tst-unique1mod2.c: Likewise.
21760         * elf/tst-unique1mod1.c: Likewise.
21761         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21762         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21763         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21764         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21765         * sysdeps/mach/sysdep.h: Likewise.
21766         * sysdeps/i386/sysdep.h: Likewise.
21767         * sysdeps/i386/i386-mcount.S: Likewise.
21768         * sysdeps/x86_64/_mcount.S: Likewise.
21769         * sysdeps/x86_64/sysdep.h: Likewise.
21770         * sysdeps/sh/_mcount.S: Likewise.
21771         * sysdeps/sh/sysdep.h: Likewise.
21772         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21773         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21774         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21775         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21776         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21777         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21778         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21779         * locale/localeinfo.h: Likewise.
21780         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21781         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21782
21783 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21784
21785         [BZ #14336]
21786         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21787         system".
21788         * manual/message.texi (The Uniforum approach): Likewise.
21789         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21790         (glibc iconv Implementation): Likewise.
21791
21792 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21793
21794         [BZ #14337]
21795         * math/s_clog.c (__clog): Avoid scaling a value down where that
21796         could result in underflow.
21797         * math/s_clog10.c (__clog10): Likewise.
21798         * math/s_clog10f.c (__clog10f): Likewise.
21799         * math/s_clog10l.c (__clog10l): Likewise.
21800         * math/s_clogf.c (__clogf): Likewise.
21801         * math/s_clogl.c (__clogl): Likewise.
21802         * math/libm-test.inc (clog_test): Add more tests.
21803         (clog10_test): Likewise.
21804         * sysdeps/i386/fpu/libm-test-ulps: Update.
21805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21806
21807 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21808
21809         [BZ #14283]
21810         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21811         by 7 not 8 to examine high bit of fractional part.
21812
21813         [BZ #14042]
21814         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21815         for call to __mcount_internal.
21816         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21817         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21818         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21819
21820 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21821
21822         [BZ #14154]
21823         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21824         approximation for values within 0x1p-13f of an odd multiple of
21825         pi/4.
21826         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21827         exception.  Add more tests.
21828         * sysdeps/i386/fpu/libm-test-ulps: Update.
21829
21830         [BZ #6778]
21831         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21832         inputs and return -1 for them.  Do not check for +Inf in case not
21833         reachable for +Inf.
21834         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21835         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21836         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21837         and return -1 for them.  Do not check for +Inf in case not
21838         reachable for +Inf.
21839         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21840         define.
21841         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21842         and return -1 for them.  Do not check for +Inf in case not
21843         reachable for +Inf.
21844         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21845         spurious underflow.
21846         * sysdeps/i386/fpu/libm-test-ulps: Update.
21847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21848
21849 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21850
21851         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21852
21853 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21854
21855         [BZ #14157]
21856         [BZ #14331]
21857         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21858         could result in spurious underflow.  Scale down values above
21859         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21860         * math/s_csqrtf.c (__csqrtf): Likewise.
21861         * math/s_csqrtl.c (__csqrtl): Likewise.
21862         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21863         spurious underflow.
21864         * sysdeps/i386/fpu/libm-test-ulps: Update.
21865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21866
21867 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21868
21869         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21870         xopen-msg.sed.
21871         * catgets/xopen-msg.awk: New file.
21872         * catgets/xopen-msg.sed: Removed.
21873
21874         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21875         po2text.sed.
21876         * intl/po2test.awk: New file.
21877         * intl/po2test.sed: Removed.
21878
21879 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21880
21881         [BZ #14328]
21882         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21883         or multiply small sinh result by itself.
21884         * math/s_ctanf.c (__ctanf): Likewise.
21885         * math/s_ctanh.c (__ctanh): Likewise.
21886         * math/s_ctanhf.c (__ctanhf): Likewise.
21887         * math/s_ctanhl.c (__ctanhl): Likewise.
21888         * math/s_ctanl.c (__ctanl): Likewise.
21889         * math/libm-test.inc (ctan_test_tonearest): New function.
21890         (ctan_test_towardzero): Likewise.
21891         (ctan_test_downward): Likewise.
21892         (ctan_test_upward): Likewise.
21893         (ctanh_test_tonearest): Likewise.
21894         (ctanh_test_towardzero): Likewise.
21895         (ctanh_test_downward): Likewise.
21896         (ctanh_test_upward): Likewise.
21897         (main): Call these new functions.
21898         * sysdeps/i386/fpu/libm-test-ulps: Update.
21899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21900
21901 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21902
21903         * .gitignore: Delete /ports entry.
21904
21905 2012-07-03  Andreas Jaeger  <aj@suse.de>
21906
21907         * po/bg.po: Update from translation team.
21908         * po/cs.po: Likewise.
21909         * po/de.po: Likewise.
21910         * po/hr.po: Likewise.
21911         * po/nl.pl: Likewise.
21912         * po/pl.po: Likewise.
21913         * po/vi.po: Likewise.
21914
21915 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21916
21917         * Makeconfig [!+link] (+link-before-libc): New variable.
21918         [!+link] (+link-after-libc): Likewise.
21919         [!+link] (+link-tests): Likewise.
21920         [!+link] (+link): Define in terms of $(+link-before-libc) and
21921         $(+link-after-libc).
21922         [!+link-static] (+link-static-before-libc): New variable.
21923         [!+link-static] (+link-static-after-libc): Likewise.
21924         [!+link-static] (+link-static-tests): Likewise.
21925         [!+link-static] (+link-static): Define in terms of
21926         $(+link-static-before-libc) and $(+link-static-after-libc).
21927         [build-shared] (link-libc-before-gnulib): New variable.
21928         [build-shared] (link-libc-tests): Likewise.
21929         [build-shared] (link-libc): Define in terms of
21930         $(link-libc-before-gnulib).
21931         [!build-shared] (link-libc-tests): New variable.
21932         (link-libc-static-tests): New variable.
21933         [!gnulib] (gnulib-arch): New variable.
21934         [!gnulib] (gnulib-tests): Likewise.
21935         [!gnulib] (static-gnulib-arch): Likewise.
21936         [!gnulib] (static-gnulib-tests): Likewise.
21937         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21938         Define with "=" instead of ":=".
21939         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21940         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21941         * Rules (binaries-all-notests): New variable.
21942         (binaries-all-tests): Likewise.
21943         (binaries-static-notests): Likewise.
21944         (binaries-static-tests): Likewise.
21945         (binaries-all): Define using $(binaries-all-notests) and
21946         $(binaries-all-tests).
21947         (binaries-static): Define using $(binaries-static-notests) and
21948         $(binaries-static-tests).
21949         (binaries-shared-tests): New variable.
21950         (binaries-shared-notests): Likewise.
21951         (binaries-shared): Remove variable.
21952         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21953         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21954         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21955         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21956         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21957         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21958         * elf/Makefile (sln-modules): New variable.
21959         (extra-objs): Add $(sln-modules:=.o).
21960         (ldconfig-modules): Add static-stubs.
21961         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21962         * elf/static-stubs.c: New file.
21963
21964         [BZ #14283]
21965         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21966         by 7 not 8 to examine high bit of fractional part.  Use volatile
21967         variables when splitting into final array of floats if
21968         __FLT_EVAL_METHOD__ != 0.
21969         * math/libm-test.inc (cos_test): Add another test.
21970         (sin_test): Likewise.
21971         * sysdeps/i386/fpu/libm-test-ulps: Update.
21972
21973         [BZ #14273]
21974         * math/libm-test.inc (cosh_test): Add more tests.
21975
21976         * version.h (RELEASE): Set to "development".
21977         (VERSION): Set to "2.16.90".
21978
21979 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21980
21981         * NEWS: Update copyright. Remove last-updated date.
21982         Mention math library bug fixes and timezone data changes.
21983         * README: Mention GNU/Hurd, x32, and HPPA support status.
21984
21985 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21986
21987         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21988
21989 2012-06-27  Andreas Jaeger  <aj@suse.de>
21990
21991         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21992
21993 2012-06-25  Andreas Jaeger  <aj@suse.de>
21994
21995         * sysdeps/s390/fpu/libm-test-ulps: Update.
21996
21997 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21998             Thomas Schwinge  <thomas@codesourcery.com>
21999
22000         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22001         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22002         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22003         fanotify_mark.
22004
22005 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22006
22007         * sysdeps/mach/start.c: Remove file.
22008         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22009         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22010         * sysdeps/sh/init-first.c: Likewise.
22011
22012         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22013         registers for frame unwinding purposes, add CFI directives.
22014         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22015         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22016         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22017         Likewise.
22018
22019         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22020         __fortify_fail returning.
22021         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22022
22023         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22024         sysdeps/sh/____longjmp_chk.S.
22025         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22026         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22027         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22028         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22029
22030         * sysdeps/sh/abort-instr.h: New file.
22031         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22032         process in case exit returns.
22033
22034         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22035         initialize the GOT register before use.
22036
22037         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22038         calculation of ARGC > 4.
22039
22040         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22041         meaningful names to some local labels.
22042
22043 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22044             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22045
22046         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22047         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22048         (__arch_compare_and_exchange_val_16_acq): Likewise.
22049         (__arch_compare_and_exchange_val_32_acq): Likewise.
22050         (atomic_exchange_and_add): Fix gUSA sequence.
22051         (atomic_add): Likewise.
22052         (atomic_add_negative): Likewise.
22053         (atomic_add_zero): Likewise.
22054         (atomic_bit_test_set): Likewise.
22055
22056 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22057
22058         [BZ #13579]
22059         * include/link.h (struct link_map): Add l_free_initfini.
22060         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22061         l_initfini.
22062         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22063         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22064         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22065         set.
22066
22067 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22068
22069         * configure.in: Use AC_LANG_SOURCE.
22070         * configure: Regenerate.
22071
22072 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22073
22074         * configure.in (libc_cv_localstatedir): New substituted variable.
22075         * configure: Regenerated.
22076         * config.make.in (localstatedir): New variable, substituted from
22077         libc_cv_localstatedir.
22078         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22079         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22080         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22081         * sysdeps/gnu/configure: Regenerated.
22082
22083 2012-06-21  Jeff Law  <law@redhat.com>
22084
22085         [BZ #14277]
22086         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22087         free.  Simplify list management for _LIBC case.
22088
22089 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22090
22091         [BZ #14273]
22092         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22093         Clear sign bit of 64-bit integer value before comparing against
22094         overflow value.
22095
22096         * sysdeps/mach/configure: Regenerated.
22097
22098 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22099
22100         [BZ #14278]
22101         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22102
22103 2012-06-21  Jeff Law  <law@redhat.com>
22104
22105         [BZ #13882]
22106         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22107         uint16_t for elements in the "seen" array to avoid char overflows.
22108         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22109         * elf/dl-open.c (dl_open_worker): Likewise.
22110
22111 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22112
22113         * scripts/list-sources.sh: Scan PORTS for translations.
22114         * po/libc.pot: Regenerated.
22115
22116 2012-06-21  Andreas Jaeger  <aj@suse.de>
22117
22118         [BZ #12194]
22119         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22120         warning.
22121         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22122         * bits/byteswap-16.h (__bswap_16): Likewise.
22123         * bits/byteswap.h (__bswap_constant_16): Likewise.
22124
22125 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22126
22127         [BZ #14117]
22128         * sysdeps/i386/fpu_control.h: Removed.
22129         * sysdeps/x86_64/fpu_control.h: Moved to ...
22130         * sysdeps/x86/fpu_control.h: Here.
22131
22132         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22133         (_FPU_SETCW): Likewise.
22134
22135 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22136
22137         [BZ #14117]
22138         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22139         * sysdeps/x86/fpu/bits/mathinline.h: This.
22140         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22141
22142         [BZ #14050]
22143         [BZ #14117]
22144         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22145         functions if __x86_64__ is defined.
22146
22147 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22148
22149         * string/endian.h: Add !__ASSEMBLER__ condition for including
22150         conversion interfaces.
22151
22152 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22153
22154         [BZ #14241]
22155         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22156         of ABS(x) in calculating zero to negative powers other than odd
22157         integers.
22158         * math/libm-test.inc (pow_test): Add more tests.
22159
22160 2012-06-15  Andreas Jaeger  <aj@suse.de>
22161
22162         * manual/contrib.texi (Contributors): Update entry of Liubov
22163         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22164         Machado Filho.
22165
22166 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22167
22168         * string/string.h: Add __wur to GNU version of strerror_r.
22169
22170 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22171
22172         [BZ #14229]
22173         * string/Makefile (tests): Add tst-strtok_r.
22174         * string/tst-strtok_r.c: New file.
22175         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22176         RAX_LP/RDX_LP on SAVE_PTR.
22177
22178 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22179
22180         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22181
22182 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22183
22184         * libm_test.inc (csqrt_test): Allow more spurious underflow
22185         exceptions.
22186         (j0_test): Likewise.
22187         (j1_test): Likewise.
22188         (y0_test): Likewise.
22189         (y1_test): Likewise.
22190
22191 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22192
22193         * po/Makefile (libc.pot): Use UTF-8 charset.
22194
22195 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22196
22197         [BZ #14210]
22198         Suppress sign-conversion warning from FD_SET.
22199         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22200         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22201         not unsigned long int.
22202         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22203
22204 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22205
22206         [BZ #14050]
22207         [BZ #14117]
22208         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22209         __extern_always_inline instead of __extern_inline.
22210         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22211         (__signbit): Likewise.
22212         (__signbitl): Support C++ namespace.
22213         (lrintf): New inline function.
22214         (lrint): Likewise.
22215         (llrintf): Likewise.
22216         (llrint): Likewise.
22217         (fmaxf): Likewise.
22218         (fmax): Likewise.
22219         (fminf): Likewise.
22220         (fmin): Likewise.
22221         (rint): Likewise.
22222         (rintf): Likewise.
22223         (ceil): Likewise.
22224         (ceilf): Likewise.
22225         (floor): Likewise.
22226         (floorf): Likewise.
22227         (nearbyint): Likewise.
22228         (nearbyintf): Likewise.
22229
22230 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22231
22232         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22233         non-default versions.
22234
22235 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22236
22237         [BZ #14218]
22238         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22239
22240 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22241
22242         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22243         (FE_UPWARD, FE_DOWNWARD): Don't define.
22244         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22245         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22246
22247         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22248         reading it.
22249         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22250         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22251
22252 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22253
22254         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22255         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22256         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22257         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22258
22259 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22260
22261         [BZ #14117]
22262         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22263         * sysdeps/i386/fpu/Implies: New file.
22264         * sysdeps/x86_64/fpu/Implies: Likewise.
22265         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22266         * sysdeps/x86/fpu/bits/fenv.h: This.
22267
22268         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22269         __SSE_MATH__.
22270
22271 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272
22273         [BZ #14134]
22274         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22275         character 0xffff that matches the last element of the
22276         conversion table.
22277
22278 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22279
22280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22281         fmodl commit.
22282
22283 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22284
22285         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22286         values higher than 25.6283.
22287
22288 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22289
22290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22291         subnormal exponent extraction and add some __builtin_expect.
22292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22293         Fix for subnormal mantissa calculation.
22294
22295 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22296
22297         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22298         cpu2 is -1 and errno is not ENOSYS.
22299
22300 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22301
22302         [BZ #14117]
22303         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22304         * sysdeps/x86/bits/string.h: This.
22305         * sysdeps/x86_64/bits/string.h: Removed.
22306
22307         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22308         if not compiling for x86-64, but compiling for >= i486.
22309
22310         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22311         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22312
22313         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22314         New macro from Linux kernel 3.4.0.
22315         (FP_XSTATE_MAGIC2): Likewise.
22316         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22317         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22318         (struct _fpx_sw_bytes): New struct.
22319         (struct _xsave_hdr): Likewise.
22320         (struct _ymmh_state): Likewise.
22321         (struct _xstate): Likewise.
22322
22323         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22324         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22325         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22326         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22327         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22328         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22329
22330         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22331         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22332         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22333         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22334         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22335         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22336
22337 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22338
22339         [BZ #13743]
22340         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22341         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22342         (sysdep_headers): Include sys/platform/ppc.h.
22343         * sysdeps/powerpc/test-gettimebase.c: Test for
22344         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22345         * manual/Makefile (appendices): Include platform.texi.
22346         * manual/contrib.texi (Contributors): Update @node pointers.
22347         * manual/maint.texi (Maintenance): Likewise.
22348         (Platform): New node.
22349         * manual/platform.texi: New file.  Document the new features.
22350
22351 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22352             Jakub Jelinek  <jakub@redhat.com>
22353
22354         [BZ #14188]
22355         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22356         where __builtin_expect is unavailable.
22357
22358 2012-06-03  David S. Miller  <davem@davemloft.net>
22359
22360         * stdlib/longlong.h: Updated from GCC.
22361
22362 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22363
22364         [BZ #14042]
22365         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22366         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22367         __mcount_internal.
22368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22369         (GLIBC_2.16): Likewise.
22370
22371 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22372
22373         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22374
22375 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22376
22377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22378         (default-abi): New variable.
22379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22380         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22381         variable.
22382         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22383         Likewise.
22384         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22385         Likewise.
22386         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22387         Likewise.
22388
22389         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22390         definition.  Document in comment.
22391
22392 2012-06-01  David S. Miller  <davem@davemloft.net>
22393
22394         * stdlib/longlong.h: Updated from GCC.
22395
22396 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22397
22398         [BZ #14117]
22399         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22400         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22401         sys/debugreg.h sys/io.h here.
22402         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22403         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22404         sys/io.h.
22405         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22406         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22407         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22408         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22409         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22410         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22411
22412         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22413         Define only if __x86_64__ is defined.
22414
22415 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22416
22417         [BZ #14048]
22418         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22419         Use int64_t for variable i.
22420         * math/libm-test.inc (fmod_test): Add more tests.
22421
22422         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22423         z computation is not scheduled after fetestexcept.
22424         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22425         Use math_force_eval instead of asm to ensure calculation scheduled
22426         before exception test.
22427         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22428         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22429
22430 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22431
22432         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22433         computation is not scheduled after fetestexcept.
22434
22435 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22436
22437         [BZ #14117]
22438         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22439         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22440
22441 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22442
22443         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22444         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22445
22446 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22447
22448         [BZ #14117]
22449         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22450         <bits/wordsize.h>.
22451         (__WCHAR_MIN): Support __WORDSIZE == 64.
22452         (__WCHAR_MAX): Likewise.
22453
22454         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22455         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22456
22457         [BZ #14183]
22458         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22459         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22460
22461         [BZ #14117]
22462         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22463         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22464
22465         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22466         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22467
22468         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22469         Defined to 1 if __x86_64__ isn't defined.
22470         (_STAT_VER_LINUX_OLD): New.
22471         (st_atime): Remove duplicate.
22472         (st_mtime): Likewise.
22473         (st_ctime): Likewise.
22474
22475 2012-05-31  David S. Miller  <davem@davemloft.net>
22476
22477         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22478         entries.
22479
22480 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22481
22482         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22483         gen-libm-test.pl.
22484
22485         [BZ #14132]
22486         * elf/dl-reloc.c: Include <_itoa.h>.
22487         (_dl_reloc_bad_type): Remove use of INTUSE.
22488         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22489         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22490         * stdio-common/psiginfo.c (psiginfo): Likewise.
22491         * stdio-common/psignal.c (psignal): Likewise.
22492         * string/strsignal.c (strsignal): Likewise.
22493         * include/signal.h (_sys_siglist): Declare hidden proto.
22494         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22495         INTVARDEF with libc_hidden_data_def.
22496         * stdio-common/itoa-udigits.c: Likewise.
22497         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22498         (_itoa_lower_digits_internal): Remove declaration.
22499         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22500         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22501         (_sys_sigabbrev_internal): Remove aliases.
22502         (_sys_siglist): Define hidden alias.
22503
22504 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22505
22506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22507         bits/sysctl.h.
22508
22509 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22510
22511         [BZ #14117]
22512         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22513         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22514
22515         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22516         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22517         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22518         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22519         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22520         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22521
22522         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22523         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22524         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22525
22526         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22527         with __addr.
22528         (insw): Likewise.
22529         (insl): Likewise.
22530         (outsb): Likewise.
22531         (outsw): Likewise.
22532         (outsl): Likewise.
22533
22534         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22535         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22536         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22537
22538         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22539         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22540         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22541         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22542         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22543         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22544
22545         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22546         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22547
22548         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22549         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22550
22551         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22552         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22553         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22554
22555         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22556         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22557         to ...
22558         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22559
22560         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22561         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22562         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22563
22564         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22565         for x86-64.
22566         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22567
22568 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22569
22570         * math/math.h (M_El): Use two more decimal places.
22571         (M_LOG2El): Likewise.
22572         (M_LOG10El): Likewise.
22573         (M_LN2l): Likewise.
22574         (M_LN10l): Likewise.
22575         (M_PIl): Likewise.
22576         (M_PI_2l): Likewise.
22577         (M_PI_4l): Likewise.
22578         (M_1_PIl): Likewise.
22579         (M_2_PIl): Likewise.
22580         (M_2_SQRTPIl): Likewise.
22581         (M_SQRT2l): Likewise.
22582         (M_SQRT1_2l): Likewise.
22583
22584 2012-05-31  David S. Miller  <davem@davemloft.net>
22585
22586         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22587         values between float registers.
22588         * sysdeps/sparc/sparc64/memset.S: Likewise.
22589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22590
22591 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22592
22593         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22594         -D_FORTIFY_SOURCE=1.
22595         (CPPFLAGS-tst-longjmp_chk.c): Define.
22596         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22597         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22598         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22599         CFLAGS-tst-wchar-h.c.
22600
22601 2012-05-31  Marek Polacek  <polacek@redhat.com>
22602
22603         [BZ #14132]
22604         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22605         __endmntent_internal): Remove declaration.
22606         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22607         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22608         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22609
22610 2012-05-30  David S. Miller  <davem@davemloft.net>
22611
22612         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22613         (___Q_simulate_exceptions): Use real FP ops rather than writing
22614         into the %fsr.
22615         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22616         Likewise.
22617
22618 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22619
22620         [BZ #14117]
22621         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22622         * sysdeps/x86/bits/xtitypes.h: This.
22623
22624         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22625         * sysdeps/x86/bits/wordsize.h: This.
22626
22627         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22628         * sysdeps/x86/bits/huge_vall.h: This.
22629
22630         * sysdeps/i386/bits/select.h: Removed.
22631         * sysdeps/x86_64/bits/select.h: Renamed to ...
22632         * sysdeps/x86/bits/select.h: This.
22633
22634         * sysdeps/i386/bits/setjmp.h: Removed.
22635         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22636         * sysdeps/x86/bits/setjmp.h: This.
22637
22638         * sysdeps/i386/bits/mathdef.h: Removed.
22639         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22640         * sysdeps/x86/bits/mathdef.h: This.
22641
22642 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22643
22644         [BZ #14132]
22645         * include/sys/socket.h (__connect_internal)
22646         (__libc_sa_len_internal): Remove declaration.
22647         (__connect, __libc_sa_len): Declare hidden_proto.
22648         (SA_LEN): Remove use of INTUSE.
22649         * socket/connect.c: Add libc_hidden_def.
22650         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22651         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22652         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22653         alias.
22654         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22656         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22657         of adding _internal alias.
22658
22659 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22660
22661         [BZ #14117]
22662         * sysdeps/i386/bits/link.h: Removed.
22663         * sysdeps/i386/bits/linkmap.h: Likewise.
22664         * sysdeps/x86_64/bits/link.h: Renamed to ...
22665         * sysdeps/x86/bits/link.h: This.
22666         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22667         * sysdeps/x86/bits/linkmap.h: This.
22668
22669         * sysdeps/i386/bits/endian.h: Removed.
22670         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22671         * sysdeps/x86/bits/endian.h: This.
22672
22673         * sysdeps/i386/bits/byteswap.h: Removed.
22674         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22675         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22676         * sysdeps/x86/bits/byteswap.h: This.
22677         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22678         * sysdeps/x86/bits/byteswap-16.h: This.
22679         * sysdeps/i386/Implies: Add x86.
22680         * sysdeps/x86_64/Implies: Likewise.
22681
22682 2012-05-30  David S. Miller  <davem@davemloft.net>
22683
22684         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22685         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22686         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22687         (FP_TRAPPING_EXCEPTIONS): Define.
22688         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22689         (FP_TRAPPING_EXCEPTIONS): Define.
22690         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22691         subnormals only when inexact has been signalled or underflow
22692         exceptions are enabled.
22693         (_FP_PACK_CANONICAL): Likewise.
22694
22695 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22696
22697         [BZ #14183]
22698         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22699         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22700
22701 2012-05-30  Richard Henderson  <rth@twiddle.net>
22702
22703         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22704         with #ifndef NOT_IN_libc.
22705
22706         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22707         marked to avoid plt entry.
22708
22709 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22710
22711         [BZ #14112]
22712         * Makeconfig (default-abi): New macro.
22713         (abi-includes): Likewise.
22714         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22715         $(abi-$(default-abi)-lib-soname) for soname if defined.
22716         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22717         abi-variants.
22718         * Makefile (installed-stubs): Likewise.
22719         * include/stubs-biarch.h: Removed.
22720         * scripts/lib-names.awk: Only handle one library at a time.
22721         * scripts/soversions.awk: Remove WORDSIZE support.
22722         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22723         entries.
22724         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22725         Removed.
22726         (syscall-list-default-condition): Likewise.
22727         (syscall-list-default-condition): Likewise.
22728         (syscall-list-includes): Likewise.
22729         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22730         syscall-list-* with abi-*.  Handle undefined abi-variants.
22731         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22732         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22733         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22734         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22735         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22736         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22737         Removed.
22738         (syscall-list-32-options): Likewise.
22739         (syscall-list-32-condition): Likewise.
22740         (syscall-list-64-options): Likewise.
22741         (syscall-list-64-condition): Likewise.
22742         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22743         macro.
22744         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22745         Renamed to ...
22746         (abi-*): This.
22747         (abi-64-ld-soname): New macro.
22748         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22749         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22750         Renamed to ...
22751         (abi-*): This.
22752         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22753         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22754
22755 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22756
22757         * sysdeps/unix/sysv/linux/kernel-features.h
22758         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22759         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22760         include <kernel-features.h>.
22761         [!__NR_ftruncate64]: Remove conditional code.
22762         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22763         [__NR_ftruncate64]: Make code unconditional.
22764         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22765         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22766         include <kernel-features.h>.
22767         [!__NR_ftruncate64]: Remove conditional code.
22768         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22769         [__NR_ftruncate64]: Make code unconditional.
22770         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22772         include <kernel-features.h>.
22773         [!__NR_ftruncate64]: Remove conditional code.
22774         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22775         [__NR_ftruncate64]: Make code unconditional.
22776         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22778         include <kernel-features.h>.
22779         [!__NR_ftruncate64]: Remove conditional code.
22780         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22781         [__NR_ftruncate64]: Make code unconditional.
22782         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22783
22784         * configure.in (libc_cv_fpie): Weaken to a compile test using
22785         LIBC_TRY_CC_OPTION.
22786         * configure: Regenerated.
22787
22788 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22789
22790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22794         Refreshed.
22795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22801         Refreshed.
22802
22803 2012-05-27  David S. Miller  <davem@davemloft.net>
22804
22805         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22806         (___Q_zero): New.
22807         (__Q_simulate_exceptions): Return void.  Change to simulate
22808         exceptions by writing into the %fsr.
22809         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22810         (__Qp_handle_exceptions): Likewise.
22811         (numbers): Delete.
22812         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22813         __Qp_handle_exceptions.
22814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22815         __Qp_handle_exceptions.
22816         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22817         as unused and give dummy FP_RND_NEAREST initializer.
22818         (FP_INHIBIT_RESULTS): Define.
22819         (___Q_simulate_exceptions): Update declaration.
22820         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22821         formatting.
22822         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22823         as unused and give dummy FP_RND_NEAREST initializer.
22824         (__Qp_handle_exceptions): Update declaration.
22825         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22826         formatting.
22827
22828 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22829
22830         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22831         the temporary FPU control word.
22832         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22833         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22835         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22836         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22837         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22838         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22839         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22840         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22841         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22842         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22843
22844 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22845
22846         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22847         fields.
22848
22849 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22850
22851         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22852         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22853         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22854         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22855         Likewise.
22856         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22857         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22858         Likewise.
22859
22860 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22861
22862         * po/h.po: Update from translation team.
22863
22864 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22865
22866         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22867
22868         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22869         handling of denormals.
22870         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22871         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22872         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22873         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22874         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22875         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22877         Likewise.
22878
22879 2012-05-26  Marek Polacek  <polacek@redhat.com>
22880
22881         [BZ #14152]
22882         * math/libm-test.inc (fma_test): Don't always expect underflow
22883         exception.
22884
22885 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22886
22887         [BZ #12416]
22888         * elf/tst-execstack.c: Include stackinfo.h.
22889         (do_test): Adjust test case to ensure that pthread_getattr_np
22890         behaviour remains the same after marking stack executable.
22891
22892 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22893
22894         * sysdeps/unix/sysv/linux/kernel-features.h
22895         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22896         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22897         kernel-features.h.
22898         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22899         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22900         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22901         kernel-features.h.
22902         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22903         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22904
22905 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22906
22907         * configure.in: Define the default includes to being none.
22908         * configure: Regenerated.
22909
22910 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22911
22912         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22913         * sysdeps/x86_64/setjmp.S: Likewise.
22914         * sysdeps/i386/bsd-setjmp.S: Likewise.
22915         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22916         * sysdeps/i386/setjmp.S: Likewise.
22917         * sysdeps/i386/__longjmp.S: Likewise.
22918         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22919         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22920
22921         * include/stap-probe.h: New file.
22922         * configure.in: Handle --enable-systemtap.
22923         * configure: Regenerated.
22924         * config.h.in (USE_STAP_PROBE): New #undef.
22925         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22926         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22927         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22928
22929 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22930
22931         [BZ #13717]
22932         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22933         to 2.4.0 where earlier.
22934         * sysdeps/unix/sysv/linux/configure: Regenerated.
22935         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22936         <kernel-features.h>.
22937         [__ASSUME_32BITUIDS]: Make code unconditional.
22938         [!__ASSUME_32BITUIDS]: Remove conditional code.
22939         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22940         <kernel-features.h>.
22941         [__ASSUME_32BITUIDS]: Make code unconditional.
22942         [!__ASSUME_32BITUIDS]: Remove conditional code.
22943         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22944         [__ASSUME_32BITUIDS]: Make code unconditional.
22945         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22946         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22947         <kernel-features.h>.
22948         [__ASSUME_32BITUIDS]: Make code unconditional.
22949         [!__ASSUME_32BITUIDS]: Remove conditional code.
22950         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22951         <kernel-features.h>.
22952         [__ASSUME_32BITUIDS]: Make code unconditional.
22953         [!__ASSUME_32BITUIDS]: Remove conditional code.
22954         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22955         <kernel-features.h>.
22956         [__ASSUME_32BITUIDS]: Make code unconditional.
22957         [!__ASSUME_32BITUIDS]: Remove conditional code.
22958         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22959         <kernel-features.h>.
22960         [__ASSUME_32BITUIDS]: Make code unconditional.
22961         [!__ASSUME_32BITUIDS]: Remove conditional code.
22962         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22963         <kernel-features.h>.
22964         [__ASSUME_32BITUIDS]: Make code unconditional.
22965         [!__ASSUME_32BITUIDS]: Remove conditional code.
22966         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22967         <kernel-features.h>.
22968         [__ASSUME_32BITUIDS]: Make code unconditional.
22969         [!__ASSUME_32BITUIDS]: Remove conditional code.
22970         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22971         <kernel-features.h>.
22972         [__ASSUME_32BITUIDS]: Make code unconditional.
22973         [!__ASSUME_32BITUIDS]: Remove conditional code.
22974         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22975         <kernel-features.h>.
22976         [__ASSUME_32BITUIDS]: Make code unconditional.
22977         [!__ASSUME_32BITUIDS]: Remove conditional code.
22978         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22979         <kernel-features.h>.
22980         [__ASSUME_32BITUIDS]: Make code unconditional.
22981         [!__ASSUME_32BITUIDS]: Remove conditional code.
22982         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22983         <kernel-features.h>.
22984         [__ASSUME_32BITUIDS]: Make code unconditional.
22985         [!__ASSUME_32BITUIDS]: Remove conditional code.
22986         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22987         <kernel-features.h>.
22988         [__NR_setresgid] (__setresgid): Do not declare.
22989         [__ASSUME_32BITUIDS]: Make code unconditional.
22990         [!__ASSUME_32BITUIDS]: Remove conditional code.
22991         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22992         <kernel-features.h>.
22993         [__NR_setresuid] (__setresuid): Do not declare.
22994         [__ASSUME_32BITUIDS]: Make code unconditional.
22995         [!__ASSUME_32BITUIDS]: Remove conditional code.
22996         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22997         <kernel-features.h>.
22998         [__ASSUME_32BITUIDS]: Make code unconditional.
22999         [!__ASSUME_32BITUIDS]: Remove conditional code.
23000         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23001         <kernel-features.h>.
23002         [__ASSUME_32BITUIDS]: Make code unconditional.
23003         [!__ASSUME_32BITUIDS]: Remove conditional code.
23004         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23005         <kernel-features.h>.
23006         [__ASSUME_32BITUIDS]: Make code unconditional.
23007         [!__ASSUME_32BITUIDS]: Remove conditional code.
23008         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23009         <kernel-features.h>.
23010         [__ASSUME_32BITUIDS]: Make code unconditional.
23011         [!__ASSUME_32BITUIDS]: Remove conditional code.
23012         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23013         <kernel-features.h>.
23014         [__ASSUME_32BITUIDS]: Make code unconditional.
23015         [!__ASSUME_32BITUIDS]: Remove conditional code.
23016         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23017         <kernel-features.h>.
23018         [__ASSUME_32BITUIDS]: Make code unconditional.
23019         [!__ASSUME_32BITUIDS]: Remove conditional code.
23020         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23021         <kernel-features.h>.
23022         [__ASSUME_32BITUIDS]: Make code unconditional.
23023         [!__ASSUME_32BITUIDS]: Remove conditional code.
23024         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23025         <kernel-features.h>.
23026         [__ASSUME_32BITUIDS]: Make code unconditional.
23027         [!__ASSUME_32BITUIDS]: Remove conditional code.
23028         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23029         <kernel-features.h>.
23030         [__ASSUME_32BITUIDS]: Make code unconditional.
23031         [!__ASSUME_32BITUIDS]: Remove conditional code.
23032         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23033         <kernel-features.h>.
23034         [__ASSUME_32BITUIDS]: Make code unconditional.
23035         [!__ASSUME_32BITUIDS]: Remove conditional code.
23036         * sysdeps/unix/sysv/linux/kernel-features.h
23037         (__ASSUME_SETRESUID_SYSCALL): Remove.
23038         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23039         (__ASSUME_32BITUIDS): Likewise.
23040         (__ASSUME_LDT_WORKS): Likewise.
23041         (__ASSUME_O_DIRECTORY): Likewise.
23042         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23043         architecture but not kernel version.
23044         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23045         (__ASSUME_MMAP2_SYSCALL): Likewise.
23046         (__ASSUME_STAT64_SYSCALL): Likewise.
23047         (__ASSUME_IPC64): Likewise.
23048         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23049         <kernel-features.h>.
23050         [__ASSUME_32BITUIDS]: Make code unconditional.
23051         [!__ASSUME_32BITUIDS]: Remove conditional code.
23052         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23053         <kernel-features.h>.
23054         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23055         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23056         132096]: Remove conditional code.
23057         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23058         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23059         <kernel-features.h>.
23060         [__ASSUME_32BITUIDS]: Make code unconditional.
23061         [!__ASSUME_32BITUIDS]: Remove conditional code.
23062         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23063         <kernel-features.h>.
23064         [__ASSUME_32BITUIDS]: Make code unconditional.
23065         [!__ASSUME_32BITUIDS]: Remove conditional code.
23066         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23067         <kernel-features.h>.
23068         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23069         unconditional.
23070         (__setresgid): Do not declare.
23071         [__ASSUME_32BITUIDS]: Make code unconditional.
23072         [!__ASSUME_32BITUIDS]: Remove conditional code.
23073         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23074         <kernel-features.h>.
23075         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23076         unconditional.
23077         (__setresuid): Do not declare.
23078         [__ASSUME_32BITUIDS]: Make code unconditional.
23079         [!__ASSUME_32BITUIDS]: Remove conditional code.
23080         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23081         <kernel-features.h>.
23082         [__ASSUME_32BITUIDS]: Make code unconditional.
23083         [!__ASSUME_32BITUIDS]: Remove conditional code.
23084         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23085         <kernel-features.h>.
23086         [__ASSUME_32BITUIDS]: Make code unconditional.
23087         [!__ASSUME_32BITUIDS]: Remove conditional code.
23088
23089 2012-05-25  Richard Henderson  <rth@twiddle.net>
23090
23091         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23092         dl_hwcap to ifunc resolver.
23093         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23094         elf_ifunc_invoke.
23095         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23096         dl_hwcap to ifunc resolver.
23097         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23098
23099 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23100
23101         [BZ #14153]
23102         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23103         for |x| <= 2**-26, not 2**-57.
23104         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23105         exception.
23106
23107 2012-05-24  Jeff Law  <law@redhat.com>
23108
23109         * stdio-common/Makefile (tests): Add bug25.
23110         * stdio-common/bug25.c: New test.
23111
23112 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23113
23114         [BZ #13576]
23115         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23116         multiple of MALLOC_ALIGNMENT in size.
23117         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23118
23119 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23120
23121         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23122         Require >= 256.
23123         (FILENAME_MAX): Use macro-int-constant.
23124         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23125         (_IOFBF): Use macro-int-constant.
23126         (_IOLBF): Likewise.
23127         (_IONBF): Likewise.
23128         (SEEK_CUR): Likewise.
23129         (SEEK_END): Likewise.
23130         (SEEK_SET): Likewise.
23131         (TMP_MAX): Likewise.
23132         (EOF): Use macro-int-constant.  Require < 0.
23133         (NULL): Use macro-constant.  Require == 0.
23134         (stdin): Require type to be FILE *.
23135         (stdout): Likewise.
23136         (stderr): Likewise.
23137         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23138         macro-int-constant.
23139         (EXIT_SUCCESS): Likewise.
23140         (NULL): Use macro-constant.  Require == 0.
23141         (RAND_MAX): Use macro-int-constant.
23142         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23143         [C99-based standards] (strtof): Require function.
23144         [C99-based standards] (strtold): Likewise.
23145         [C99-based standards] (strtoll): Likewise.
23146         [C99-based standards] (strtoull): Likewise.
23147         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23148         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23149         [ISO || ISO99 || ISO11] (math.h): Likewise.
23150         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23151         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23152         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23153
23154 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23155
23156         [BZ #14132]
23157         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23158         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23159         * intl/dgettext.c (DCGETTEXT): Likewise.
23160         * intl/gettext.c (DCGETTEXT): Likewise.
23161         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23162         * posix/regex_internal.h (gettext): Likewise.
23163         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23164         Remove declaration.
23165         * include/argz.h (__argz_count_internal)
23166         (__argz_stringify_internal): Remove declaration.
23167         (__argz_count, __argz_stringify): Declare hidden proto.
23168         * intl/dcgettext.c: Remove use of INTDEF.
23169         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23170         * string/argz-stringify.c: Likewise.
23171         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23172         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23173         Declare hidden proto.
23174         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23175         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23176         Declare hidden proto.
23177         * include/stdio.h (__asprintf_internal): Don't declare.
23178         (__asprintf): Don't define as macro.  Declare hidden proto.
23179         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23180         (__fsetlocking): Declare hidden proto.
23181         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23182         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23183         hidden proto.
23184         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23185         (_IO_setlinebuf): Remove use of INTUSE.
23186         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23187         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23188         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23189         Remove declaration.
23190         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23191         (_IO_do_flush): Remove use of INTUSE.
23192         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23193         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23194         (_IO_adjust_column, _IO_least_wmarker)
23195         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23196         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23197         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23198         (_IO_default_doallocate, _IO_wdefault_doallocate)
23199         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23200         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23201         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23202         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23203         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23204         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23205         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23206         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23207         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23208         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23209         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23210         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23211         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23212         proto.
23213         (_IO_flush_all_internal, _IO_adjust_column_internal)
23214         (_IO_default_uflow_internal, _IO_default_finish_internal)
23215         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23216         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23217         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23218         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23219         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23220         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23221         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23222         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23223         (_IO_file_close_internal, _IO_file_close_it_internal)
23224         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23225         (_IO_file_init_internal, _IO_file_attach_internal)
23226         (_IO_file_fopen_internal, _IO_file_read_internal)
23227         (_IO_file_sync_internal, _IO_file_seek_internal)
23228         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23229         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23230         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23231         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23232         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23233         (_IO_list_all_internal, _IO_link_in_internal)
23234         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23235         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23236         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23237         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23238         (_IO_do_write_internal, _IO_padn_internal)
23239         (_IO_getline_info_internal, _IO_getline_internal)
23240         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23241         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23242         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23243         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23244         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23245         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23246         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23247         with libc_hidden_ver, remove use of INTUSE.
23248         * libio/genops.c: Likewise.
23249         * libio/freopen.c: Likewise.
23250         * libio/freopen64.c: Likewise.
23251         * libio/iofclose.c: Likewise.
23252         * libio/iofdopen.c: Likewise.
23253         * libio/iofflush.c: Likewise.
23254         * libio/iofflush_u.c: Likewise.
23255         * libio/iofgets.c: Likewise.
23256         * libio/iofgets_u.c: Likewise.
23257         * libio/iofopen.c: Likewise.
23258         * libio/iofopncook.c: Likewise.
23259         * libio/iofread.c: Likewise.
23260         * libio/iofread_u.c: Likewise.
23261         * libio/ioftell.c: Likewise.
23262         * libio/iofwrite.c: Likewise.
23263         * libio/iogetline.c: Likewise.
23264         * libio/iogets.c: Likewise.
23265         * libio/iogetwline.c: Likewise.
23266         * libio/iopadn.c: Likewise.
23267         * libio/iopopen.c: Likewise.
23268         * libio/ioseekoff.c: Likewise.
23269         * libio/ioseekpos.c: Likewise.
23270         * libio/iosetbuffer.c: Likewise.
23271         * libio/iosetvbuf.c: Likewise.
23272         * libio/ioungetc.c: Likewise.
23273         * libio/ioungetwc.c: Likewise.
23274         * libio/iovdprintf.c: Likewise.
23275         * libio/iovsprintf.c: Likewise.
23276         * libio/iovsscanf.c: Likewise.
23277         * libio/memstream.c: Likewise.
23278         * libio/obprintf.c: Likewise.
23279         * libio/oldfileops.c: Likewise.
23280         * libio/oldiofclose.c: Likewise.
23281         * libio/oldiofdopen.c: Likewise.
23282         * libio/oldiofopen.c: Likewise.
23283         * libio/oldiopopen.c: Likewise.
23284         * libio/oldstdfiles.c: Likewise.
23285         * libio/putc.c: Likewise.
23286         * libio/setbuf.c: Likewise.
23287         * libio/setlinebuf.c: Likewise.
23288         * libio/stdfiles.c: Likewise.
23289         * libio/strops.c: Likewise.
23290         * libio/vasprintf.c: Likewise.
23291         * libio/vscanf.c: Likewise.
23292         * libio/vsnprintf.c: Likewise.
23293         * libio/vswprintf.c: Likewise.
23294         * libio/wfiledoalloc.c: Likewise.
23295         * libio/wfileops.c: Likewise.
23296         * libio/wgenops.c: Likewise.
23297         * libio/wmemstream.c: Likewise.
23298         * libio/wstrops.c: Likewise.
23299         * libio/__fpurge.c: Likewise.
23300         * libio/__fsetlocking.c: Likewise.
23301         * assert/assert.c: Likewise.
23302         * debug/fgets_chk.c: Likewise.
23303         * debug/fgets_u_chk.c: Likewise.
23304         * debug/fread_chk.c: Likewise.
23305         * debug/fread_u_chk.c: Likewise.
23306         * debug/gets_chk.c: Likewise.
23307         * debug/obprintf_chk.c: Likewise.
23308         * debug/vasprintf_chk.c: Likewise.
23309         * debug/vdprintf_chk.c: Likewise.
23310         * debug/vsnprintf_chk.c: Likewise.
23311         * debug/vsprintf_chk.c: Likewise.
23312         * malloc/mtrace.c: Likewise.
23313         * misc/error.c: Likewise.
23314         * misc/syslog.c: Likewise.
23315         * stdio-common/asprintf.c: Likewise.
23316         * stdio-common/fxprintf.c: Likewise.
23317         * stdio-common/getw.c: Likewise.
23318         * stdio-common/isoc99_fscanf.c: Likewise.
23319         * stdio-common/isoc99_scanf.c: Likewise.
23320         * stdio-common/isoc99_vfscanf.c: Likewise.
23321         * stdio-common/isoc99_vscanf.c: Likewise.
23322         * stdio-common/isoc99_vsscanf.c: Likewise.
23323         * stdio-common/printf-prs.c: Likewise.
23324         * stdio-common/printf_fp.c: Likewise.
23325         * stdio-common/printf_fphex.c: Likewise.
23326         * stdio-common/printf_size.c: Likewise.
23327         * stdio-common/putw.c: Likewise.
23328         * stdio-common/scanf.c: Likewise.
23329         * stdio-common/sprintf.c: Likewise.
23330         * stdio-common/tmpfile.c: Likewise.
23331         * stdio-common/vfprintf.c: Likewise.
23332         * stdio-common/vfscanf.c: Likewise.
23333         * stdlib/strfmon_l.c: Likewise.
23334         * sunrpc/openchild.c: Likewise.
23335         * sunrpc/xdr_stdio.c: Likewise.
23336         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23337         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23338
23339 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23340
23341         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23342
23343         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23344         in the third column, to generate for the shared library an IFUNC
23345         that uses _dl_vdso_vsym.
23346         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23347         * Makeconfig (object-suffixes-noshared): New variable.
23348
23349         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23350         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23351         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23352         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23353
23354         [BZ #14132]
23355         * include/sys/time.h (__gettimeofday): Remove macro.
23356         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23357         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23358         Remove INTDEF.
23359         (__gettimeofday): Add libc_hidden_def.
23360         (gettimeofday): Add libc_hidden_weak.
23361         * sysdeps/mach/gettimeofday.c: Likewise.
23362         * sysdeps/posix/gettimeofday.c: Likewise.
23363         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23364         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23365         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23366         (__gettimeofday_internal): Remove strong_alias.
23367         (__gettimeofday): Add libc_hidden_def.
23368         (gettimeofday): Add libc_hidden_weak.
23369         * sysdeps/unix/syscalls.list (gettimeofday):
23370         Remove __gettimeofday_internal alias.
23371
23372 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23373             H.J. Lu  <hongjiu.lu@intel.com>
23374
23375         [BZ #12495]
23376         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23377         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23378         (largebin_index_32_big): New.
23379         (largebin_index): Use it for 16-byte alignment.
23380         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23381         correction with front_misalign.
23382
23383 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23384
23385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23387         Likewise.
23388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23389         Likewise.
23390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23391         Likewise.
23392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23393         Likewise.
23394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23395         Likewise.
23396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23397         Likewise.
23398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23399         Likewise.
23400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23401         Likewise.
23402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23403         Likewise.
23404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23405         Likewise.
23406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23407         Likewise.
23408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23409         Likewise.
23410
23411         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23412         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23413
23414 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23415
23416         [BZ #10846]
23417         [BZ #14036]
23418         * math/libm-test.inc (exp_test): Add test from bug 14036.
23419         (pow_test): Add test from bug 10846.
23420
23421         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23422         and other flags.
23423         (special_function): Do not include flags in test name.
23424         (parse_args): Likewise.
23425         * sysdeps/i386/fpu/libm-test-ulps: Update.
23426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23428         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23430
23431         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23432         exceptions.
23433         * math/libm-test.inc ("Philosophy"): Update comment about
23434         exception testing.
23435         (UNDERFLOW_EXCEPTION): New macro.
23436         (UNDERFLOW_EXCEPTION_OK): Likewise.
23437         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23438         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23439         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23440         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23441         (INVALID_EXCEPTION_OK): Update value.
23442         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23443         (OVERFLOW_EXCEPTION_OK): Likewise.
23444         (IGNORE_ZERO_INF_SIGN): Likewise.
23445         (test_exceptions): Handle underflow exceptions.
23446         (acos_test): Update for underflow exception expectations.
23447         (cexp_test): Likewise.
23448         (clog_test): Likewise.
23449         (clog10_test): Likewise.
23450         (csqrt_test): Likewise.
23451         (ctan_test): Likewise.
23452         (ctanh_test): Likewise.
23453         (exp_test): Likewise.
23454         (exp10_test): Likewise.
23455         (exp2_test): Likewise.
23456         (expm1_test): Likewise.
23457         (fma_test): Likewise.
23458         (j0_test): Likewise.
23459         (jn_test): Likewise.
23460         (nexttoward_test): Likewise.
23461         (pow_test): Likewise.
23462         (scalbn_test): Likewise.
23463         (scalbln_test): Likewise.
23464         (tan_test): Likewise.
23465         (y1_test): Likewise.
23466         * sysdeps/i386/fpu/libm-test-ulps: Update.
23467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23468
23469 2012-05-23  David S. Miller  <davem@davemloft.net>
23470
23471         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23472         (__libc_sigaction): Remove unused local variables.
23473
23474 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23475
23476         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23477
23478 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23479
23480         mktime: avoid signed integer overflow
23481         * time/mktime.c (__mktime_internal): Do not mishandle the case
23482         where diff == INT_MIN.
23483
23484         mktime: simplify computation of average
23485         * time/mktime.c (ranged_convert): Use new time_t_avg function
23486         instead of rolling our own (probably-slower) code.
23487
23488         mktime: do not assume signed right shift propagates sign bit
23489         * time/mktime.c (isdst_differ): New static function.
23490         (__mktime_internal): No need to normalize tm_isdst now.
23491         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23492         tm_isdst values.
23493
23494         mktime: merge another wrapv change from gnulib
23495         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23496         from some compilers.
23497
23498         mktime: remove incorrect attempt at unusual arithmetics
23499         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23500         The code didn't really work on such machines anyway.
23501         (TYPE_MINIMUM): Assume two's complement.
23502         (twos_complement_arithmetic): Verify that long_int and time_t
23503         are two's complement (or unsigned, in the latter case).
23504
23505         mktime: check signed shifts on long_int and time_t, too
23506         * time/mktime.c (SHR): Check that shifts work as desired
23507         on the types long_int and time_t too, as SHR is used on
23508         such types.
23509
23510         mktime: do not assume 'long' is wide enough
23511         * time/mktime.c (verify): Move decl up.
23512         (long_int): New type.
23513         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23514         to remove assumption in the code that 'long' is wide enough to
23515         store year values.  This assumption is not true on x32 and on
23516         some non-glibc platforms.
23517
23518         mktime: merge wrapv change from gnulib
23519         * time/mktime.c (WRAPV): New macro.
23520         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23521         (guess_time_tm, __mktime_internal): Do not assume that signed
23522         integer overflow wraps around; modern compilers generate code
23523         where this assumption is no longer valid.
23524
23525 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23526
23527         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23528         Replace "jmp L(pseudo_end)" with "ret".
23529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23530         Likewise.
23531
23532 2012-05-23  Andreas Jaeger  <aj@suse.de>
23533
23534         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23535         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23536
23537 2012-05-23  Andreas Jaeger  <aj@suse.de>
23538             Maximilian Attems  <max@stro.at>
23539
23540         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23541         New macros.
23542
23543 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23544
23545         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23546         code so that pseudo_end is just ret and the stack pointer is
23547         correct also for static library in error case.
23548
23549 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23550
23551         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23552         move to syscalls.list.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23557
23558         * manual/install.texi (Running make install): Do not mention Linux
23559         kernel version for which pt_chown is not needed.
23560         (Linux): Do not mention problems with nscd with 2.0 kernels.
23561         * INSTALL: Regenerated.
23562
23563 2012-05-23  Andreas Jaeger  <aj@suse.de>
23564
23565         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23566         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23567         macro.
23568         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23569         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23570         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23571         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23572         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23573         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23574         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23575         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23576         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23577         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23578         * sysdeps/unix/sysv/linux/bits/in.h
23579         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23580
23581 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23582
23583         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23584         (PREPARE_VERSION): Just use assert instead, it will be elided
23585         under [NDEBUG] anyway.
23586
23587 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23588
23589         * sysdeps/unix/sysv/linux/Makefile: Include
23590         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23591         (sysdep_routines): Remove sysctl.
23592         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23593         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23594         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23595         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23596         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23597
23598 2012-05-22  Andreas Jaeger  <aj@suse.de>
23599
23600         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23601         that pseudo_end is just ret and the stack pointer is correct also
23602         for static library in error case.
23603
23604 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23605
23606         [BZ #14122]
23607         * nss/nsswitch.c (defconfig_entries): New variable.
23608         (__nss_database_lookup): Don't leak defconfig entries.
23609         (nss_parse_service_list): Don't leak on error paths.
23610         (free_database_entries): New function.
23611         (free_defconfig): New function.
23612         (free_mem): Move common code to free_database_entries.
23613
23614 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23615
23616         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23617         Add arch_prctl.
23618         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23619
23620         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23621         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23623         New macro.
23624         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23625         (INTERNAL_SYSCALL_TYPES): Likewise.
23626         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23627         (LOAD_REGS_TYPES_[1-6]): Likewise.
23628         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23629         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23630
23631 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23632
23633         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23634         copysignl for GLIBC_2_0.
23635         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23636         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23637         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23638         logbl for GLIBC_2_0.
23639         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23640         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23641
23642 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23643
23644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23645         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23646
23647         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23648         Use "neg %eax".
23649
23650         * time/mktime.c: Update copyright years.
23651
23652 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23653
23654         mktime: merge comment-quoting-style change from gnulib
23655         * time/mktime.c: Quote 'like this' in comments.
23656         The GNU coding standards suggest that we no longer quote `like this',
23657         as "`" and "'" are typically rendered asymmetrically nowadays.
23658         The typical gnulib style is to quote 'like this' when quoting
23659         code, and "like this" when quoting English.
23660
23661         * time/mktime.c (compile-command): Add "-I.".
23662
23663         mktime: merge mktime-internal.h change from gnulib
23664         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23665
23666         mktime: merge time_r change from gnulib
23667         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23668
23669         mktime: merge DEBUG change from gnulib
23670         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23671         case system <time.h> has a #define.
23672
23673         mktime: merge <sys/types.h> change from gnulib
23674         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23675         since <time.t> is now guaranteed to define time_t.
23676
23677         mktime: merge HAVE_CONFIG_H change from gnulib
23678         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23679
23680 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23681
23682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23683         Use "neg %eax".
23684
23685         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23686         __rlim_t cast.
23687         (struct rusage): Use anonymous union to pad each field to
23688         __syscall_slong_t.
23689
23690 2012-05-21  David S. Miller  <davem@davemloft.net>
23691
23692         * Makefules (o-iterator): Remove .s cases.
23693         (compile-command.s): Delete.
23694         (COMPILE.s): Delete.
23695         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23696
23697 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23698
23699         * configure.in (libc_cv_predef_stack_protector): Only consider
23700         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23701         * configure: Regenerated.
23702
23703 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23704
23705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23706         New macro.  Use R*LP on int and pointer.
23707         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23708         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23709         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23710         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23711
23712         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23713         [__WORDSIZE_TIME64_COMPAT32] instead of
23714         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23715         (struct utmp): Likewise.
23716         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23717         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23718         Renamed to ...
23719         (__WORDSIZE_TIME64_COMPAT32): This.
23720         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23721         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23722         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23723         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23724         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23725         (__WORDSIZE_TIME64_COMPAT32): New macro.
23726
23727 2012-05-21  Andreas Jaeger  <aj@suse.de>
23728
23729         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23730         only if [SHARED]. Add prototype for __wcschr_ia32.
23731
23732 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23733
23734         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23735         of %rbp unmolested in the jmp_buf while mangling the low bits.
23736         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23737         unmolested high bits of %rbp while demangling the low bits.
23738         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23739
23740 2012-05-21  Andreas Jaeger  <aj@suse.de>
23741
23742         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23743         * sunrpc/svc_simple.c: Use it for registerrpc.
23744         * sunrpc/xcrypt.c: Use it for passwd2des.
23745
23746         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23747
23748 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23749
23750         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23751         Don't define if [__SYSCALL_WORDSIZE != 32].
23752         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23753         New macro.
23754
23755 2012-05-21  Bruno Haible  <bruno@clisp.org>
23756             Andreas Jaeger  <aj@suse.de>
23757
23758         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23759         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23760         inptr and inend for must_buffer_ch.
23761         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23762         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23763         * stdio-common/Makefile (tests): Remove bug15.
23764         (bug15-ENV): Remove macro.
23765         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23766         anymore.
23767
23768 2012-05-19  Andreas Jaeger  <aj@suse.de>
23769             Roland McGrath  <roland@hack.frob.com>
23770
23771         * manual/contrib.texi: Completely rewritten. It contains now an
23772         alphabetical list of contributors and their contributions.
23773
23774 2012-05-21  Richard Henderson  <rth@twiddle.net>
23775
23776         * misc/getauxval.c (__getauxval): Use unsigned long int.
23777         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23778         (getauxval): Use unsigned long int.
23779
23780 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23781
23782         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23783
23784 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23785
23786         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23787         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23788         __alignof__ (long double).
23789
23790 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23791
23792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23793
23794 2012-05-20  Richard Henderson  <rth@twiddle.net>
23795
23796         * misc/getauxval.c: New file.
23797         * misc/sys/auxv.h: New file.
23798         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23799         (routines): Add getauxval.
23800         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23801         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23802         * elf/dl-sysdep.c (_dl_auxv): Remove.
23803         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23804         * elf/dl-support.c (_dl_auxv): New variable.
23805         (_dl_aux_init): Initialize it.
23806         * manual/startup.texi (Auxiliary Vector): New node.
23807         * sysdeps/generic/bits/hwcap.h: New file.
23808         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23809         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23810         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23811         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23812         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23813         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23815         Update.
23816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23819         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23824
23825 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23826
23827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23828
23829 2012-05-19  David S. Miller  <davem@davemloft.net>
23830
23831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23832
23833 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23834
23835         [BZ #14123]
23836         * math/s_ccosh.c: Include <float.h>
23837         (__ccosh): Avoid internal overflow calculating sinh and cosh
23838         values before multiplying by sin and cos values.
23839         * math/s_ccoshf.c: Likewise.
23840         * math/s_ccoshl.c: Likewise.
23841         * math/s_csin.c: Likewise.
23842         * math/s_csinf.c: Likewise.
23843         * math/s_csinl.c: Likewise.
23844         * math/s_csinh.c: Likewise.
23845         * math/s_csinhf.c: Likewise.
23846         * math/s_csinhl.c: Likewise.
23847         * math/libm-test.inc (ccos_test): Add more tests.
23848         (ccosh_test): Likewise.
23849         (csin_test): Likewise.
23850         (csinh_test): Likewise.
23851         * sysdeps/i386/fpu/libm-test-ulps: Update.
23852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23853
23854 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23855
23856         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23857         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23858
23859         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23860
23861 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23862
23863         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23864         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23865         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23866         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23867         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23868         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23869         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23870         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23871         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23872         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23873         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23874         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23875         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23876         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23877         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23878         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23879         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23880         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23881         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23882         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23883         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23884         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23885         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23886         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23887         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23888         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23889         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23890         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23891         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23892         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23893         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23894
23895 2012-05-18  Andreas Jaeger  <aj@suse.de>
23896
23897         * csu/.gitignore: Delete.
23898
23899 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23900
23901         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23902         (timex): Use __syscall_slong_t.
23903
23904 2012-05-18  Andreas Jaeger  <aj@suse.de>
23905             Carlos O'Donell  <carlos_odonell@mentor.com>
23906
23907         * manual/install.texi (Configuring and compiling): Update
23908         description about files modified in the source directory.
23909         * INSTALL: Regenerated.
23910
23911 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23912
23913         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23914         value.  Use "or" to set return value to -1.
23915         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23916         negate return value.
23917
23918 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23919
23920         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23921         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23922         failure if the compiler has Graphite support disabled.
23923         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23924         Likewise.
23925         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23926         CFLAGS-memmove.c): Likewise.
23927         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23928         Likewise.
23929
23930 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23931
23932         * sysdeps/x86_64/x32/_itoa.h: New file.
23933
23934         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23935         getdents system call only if kernel and user dirents have the
23936         same d_ino and d_off.
23937
23938         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23939         LLONG_MAX != LONG_MAX.
23940         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23941         (_fitoa_word): Likewise.
23942
23943         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23944         years.
23945         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23946         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23947         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23948
23949         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23950         include <bits/wordsize.h>.  Check __x86_64__ instead of
23951         __WORDSIZE.
23952         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23953         if __x86_64__ is defined.  Use anonymous union on fpstate.
23954
23955         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23956         anonymous union.
23957
23958 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23959
23960         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23961         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23962         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23963         Refer to _rtld_local_ro instead of _rtld_global_ro.
23964         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23965         Likewise.
23966         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23967         Likewise.
23968         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23969         Likewise.
23970         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23971         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23972         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23973
23974         * sysdeps/powerpc/powerpc32/dl-machine.c
23975         (__elf_machine_runtime_setup) [PROF]: Don't reference
23976         _dl_prof_resolve.
23977
23978 2012-05-18  Andreas Jaeger  <aj@suse.de>
23979
23980         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23981         function only available for GCCs before 3.4 since GCC 3.4
23982         introduced a builtin.
23983         (lrint): Likewise.
23984         (llrintf): Likewise.
23985         (llrint): Likewise.
23986         (fmaxf): Likewise.
23987         (fmax): Likewise.
23988         (fminf): Likewise.
23989         (fmin): Likewise.
23990         (rint): Likewise.
23991         (rintf): Likewise.
23992         (nearbyint): Likewise.
23993         (nearbyintf): Likewise.
23994         (ceil): Likewise.
23995         (ceilf): Likewise.
23996         (floor): Likewise.
23997         (floorf): Likewise.
23998
23999 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24000
24001         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24002         on both fields and cast pointer to __syscall_ulong_t.
24003
24004         * bits/types.h (__fsword_t): New type.
24005         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24006         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24008         (__FSWORD_T_TYPE): Likewise.
24009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24010         (__FSWORD_T_TYPE): Likewise.
24011         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24012         (__FSWORD_T_TYPE): Likewise.
24013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24014         (__FSWORD_T_TYPE): Likewise.
24015         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24016         __SWORD_TYPE with __fsword_t.
24017         (statfs64): Likewise.
24018
24019 2012-05-17  David S. Miller  <davem@davemloft.net>
24020
24021         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24022
24023 2012-05-17  Andreas Jaeger  <aj@suse.de>
24024
24025         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24026         warning.
24027
24028 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24029
24030         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24031
24032 2012-05-17  Andreas Jaeger  <aj@suse.de>
24033
24034         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24035         when it is used.
24036
24037 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24038
24039         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24040
24041 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24042
24043         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24044         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24045
24046 2012-05-17  Andreas Jaeger  <aj@suse.de>
24047             Carlos O'Donell  <carlos_odonell@mentor.com>
24048
24049         [BZ #14059]
24050         * sysdeps/x86_64/multiarch/init-arch.h
24051         (bit_YMM_Usable): Rename to...
24052         (bit_AVX_Usable): ... this.
24053         (bit_FMA4_Usable): New macro.
24054         (bit_XMM_state): New macro.
24055         (bit_YMM_state): New macro.
24056         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24057         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24058         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24059         (CPUID_OSXSAVE): New macro.
24060         (CPUID_AVX): New macro.
24061         (CPUID_FMA4): New macro.
24062         (index_YMM_Usable): Rename to...
24063         (index_AVX_Usable): ... this.
24064         (HAS_AVX): Use HAS_ARCH_FEATURE.
24065         (HAS_FMA4): Likewise.
24066         (HAS_YMM_USABLE): Remove.
24067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24068         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24069         are present.
24070         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24071         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24072         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24073         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24074         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24075
24076 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24077
24078         * math/libm-test.c: Support platforms without multiple rounding modes.
24079         * math/bug-nextafter.c: Support platforms without FP exceptions.
24080         * math/bug-nexttoward.c: Likewise.
24081         * math/test-fenv.c: Likewise.
24082         * math/test-misc.c: Likewise.
24083         * stdlib/bug-getcontext.c: Likewise.
24084
24085 2012-05-17  Andreas Jaeger  <aj@suse.de>
24086
24087         * manual/examples/search.c (critter_cmp): Change signature to
24088         avoid warnings.
24089         * manual/string.texi (Collation Functions): Likewise.
24090
24091 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24092
24093         * bits/types.h: Fold copyright years.
24094         * bits/typesizes.h: Likewise.
24095         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24096         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24098         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24099         * time/time.h: Likewise.
24100
24101 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24102
24103         [BZ #208]
24104         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24105         in instead of returning them.  Return void.
24106         (__libc_mallinfo): Accumulate over all arenas.
24107         (__malloc_stats): Adjust for change in int_mallinfo interface.
24108
24109 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24110
24111         [BZ #10375]
24112         * configure.in (NM): Add AC_CHECK_TOOL for it.
24113         (libc_extra_cflags): New substituted variable.
24114         Check for -fstack-protector being used implicitly.
24115         * configure: Regenerated.
24116         * config.make.in (config-extra-cflags): New variable,
24117         gets @libc_extra_cflags@.
24118         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24119
24120         [BZ #10375]
24121         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24122         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24123         * configure: Regenerated.
24124         * config.make.in (CPPUNDEFS): New substituted variable.
24125         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24126         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24127         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24128
24129 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24130
24131         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24132         (mq_attr): Use __syscall_slong_t.
24133
24134 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24135
24136         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24137         Check __x86_64__ instead of __WORDSIZE.
24138         (_STAT_VER_LINUX): Likewise.
24139         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24140         __syscall_ulong_t and __syscall_slong_t.
24141         (stat64): Likewise.
24142
24143 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24144
24145         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24146
24147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24148
24149         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24150
24151 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24152
24153         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24154         __syscall_ulong_t.
24155
24156         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24157         include <bits/wordsize.h>.  Check __x86_64__ instead of
24158         __WORDSIZE.
24159         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24160         defined.
24161         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24162
24163         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24164         include <bits/wordsize.h>.  Check __x86_64__ instead of
24165         __WORDSIZE.
24166         (user_regs_struct): Use "__extension__ unsigned long long"
24167         instead of "unsigned long" if __x86_64__ is defined.
24168         (user): Likewise.  Pad after pointer field if __ILP32__ is
24169         defined.
24170
24171 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24172
24173         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24174         versions 5 to 9.
24175         * configure: Regenerated.
24176         * manual/install.texi (texinfo): Increase version requirement to
24177         4.5 or later.
24178         * INSTALL: Regenerated.
24179
24180         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24181
24182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24183
24184         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24185
24186         * sysdeps/x86_64/x32/ffs.c: New file.
24187
24188         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24189         __syscall_ulong_t.
24190         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24191         defined.  Use __syscall_ulong_t.
24192         (shminfo): Use __syscall_ulong_t.
24193         (shm_info): Likewise.
24194
24195         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24196         __syscall_ulong_t.
24197
24198         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24199         <bits/wordsize.h>.
24200         (msgqnum_t): Use __syscall_ulong_t.
24201         (msglen_t): Likewise.
24202         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24203         __syscall_ulong_t.
24204
24205         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24206         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24207
24208         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24209
24210         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24211         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24212
24213         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24214         __syscall_slong_t.
24215
24216         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24217         include <bits/wordsize.h>.  Check __x86_64__ instead of
24218         __WORDSIZE.
24219
24220         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24221         "unsigned long long int" if __x86_64__ is defined.
24222         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24223
24224         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24225         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24226         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24227
24228         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24229         <stdint.h>.
24230         (GET_PC): Cast to uintptr_t first.
24231         (GET_FRAME): Likewise.
24232         (GET_STACK): Likewise.
24233
24234         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24235         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24236         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24237         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24238         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24239         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24240         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24241         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24242         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24243         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24244         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24245         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24246         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24247         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24248         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24249         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24251         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24252         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24253         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24254         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24255         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24256         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24257         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24258         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24259         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24260         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24261         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24262         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24263
24264 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24265
24266         * Makerules (+depfiles): Also collect depfiles from .oS in
24267         $(extra-objs).
24268         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24269         .oS, $(libnldbl-routines)).
24270
24271         * Makerules (native-compile-mkdep-flags): Define.
24272         * sunrpc/Makefile (extra-objs): Add $(addprefix
24273         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24274         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24275         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24276         calling $(make-target-directory).
24277
24278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24279
24280         * bits/types.h (__snseconds_t): Removed.
24281         * time/time.h (struct timespec): Replace __snseconds_t with
24282         __syscall_slong_t.
24283         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24284         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24285         Likewise.
24286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24287         (__SNSECONDS_T_TYPE): Likewise.
24288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24289         (__SNSECONDS_T_TYPE): Likewise.
24290         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24291         (__SNSECONDS_T_TYPE): Likewise.
24292
24293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24294
24295         * sysdeps/mach/hurd/bits/typesizes.h
24296         (__SYSCALL_SLONG_TYPE): New macro.
24297         (__SYSCALL_ULONG_TYPE): Likewise.
24298
24299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24300
24301         * bits/types.h (__syscall_slong_t): New type.
24302         (__syscall_ulong_t): Likewise.
24303
24304         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24305         (__SYSCALL_ULONG_TYPE): Likewise.
24306         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24307         (__SYSCALL_SLONG_TYPE): Likewise.
24308         (__SYSCALL_ULONG_TYPE): Likewise.
24309         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24310         (__SYSCALL_SLONG_TYPE): Likewise.
24311         (__SYSCALL_ULONG_TYPE): Likewise.
24312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24313         (__SYSCALL_SLONG_TYPE): Likewise.
24314         (__SYSCALL_ULONG_TYPE): Likewise.
24315
24316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24317
24318         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24319         Add sigaltstack-offsets.sym.
24320         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24321         <sigaltstack-offsets.h>.
24322         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24323         longjmp_msg pointer.
24324         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24325         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24326         signal stack.
24327         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24328
24329 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24330
24331         * elf/stackguard-macros.h: Remove file.
24332         * sysdeps/generic/stackguard-macros.h: New file.
24333         * sysdeps/i386/stackguard-macros.h: Likewise.
24334         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24335         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24336         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24337         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24338         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24339         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24340         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24341         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24342         <elf/stackguard-macros.h>.
24343
24344         [BZ #14109]
24345         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24346         __aligned__ in attribute.
24347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24348         (gregset_t): Likewise.
24349
24350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24351
24352         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24353         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24354         * sysdeps/x86_64/x32/Implies-after: New file.
24355
24356 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24357
24358         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24359         and access return value for _dl_profile_fixup.  Use R10_LP to
24360         load frame size.
24361
24362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24363
24364         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24365
24366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24367
24368         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24369         * sysdeps/x86_64/x32/sysdep.h: New file.
24370
24371 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24372
24373         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24374         * sysdeps/x86_64/setjmp.S: Likewise.
24375
24376 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24377
24378         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24380         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24381         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24382         remove unused global constant.
24383
24384 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24385
24386         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24387         include of <not-cancel.h>.
24388
24389 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24390
24391         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24392
24393 2012-05-15  Jeff Law  <law@redhat.com>
24394             Andreas Jaeger  <aj@suse.de>
24395
24396         [BZ #13594]
24397         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24398         out from...
24399         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24400         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24401         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24402         code changing __hst_map_handle.map.
24403
24404 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24405
24406         * configure.in (sysnames): Look for Implies-before and Implies-after
24407         files.
24408         * configure: Regenerated.
24409
24410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24411
24412         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24413         8-byte data alignment with LP_SIZE alignment.
24414
24415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24416
24417         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24418         into R10_LP.
24419
24420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24421
24422         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24423
24424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24425
24426         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24427         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24428         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24429         Likewise.
24430         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24431
24432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24433
24434         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24435         (stackinfo_sub_sp): Likewise.
24436
24437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24438
24439         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24440         RAX_LP.
24441
24442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24443
24444         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24445         into R*_LP.
24446
24447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24448
24449         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24450         sizes into R*_LP.
24451
24452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24453
24454         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24455
24456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24457
24458         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24459         into R11_LP and load __x86_64_shared_cache_size_half into
24460         R8_LP.
24461
24462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24463
24464         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24465         R8_LP.
24466
24467 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24468
24469         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24470         logb for POWER7.
24471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24472         logbf for POWER7.
24473         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24474         logbl for POWER7.
24475         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24476         powerpc32/power7/fpu/s_logb.c via #include.
24477         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24478         powerpc32/power7/fpu/s_logbf.c via #include.
24479         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24480         powerpc32/power7/fpu/s_logbl.c via #include.
24481
24482 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24483
24484         * README.libm: Remove file.
24485
24486 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24487
24488         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24489         count for x32.  Use R*_LP and omit operand-size suffix.
24490
24491 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24492
24493         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24494         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24495         * sysdeps/x86_64/x32/shlib-versions: New file.
24496
24497 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24498
24499         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24500         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24501         Use _dl_fatal_printf instead.
24502
24503 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24504
24505         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24506         set if not set by the user.  Do not allow for being unset.
24507         * sysdeps/unix/sysv/linux/configure: Regenerated.
24508
24509 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24510
24511         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24512         the `q' suffix from lea and replace .quad with ASM_ADDR.
24513
24514 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24515
24516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24517         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24518         instead of $17.
24519         (PTR_DEMANGLE): Likewise.
24520
24521 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24522
24523         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24524         (LP_OP): Likewise.
24525         (ASM_ADDR): Likewise.
24526         (RAX_LP): Likewise.
24527         (RBP_LP): Likewise.
24528         (RBX_LP): Likewise.
24529         (RCX_LP): Likewise.
24530         (RDI_LP): Likewise.
24531         (RSI_LP): Likewise.
24532         (RSP_LP): Likewise.
24533         (R8_LP): Likewise.
24534         (R9_LP): Likewise.
24535         (R10_LP): Likewise.
24536         (R10_LP): Likewise.
24537         (R11_LP): Likewise.
24538         (R12_LP): Likewise.
24539         (R13_LP): Likewise.
24540         (R14_LP): Likewise.
24541         (R15_LP): Likewise.
24542
24543 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24544
24545         * sysdeps/x86_64/x32/dl-machine.h: New file.
24546
24547 2012-05-14  Andreas Jaeger  <aj@suse.de>
24548
24549         * manual/Makefile (subdir): Remove export of subdir.
24550         (all): Remove target.
24551         (.PHONY): Remove all from list.
24552         (mkinstalldirs): Remove.
24553         (.PHONY): Remove installdirs from list.
24554         ($(inst_infodir)/libc.info): Use make-target-directory.
24555         (installdirs): Remove.
24556         (subdir_%): Remove.
24557         (glibc-targets): Remove.
24558         (lib): Remove.
24559         (stubs): Remove.
24560         ($(objpfx)stubs ../po/manual.pot): Remove.
24561         ($(objpfx)stamp%): Remove.
24562         (make-target-directory): Remove.
24563         (subdir_install): Remove.
24564         (routines): Remove.
24565         (aux): Remove.
24566         (sources): Remove.
24567         (objects): Remove.
24568         (headers): Remove.
24569
24570         [BZ #13750]
24571         * manual/.gitignore: Remove, it's not needed anymore.
24572         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24573         all files in it.
24574         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24575         directory.
24576         (texis): Renamed to $(objpfx)texis.
24577         (texis-path): New, contains path to generated files.
24578         (chapters.%): Use texis-path for complete path, add extra argument
24579         libc-texinfo.sh.
24580         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24581         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24582         (summary,texi, stamp-summary): Use complete path of
24583         files. Generate files in build dir.
24584         (dir-add.texi): Build in build dir.
24585         (libm-err.texi,stamp-libm-err): Likewise.
24586         (version.texi, stamp-version): Likewise.
24587         (.%c.texi): Likewise.
24588         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24589         (mostlyclean): Remove target.
24590         (realclean): Remove target.
24591         (generated): Add new variable with contents from mostlyclean and
24592         realclean, remove entries duplicated in common-mostlyclean, add
24593         stamp-libm-err and stamp-version.
24594         (generated-dirs): Add libc directory.
24595         ($(inst_infodir)/libc.info): Install files from build dir.
24596
24597         * manual/install.texi (Configuring and compiling): Adjust since
24598         the info files are not part of the tar ball anymore.
24599
24600 2012-05-14  Andreas Jaeger  <aj@suse.de>
24601
24602         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24603         variable.
24604
24605 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24606
24607         [BZ #13717]
24608         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24609         to 2.2.0 where earlier.
24610         * sysdeps/unix/sysv/linux/configure: Regenerated.
24611         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24612         Remove conditional code.
24613         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24614         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24615         Remove conditional code.
24616         [!__NR_lchown]: Likewise.
24617         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24618         [__NR_lchown]: Likewise.
24619         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24620         comment referencing __ASSUME_LCHOWN_SYSCALL.
24621         * sysdeps/unix/sysv/linux/i386/sigaction.c
24622         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24623         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24624         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24625         Remove conditional code.
24626         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24627         (__protocol_available): Remove #if 0 code.
24628         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24629         conditional code.
24630         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24631         * sysdeps/unix/sysv/linux/kernel-features.h
24632         (__ASSUME_GETCWD_SYSCALL): Don't define.
24633         (__ASSUME_REALTIME_SIGNALS): Likewise.
24634         (__ASSUME_PREAD_SYSCALL): Likewise.
24635         (__ASSUME_PWRITE_SYSCALL): Likewise.
24636         (__ASSUME_POLL_SYSCALL): Likewise.
24637         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24638         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24639         non-SPARC.
24640         (__ASSUME_SIOCGIFNAME): Don't define.
24641         (__ASSUME_MSG_NOSIGNAL): Likewise.
24642         (__ASSUME_SENDFILE): Define unconditionally.
24643         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24644         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24645         conditional code.
24646         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24647         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24648         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24649         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24650         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24651         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24652         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24654         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24655         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24657         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24658         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24660         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24661         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24663         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24664         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24666         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24667         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24669         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24670         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24672         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24673         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24675         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24676         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24677         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24678         Remove conditional code.
24679         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24680         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24681         Remove conditional code.
24682         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24683         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24684         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24685         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24686         Remove conditional code.
24687         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24688         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24689         Remove conditional code.
24690         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24691         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24692         Remove conditional code.
24693         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24694         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24695         Remove conditional code.
24696         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24697         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24698         Remove conditional code.
24699         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24700         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24701         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24702         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24703         * sysdeps/unix/sysv/linux/sigaction.c
24704         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24705         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24706         * sysdeps/unix/sysv/linux/sigpending.c
24707         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24708         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24709         * sysdeps/unix/sysv/linux/sigprocmask.c
24710         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24711         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24712         * sysdeps/unix/sysv/linux/sigsuspend.c
24713         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24714         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24715         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24716         (__libc_missing_rt_sigs): Remove.
24717         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24718         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24719         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24720         Remove conditional code.
24721         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24722         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24723         return 1.
24724         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24725         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24726         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24727         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24728
24729 2012-05-14  Andreas Jaeger  <aj@suse.de>
24730
24731         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24732         it's not used in glibc.
24733         (__coshm1): Likewise.
24734         (__acosh1p): Likewise.
24735         (__sgn): Likewise.
24736
24737         * manual/string.texi (Copying and Concatenation): Add missing
24738         variable in concat example.
24739         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24740
24741 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24742
24743         [BZ #14103]
24744         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24745         __builtin_clzl with __builtin_clzll.
24746
24747 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24748
24749         [BZ #14104]
24750         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24751         libc_freeres_ptr.
24752
24753 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24754
24755         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24756         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24757         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24758         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24759
24760 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24761
24762         * NEWS: Update ia64 info.
24763
24764 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24765
24766         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24767         used as bcopy.
24768
24769 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24770
24771         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24772         * sysdeps/unix/syscalls.list (dup3): Likewise.
24773         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24774         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24775
24776 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24777
24778         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24779         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24780
24781 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24782
24783         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24784         thread pointer.
24785         (TLS_IE): Use mov/add instead of movq/addq to load thread
24786         pointer.
24787         (TLS_GD_PREFIX): New.
24788         (TLS_GD): Use it.
24789
24790 2012-05-11  David S. Miller  <davem@davemloft.net>
24791
24792         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24793         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24794         (_FPU_SETCW): Likewise.
24795
24796 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24797
24798         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24799         is 32-byte aligned.
24800
24801 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24802
24803         [BZ #11837]
24804         * iconvdata/gb18030.c: Update tables.
24805         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24806         characters specially.
24807         (BODY for TO_LOOP): Add encoding of missing ranges.
24808
24809 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24810
24811         [BZ #13673]
24812         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24813         * sysdeps/mach/hurd/dup3.c: Likewise.
24814         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24815         * sysdeps/powerpc/memmove.c:: Likewise.
24816
24817 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24818
24819         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24820         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24821
24822 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24823
24824         * elf/elf.h (R_X86_64_RELATIVE64): New.
24825         (R_X86_64_NUM): Updated.
24826         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24827         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24828         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24829         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24830         tst-quad1pie tst-quad2pie
24831         (modules-names): Add tst-quadmod1 tst-quadmod2.
24832         ($(objpfx)tst-quad1): New dependency.
24833         ($(objpfx)tst-quad2): Likewise.
24834         ($(objpfx)tst-quad1pie): Likewise.
24835         ($(objpfx)tst-quad2pie): Likewise.
24836         * sysdeps/x86_64/tst-quad1.c: New file.
24837         * sysdeps/x86_64/tst-quad1pie.c: New file.
24838         * sysdeps/x86_64/tst-quad2.c: Likewise.
24839         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24840         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24841         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24842         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24843         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24844
24845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24846
24847         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24848         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24849         * streams/stropts.h (t_scalar_t): Define type.
24850
24851         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24852         (_PATH_PRESERVE): Set to "/var/lib".
24853         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24854
24855         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24856         instead of int.
24857
24858         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24859         if __dir_mkfile succeeded.
24860
24861         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24862         checking for _hurd_dtablesize.  Unlock it right after having
24863         finished _hurd_dtable allocation.
24864
24865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24866
24867         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24868         * sysdeps/mach/hurd/configure: Regenerated.
24869         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24870         special-casing to...
24871         * sysdeps/gnu/configure.in: ... this new file.
24872         * sysdeps/unix/sysv/linux/configure: Regenerated.
24873         * sysdeps/gnu/configure: New generated file.
24874
24875         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24876         for Linux: use nsec instead of usec, as well as:
24877         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24878         members of type struct timespec.
24879         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24880         New macros.
24881         (struct stat64): Likewise.
24882         (_STATBUF_ST_NSEC): New macro.
24883         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24884
24885         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24886         __strtoul_internal rather than strtoul.
24887
24888 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24889
24890         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24891         and reject them.
24892
24893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24894
24895         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24896         which preserves existing values.
24897         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24898
24899 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24900
24901         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24902         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24903         greater than FD_SETSIZE.
24904
24905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24906
24907         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24908         allocated, call __vm_protect to finish enabling the existing space, and
24909         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24910         allocate the remainder.
24911
24912 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24913
24914         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24915         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24916
24917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24918
24919         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24920         sysdeps/mach/hurd/readlink.c.
24921
24922         * posix/tst-sysconf.c (posix_options): Only use
24923         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24924         _POSIX_SYNCHRONIZED_IO when they are defined
24925         * sysdeps/mach/hurd/bits/posix_opt.h:
24926         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24927         (_XOPEN_REALTIME): Undefine macro.
24928         (_XOPEN_REALTIME_THREADS): Undefine macro.
24929         (_XOPEN_SHM): Undefine macro.
24930         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24931         macro to -1.
24932         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24933         macro to -1.
24934         (_POSIX_ASYNC_IO): Undefine macro.
24935         (_POSIX_PRIORITIZED_IO): Undefine macro.
24936         (_POSIX_SPIN_LOCKS): Define macro to -1.
24937
24938         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24939         SA_NODEFER, SA_RESETHAND.
24940         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24941         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24942         F_DUPFD_CLOEXEC.
24943
24944 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24945
24946         * elf/Makefile (pldd-modules): Define unconditionally.
24947
24948 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24949
24950         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24951
24952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24953
24954         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24955         Return ENOENT when name is empty.
24956         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24957
24958 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24959
24960         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24961
24962         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24963
24964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24965
24966         Fix mlock in all cases except non-readable pages.
24967         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24968         instead of VM_PROT_ALL as parameter to __vm_wire function.
24969
24970         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24971         (__mkdir): When path is `/', just fail with EEXIST.
24972         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24973
24974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24975
24976         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24977         <sys/uio.h> (for writev).
24978         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24979         and <sys/param.h> (for MIN).
24980
24981 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24982
24983         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24984         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24985         if interrupted.
24986
24987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24988
24989         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24990         Depend on against $(link-rpcuserlibs).
24991
24992 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24993
24994         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24995         (__libc_stack_end): Do not use attribute_relro.
24996         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24997         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24998         to libthread-provided value.
24999         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25000         attribute_relro.
25001
25002 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25003
25004         [BZ #3748]
25005         * bits/libc-lock.h (__libc_once_get): New macro.
25006         * sysdeps/mach/bits/libc-lock.h: Likewise.
25007         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25008         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25009         instead of using implementation details.
25010
25011         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25012         * libio/freopen.c: Likewise.
25013         * libio/freopen64.c: Likewise.
25014         * misc/syslog.c: Likewise.
25015         * nscd/connections.c: Likewise.
25016         * nscd/netgroupcache.c: Likewise.
25017         * sysdeps/posix/getcwd.c: Likewise.
25018
25019 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25020
25021         * math/w_ilogbf.c: Add #include <limits.h>.
25022
25023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25024
25025         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25026         path instead of returning without unlocking.
25027
25028         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25029         immediate-write ioctls.
25030         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25031
25032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25033
25034         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25035         __builtin_frame_address instead of making assumptions about the
25036         location of the return address relative to DATA.  Force early load of
25037         the return address.
25038         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25039         __builtin_frame_address.
25040
25041         dup3 for GNU Hurd.
25042         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25043         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25044         implement dup3 and do some further code clean-ups.
25045         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25046         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25047
25048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25049
25050         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25051
25052         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25053         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25054         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25055         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25056         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25057         d->port.lock.
25058
25059         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25060         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25061         when handler == SIG_ERR, not when handler != SIG_ERR.
25062
25063 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25064
25065         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25066         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25067         definitions.
25068
25069         accept4 for GNU Hurd.
25070         * include/sys/socket.h (__libc_accept4): New prototype.
25071         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25072         to implement __libc_accept4.
25073         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25074         __libc_accept4.
25075         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25076
25077         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25078         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25079         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25080         signal-defines.sym.
25081
25082 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25083
25084         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25085
25086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25087
25088         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25089         assertion on O_CLOEXEC flag.
25090         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25091         * hurd/intern-fd.c: Likewise.
25092         * hurd/port2fd.c: Likewise.
25093
25094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25095
25096         [BZ #3906]
25097         * bits/in.h (IPV6_PKTINFO): Define new macro.
25098         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25099
25100 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25101
25102         [BZ #13954]
25103         [BZ #13955]
25104         [BZ #13956]
25105         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25106         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25107         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25108         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25109         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25110         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25111         * math/libm-test.inc (logb_test) : Additional logb tests.
25112
25113 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25114             Andreas Jaeger  <aj@suse.de>
25115
25116         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25117         * configure: Regenerated.
25118         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25119         * config.make.in (link-obsolete-rpc): New substituted variable.
25120         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25121         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25122         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25123         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25124         so that libc.a contains the symbols.
25125         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25126         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25127         * sunrpc/auth_none.c: Likewise.
25128         * sunrpc/auth_unix.c: Likewise.
25129         * sunrpc/authdes_prot.c: Likewise.
25130         * sunrpc/authuxprot.c: Likewise.
25131         * sunrpc/clnt_gen.c: Likewise.
25132         * sunrpc/clnt_perr.c: Likewise.
25133         * sunrpc/clnt_raw.c: Likewise.
25134         * sunrpc/clnt_simp.c: Likewise.
25135         * sunrpc/clnt_tcp.c: Likewise.
25136         * sunrpc/clnt_udp.c: Likewise.
25137         * sunrpc/clnt_unix.c: Likewise.
25138         * sunrpc/des_crypt.c: Likewise.
25139         * sunrpc/des_soft.c: Likewise.
25140         * sunrpc/get_myaddr.c: Likewise.
25141         * sunrpc/key_call.c: Likewise.
25142         * sunrpc/key_prot.c: Likewise.
25143         * sunrpc/netname.c: Likewise.
25144         * sunrpc/pm_getmaps.c: Likewise.
25145         * sunrpc/pm_getport.c: Likewise.
25146         * sunrpc/pmap_clnt.c: Likewise.
25147         * sunrpc/pmap_prot.c: Likewise.
25148         * sunrpc/pmap_prot2.c: Likewise.
25149         * sunrpc/pmap_rmt.c: Likewise.
25150         * sunrpc/publickey.c: Likewise.
25151         * sunrpc/rpc_cmsg.c: Likewise.
25152         * sunrpc/rpc_common.c: Likewise.
25153         * sunrpc/rpc_dtable.c: Likewise.
25154         * sunrpc/rpc_prot.c: Likewise.
25155         * sunrpc/rpc_thread.c: Likewise.
25156         * sunrpc/rtime.c: Likewise.
25157         * sunrpc/svc.c: Likewise.
25158         * sunrpc/svc_auth.c: Likewise.
25159         * sunrpc/svc_raw.c: Likewise.
25160         * sunrpc/svc_run.c: Likewise.
25161         * sunrpc/svc_tcp.c: Likewise.
25162         * sunrpc/svc_udp.c: Likewise.
25163         * sunrpc/svc_unix.c: Likewise.
25164         * sunrpc/svcauth_des.c: Likewise.
25165         * sunrpc/xcrypt.c: Likewise.
25166         * sunrpc/xdr.c: Likewise.
25167         * sunrpc/xdr_array.c: Likewise.
25168         * sunrpc/xdr_float.c: Likewise.
25169         * sunrpc/xdr_intXX_t.c: Likewise.
25170         * sunrpc/xdr_mem.c: Likewise.
25171         * sunrpc/xdr_rec.c: Likewise.
25172         * sunrpc/xdr_ref.c: Likewise.
25173         * sunrpc/xdr_sizeof.c: Likewise.
25174         * sunrpc/xdr_stdio.c: Likewise.
25175
25176 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25177
25178         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25179         change.  Update copyright years.
25180
25181 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25182
25183         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25184
25185 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25186             Joseph Myers  <joseph@codesourcery.com>
25187             Paul Pluzhnikov  <ppluzhnikov@google.com>
25188
25189         [BZ #14012]
25190         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25191         requiring rpcgen.
25192         [cross-compiling] (extra-libs): Likewise.
25193         [cross-compiling] (extra-libs-others): Likewise.
25194         [cross-compiling] (librpcsvc-routines): Likewise.
25195         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25196         [cross-compiling] (omit-deps): Likewise.
25197         (sunrpc-CPPFLAGS): New variable.
25198         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25199         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25200         (cross-rpcgen-objs): New variable.
25201         (extra-objs): Append $(cross-rpcgen-objs).
25202         ($(cross-rpcgen-objs)): New rule.
25203         ($(objpfx)cross-rpcgen): Likewise.
25204         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25205         comment.
25206         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25207         ($(objpfx)x%.stmp): Likewise.
25208         * sunrpc/proto.h [IS_IN_build] (_): Define.
25209         [IS_IN_build] (_libc_intl_domainname): Likewise.
25210
25211 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25212
25213         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25214         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25215         and R_X86_64_TPOFF64.
25216
25217 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25218
25219         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25220         sysdeps/unix/sysv/syscalls.list.
25221         (stime): Likewise.
25222         (utime): Likewise.
25223         * sysdeps/unix/sysv/syscalls.list: Remove file.
25224
25225 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25226
25227         [BZ #3440]
25228         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25229         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25230         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25231         (__LC_IDENTIFICATION): Make these macros useful in #if
25232         expressions, as required by C99.
25233
25234 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25235
25236         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25237         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25238         after this.
25239
25240 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25241
25242         * stdlib/longlong.h: Updated from GCC.
25243
25244 2012-05-09  Andreas Jaeger  <aj@suse.de>
25245
25246         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25247         default is first entry.
25248         (run_mode): Set type.
25249         (main): Remove informal message about syslog.
25250         (options): Fix typo.
25251
25252         [BZ #14053]
25253         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25254         to asm.
25255         (lrint): Likewise.
25256         (llrintf): Likewise.
25257         (llrint): Likewise.
25258         (rint): Likewise.
25259         (rintf): Likewise.
25260         (nearbyint): Likewise.
25261         (nearbyintf): Likewise.
25262
25263 2012-05-09  Andreas Jaeger  <aj@suse.de>
25264             Pedro Alves  <palves@redhat.com>
25265
25266         * nscd/nscd.c (run_mode): Use enum.
25267         (main): Cleanup coding style issue.
25268
25269 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25270             Andreas Jaeger  <aj@suse.de>
25271
25272         * nscd/nscd.c (go_background): Replaced with...
25273         (run_mode): ... this.
25274         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25275         (options): Add -F --foreground.
25276         (main): Implement it.
25277         (parse_opt): Parse it.
25278
25279 2012-05-09  Andreas Jaeger  <aj@suse.de>
25280
25281         [BZ #14083]
25282         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25283         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25284         -Wconversion warning.
25285         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25286         Likewise.
25287
25288 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25289
25290         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25291         == 0.
25292         (LC_ALL): Use macro-int-constant.
25293         (LC_COLLATE): Likewise.
25294         (LC_CTYPE): Likewise.
25295         (LC_MESSAGES): Likewise.
25296         (LC_MONETARY): Likewise.
25297         (LC_NUMERIC): Likewise.
25298         (LC_TIME): Likewise.
25299         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25300         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25301         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25302         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25303         Specify type.
25304         [C99-based standards] (float_t): Expect type.
25305         [C99-based standards] (double_t): Expect type.
25306         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25307         type.
25308         [C99-based standards] (HUGE_VALL): Likewise.
25309         [C99-based standards] (INFINITY): Likewise.
25310         [C99-based standards] (NAN): Likewise.
25311         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25312         [C99-based standards] (FP_NAN): Likewise.
25313         [C99-based standards] (FP_NORMAL): Likewise.
25314         [C99-based standards] (FP_SUBNORMAL): Likewise.
25315         [C99-based standards] (FP_ZERO): Likewise.
25316         [C99-based standards] (FP_FAST_FMA): Use
25317         optional-macro-int-constant.  Specify type.  Require == 1.
25318         [C99-based standards] (FP_FAST_FMAF): Likewise.
25319         [C99-based standards] (FP_FAST_FMAL): Likewise.
25320         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25321         [C99-based standards] (FP_ILOGBNAN): Likewise.
25322         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25323         Specify type.
25324         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25325         [C99-based standards] (math_errhandling): Specify type.
25326         [ISO99 || ISO11] (signgam): Do not allow.
25327         [non-C99-based standards] (copysignf): Do not allow.
25328         [non-C99-based standards] (exp2f): Likewise.
25329         [non-C99-based standards] (log2f): Likewise.
25330         [non-C99-based standards] (modff): Allow.
25331         [non-C99-based standards] (erff): Do not allow.
25332         [non-C99-based standards] (erfcf): Likewise.
25333         [non-C99-based standards] (gammaf): Likewise.
25334         [non-C99-based standards] (hypotf): Likewise.
25335         [non-C99-based standards] (j0f): Likewise.
25336         [non-C99-based standards] (j1f): Likewise.
25337         [non-C99-based standards] (jnf): Likewise.
25338         [non-C99-based standards] (lgammaf): Likewise.
25339         [non-C99-based standards] (tgammaf): Likewise.
25340         [non-C99-based standards] (y0f): Likewise.
25341         [non-C99-based standards] (y1f): Likewise.
25342         [non-C99-based standards] (ynf): Likewise.
25343         [non-C99-based standards] (isnanf): Likewise.
25344         [non-C99-based standards] (acoshf): Likewise.
25345         [non-C99-based standards] (asinhf): Likewise.
25346         [non-C99-based standards] (atanhf): Likewise.
25347         [non-C99-based standards] (cbrtf): Likewise.
25348         [non-C99-based standards] (expm1f): Likewise.
25349         [non-C99-based standards] (ilogbf): Likewise.
25350         [non-C99-based standards] (log1pf): Likewise.
25351         [non-C99-based standards] (logbf): Likewise.
25352         [non-C99-based standards] (nextafterf): Likewise.
25353         [non-C99-based standards] (remainderf): Likewise.
25354         [non-C99-based standards] (rintf): Likewise.
25355         [non-C99-based standards] (scalbf): Likewise.
25356         [non-C99-based standards] (copysignl): Likewise.
25357         [non-C99-based standards] (exp2l): Likewise.
25358         [non-C99-based standards] (log2l): Likewise.
25359         [non-C99-based standards] (modfl): Allow.
25360         [non-C99-based standards] (erfl): Do not allow.
25361         [non-C99-based standards] (erfcl): Likewise.
25362         [non-C99-based standards] (gammal): Likewise.
25363         [non-C99-based standards] (hypotl): Likewise.
25364         [non-C99-based standards] (j0l): Likewise.
25365         [non-C99-based standards] (j1l): Likewise.
25366         [non-C99-based standards] (jnl): Likewise.
25367         [non-C99-based standards] (lgammal): Likewise.
25368         [non-C99-based standards] (tgammal): Likewise.
25369         [non-C99-based standards] (y0l): Likewise.
25370         [non-C99-based standards] (y1l): Likewise.
25371         [non-C99-based standards] (ynl): Likewise.
25372         [non-C99-based standards] (isnanl): Likewise.
25373         [non-C99-based standards] (acoshl): Likewise.
25374         [non-C99-based standards] (asinhl): Likewise.
25375         [non-C99-based standards] (atanhl): Likewise.
25376         [non-C99-based standards] (cbrtl): Likewise.
25377         [non-C99-based standards] (expm1l): Likewise.
25378         [non-C99-based standards] (ilogbl): Likewise.
25379         [non-C99-based standards] (log1pl): Likewise.
25380         [non-C99-based standards] (logbl): Likewise.
25381         [non-C99-based standards] (nextafterl): Likewise.
25382         [non-C99-based standards] (remainderl): Likewise.
25383         [non-C99-based standards] (rintl): Likewise.
25384         [non-C99-based standards] (scalbl): Likewise.
25385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25386         [non-C99-based standards] (FP_*): Do not allow.
25387         [C99-based standards] (FP_*): Change to
25388         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25389         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25390         allow.
25391         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25392         (SIG_ERR): Likewise.
25393         [X/Open-based standards] (SIG_HOLD): Likewise.
25394         (SIG_IGN): Likewise.
25395         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25396         positive value.
25397         (SIGFPE): Likewise.
25398         (SIGILL): Likewise.
25399         (SIGINT): Likewise.
25400         (SIGSEGV): Likewise.
25401         (SIGTER): Likewise.
25402         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25403         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25404         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25405         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25406         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25407         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25408         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25409         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25410         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25411         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25412         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25413         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25414         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25415         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25416         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25417         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25418         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25419         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25420         [X/Open-based standards] (SIGTRAP): Likewise.
25421         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25422         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25423         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25424         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25425         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25426         allow.
25427
25428 2012-05-08  Ian Wienand  <ianw@vmware.com>
25429
25430         [BZ #14080]
25431         * time/tzset.c (__tzset_parse_tz): Update default rules for
25432         daylight time changes in the Energy Policy Act of 2005.
25433
25434 2012-05-09  Andreas Jaeger  <aj@suse.de>
25435
25436         [BZ #13983]
25437         * elf/ldconfig.c (parse_conf): Change string to make clear that
25438         ldconfig only issued a warning if ld.so.conf does not exist.
25439
25440 2012-05-08  David S. Miller  <davem@davemloft.net>
25441
25442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25443         movxtod instead of popping the value on the stack.
25444
25445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25446
25447 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25448
25449         * config.h.in: Add HAVE_ARM_PCS_VFP.
25450
25451 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25452
25453         [BZ #13979]
25454         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25455         checking but the checks are disabled for any reason.
25456
25457 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25458
25459         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25460         and ELF64_R_TYPE with ELFW(R_TYPE).
25461
25462 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25463
25464         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25465         (ulimit): Likewise.
25466
25467         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25468         (settimeofday): Likewise.
25469
25470 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25471
25472         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25473         a struct th_u2 inside the union, and move tu_block/tu_code into
25474         a new th_u3 union of tu_block/tu_code inside of that.  Move
25475         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25476         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25477         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25478         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25479         (th_stuff): Change to th_u1.tu_stuff.
25480         (th_data): Define.
25481         (th_msg): Change to th_u1.th_u2.tu_data.
25482
25483 2012-05-07  David S. Miller  <davem@davemloft.net>
25484
25485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25486
25487         [BZ #14074]
25488         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25489         (SETUP_PIC_REG): Use it.
25490         (SETUP_PIC_REG_LEAF): Use it.
25491
25492 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25493
25494         [BZ #13885]
25495         [BZ #13923]
25496         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25497         USE_AS_EXPM1L.
25498         (EXPL_FINITE): Likewise.
25499         (FLDLOG): Likewise.
25500         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25501         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25502         e_expl.S.
25503         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25504         USE_AS_EXPM1L.
25505         (EXPL_FINITE): Likewise.
25506         (FLDLOG): Likewise.
25507         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25508         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25509         e_expl.S.
25510         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25511         test of -max_value argument for long double.
25512         * sysdeps/i386/fpu/libm-test-ulps: Update.
25513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25514
25515 2012-05-06  David S. Miller  <davem@davemloft.net>
25516
25517         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25518         quad soft-float symbols whose references which are compiler
25519         generated.
25520         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25521
25522 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25523
25524         [BZ #13884]
25525         [BZ #13914]
25526         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25527         USE_AS_EXP10L.
25528         (EXPL_FINITE): Likewise.
25529         (FLDLOG): Likewise.
25530         (c0): Likewise.
25531         (c1): Likewise.
25532         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25533         Adjust comments for base varying.
25534         (__expl_finite): Change alias to EXPL_FINITE.
25535         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25536         e_expl.S.
25537         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25538         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25539         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25540         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25541         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25542         USE_AS_EXP10L.
25543         (EXPL_FINITE): Likewise.
25544         (FLDLOG): Likewise.
25545         (c0): Likewise.
25546         (c1): Likewise.
25547         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25548         Adjust comments for base varying.
25549         (__expl_finite): Change alias to EXPL_FINITE.
25550         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25551         tests for bugs.
25552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25553
25554         [BZ #14064]
25555         * math/libm-test.inc (check_float_internal): Correct ulp
25556         calculation for subnormal expected results.
25557
25558 2012-05-06  Andreas Jaeger  <aj@suse.de>
25559
25560         * Makeconfig (+math-flags): New, set to -frounding-math.
25561         (+cflags): Add +math-flags so that all of glibc gets compiled with
25562         it.
25563
25564         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25565
25566 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25567
25568         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25569         Disable one test.
25570
25571         [BZ #13787]
25572         [BZ #13922]
25573         [BZ #14036]
25574         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25575         (__ieee754_expl): Allow for and saturate large arguments.
25576         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25577         (u_threshold): Likewise.
25578         (__exp): Call __ieee754_exp before checking for overflow and
25579         underflow.
25580         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25581         (u_threshold): Likewise.
25582         (__expf): Call __ieee754_expf before checking for overflow and
25583         underflow.
25584         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25585         (u_threshold): Likewise.
25586         (__expl): Call __ieee754_expl before checking for overflow and
25587         underflow.
25588         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25589         (__ieee754_expl): Allow for and saturate large arguments.
25590         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25591         missing overflow exception on overflow.
25592         (expm1_test): Do not allow missing overflow exception on overflow.
25593
25594         * sysdeps/i386/fpu/e_expl.c: Move to ...
25595         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25596         rather than using inline asm.
25597         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25598         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25599         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25600
25601         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25602         (nice): Likewise.
25603         (poll): Likewise.
25604         (signal): Likewise.
25605         (time): Likewise.
25606         (times): Likewise.
25607
25608 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25609
25610         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25611         sysdeps/unix/common/syscalls.list.
25612         (fchmod): Likewise.
25613         (fchown): Likewise.
25614         (ftruncate): Likewise.
25615         (getrusage): Likewise.
25616         (gettimeofday): Likewise.
25617         (setpgid): Likewise.
25618         (setregid): Likewise.
25619         (setreuid): Likewise.
25620         (sigaction): Likewise.
25621         (truncate): Likewise.
25622         (vhangup): Likewise.
25623         * sysdeps/unix/common/syscalls.list: Remove file.
25624         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25625         * sysdeps/unix/sysv/linux/Implies: Likewise.
25626
25627 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25628
25629         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25631         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25632         Moved to ...
25633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25634         Here.
25635         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25636         to ...
25637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25638         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25639         to ...
25640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25641         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25642         to ...
25643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25644         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25645         to ...
25646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25647         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25648         to ...
25649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25650         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25651         to ...
25652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25653         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25654         to ...
25655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25656         Here.
25657         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25658         to ...
25659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25660         Here.
25661         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25662         to ...
25663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25664         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25665         Moved to ...
25666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25667         Here.
25668         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25669         to ...
25670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25671
25672 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25673
25674         * sysdeps/unix/common/bits/dirent.h: Remove file.
25675         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25676
25677         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25678         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25679         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25680         * sysdeps/unix/bsd/isatty.c: Likewise.
25681         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25682         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25683         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25684
25685 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25686
25687         [BZ #13563]
25688         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25689         long double comparison inaccuracies.
25690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25692
25693 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25694
25695         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25697
25698 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25699
25700         [BZ #14049]
25701         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25702         nonzero digits before rounding a hex value.
25703         * stdlib/tst-strtod.c (tests): Add another test.
25704
25705 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25706
25707         * sysdeps/s390/fpu/libm-test-ulps: Update.
25708
25709 2012-05-03  Andreas Jaeger  <aj@suse.de>
25710
25711         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25712         does not get optimized out.
25713         (malloc_opt_barrier): New.
25714
25715 2012-05-03  Andreas Jaeger  <aj@suse.de>
25716             Roland McGrath  <roland@hack.frob.com>
25717
25718         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25719         intermediate file deletion.
25720         (generated): Add .symlist files.
25721
25722 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25723
25724         [BZ #13775]
25725         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25726         Redirect under this condition.
25727         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25728         [__USE_GNU] (__dprintf_chk): Not under this condition.
25729         [__USE_GNU] (__vdprintf_chk): Likewise.
25730         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25731         under this condition.
25732         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25733         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25734         [__USE_XOPEN2K8] (vdprintf): Likewise.
25735         [__USE_GNU] (__dprintf_chk): Not under this condition.
25736         [__USE_GNU] (__vdprintf_chk): Likewise.
25737         [__USE_GNU] (dprintf): Likewise.
25738         [__USE_GNU] (vdprintf): Likewise.
25739
25740 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25741
25742         * elf/Makefile (common-generated): Set this instead of generated for
25743         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25744         $(all-built-dso)-derived lists.
25745
25746 2012-05-03  Andreas Jaeger  <aj@suse.de>
25747
25748         * sysdeps/i386/fpu/libm-test-ulps: Update.
25749
25750         * FAQ: Removed.
25751         * FAQ.in: Likewise.
25752         * scripts/gen-FAQ.pl: Likewise.
25753         * manual/install.texi (Installation): Point to online location of
25754         FAQ.
25755         * Makefile (files-for-dist): Remove FAQ.
25756         (FAQ): Remove.
25757
25758 2012-05-02  Allan McRae  <allan@archlinux.org>
25759
25760         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25761         (LDFLAGS-reldepmod5.so): Likewise.
25762         (LDFLAGS-reldep6mod1.so): Likewise.
25763         (LDFLAGS-reldep6mod4.so): Likewise.
25764         (LDFLAGS-reldep8mod3.so): Likewise.
25765         (LDFLAGS-unload4mod1.so): Likewise.
25766         (LDFLAGS-unload4mod2.so): Likewise.
25767         (LDFLAGS-tst-initorder): Likewise.
25768         (LDFLAGS-tst-initordera2.so): Likewise.
25769         (LDFLAGS-tst-initordera3.so): Likewise.
25770         (LDFLAGS-tst-initordera4.so): Likewise.
25771         (LDFLAGS-tst-initorderb2.so): Likewise.
25772         (LDFLAGS-noload): Likewise.
25773         (LDFLAGS-next): Likewise.
25774         (LDFLAGS-order2mod1.so): Likewise.
25775         (LDFLAGS-order2mod2.so): Likewise.
25776         (LDFLAGS-tst-initorder2): Likewise.
25777         (LDFLAGS-tst-initorder2a.so): Likewise.
25778         (LDFLAGS-tst-initorder2b.so): Likewise.
25779         (LDFLAGS-tst-initorder2c.so): Likewise.
25780         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25781
25782 2012-05-02  David S. Miller  <davem@davemloft.net>
25783
25784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25785
25786 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25787
25788         [BZ #14055]
25789         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25790
25791 2012-05-02  Andreas Jaeger  <aj@suse.de>
25792
25793         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25794         since we manipulate rounding mode.
25795         (CPPFLAGS-test-idouble.c): Likewise.
25796         (CPPFLAGS-test-ifloat.c): Likewise.
25797         (CFLAGS-test-ldouble.c): Likewise.
25798         (CFLAGS-test-double.c): Likewise.
25799         (CFLAGS-test-float.c): Likewise.
25800         (CFLAGS-test-misc.c): Likewise.
25801         (CFLAGS-test-test-fenv.c): Likewise.
25802
25803 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25804
25805         [BZ #2550]
25806         [BZ #2570]
25807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25808         comparisons to determine direction to adjust input.
25809
25810 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25811
25812         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25813         output to the target.
25814
25815         * scripts/localplt.awk: New file.
25816         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25817         (check-localplt-CFLAGS): Variable removed.
25818         ($(all-built-dso:=.jmprel)): New static pattern rule.
25819         (generated): Add those targets.
25820         (localplt-built-dso): New variable.
25821         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25822
25823         * elf/check-localplt.c: File removed.
25824
25825         * scripts/check-execstack.awk: New file.
25826         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25827         (check-execstack-CFLAGS): Variable removed.
25828         ($(objpfx)check-execstack.h): Target removed.
25829         ($(objpfx)execstack-default): New target.
25830         (generated): Add that instead of check-execstack.h.
25831         ($(all-built-dso:=.phdr)): New static pattern rule.
25832         (generated): Add those targets.
25833         * elf/check-execstack.c: File removed.
25834
25835         * scripts/check-textrel.awk: New file.
25836         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25837         (check-textrel-CFLAGS): Variable removed.
25838         (all-built-dso): Use := to define.o
25839         ($(all-built-dso:=.dyn)): New static pattern rule.
25840         (generated): Add those targets.
25841         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25842         * config.make.in (READELF): New substituted variable.
25843         * elf/check-textrel.c: File removed.
25844
25845 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25846
25847         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25848         allow.
25849         * conform/data/ctype.h-data [C99-based standards] (isblank):
25850         Expect function.
25851         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25852         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25854         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25855         Specify type.  Require positive value.
25856         (EILSEQ): Likewise.
25857         (ERANGE): Likewise.
25858         [ISO || POSIX] (EILSEQ): Do not expect.
25859         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25860         Specify type.  Require positive value.
25861         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25862         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25863         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25864         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25865         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25866         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25867         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25868         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25869         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25870         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25871         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25872         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25873         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25874         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25875         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25876         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25877         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25878         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25879         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25880         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25881         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25882         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25883         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25884         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25885         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25886         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25887         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25888         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25889         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25890         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25891         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25892         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25893         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25894         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25895         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25896         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25897         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25898         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25899         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25900         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25901         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25902         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25903         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25904         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25905         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25906         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25907         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25908         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25909         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25910         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25911         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25912         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25913         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25914         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25915         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25916         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25917         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25918         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25919         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25920         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25921         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25922         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25923         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25924         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25925         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25926         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25927         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25928         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25929         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25930         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25931         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25932         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25933         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25934         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25935         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25936         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25937         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25938         Require >= 2.
25939         (FLT_ROUNDS): Expect as macro, not constant.
25940         (FLT_MANT_DIG): Use macro-int-constant.
25941         (DBL_MANT_DIG): Likewise.
25942         (LDBL_MANT_DIG): Likewise.
25943         (FLT_DIG): Likewise.
25944         (DBL_DIG): Likewise.
25945         (LDBL_DIG): Likewise.
25946         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25947         (DBL_MIN_EXP): Likewise.
25948         (LDBL_MIN_EXP): Likewise.
25949         (FLT_MAX_EXP): Use macro-int-constant.
25950         (DBL_MAX_EXP): Likewise.
25951         (LDBL_MAX_EXP): Likewise.
25952         (FLT_MAX_10_EXP): Likewise.
25953         (DBL_MAX_10_EXP): Likewise.
25954         (LDBL_MAX_10_EXP): Likewise.
25955         (FLT_MAX): Use macro-constant.
25956         (DBL_MAX): Likewise.
25957         (LDBL_MAX): Likewise.
25958         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25959         (DBL_EPSILON): Likewise.
25960         (LDBL_EPSILON): Likewise.
25961         (FLT_MIN): Likewise.
25962         (DBL_MIN): Likewise.
25963         (LDBL_MIN): Likewise.
25964         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25965         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25966         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25967         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25968         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25969         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25970         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25971         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25972         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25973         [ISO11] (FLT_TRUE_MIN): Likewise.
25974         [ISO11] (LDBL_TRUE_MIN): Likewise.
25975         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25976         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25977         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25978         (SCHAR_MAX): Likewise.
25979         (UCHAR_MAX): Likewise.
25980         (CHAR_MIN): Likewise.
25981         (CHAR_MAX): Likewise.
25982         (MB_LEN_MAX): Use macro-int-constant.
25983         (SHRT_MIN): Use macro-int-constant.  Specify type.
25984         (SHRT_MAX): Likewise.
25985         (USHRT_MAX): Likewise.
25986         (INT_MAX): Likewise.
25987         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25988         bound negative.
25989         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25990         bound with "U".
25991         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25992         bound with "L".
25993         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25994         bound negative.  Suffix upper bound with "L".
25995         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25996         bound with "UL".
25997         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25998         Specify type.
25999         [C99-based standards] (LLONG_MAX): Likewise.
26000         [C99-based standards] (ULLONG_MAX): Likewise.
26001         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26002         == 0.
26003         [ISO11] (max_align_t): Require type.
26004         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26005
26006         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26007         from $CFLAGS, without defining away __attribute__ calls.
26008         (checknamespace): Use $CFLAGS_namespace.
26009
26010         * conform/conformtest.pl (@keywords): Only include C99 keywords
26011         for standards based on C99 or C11.
26012
26013         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26014         Disable tests.
26015         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26016         UNIX98]: Likewise.
26017
26018         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26019         usability of symbols in #if.
26020
26021         * conform/conformtest.pl: If macro or constant types start
26022         "promoted:", expect the symbol to be of the following type
26023         promoted by the integer promotions.
26024
26025         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26026         in one place.  Also handle "macro-constant".
26027
26028         * conform/conformtest.pl: Only accept expected macro values with
26029         "==".  Parse all "macro" lines in one place.
26030         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26031
26032         * conform/conformtest.pl: Handle braced types on "constant" lines
26033         instead of handling "typed-constant".
26034         * conform/data/signal.h-data: Use "constant" instead of
26035         "typed-constant".
26036
26037         * conform/conformtest.pl: Handle "optional-" at start of lines in
26038         one place rather than duplicating several cases.  Handle each
26039         format of "macro" line with initial "optional-".
26040
26041         * conform/conformtest.pl: Only accept expected constant or
26042         optional-constant values with "==".  Parse all "constant" lines in
26043         one place.  Parse all "optional-constant" lines in one place.
26044         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26045         * conform/data/fmtmsg.h-data: Likewise.
26046         * conform/data/netinet/in.h-data: Likewise.
26047         * conform/data/tar.h-data: Likewise.
26048         * conform/data/limits.h-data: Use "==" form on "constant" and
26049         "optional-constant" lines.
26050
26051         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26052         Use -std=c99 for XOPEN2K.
26053         (@knownproblems): Remove.
26054         (newtoken): Don't check %isknown.
26055
26056         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26057         Do not expect macro.
26058         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26059         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26060         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26061         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26062         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26063         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26064         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26065         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26066         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26067         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26068         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26069         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26070         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26071         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26072         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26073         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26074         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26075         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26076         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26077         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26078         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26079         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26080         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26081         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26082         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26083         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26084         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26085         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26086         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26087         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26088         [XPG3] (acosh): Likewise.
26089         [XPG3] (asinh): Likewise.
26090         [XPG3] (atanh): Likewise.
26091         [XPG3] (cbrt): Likewise.
26092         [XPG3] (expm1): Likewise.
26093         [XPG3] (ilogb): Likewise.
26094         [XPG3] (log1p): Likewise.
26095         [XPG3] (logb): Likewise.
26096         [XPG3] (nextafter): Likewise.
26097         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26098         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26099         [XPG3] (remainder): Likewise.
26100         [XPG3] (rint): Likewise.
26101         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26102         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26103         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26104         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26105         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26106         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26107         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26108         [UNIX98 || XOPEN2K] (scalb): Expect.
26109         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26110         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26111         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26112         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26113         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26114         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26115         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26116         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26117         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26118         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26119         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26120         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26121         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26122         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26123         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26124         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26125         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26126         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26127         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26128         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26129         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26130         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26131         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26132         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26133         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26134         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26135         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26136         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26137         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26138         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26139         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26140         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26141         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26142         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26143         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26144         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26145         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26146         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26147         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26148         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26149         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26150         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26151         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26152         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26153         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26154         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26155         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26156         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26157         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26158         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26159         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26160         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26161         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26162         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26163         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26164         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26165         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26166         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26167         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26168         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26169         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26170         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26171         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26172         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26173         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26174         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26175         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26176         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26177         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26178         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26179         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26180         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26181         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26182         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26183         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26184         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26185         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26186         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26187         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26188         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26189         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26190         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26191         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26192         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26193         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26194         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26195         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26196         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26197         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26198         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26199         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26200         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26201         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26202         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26203         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26204         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26205         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26206         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26207         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26208         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26209         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26210         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26211         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26212         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26213         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26214         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26215         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26216         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26217         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26218         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26219         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26220         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26221         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26222         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26223         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26224         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26225         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26226         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26227         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26228         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26229         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26230         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26231         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26232         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26233         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26234         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26235         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26236         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26237         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26238         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26239         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26240         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26241         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26242         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26243         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26244         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26245         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26246
26247         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26248         _XOPEN_SOURCE_EXTENDED for XPG4.
26249
26250         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26251
26252         * Makeconfig (localtime): Remove variable.
26253         (inst_localtime-file): Likewise.
26254
26255 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26256
26257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26258         Update.
26259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26260         Update.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26262         Update.
26263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26264         Update.
26265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26266         Update.
26267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26268         Update.
26269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26270         Update.
26271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26272         Update.
26273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26274         Update.
26275
26276 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26277
26278         [BZ #2550]
26279         [BZ #2570]
26280         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26281         comparisons to determine direction to adjust input.
26282         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26283         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26284         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26285         Likewise.
26286         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26287         Likewise.
26288         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26289         Likewise.
26290         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26291         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26292         Likewise.
26293         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26294         Likewise.
26295         * math/libm-test.inc (nexttoward_test): Add more tests.
26296
26297 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26298
26299         [BZ #14040]
26300         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26301         in version GLIBC_2.1, not GLIBC_2.0.
26302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26303         Likewise.
26304
26305 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26306
26307         [BZ #13942]
26308         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26309         (1 - x) * (1 + x).
26310         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26311         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26312         * math/libm-test.inc (acos_test): Add more tests.
26313         (asin_test): Likewise.
26314         * sysdeps/i386/fpu/libm-test-ulps: Update.
26315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26316
26317         [BZ #14034]
26318         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26319         of square root.
26320         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26321         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26322         * math/libm-test.inc (acos_test_tonearest): New function.
26323         (acos_test_towardzero): Likewise.
26324         (acos_test_downward): Likewise.
26325         (acos_test_upward): Likewise.
26326         (asin_test_tonearest): Likewise.
26327         (asin_test_towardzero): Likewise.
26328         (asin_test_downward): Likewise.
26329         (asin_test_upward): Likewise.
26330         (main): Call the new functions.
26331         * sysdeps/i386/fpu/libm-test-ulps: Update.
26332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26333
26334         [BZ #13884]
26335         [BZ #13924]
26336         * math/e_exp10.c: Include <float.h>.
26337         (__ieee754_exp10): Handle underflow here rather than multiplying
26338         large negative argument by M_LN10.
26339         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26340         of __ieee754_expf.
26341         * math/e_exp10l.c: Include <float.h>.
26342         (__ieee754_exp10l): Handle underflow here rather than multiplying
26343         large negative argument by M_LN10l.
26344         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26345         spurious overflow exception on underflow.
26346
26347 2012-04-29  Marek Polacek  <polacek@redhat.com>
26348
26349         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26350         (__fortify_function): New macro.
26351         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26352         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26353         __extern_always_inline.
26354         * libio/bits/stdio2.h: Likewise.
26355         * libio/bits/stdio.h: Likewise.
26356         * string/string.h: Likewise.
26357         * string/bits/string3.h: Likewise.
26358         * include/stdio.h: Likewise.
26359         * stdlib/bits/stdlib.h: Likewise.
26360         * stdlib/stdlib.h: Likewise.
26361         * rt/bits/mqueue2.h: Likewise.
26362         * rt/mqueue.h: Likewise.
26363         * posix/bits/unistd.h: Likewise.
26364         * posix/unistd.h: Likewise.
26365         * io/bits/poll2.h: Likewise.
26366         * io/bits/fcntl2.h: Likewise.
26367         * io/fcntl.h: Likewise.
26368         * io/sys/poll.h: Likewise.
26369         * misc/bits/syslog.h: Likewise.
26370         * misc/bits/syslog-ldbl.h: Likewise.
26371         * misc/sys/syslog.h: Likewise.
26372         * socket/bits/socket2.h: Likewise.
26373         * socket/sys/socket.h: Likewise.
26374         * debug/tst-chk1.c: Likewise.
26375         * wcsmbs/bits/wchar2.h: Likewise.
26376         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26377         * wcsmbs/wchar.h: Likewise.
26378
26379 2012-04-29  Andreas Jaeger  <aj@suse.de>
26380
26381         * Makerules (tests): Remove enable-check-abi protection.
26382         (check-abi-warn): Remove.
26383         (check-abi-%): Remove check-abi-warn usage.
26384
26385         * configure.in: Remove check-abi configure option.
26386         * configure: Regenerated.
26387         * config.make.in (enable-check-abi): Remove.
26388
26389 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26390
26391         [BZ #14033]
26392         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26393         double functions to double *_finite functions.
26394
26395         [BZ #13941]
26396         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26397         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26398         LDBL_MIN_EXP.
26399         * stdio-common/Makefile (tests): Add tst-sprintf3.
26400         * stdio-common/tst-sprintf3.c: New file.
26401
26402         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26403         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26404
26405 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26406
26407         * conform/conformtest.pl: Remove duplicate typed-constant
26408         handling.
26409
26410 2012-04-28  David S. Miller  <davem@davemloft.net>
26411
26412         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26413         (check-abi-%): Remove AWK script prerequisite and explicit
26414         abilist directory.
26415         (check-abi): Rewrite to just diff the symlist with the abilist.
26416         (config-tls, config-abi-config): Delete, no longer used.
26417         (update-abi-%): Remove AWK script and explicit abilist directory.
26418         (update-abi): Rewrite to simply compare and conditionally copy the
26419         symlist and the sysdep abilist file.  Remove update-abi-config
26420         checks.
26421         * abilist/ld.abilist: Remove.
26422         * abilist/libBrokenLocale.abilist: Remove.
26423         * abilist/libanl.abilist: Remove.
26424         * abilist/libcrypt.abilist: Remove.
26425         * abilist/libdl.abilist: Remove.
26426         * abilist/librt.abilist: Remove.
26427         * abilist/libthread_db.abilist: Remove.
26428         * abilist/libutil.abilist: Remove.
26429         * scripts/extract-abilist.awk: Remove.
26430         * scripts/merge-abilist.awk: Remove.
26431         * sysdeps/generic/libcidn.abilist: New file.
26432         * sysdeps/generic/libnss_compat.abilist: New file.
26433         * sysdeps/generic/libnss_db.abilist: New file.
26434         * sysdeps/generic/libnss_dns.abilist: New file.
26435         * sysdeps/generic/libnss_files.abilist: New file.
26436         * sysdeps/generic/libnss_hesiod.abilist: New file.
26437         * sysdeps/generic/libnss_nis.abilist: New file.
26438         * sysdeps/generic/libnss_nisplus.abilist: New file.
26439         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26440         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26441         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26442         file.
26443         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26444         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26445         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26446         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26447         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26448         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26449         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26450         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26451         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26452         file.
26453         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26454         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26455         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26456         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26457         file.
26458         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26459         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26460         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26461         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26462         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26463         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26464         file.
26465         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26466         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26467         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26468         file.
26469         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26471         New file.
26472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26473         New file.
26474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26475         New file.
26476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26477         New file.
26478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26479         New file.
26480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26481         New file.
26482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26483         New file.
26484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26485         New file.
26486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26487         New file.
26488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26489         New file.
26490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26491         New file.
26492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26493         New file.
26494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26495         New file.
26496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26497         file.
26498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26499         New file.
26500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26501         New file.
26502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26503         file.
26504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26505         New file.
26506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26507         New file.
26508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26509         file.
26510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26511         New file.
26512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26513         New file.
26514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26515         New file.
26516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26517         New file.
26518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26519         New file.
26520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26521         New file.
26522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26524         file.
26525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26526         New file.
26527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26528         file.
26529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26530         file.
26531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26532         file.
26533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26534         file.
26535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26536         file.
26537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26538         New file.
26539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26540         file.
26541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26542         file.
26543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26544         New file.
26545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26546         file.
26547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26549         file.
26550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26551         New file.
26552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26553         file.
26554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26555         file.
26556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26557         file.
26558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26559         file.
26560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26561         file.
26562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26563         New file.
26564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26565         file.
26566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26567         file.
26568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26569         New file.
26570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26571         file.
26572         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26573         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26574         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26575         file.
26576         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26577         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26578         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26579         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26580         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26581         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26582         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26583         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26584         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26585         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26588         file.
26589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26590         New file.
26591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26592         file.
26593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26594         file.
26595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26596         file.
26597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26598         file.
26599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26600         file.
26601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26602         New file.
26603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26604         New file.
26605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26606         file.
26607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26608         New file.
26609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26610         file.
26611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26613         file.
26614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26615         New file.
26616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26617         file.
26618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26619         file.
26620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26621         file.
26622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26623         file.
26624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26625         file.
26626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26627         New file.
26628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26629         New file.
26630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26631         file.
26632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26633         New file.
26634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26635         file.
26636
26637 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26638
26639         * conform/conformtest.pl: Fix typo in handling typed-constant from
26640         allow-header.
26641
26642 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26643
26644         * README: Cut down references to pre-2.6 Linux kernels and
26645         Linuxthreads.  Update lists of configurations in libc and ports
26646         and sort alphabetically.  Say "or newer" with Linux kernel version
26647         requirements.
26648
26649         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26650
26651 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26652
26653         [BZ #887]
26654         * math/libm-test.inc (logb_test_downward): New test to expose
26655         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26656         rounding mode.
26657
26658 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26659
26660         [BZ #14027]
26661         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26662         to be done.
26663         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26664         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26665
26666 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26667
26668         * sysdeps/unix/i386/brk.S: Remove file.
26669         * sysdeps/unix/i386/dl-brk.S: Likewise.
26670         * sysdeps/unix/i386/pipe.S: Likewise.
26671         * sysdeps/unix/i386/sigreturn.S: Likewise.
26672         * sysdeps/unix/i386/syscall.S: Likewise.
26673         * sysdeps/unix/i386/vfork.S: Likewise.
26674         * sysdeps/unix/i386/wait.S: Likewise.
26675
26676         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26677         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26678
26679         * configure.in (arm*-none*): Do not allow without
26680         --enable-hacker-mode.
26681         (netbsd*): Remove case setting base_os.
26682         (386bsd*): Likewise.
26683         (freebsd*): Likewise.
26684         (bsdi*): Likewise.
26685         (osf*): Likewise.
26686         (sunos*): Likewise.
26687         (ultrix*): Likewise.
26688         (newsos*): Likewise.
26689         (dynix*): Likewise.
26690         (*bsd*): Likewise.
26691         (sysv*): Likewise.
26692         (isc*): Likewise.
26693         (esix*): Likewise.
26694         (sco*): Likewise.
26695         (minix*): Likewise.
26696         (irix4*): Likewise.
26697         (irix6*): Likewise.
26698         (solaris[2-9]*): Likewise.
26699         (none): Likewise.
26700         * configure: Regenerated.
26701
26702 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26703
26704         [BZ #11521]
26705         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26706         overflow or cancellation in calculating denominator.
26707         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26708         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26709         down expression to avoid unexpected rounding in newer GCCs.
26710         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26711
26712 2012-04-26  David S. Miller  <davem@davemloft.net>
26713
26714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26715         long-double compat symbols.
26716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26729
26730 2012-04-25  David S. Miller  <davem@davemloft.net>
26731
26732         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26733         HWCAP_* values only after the memory barriers have been defined.
26734         (atomic_full_barrier): Define.
26735         (atomic_read_barrier): Define.
26736         (atomic_write_barrier): Define.
26737
26738 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26739
26740         * shlib-versions: Add libgcc_s version information.
26741         * sysdeps/generic/libgcc_s.h: Remove.
26742         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26743         libgcc_s.h.
26744         * sysdeps/gnu/unwind-resume.c: Likewise.
26745         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26746
26747 2012-04-25  David S. Miller  <davem@davemloft.net>
26748
26749         * sysdeps/unix/sparc/brk.S: Delete.
26750         * sysdeps/unix/sparc/dl-brk.S: Delete.
26751         * sysdeps/unix/sparc/pipe.S: Delete.
26752         * sysdeps/unix/sparc/sysdep.S: Delete.
26753         * sysdeps/unix/sparc/sysdep.h: Delete.
26754         * sysdeps/unix/sparc/vfork.S: Delete.
26755         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26756         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26757         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26758         ret_ERRVAL, r0, r1, MOVE): Define.
26759         (JUMPTARGET): Remove.
26760         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26761         sysdeps/unix/sparc/sysdep.h
26762         (ENTRY, END): Remove.
26763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26764
26765 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26766
26767         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26768         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26769         -DIS_IN_build.
26770
26771         * timezone/README: Update upstream location and email address for
26772         tzcode and tzdata.
26773         * timezone/zdump.c: Update from tzcode 2012b.
26774         * timezone/zic.c: Likewise.
26775
26776         * configure.in (libc_cv_as_needed): Remove test.
26777         * configure: Regenerated.
26778         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26779         conditional definition.
26780         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26781         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26782         * config.make.in (have-as-needed): Remove variable.
26783
26784 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26785             Paul Pluzhnikov  <ppluzhnikov@google.com>
26786
26787         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26788         strings correctly.
26789
26790 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26791
26792         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26793         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26794         * sysdeps/sh/strlen.S: Likewise.
26795
26796 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26797
26798         * sysdeps/unix/fork.S: Remove file.
26799         * sysdeps/unix/i386/fork.S: Likewise.
26800         * sysdeps/unix/sparc/fork.S: Likewise.
26801
26802         * sysdeps/unix/system.c: Remove file.
26803         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26804
26805         * sysdeps/unix/getegid.S: Remove file.
26806         * sysdeps/unix/geteuid.S: Likewise.
26807
26808 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26809
26810         * scripts/check-localplt.awk: New file.
26811         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26812         of diff.
26813         * scripts/data/localplt-generic.data: Add a comment.
26814
26815         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26816         NODE when __dir_mkfile failed.
26817         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26818         Reported by Ludovic Courtès <ludo@gnu.org>.
26819
26820 2012-04-24  Andreas Jaeger  <aj@suse.de>
26821
26822         * Makerules (common-clean): Also remove gen-as-const-headers
26823         files.
26824
26825 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26826
26827         * Makerules (native-compile): Do not change working directory for
26828         build.  Use $(OUTPUT_OPTION) in command.
26829         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26830
26831 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26832
26833         [BZ #13886]
26834         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26835         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26836         * math/libm-test.inc (floor_test): Add more tests.
26837         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26838
26839 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26840
26841         * sysdeps/unix/getdents.c: Remove file.
26842         * sysdeps/unix/sysv/getdents.c: Likewise.
26843         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26844
26845         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26846         sysdeps/unix/mman/syscalls.list.
26847         (mmap): Likewise.
26848         (mprotect): Likewise.
26849         (msync): Likewise.
26850         (munmap): Likewise.
26851         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26852         * sysdeps/unix/mman/syscalls.list: Remove.
26853         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26854
26855         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26856         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26857         * configure: Regenerated.
26858         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26859         $(libgcc_s_suffix).
26860         * config.make.in (libgcc_s_suffix): Remove variable.
26861
26862 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26863
26864         * sysdeps/unix/sysv/gethostname.c: Move to ...
26865         * sysdeps/posix/gethostname.c: ... here.
26866
26867         * sysdeps/unix/execve.S: Remove file.
26868
26869         * sysdeps/unix/_exit.S: Remove file.
26870
26871 2012-04-23  Andreas Jaeger  <aj@suse.de>
26872
26873         [BZ #13739]
26874         * manual/Makefile: Remove make dist support, there's no
26875         need for a stand-alone documentation tar ball.
26876         (TEXI2DVI): Define always, it's not in Makeconfig.
26877         (dist): Removed.
26878         (tar-it): Removed.
26879         (edition): Removed.
26880         (glibc-doc-$(edition).tar): Removed
26881         (%.Z): Removed.
26882         (%.gz): Removed.
26883         (%.uu): Removed.
26884         (ETAGS): Remove, it's in Makeconfig.
26885         (move-if-change): Remove, it's in Makeconfig.
26886
26887 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26888
26889         [BZ #13970]
26890         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26891         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26892         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26893         (strtod_l, strtof_l, strtold_l): Remove __wur.
26894         It is not necessarily an error to ignore strtol's return value.
26895         One can reliably look at the stored endptr to decide whether
26896         the number had valid syntax.
26897
26898 2012-04-21  Andreas Jaeger  <aj@suse.de>
26899
26900         [BZ #13739]
26901         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26902
26903 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26904
26905         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26906         * sysdeps/unix/sysv/Versions: Remove file.
26907
26908 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26909
26910         [BZ #13927]
26911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26912
26913 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26914
26915         [BZ #7064]
26916         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26917         version from __vm86.
26918
26919 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26920
26921         * sysdeps/unix/common/lxstat.c: Remove file.
26922         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26923
26924         * sysdeps/unix/sysv/Makefile: Remove file.
26925
26926         * sysdeps/unix/sysv/direct.h: Remove file.
26927
26928         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26929         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26930         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26931         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26932         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26933         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26934         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26935
26936         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26937
26938         * sysdeps/unix/xmknod.c: Remove file.
26939         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26940
26941         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26942
26943         * sysdeps/unix/sysv/i386/time.S: Remove file.
26944
26945         * sysdeps/unix/fxstat.c: Remove file.
26946         * sysdeps/unix/xstat.c: Likewise.
26947         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26948
26949         * sysdeps/unix/sysv/sigaction.c: Remove file.
26950
26951         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26952         (sysdep_headers): Remove variable.
26953         [termio.h not in sysdep_headers] (generated): Likewise.
26954         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26955         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26956         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26957         * sysdeps/unix/sysv/tcflow.c: Likewise.
26958         * sysdeps/unix/sysv/tcflush.c: Likewise.
26959         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26960         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26961         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26962         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26963         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26964
26965         * sysdeps/unix/siglist.c: Remove file.
26966
26967         * sysdeps/unix/getppid.S: Remove file.
26968
26969         * sysdeps/unix/mkdir.c: Remove file.
26970         * sysdeps/unix/rmdir.c: Likewise.
26971
26972 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26973
26974         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26975         ERR_MAX value.
26976         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26977         errlist-compat value.
26978
26979 2012-04-18  David S. Miller  <davem@davemloft.net>
26980
26981         * sysdeps/generic/memcopy.h (reg_char): Delete.
26982         * debug/strcat_chk.c: Use char, not reg_char.
26983         * debug/strcpy_chk.c: Likewise.
26984         * debug/strncat_chk.c: Likewise.
26985         * debug/strncpy_chk.c: Likewise.
26986         * string/memchr.c: Likewise.
26987         * string/memrchr.c: Likewise.
26988         * string/rawmemchr.c: Likewise.
26989         * string/strcat.c: Likewise.
26990         * string/strchr.c: Likewise.
26991         * string/strchrnul.c: Likewise.
26992         * string/strcmp.c: Likewise.
26993         * string/strcpy.c: Likewise.
26994         * string/strncat.c: Likewise.
26995         * string/strncmp.c: Likewise.
26996         * string/strncpy.c: Likewise.
26997
26998 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26999
27000         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27001         __builtin_memcopy is called when src and dest ranges are known to not
27002         overlap.
27003
27004 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27005
27006         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27007         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27008         fwd_align_merge macro call.
27009         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27010         bwd_align_merge macro call.
27011         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27012
27013 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27014
27015         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27016         bwd_align_merge macros.
27017         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27018         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27019         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27020
27021 2012-04-18  David S. Miller  <davem@davemloft.net>
27022
27023         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27024
27025 2012-04-18  Andreas Jaeger  <aj@suse.de>
27026
27027         [BZ# 6794]
27028         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27029         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27030         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27031
27032         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27033         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27034         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27035
27036         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27037         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27038         Adjust for changed ldbl-128 files.
27039
27040         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27041         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27042         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27043
27044 2012-04-17  David S. Miller  <davem@davemloft.net>
27045
27046         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27047
27048 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27049
27050         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27051         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27052         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27053         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27054         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27055         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27056
27057 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27058
27059         [BZ #6794]
27060         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27061         * math/libm-test.inc: Add ilogb errno and exception tests.
27062         * math/w_ilogb.c: New file: ilogb wrapper.
27063         * math/w_ilogbf.c: New file: ilogbf wrapper.
27064         * math/w_ilogbl.c: New file: ilogbl wrapper.
27065         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27066         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27067         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27068         exception being thrown with 0.0 as argument.
27069         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27070         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27071         exception being thrown with 0.0 as argument.
27072         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27073         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27074         exception being thrown with 0.0 as argument.
27075         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27076         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27077         exception being thrown with 0.0 as argument.
27078         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27079         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27080         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27081         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27082         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27083         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27084         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27085         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27086         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27087
27088 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27089
27090         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27091         with altivec.
27092
27093 2012-04-16  Marek Polacek  <polacek@redhat.com>
27094
27095         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27096
27097 2012-04-16  Marek Polacek  <polacek@redhat.com>
27098
27099         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27100         operands of fdivp instruction.
27101
27102 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27103
27104         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27105         * elf/tst-auditmod3b.c: Likewise.
27106         * elf/tst-auditmod4b.c: Likewise.
27107         * elf/tst-auditmod5b.c: Likewise.
27108         * elf/tst-auditmod6b.c: Likewise.
27109         * elf/tst-auditmod6c.c: Likewise.
27110         * elf/tst-auditmod7b.c: Likewise.
27111         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27112         * sysdeps/x86_64/preconfigure.in: Likewise.
27113         * sysdeps/x86_64/preconfigure: Regenerated.
27114
27115 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27116
27117         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27118         __ILP32__.
27119
27120 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27121
27122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27123         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27124
27125 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27126
27127         [BZ #13973]
27128         * locale/iso-639.def: Fix gl language name. Spotted by
27129         Yaron Shahrabani.
27130
27131 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27132
27133         [BZ #2074]
27134         * libio/libio.h (__io_write_fn): Update comment.
27135
27136 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27137
27138         [BZ #2074]
27139         * stdio.texi (Hook Functions): The user provided writer function
27140         is not allowed to return -1.
27141
27142 2012-04-11  David S. Miller  <davem@davemloft.net>
27143
27144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27145
27146 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27147
27148         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27149         Add a leading slash to rtkaio.
27150
27151 2012-04-11  Jim Meyering  <meyering@redhat.com>
27152
27153         [BZ #11959]
27154         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27155         It is not necessarily an error to ignore fwrite's return
27156         value.  One can reliably use ferror to test for errors after
27157         the fact.
27158
27159 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27160
27161         * bits/types.h (__snseconds_t): New type.
27162         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27163
27164         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27165         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27166         (__SNSECONDS_T_TYPE): Likewise.
27167         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27168         (__SNSECONDS_T_TYPE): Likewise.
27169         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27170         (__SNSECONDS_T_TYPE): Likewise.
27171
27172 2012-04-10  Andreas Jaeger  <aj@suse.de>
27173
27174         [BZ #2636]
27175         * manual/time.texi (Processor Time): Return type of times is
27176         elapsed real time since an arbitrary point in the past.
27177         (CPU Time): Move CLK_TCK from here...
27178         (Processor Time): ...to here.  Correct description.
27179         * manual/conf.texi (Constants for Sysconf): Correct description of
27180         _SC_CLK_TCK.
27181
27182 2012-04-10  David S. Miller  <davem@davemloft.net>
27183
27184         [BZ #13967]
27185         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27186         where the is a gap between DT_REL(A) and DT_JMPREL.
27187
27188 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27189
27190         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27191         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27192         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27193
27194 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27195
27196         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27197         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27198         (dl_main): Handle --inhibit-cache.
27199         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27200         _dl_inhibit_cache.
27201         * elf/dl-load.c (_dl_map_object): Use it.
27202         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27203
27204 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27205
27206         [BZ #13872]
27207         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27208         (__ieee754_powl): Saturate large exponents rather than testing for
27209         overflow of y*log2(x).
27210         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27211         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27212         exceptions.
27213
27214         [BZ #11521]
27215         * math/s_ctan.c: Include <float.h>.
27216         (__ctan): Avoid internal overflow or cancellation in calculating
27217         denominator.
27218         * math/s_ctanf.c: Likewise.
27219         * math/s_ctanl.c: Likewise.
27220         * math/s_ctanh.c: Likewise.
27221         * math/s_ctanhf.c: Likewise.
27222         * math/s_ctanhl.c: Likewise.
27223         * math/libm-test.inc (ctan_test): Add more tests.
27224         (ctanh_test): Likewise.
27225         * sysdeps/i386/fpu/libm-test-ulps: Update.
27226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27227
27228 2012-04-09  Andreas Jaeger  <aj@suse.de>
27229
27230         [BZ #6894]
27231         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27232         is an optional BSD extension.
27233
27234         [BZ #10254]
27235         * manual/stdio.texi (Opening Streams): Document additional fopen
27236         parameters.
27237
27238 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27239
27240         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27241         %eax without telling the compiler.
27242
27243 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27244
27245         [BZ # 13963]
27246         * manual/install.texi: Use sourceware.org.
27247
27248 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27249
27250         [BZ #13873]
27251         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27252         (__ieee754_pow): Generate overflow and underflow using huge*huge
27253         and tiny*tiny rather than just returning constant infinity or zero
27254         for large exponents.
27255         * math/libm-test.inc (pow_test): Require overflow exceptions for
27256         applicable cases of large exponents.
27257
27258         [BZ #706]
27259         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27260         (__ieee754_pow): Use iterative multiplication algorithm only for
27261         integer exponents with absolute value below 1024.  Check for odd
27262         integer exponents when using algorithm for real exponents.
27263         * math/libm-test.inc (pow_test): Add more tests.
27264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27265
27266 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27267
27268         [BZ #13705]
27269         * math/libm-test.inc (exp_test): Do not allow overflow exception
27270         on underflow test.
27271
27272 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27273
27274         [BZ #13705]
27275         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27276         instead of __kernel_standard_f.
27277
27278 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27279
27280         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27281         * sysdeps/x86_64/memset_chk.S: Likewise.
27282
27283 2012-04-08  Andreas Jaeger  <aj@suse.de>
27284
27285         [BZ #10153]
27286         * manual/startup.texi (Environment Access): Describe return value
27287         for putenv and setenv.
27288
27289         [BZ #6895]
27290         * manual/filesys.texi (Directory Entries): Add description for
27291         DT_LNK.
27292
27293         [BZ #6890]
27294         * manual/filesys.texi (Directory Entries): Clarify that it's file
27295         system not operating system in the description of DT_UNKNOWN.
27296
27297         [BZ #6578]
27298         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27299
27300 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27301
27302         [BZ #6649]
27303         * manual/llio.texi (Opening and Closing Files): Add cross
27304         reference to explain mode argument.
27305
27306 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27307
27308         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27309         * sysdeps/x86_64/memset_chk.S: Likewise.
27310
27311 2012-04-07  David S. Miller  <davem@davemloft.net>
27312
27313         * elf/elf.h (R_SPARC_WDISP10): Define.
27314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27315         R_SPARC_SIZE32.
27316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27317         R_SPARC_SIZE64 and R_SPARC_H34.
27318
27319 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27320
27321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27322         conditions and remove no longer applicable assertion.
27323
27324 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27325
27326         * bits/byteswap.h: Include <features.h>.
27327         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27328         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27329
27330 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27331
27332         * bits/byteswap.h (__bswap_16): Removed.
27333         Include <bits/byteswap-16.h> to get __bswap_16.
27334         * sysdeps/i386/bits/byteswap.h: Likewise.
27335         * sysdeps/s390/bits/byteswap.h: Likewise.
27336         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27337         * bits/byteswap-16.h: New file.
27338         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27339         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27340         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27341         * string/Makefile (headers): Add bits/byteswap-16.h.
27342
27343 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27344
27345         [BZ #13895]
27346         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27347         extra indirection.
27348         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27349         * nss/tst-nss-static.c: New.
27350
27351 2012-04-06  Robert Millan  <rmh@gnu.org>
27352
27353         [BZ #6486]
27354         * manual/llio.texi (File Position Primitive): lseek
27355         refers to WHENCE when it really means OFFSET.
27356
27357 2012-04-06  Andreas Jaeger  <aj@suse.de>
27358
27359         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27360         strncmp declarations.
27361
27362         * abilist/libc.abilist: Add __poll and __ppoll.
27363
27364 2012-04-05  David S. Miller  <davem@davemloft.net>
27365
27366         * scripts/check-local-headers.sh: Accept a host triplet in the
27367         path matched by the exclude regexp.
27368
27369         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27370         definition.
27371         * sysdeps/powerpc/powerpc32/dl-machine.h
27372         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27373         * sysdeps/s390/s390-32/dl-machine.h
27374         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27375         * sysdeps/sparc/sparc32/dl-machine.h
27376         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27377         * sysdeps/sparc/sparc64/dl-machine.h
27378         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27379
27380         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27381         lazy binding.
27382         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27383         undefined symbol errors.
27384
27385         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27386         DT_NEEDED entries.
27387
27388 2012-04-05  Michael Matz  <matz@suse.de>
27389
27390         [BZ #13592]
27391         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27392
27393 2012-04-05  Andreas Jaeger  <aj@suse.de>
27394
27395         [BZ #13908]
27396         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27397         comment.
27398
27399 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27400
27401         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27402         which ROUND is no valid rounding mode.
27403
27404 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27405
27406         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27407         read again.
27408         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27409
27410 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27411
27412         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27413         an exception using FPU order intentionally.
27414
27415 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27416
27417         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27418         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27419         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27420         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27421
27422 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27423
27424         [BZ #12340]
27425         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27426         EINVAL when BUFLEN is too smal.
27427
27428 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27429
27430         [BZ #13553]
27431         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27432         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27433
27434 2012-04-03  Andreas Jaeger  <aj@suse.de>
27435
27436         [BZ #13938]
27437         * manual/setjmp.texi (System V contexts): Fix sentence.
27438
27439         [BZ #13926]
27440         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27441         New macro for this case.
27442         [!__GNUC__] (__bswap_64): New inline function for this case.
27443         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27444         * bits/byteswap.h: Likewise.
27445         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27446         ull, guard with __GLIBC_HAVE_LONG_LONG.
27447
27448         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27449         __GLIBC_HAVE_LONG_LONG.
27450
27451         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27452         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27453
27454 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27455
27456         [BZ #13691]
27457         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27458         inptr and inend, rather than using last_ch.
27459
27460 2012-04-02  David S. Miller  <davem@davemloft.net>
27461
27462         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27463         * stdio-common/printf-parse.h (read_int): Change return type to
27464         'int', return -1 on INT_MAX overflow.
27465         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27466         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27467         overflows INT_MAX.  Check for overflow of in-format-string precision
27468         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27469         SIZE_MAX not INT_MAX for integer overflow test.
27470         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27471         skip the construct in the format string but do not record anything.
27472         * stdio-common/bug22.c: Adjust to test both width/prevision
27473         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27474         explicitly for proper errno values.
27475
27476 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27477
27478         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27479         CHAR_MAX.
27480         * string/test-strcmp.c [! WIDE]: Likewise.
27481         * time/tst-mktime2.c: Likewise for INT_MAX.
27482         * string/test-string.h: #include <sys/param.h> for MIN.
27483
27484         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27485         * sysdeps/i386/init-first.c (init): Likewise.
27486         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27487         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27488         * sysdeps/sh/init-first.c (init): Likewise.
27489
27490 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27491
27492         * po/ru.po: Update from translation team.
27493         * po/vi.po: Likewise.
27494
27495 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27496
27497         * resolv/nss_dns/dns-host.c: Merge copyright years.
27498
27499 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27500
27501         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27502         Optimize memcpy with prefetch if
27503         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27504         src, dst pointers have unequal 16 byte alignments.
27505
27506 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27507
27508         [BZ #13928]
27509         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27510         from a CNAME entry and return the minimum ttl for the query.
27511         (gaih_getanswer_slice): Likewise.
27512
27513 2012-03-30  Jeff Law  <law@redhat.com>
27514
27515         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27516         due to long keys.
27517         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27518         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27519
27520         * resolv/nss_dns/dns-host.c: Update copyright year.
27521
27522 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27523
27524         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27525         requests to save a system call.  Fix check that all bytes are sent.
27526
27527         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27528         comments for sendmmsg.
27529
27530 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27531
27532         [BZ #13691]
27533         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27534         with only 1 character between 0x0041 and 0x01b0.
27535         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27536         * wcsmbs/tst-mbsnrtowcs.c: New file.
27537
27538 2012-03-29  David S. Miller  <davem@davemloft.net>
27539
27540         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27541         small copies by hand.
27542
27543 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27544
27545         [BZ #13761]
27546         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27547         _nss_compat_initgroups_dyn): Fall back to malloc/free
27548         for large group memberships.
27549
27550 2012-03-28  David S. Miller  <davem@davemloft.net>
27551
27552         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27553         that branches into memcpy.
27554         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27555         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27557         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27558         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27559         bits.
27560         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27561         implementation too.
27562         * sysdeps/sparc/mempcpy.S: New file.
27563
27564         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27565         the IFUNC routine in the libc case.
27566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27567
27568         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27569         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27570         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27571         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27572         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27573         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27574         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27575         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27576
27577         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27578         loop to 256 bytes instead of 64 bytes and fix test signedness.
27579
27580         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27581         * sysdeps/sparc/sparc32/Makefile: rather than here...
27582         * sysdeps/sparc/sparc64/Makefile: and here.
27583
27584 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27585
27586         * malloc/mallocbug.c: Avoid warnings about unused variables.
27587
27588 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27589
27590         [BZ #13760]
27591         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27592         in the right place. Discard and retry query if response is
27593         larger than input buffer size.
27594
27595 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27596
27597         [BZ #369]
27598         [BZ #2678]
27599         [BZ #3866]
27600         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27601         x for large integer exponent.
27602         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27603         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27604         sign of result as needed afterwards.
27605         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27606         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27607         result for underflowing pow the same as for overflow.
27608         (__kernel_standard_l): Handle powl overflow and underflow here
27609         rather than calling __kernel_standard.
27610         * math/libm-test.inc (pow_test): Add more tests.
27611
27612         [BZ #3868]
27613         [BZ #13879]
27614         [BZ #13910]
27615         [BZ #13911]
27616         [BZ #13912]
27617         [BZ #13913]
27618         [BZ #13915]
27619         [BZ #13916]
27620         [BZ #13917]
27621         [BZ #13918]
27622         [BZ #13919]
27623         [BZ #13920]
27624         [BZ #13921]
27625         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27626         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27627         (__kernel_standard_l): New function.
27628         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27629         __kernel_standard.
27630         * math/w_acosl.c (__acosl): Likewise.
27631         * math/w_asinl.c (__asinl): Likewise.
27632         * math/w_atan2l.c (__atan2l): Likewise.
27633         * math/w_atanhl.c (__atanhl): Likewise.
27634         * math/w_coshl.c (__coshl): Likewise.
27635         * math/w_exp10l.c (__exp10l): Likewise.
27636         * math/w_exp2l.c (__exp2l): Likewise.
27637         * math/w_fmodl.c (__fmodl): Likewise.
27638         * math/w_hypotl.c (__hypotl): Likewise.
27639         * math/w_j0l.c (__j0l, __y0l): Likewise.
27640         * math/w_j1l.c (__j1l, __y1l): Likewise.
27641         * math/w_jnl.c (__jnl, __ynl): Likewise.
27642         * math/w_lgammal.c (__lgammal): Likewise.
27643         * math/w_log10l.c (__log10l): Likewise.
27644         * math/w_log2l.c (__log2l): Likewise.
27645         * math/w_logl.c (__logl): Likewise.
27646         * math/w_powl.c (__powl): Likewise.
27647         * math/w_remainderl.c (__remainderl): Likewise.
27648         * math/w_scalbl.c (sysv_scalbl): Likewise.
27649         * math/w_sinhl.c (__sinhl): Likewise.
27650         * math/w_sqrtl.c (__sqrtl): Likewise.
27651         * math/w_tgammal.c (__tgammal): Likewise.
27652         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27653         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27654         * math/libm-test.inc (acos_test): Add more tests.
27655         (acosh_test): Likewise.
27656         (asin_test): Likewise.
27657         (atanh_test): Likewise.
27658         (exp_test): Likewise.
27659         (exp10_test): Likewise.
27660         (exp2_test): Likewise.
27661         (expm1_test): Likewise.
27662         (lgamma_test): Likewise.
27663         (log_test): Likewise.
27664         (log10_test): Likewise.
27665         (log1p_test): Likewise.
27666         (log2_test): Likewise.
27667         (pow_test): Do not allow some spurious overflow exceptions.
27668         (sqrt_test): Add more tests.
27669         (tgamma_test): Likewise.
27670         (y0_test): Likewise.
27671         (y1_test): Likewise.
27672         (yn_test): Likewise.
27673
27674 2012-03-27  Anton Blanchard  <anton@samba.org>
27675
27676         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27677         MAP_HUGETLB.
27678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27679         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27680         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27681
27682 2012-03-27  David S. Miller  <davem@davemloft.net>
27683
27684         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27685
27686         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27687         have-as-vis3 check.
27688
27689 2012-03-27  Andreas Jaeger  <aj@suse.de>
27690
27691         * sysdeps/x86_64/elf/configure.in: Moved to ...
27692         * sysdeps/x86_64/configure.in: ... here.
27693         * sysdeps/x86_64/elf/start.S: Moved to ...
27694         * sysdeps/x86_64/start.S: ... here.
27695         * sysdeps/x86_64/elf/configure: Delete.
27696
27697         * sysdeps/x86_64/configure.in: Merge contents from
27698         sysdeps/i386/configure.in (without i686 check).
27699
27700         * sysdeps/i386/elf/Versions: Merge into ...
27701         * sysdeps/i386/Versions: ... this.
27702         * sysdeps/i386/elf/Versions: Delete file.
27703         * sysdeps/i386/elf/start.S: Moved to ...
27704         * sysdeps/i386/start.S: ...here.
27705         * sysdeps/i386/elf/configure.in: Merge into...
27706         * sysdeps/i386/configure.in: ...here.
27707         * sysdeps/i386/elf/configure.in: Delete file.
27708         * sysdeps/i386/elf/configure: Delete file.
27709
27710         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27711         * debug/backtracesyms.c: ... here.
27712         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27713         * debug/backtracesymsfd.c: ... here.
27714         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27715         * sysdeps/generic/ifunc-sel.h: ... here.
27716
27717         * sysdeps/unix/i386/start.c: Delete file.
27718         * sysdeps/unix/sparc/start.c: Delete file.
27719         * sysdeps/unix/start.c: Delete file.
27720
27721         * sysdeps/sh/elf/configure.in: Moved to ...
27722         * sysdeps/sh/configure.in: ... here.
27723         * sysdeps/sh/elf/start.S: Moved to ...
27724         * sysdeps/sh/start.S: ... here.
27725         * sysdeps/sh/elf/configure: Delete file.
27726
27727         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27728         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27729         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27730         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27731         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27732         * sysdeps/powerpc/powerpc64/start.S: here.
27733         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27734         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27735         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27736         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27737         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27738
27739         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27740         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27741         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27742         * sysdeps/powerpc/powerpc32/start.S: ... here.
27743         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27744         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27745         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27746
27747         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27748         * sysdeps/powerpc/ifunc-sel.h: ... here.
27749         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27750         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27751
27752         * sysdeps/sparc/elf/configure.in: Moved to ...
27753         * sysdeps/sparc/configure.in: ... here.
27754         * sysdeps/sparc/elf/configure: Delete file.
27755         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27756         * sysdeps/sparc/sparc32/start.S: ... here.
27757         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27758         * sysdeps/sparc/sparc64/start.S: ... here.
27759         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27760         * sysdeps/sparc/sparc32/Makefile: ... this.
27761         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27762         * sysdeps/sparc/sparc64/Makefile: ... this.
27763
27764         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27765         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27766         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27767         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27768         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27769         * sysdeps/s390/s390-32/setjmp.S: ... here.
27770         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27771         * sysdeps/s390/s390-32/configure.in: ... here.
27772         * sysdeps/s390/s390-32/elf/configure: Delete file.
27773         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27774         * sysdeps/s390/s390-32/start.S: ... here.
27775
27776         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27777         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27778         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27779         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27780         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27781         * sysdeps/s390/s390-64/setjmp.S: ... here.
27782         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27783         * sysdeps/s390/s390-64/configure.in: ... here
27784         * sysdeps/s390/s390-64/elf/configure: Delete file.
27785         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27786         * sysdeps/s390/s390-64/start.S: ... here.
27787         * sysdeps/s390/s390-64/elf/configure: Delete.
27788
27789         * configure.in: Remove support for elf directories in sysdeps.
27790
27791         * configure: Regenerated.
27792         * sysdeps/i386/configure: Regenerated.
27793         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27794         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27795         * sysdeps/s390/s390-32/configure: Regenerated.
27796         * sysdeps/s390/s390-64/configure: Regenerated.
27797         * sysdeps/sh/configure: Regenerated.
27798         * sysdeps/sparc/configure: Regenerated.
27799         * sysdeps/x86_64/configure: Regenerated.
27800
27801 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27802
27803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27804
27805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27806         denormal result into account.
27807
27808 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27809
27810         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27811         Reported by Allan McRae <allan@archlinux.org>.
27812
27813 2012-03-23  Jeff Law  <law@redhat.com>
27814
27815         * nss/getnssent.c (__nss_getent): Fix typo.
27816
27817 2012-03-23  David S. Miller  <davem@davemloft.net>
27818
27819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27820
27821 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27822
27823         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27824         to pad to uint64_t for each field.
27825         (dl_tls_index): Replace unsigned long with uint64_t.
27826
27827 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27828         Paul Pluzhnikov  <ppluzhnikov@google.com>
27829
27830         [BZ #6528]
27831         * grp/Makefile (otherlibs): Don't set it.
27832         * inet/Makefile (otherlibs): Likewise.
27833         * login/Makefile (otherlibs): Likewise.
27834         * nscd/Makefile (otherlibs): Likewise.
27835         * posix/Makefile (otherlibs): Likewise.
27836         * pwd/Makefile (otherlibs): Likewise.
27837         * rt/Makefile (otherlibs): Likewise.
27838         * sunrpc/Makefile (otherlibs): Likewise.
27839         * nss/Makefile (otherlibs): Likewise.
27840         Add libnss_files to routines and static-only-routines.
27841         ($(objpfx)getent): Remove rule.
27842         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27843         static-only-routines.
27844
27845 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27846
27847         [BZ #13892]
27848         * math/s_cexp.c: Include <float.h>.
27849         (__cexp): Handle exp result overflowing not necessarily
27850         overflowing both real and imaginary parts of result.
27851         * math/s_cexpf.c: Likewise.
27852         * math/s_cexpl.c: Likewise.
27853         * math/libm-test.inc (cexp_test): Add more tests.
27854         * sysdeps/i386/fpu/libm-test-ulps: Update.
27855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27856
27857 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27858
27859         * include/link.h (ELFW): New macro.
27860         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27861         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27862
27863 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27864
27865         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27866         with uint64_t.
27867
27868 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27869
27870         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27871         declaration.
27872         (struct La_x32_retval): Likewise.
27873
27874 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27875
27876         * sysdeps/x86_64/preconfigure.in: New file.
27877         * sysdeps/x86_64/preconfigure: New generated file.
27878
27879 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27880
27881         [BZ #13824]
27882         * math/e_exp2l.c: Include <float.h>.
27883         (__ieee754_exp2l): Handle overflow and underflow cases
27884         separately.  Only pass fractional part of argument to
27885         __ieee754_expl.
27886         * math/libm-test.inc (exp2_test): Add more tests.
27887
27888         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27889         negating x to take absolute value.
27890         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27891         Likewise.
27892         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27893         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27894         Likewise.
27895         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27896         computing low part if x was negated.
27897         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27898
27899 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27900
27901         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27902         la_x32_gnu_pltexit.
27903         (pltexit): Cast int_retval to ptrdiff_t.
27904         * elf/tst-auditmod3b.c: Likewise.
27905         * elf/tst-auditmod4b.c: Likewise.
27906         * elf/tst-auditmod5b.c: Likewise.
27907         * elf/tst-auditmod6b.c: Likewise.
27908         * elf/tst-auditmod6c.c: Likewise.
27909         * elf/tst-auditmod7b.c: Likewise.
27910
27911         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27912         and x32_gnu_pltexit.
27913
27914         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27915         __ELF_NATIVE_CLASS.
27916         (La_x32_regs): New macro.
27917         (La_x32_retval): Likewise.
27918         (la_x32_gnu_pltenter): New function prototype.
27919         (la_x32_gnu_pltexit): Likewise.
27920
27921 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27922
27923         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27924         exponent.
27925
27926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27927
27928         * configure.in (libc_cv_cc_nofma): Check for option to disable
27929         generation of FMA instructions.
27930         * configure: Regenerate.
27931         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27932         * sysdeps/ieee754/dbl-64/Makefile: New file.
27933         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27934         Remove brandred-fma4.
27935         (CFLAGS-brandred-fma4.c): Remove.
27936         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27937         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27938         define.
27939         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27940         define.
27941
27942 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27943
27944         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27945         LLONG_MAX != LONG_MAX.
27946         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27947         (_fitoa_word): Likewise.
27948         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27949         LLONG_MAX != LONG_MAX.
27950         * stdio-common/_itowa.h: Include <_itoa.h>.
27951         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27952         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27953         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27954         only if not defined.
27955         (_ITOA_WORD_TYPE): Likewise.
27956         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27957         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27958
27959 2012-03-21  David S. Miller  <davem@davemloft.net>
27960
27961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27962
27963 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27964
27965         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27966         of x86_64 when setting libc_cv_slibdir, libdir and
27967         libc_cv_localedir.
27968         * sysdeps/unix/sysv/linux/configure: Regenerated.
27969
27970 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27971
27972         * manual/lang.texi (Old Varargs): Remove section.
27973         (How Variadic): Update menu.
27974         (va_start): Do not mention varargs.h.
27975
27976 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27977             Joseph Myers  <joseph@codesourcery.com>
27978
27979         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27980         link test.
27981         * configure: Regenerated.
27982
27983 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27984
27985         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27986         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27987         conformtest.pl
27988
27989 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27990
27991         * NOTES: Remove.
27992         * Makefile (files-for-dist): Remove NOTES.
27993         (NOTES): Remove rule.
27994         * README: Don't refer to NOTES.
27995         * manual/creature.texi: Don't include macros.texi.
27996         * manual/intro.texi (creature.texi): Remove comment referring to
27997         NOTES.
27998
27999         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28000         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28001         * configure: Regenerated.
28002         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28003         LIBC_TRY_CC_OPTION.
28004         (libc_cv_as_i686): Likewise.
28005         (libc_cv_cc_avx): Likewise.
28006         (libc_cv_cc_sse2avx): Likewise.
28007         (libc_cv_cc_fma4): Likewise.
28008         (libc_cv_cc_novzeroupper): Likewise.
28009         * sysdeps/i386/configure: Regenerated.
28010
28011         [BZ #13883]
28012         * sysdeps/i386/fpu/s_cexp.S: Remove.
28013         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28014         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28015         * math/libm-test.inc (cexp_test): Add more tests.
28016         * sysdeps/i386/fpu/libm-test-ulps: Update.
28017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28018
28019 2012-03-21  Allan McRae  <allan@archlinux.org>
28020
28021         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28022
28023 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28024
28025         [BZ #13871]
28026         * math/w_exp2.c: Do not include <float.h>.
28027         (o_threshold, u_threshold): Remove.
28028         (__exp2): Calculate result before checking finiteness and calling
28029         __kernel_standard.
28030         * math/w_exp2f.c: Likewise.
28031         * math/w_exp2l.c: Likewise.
28032         * math/libm-test.inc (exp2_test): Require overflow exception for
28033         1e6 input.
28034
28035         [BZ #3866]
28036         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28037         range of signed 64-bit integers before using fistpll.  Remove
28038         checks for whether integers fit in mantissa bits.
28039         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28040         the range of signed 32-bit integers before using fistpl.  Remove
28041         checks for whether integers fit in mantissa bits.
28042         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28043         (__ieee754_powl): Test for y outside the range of signed 64-bit
28044         integers before using fistpll.  Reduce 64-bit values to 63-bit
28045         ones as needed.
28046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28047         divide-by-zero is raised for zero to large negative powers.
28048         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28049         (__ieee754_powl): Test for y outside the range of signed 64-bit
28050         integers before using fistpll.  Reduce 64-bit values to 63-bit
28051         ones as needed.
28052         * math/libm-test.inc (pow_test): Add more tests.
28053
28054 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28055
28056         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28057         <stdio-common/_itoa.h>.
28058         * debug/segfault.c: Likewise.
28059         * elf/dl-cache.c: Likewise.
28060         * elf/dl-minimal.c: Likewise.
28061         * elf/dl-misc.c: Likewise.
28062         * elf/dl-sysdep.c: Likewise.
28063         * elf/dl-version.c: Likewise.
28064         * elf/rtld.c: Likewise.
28065         * hurd/hurdsock.c: Likewise.
28066         * hurd/lookup-retry.c: Likewise.
28067         * malloc/malloc.c: Likewise.
28068         * malloc/mtrace.c: Likewise.
28069         * nscd/nscd_getgr_r.c: Likewise.
28070         * nscd/nscd_getpw_r.c: Likewise.
28071         * nscd/nscd_getserv_r.c: Likewise.
28072         * posix/getopt_init.c: Likewise.
28073         * posix/wordexp.c: Likewise.
28074         * stdio-common/_itoa.c: Likewise.
28075         * stdio-common/printf_fphex.c: Likewise.
28076         * stdio-common/vfprintf.c: Likewise.
28077         * string/_strerror.c: Likewise.
28078         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28079         * sysdeps/i386/i686/hp-timing.h: Likewise.
28080         * sysdeps/mach/_strerror.c: Likewise.
28081         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28082         * sysdeps/mach/hurd/sethostid.c: Likewise.
28083         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28084         * sysdeps/mach/xpg-strerror.c: Likewise.
28085         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28086         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28087         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28088         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28089         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28090         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28091         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28092         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28093         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28094         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28095         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28096         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28097         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28098         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28099         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28100         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28101         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28102         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28103         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28104         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28105         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28106
28107         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28108
28109         * stdio-common/_itoa.h: Moved to ...
28110         * sysdeps/generic/_itoa.h: Here.
28111
28112         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28113
28114         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28115         instead of "_itoa.h" and "_itowa.h".
28116         * stdio-common/vfprintf.: Likewise.
28117
28118 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28119
28120         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28121         <bits/wordsize.h>.
28122         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28123         (__signbit): Likwise.
28124         (llrintf): Likwise.
28125         (llrint): Likwise.
28126
28127 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28128
28129         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28130         __WORDSIZE != 64.
28131
28132 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28133
28134         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28135         OVERFLOW_EXCEPTION_OK.
28136         * math/libm-test.inc ("Philosophy"): Update comment about
28137         exception testing.
28138         (OVERFLOW_EXCEPTION): Define.
28139         (OVERFLOW_EXCEPTION_OK): Likewise.
28140         (INVALID_EXCEPTION_OK): Renumber.
28141         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28142         (IGNORE_ZERO_INF_SIGN): Likewise.
28143         (test_exceptions): Handle FE_OVERFLOW.
28144         (exp10_test): Expect overflow exceptions.
28145         (exp2_test): Likewise.
28146         (expm1_test): Likewise.
28147         (nextafter_test): Likewise.
28148         (pow_test): Likewise.
28149         (scalbn_test): Likewise.
28150         (scalbln_test): Likewise.
28151
28152 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28153
28154         * sysdeps/x86_64/bits/atomic.h
28155         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28156         64bit integer.
28157         (atomic_exchange_acq): Likewise.
28158         (__arch_exchange_and_add_body): Likewise.
28159         (__arch_add_body): Likewise.
28160         (atomic_add_negative): Likewise.
28161         (atomic_add_zero): Likewise.
28162
28163 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28164
28165         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28166         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28167
28168 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28169
28170         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28171         Check __x86_64__ instead of __WORDSIZE.
28172
28173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28174
28175         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28176
28177 2012-03-19  David S. Miller  <davem@davemloft.net>
28178
28179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28180
28181         * sysdeps/sparc/fpu/fenv_private.h: New file.
28182         * sysdeps/sparc/fpu/math_private.h: Use it.
28183         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28184         Remove.
28185         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28186         (libc_feholdexcept_setroundl): Remove.
28187         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28188         Remove.
28189         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28190         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28191
28192 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28193
28194         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28195         int64_t instead of long int.
28196         (INSERT_WORDS64): Likwise.
28197
28198 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28199
28200         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28201         _Unwind_GetCFA return to _Unwind_Ptr first.
28202
28203 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28204
28205         [BZ #13629]
28206         * math/s_clog.c: Include <float.h>.
28207         (__clog): Scale large or subnormal inputs.
28208         * math/s_clogf.c: Likewise.
28209         * math/s_clogl.c: Likewise.
28210         * math/s_clog10.c: Include <float.h>.
28211         (M_LOG10_2): Define.
28212         (__clog10): Scale large or subnormal inputs.
28213         * math/s_clog10f.c: Likewise.
28214         * math/s_clog10l.c: Likewise.
28215         * math/libm-test.inc (clog_test): Add more tests.
28216         (clog10_test): Likewise.
28217         * sysdeps/i386/fpu/libm-test-ulps: Update.
28218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28219
28220         [BZ #11451]
28221         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28222         x and y.
28223         * math/libm-test.inc (atan2_test): Add another test.
28224
28225         * Makerules (common-objdir-compile): Remove.
28226         * sysdeps/unix/Makefile (config-generated): Do not add
28227         $(unix-generated) to variable.
28228         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28229         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28230         Remove rule.
28231         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28232         Likewise.
28233         [generic bits/local_lim.h] (before-compile): Do not append to
28234         variable.
28235         [generic bits/local_lim.h] (common-generated): Likewise.
28236         [generic sys/param.h] (before-compile): Do not append to variable.
28237         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28238         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28239         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28240         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28241         include.
28242         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28243         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28244         [generic sys/param.h] ($(addprefix
28245         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28246         [generic sys/param.h] (common-generated): Do not append to
28247         variable.
28248         [generic sys/param.h] (sysdep_headers): Likewise.
28249         [generic bits/errno.h] (before-compile): Do not append to
28250         variable.
28251         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28252         rule.
28253         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28254         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28255         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28256         [generic bits/errno.h] (common-generated): Do not append to
28257         variable.
28258         [generic bits/ioctls.h] (before-compile): Do not append to
28259         variable.
28260         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28261         rule.
28262         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28263         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28264         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28265         rule.
28266         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28267         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28268         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28269         [generic bits/ioctls.h] (common-generated): Do not append to
28270         variable.
28271         [generic sys/syscall.h] (syscall.h): Remove variable.
28272         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28273         rule.
28274         [generic sys/syscall.h] (before-compile): Do not append to
28275         variable.
28276         [generic sys/syscall.h] (common-generated): Likewise.
28277         * sysdeps/unix/errnos-tmpl.c: Remove file.
28278         * sysdeps/unix/errnos.awk: Likewise.
28279         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28280         * sysdeps/unix/ioctls.awk: Likewise.
28281         * sysdeps/unix/mk-local_lim.c: Likewise.
28282         * sysdeps/unix/snarf-ioctls: Likewise.
28283
28284 2012-03-19  Richard Henderson  <rth@twiddle.net>
28285
28286         * sysdeps/i386/fpu/fenv_private.h: New file.
28287         * sysdeps/i386/fpu/math_private.h: Use it.
28288         (math_opt_barrier, math_force_eval): Remove.
28289         (libc_feholdexcept_setround_53bit): Remove.
28290         (libc_feupdateenv_53bit): Remove.
28291         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28292         (math_opt_barrier, math_force_eval): Remove.
28293         (libc_feholdexcept): Remove.
28294         (libc_feholdexcept_setround): Remove.
28295         (libc_fetestexcept, libc_fesetenv): Remove.
28296         (libc_feupdateenv_test): Remove.
28297         (libc_feupdateenv, libc_feholdsetround): Remove.
28298         (libc_feresetround): Remove.
28299
28300         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28301         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28302
28303         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28304         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28305         (libc_feupdateenv_testl): New.
28306         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28307         (libc_feupdateenv_testf): New.
28308         (libc_feupdateenv): Use libc_feupdateenv_test.
28309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28310         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28311
28312         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28313         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28314         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28315         (libc_feresetround_noex): New.
28316         (libc_feresetround_noexf): New.
28317         (libc_feresetround_noexl): New.
28318         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28319         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28320         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28321         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28322         SET_RESTORE_ROUND.
28323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28324         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28325         (__cos): Likewise.
28326         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28327         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28328         SET_RESTORE_ROUND_NOEX.
28329         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28330         SET_RESTORE_ROUND_NOEXF.
28331         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28332         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28333         (libc_feholdsetroundf): New.
28334         (libc_feresetround, libc_feresetroundf): New.
28335
28336         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28337         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28338         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28339
28340         * sysdeps/generic/math_private.h: Include <fenv.h>.
28341         (default_libc_feholdexcept): New.
28342         (default_libc_feholdexcept_setround): New.
28343         (default_libc_fesetenv, default_libc_feupdateenv): New.
28344         (libc_feholdexcept): Only define if undefined.
28345         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28346         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28347         (libc_feholdexcept_setroundl): Likewise.
28348         (libc_feholdexcept_setround_53bit): Likewise.
28349         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28350         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28351         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28352         (libc_feupdateenv_53bit): Likewise.
28353         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28354         (libc_feholdexcept): Convert from macro to inline function.
28355         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28356         (libc_fesetenv, libc_feupdateenv): Likewise.
28357
28358         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28359         not previously defined.
28360         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28361         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28362         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28363         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28364         * sysdeps/ieee754/flt-32/math_private.h: New file.
28365         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28366         math_private.h below SET_FLOAT_WORD.
28367         (__isnan, __isinf_ns, __finite): Remove.
28368         (__isnanf, __isinf_nsf, __finitef): Remove.
28369
28370 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28371
28372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28373
28374 2012-03-17  David S. Miller  <davem@davemloft.net>
28375
28376         [BZ #6471]
28377         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28378         for 2.16.
28379
28380 2012-03-16  David S. Miller  <davem@davemloft.net>
28381
28382         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28383         warnings.
28384
28385         [BZ #6471]
28386         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28387         properly.
28388         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28389         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28390         sysdep_routines when subdir is sysvipc.
28391         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28392         __getshmlba helper.
28393
28394         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28395
28396 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28397
28398         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28399         [__LP64__].
28400
28401 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28402
28403         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28404         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28405         (__lround): Renamed to ...
28406         (__llround): This.  Replace long int with long long int.
28407         Define lround functions as aliases of llround functions.
28408         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28409
28410 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28411
28412         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28413         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28414         adresses to uintptr_t.  Replace "long int" and "unsigned long
28415         int" with "greg_t" on va_arg.
28416
28417 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28418
28419         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28420         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28421
28422         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28423         Move e_machine check before EI_CLASS check.  Handle x32
28424         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28425         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28426         SKIP_EM_IA_64 and include
28427         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28428
28429         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28430         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28431         (add_system_dir): New macro.
28432
28433         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28434         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28435
28436 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28437
28438         [BZ #2551]
28439         [BZ #2552]
28440         [BZ #2553]
28441         [BZ #2554]
28442         [BZ #2562]
28443         [BZ #2563]
28444         [BZ #2565]
28445         [BZ #2566]
28446         [BZ #2576]
28447         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28448         (y0): Likewise.
28449         * math/w_j0f.c (j0f): Likewise.
28450         (y0f): Likewise.
28451         * math/w_j0l.c (__j0l): Likewise.
28452         (__y0l): Likewise.
28453         * math/w_j1.c (j1): Likewise.
28454         (y1): Likewise.
28455         * math/w_j1f.c (j1f): Likewise.
28456         (y1f): Likewise.
28457         * math/w_j1l.c (__j1l): Likewise.
28458         (__y1l): Likewise.
28459         * math/w_jn.c (jn): Likewise.
28460         (yn): Likewise.
28461         * math/w_jnf.c (jnf): Likewise.
28462         (ynf): Likewise.
28463         * math/w_jnl.c (__jnl): Likewise.
28464         (__ynl): Likewise.
28465         * math/libm-test.inc (j0_test): Add more tests.
28466         (j1_test): Likewise.
28467         (jn_test): Likewise.  Add trailing semicolon to existing test.
28468         (y0_test): Likewise.
28469         (y1_test): Likewise.
28470         * sysdeps/i386/fpu/libm-test-ulps: Update.
28471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28472
28473         [BZ #13851]
28474         [BZ #13854]
28475         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28476         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28477         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28478         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28479         (__tanl): Set errno for infinite argument.
28480         * sysdeps/i386/fpu/mptan.c: Remove.
28481         * sysdeps/i386/fpu/s_tan.S: Likewise.
28482         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28483         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28484         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28485         * math/libm-test.inc (tan_test): Add more tests and enable more
28486         tests for double and long double.
28487         * sysdeps/i386/fpu/libm-test-ulps: Update.
28488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28489
28490 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28491
28492         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28493         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28494
28495 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28496
28497         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28498         * configure.in: Use it for both main tree and add-ons.
28499         * configure: Regenerated.
28500
28501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28502
28503         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28504
28505 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28506
28507         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28508         in comment.
28509
28510         [BZ #13851]
28511         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28512         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28513         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28514         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28515         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28516         infinite argument.
28517         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28518         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28519         != 0 for prec == 2.
28520         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28521         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28522         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28523         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28524         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28525         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28526         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28527         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28528         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28529         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28530         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28531         * math/libm-test.inc (cos_test): Add more tests and enable more
28532         tests for long double.
28533         (sin_test): Likewise.
28534         (sincos_test): Likewise.
28535         * sysdeps/i386/fpu/libm-test-ulps: Update.
28536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28537
28538 2012-03-16  David S. Miller  <davem@davemloft.net>
28539
28540         * sysdeps/sparc/fpu/math_private.h: New file.
28541
28542 2012-03-15  David S. Miller  <davem@davemloft.net>
28543
28544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28545         file.
28546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28548         file.
28549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28555         sysdep routines.
28556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28557
28558         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28559         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28560
28561         * sysdeps/sparc/sparc-ifunc.h: New file.
28562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28563         sparc-ifunc.h
28564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28566         Likewise.
28567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28568         Likewise.
28569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28573         Likewise.
28574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28579         Likewise.
28580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28581         Likewise.
28582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28600         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28602         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28603         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28606
28607 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28608
28609         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28610         scaling.
28611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28612
28613 2012-03-15  Andreas Jaeger  <aj@suse.de>
28614
28615         [BZ #13852]
28616         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28617         ieee754/flt-32 implementation for sin, cos and sincos.
28618         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28619         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28620         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28621         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28622         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28623         ieee754/flt-32 implementation for tan.
28624
28625         * math/libm-test.inc (cos_test): Enable some large input tests for
28626         float as well
28627         (sin_test): Likewise.
28628         (sincos_test): Likewise.
28629         (tan_test): Add tests for large input.
28630
28631         * sysdeps/i386/fpu/libm-test-ulps: Update.
28632
28633 2012-03-15  Andreas Jaeger  <aj@suse.de>
28634
28635         [BZ #13658]
28636         * math/libm-test.inc (cos_test): Add more test cases.
28637         (sin_test): Likewise.
28638         (sincos_test): Likewise.
28639
28640 2012-03-15  Andreas Jaeger  <aj@suse.de>
28641
28642         [BZ #13837]
28643         * math/libm-test.inc (cos_test): Add a test case for large input
28644         value.
28645         (sin_test): Likewise.
28646         (sincos_test): Likewise.
28647
28648 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28649         Joseph Myers  <joseph@codesourcery.com>
28650
28651         [BZ #13658]
28652         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28653         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28654         * sysdeps/i386/fpu/branred.c: Likewise.
28655         * sysdeps/i386/fpu/dosincos.c: Likewise.
28656         * sysdeps/i386/fpu/mpa.c: Likewise.
28657         * sysdeps/i386/fpu/s_cos.S: Likewise.
28658         * sysdeps/i386/fpu/s_sin.S: Likewise.
28659         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28660         * sysdeps/i386/fpu/sincos32.c: Likewise.
28661
28662         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28663         Define.
28664         (libc_feupdateenv_53bit): Define.
28665         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28666         Define.
28667         (libc_feupdateenv_53bit): Define.
28668
28669         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28670         53 bit (without extend i386 double precision).
28671
28672         * math/libm-test.inc (sincos_test): Add tests for large input.
28673         (sin): Likewise.
28674         (cos): Likewise.
28675
28676         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28677
28678 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28679
28680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28681
28682 2012-03-15  David S. Miller  <davem@davemloft.net>
28683
28684         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28685         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28686         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28687         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28700         file.
28701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28703         file.
28704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28706         file.
28707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28709         file.
28710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28711         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28712         fmin/fmax sysdep routines.
28713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28714
28715 2012-03-14  David S. Miller  <davem@davemloft.net>
28716
28717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28721         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28737         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28738         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28741         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28742         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28745         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28746         routines.
28747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28748         file.
28749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28751         file.
28752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28754         file.
28755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28757         file.
28758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28760         file.
28761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28763         file.
28764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28765         file.
28766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28767         file.
28768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28769         file.
28770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28771         New file.
28772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28773         file.
28774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28775         file.
28776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28778         file.
28779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28781         file.
28782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28784         file.
28785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28787         VIS3 routines.
28788
28789         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28790         New file.
28791
28792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28793
28794         * sysdeps/sparc/configure.in: New file.
28795         * sysdeps/sparc/configure: Generate.
28796         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28797         * configure: Regenerate.
28798         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28799         * config.make.in (have-as-vis3): New.
28800         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28801         available use -Av9d instead of -Av9a.
28802         * sysdeps/sparc/sparc64/Makefile: Likewise.
28803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28805         New file.
28806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28807         file.
28808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28809         New file.
28810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28811         file.
28812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28813         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28814         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28817
28818         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28819         fzeros/fnegs to load 0x80000000 into a float register instead of
28820         using the stack.
28821         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28822
28823 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28824
28825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28826         bits/syscall.h.
28827         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28828         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28829         ($(inst_includedir)/bits/syscall.h): Remove rule.
28830         ($(objpfx)bits/syscall.d): Include instead of
28831         $(objpfx)syscall-list.d.
28832         (generated): Change syscall-list.h and syscall-list.d to
28833         bits/syscall.h and bits/syscall.d.
28834
28835 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28836
28837         [BZ #13846]
28838         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28839
28840 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28841
28842         [BZ #13841]
28843         * math/s_csqrt.c: Include <float.h>.
28844         (__csqrt): Scale large or subnormal inputs.
28845         * math/s_csqrtf.c: Likewise.
28846         * math/s_csqrtl.c: Likewise.
28847         * math/libm-test.inc (csqrt_test): Add more tests.
28848         * sysdeps/i386/fpu/libm-test-ulps: Update.
28849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28850
28851         [BZ #13840]
28852         * math/libm-test.inc (hypot_test): Add more tests.
28853
28854 2012-03-13  David S. Miller  <davem@davemloft.net>
28855
28856         [BZ #13840]
28857         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28858         double-precision for the calculation instead of scaling.
28859
28860 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28861
28862         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28863         manipulate bits before adding and subtracting TWO52[sx].
28864         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28865         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28866         Likewise.
28867         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28868
28869 2012-03-13  David S. Miller  <davem@davemloft.net>
28870
28871         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28872         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28874         rtld-global-offsets.h
28875         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28876
28877         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28878         large parameters.
28879
28880         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28881
28882         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28883         'err' in the ifdef scope in which it is actually used.
28884
28885         * nss/nss_db/db-init.c: Include string.h
28886
28887 2012-03-12  David S. Miller  <davem@davemloft.net>
28888
28889         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28890         masking out of the most significant byte of random value used.
28891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28892         Fix coding style in previous change.
28893
28894         * sysdeps/unix/sysv/linux/kernel-features.h
28895         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28896         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28897         expression.
28898         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28899         later.
28900
28901 2012-03-11  David S. Miller  <davem@davemloft.net>
28902
28903         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28904         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28905         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28906         for 'resultvar' otherwise things get truncated on 64-bit.
28907
28908         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28909         Fix masking out of the most significant byte of random value used.
28910
28911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28912
28913 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28914
28915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28916
28917 2012-03-09  David S. Miller  <davem@davemloft.net>
28918
28919         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28920         variables with appropriate CPP guards.
28921         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28922         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28923         on resulting framesize and the management of the outregs buffer for pltexit.
28924         Preserve floating point return values across _dl_call_pltexit call.
28925         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28926         framesize and the management of the outregs buffer for pltexit.
28927         Preserve floating point return values across _dl_call_pltexit
28928         call.
28929         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28930         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28931         (print_exit): Fix format string for return register value.
28932
28933 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28934
28935         * sunrpc/Makefile (others): Add rpcgen.
28936         ($(objpfx)rpcgen): Remove special build rule and dependency on
28937         libc.
28938         * sunrpc/rpcgen.c: New file.
28939
28940 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28941
28942         [BZ #13673]
28943         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28944         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28945         * sysdeps/i386/crti.S: Likewise.
28946         * sysdeps/i386/crtn.S: Likewise.
28947         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28948         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28949         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28950         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28951         * sysdeps/sh/crti.S: Likewise.
28952         * sysdeps/sh/crtn.S: Likewise.
28953         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28954
28955         [BZ #13673]
28956         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28957         with URL.
28958         * locale/programs/locfile-kw.gperf: Likewise.
28959         * locale/programs/charmap-kw.h: Regenerated.
28960         * locale/programs/locfile-kw.h: Likewise.
28961
28962         [BZ #13673]
28963         * intl/plural.y: Replace FSF snail mail address with URL.
28964         * intl/plural.c: Regenerated.
28965
28966 2012-03-09  Richard Henderson  <rth@twiddle.net>
28967
28968         * include/math_private.h: Remove file.
28969         * math/math_private.h: Move file ...
28970         * sysdeps/generic/math_private.h: ... here.
28971
28972         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28973         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28974         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28975
28976         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28977         and <math_private.h>.
28978         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28979         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28980         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28981         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28982         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28983         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28984         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28985         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28986         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28987         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28988         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28989         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28990         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28991         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28992         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28993         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28994         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28997         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28999         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29000         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29001         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29002         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29003         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29005         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29013         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29014         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29015         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29016         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29017         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29018         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29019         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29020         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29021         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29022         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29023         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29024         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29025         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29026         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29027         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29028         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29029         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29030         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29031         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29032         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29033         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29034         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29035         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29036         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29037         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29038         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29039         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29040         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29041         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29042         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29043         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29044         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29045         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29046         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29047         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29048         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29049         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29050         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29051         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29052         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29053         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29054         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29056         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29057         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29058         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29059         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29060         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29061         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29062         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29063         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29064         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29065         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29066         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29067         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29068         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29069         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29070         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29071         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29072         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29073         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29074         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29075         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29076         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29077         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29078         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29079         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29080         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29081         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29082         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29083         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29084         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29085         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29086         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29087         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29088         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29089         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29090         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29091         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29092         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29093         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29094         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29095         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29096         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29097         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29098         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29099         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29100         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29101         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29102         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29103         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29104         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29105         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29106         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29107         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29108         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29109         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29110         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29111         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29112         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29113         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29114         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29115         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29116         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29117         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29118         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29119         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29120         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29121         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29122         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29123         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29124         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29125         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29126         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29127         * sysdeps/ieee754/k_standard.c: Likewise.
29128         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29129         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29130         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29131         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29132         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29133         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29134         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29135         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29136         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29137         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29138         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29139         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29140         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29141         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29142         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29143         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29144         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29145         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29146         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29147         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29148         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29149         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29150         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29151         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29152         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29153         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29154         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29155         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29156         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29158         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29159         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29160         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29161         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29162         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29163         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29164         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29165         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29166         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29167         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29168         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29169         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29170         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29171         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29172         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29173         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29174         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29175         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29176         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29177         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29178         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29179         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29180         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29181         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29182         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29183         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29184         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29185         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29186         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29187         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29188         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29189         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29190         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29191         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29192         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29193         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29194         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29195         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29196         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29197         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29198         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29200         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29201         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29203         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29204         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29205         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29206         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29207         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29208         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29209         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29210         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29211         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29212         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29213         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29214         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29215         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29218         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29219         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29220         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29221         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29222         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29223         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29224         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29225         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29226         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29227         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29228         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29229         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29230         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29231         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29232         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29233         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29234         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29235         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29236         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29237         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29238         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29239         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29240         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29241         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29242         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29243         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29244         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29245         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29246         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29247         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29248         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29249         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29250         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29251         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29252         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29253         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29254         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29255         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29256         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29257         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29258         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29259         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29260         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29261         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29262         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29266         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29268         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29269         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29270         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29271         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29272         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29273         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29274         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29275         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29276         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29277         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29278         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29279         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29280         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29281         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29282         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29283         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29284         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29285         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29286         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29287         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29288         * sysdeps/ieee754/s_lib_version.c: Likewise.
29289         * sysdeps/ieee754/s_matherr.c: Likewise.
29290         * sysdeps/ieee754/s_signgam.c: Likewise.
29291         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29292         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29293         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29294         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29295         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29296         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29297         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29298         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29299         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29300         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29301         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29302         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29303         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29304         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29305         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29306         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29307         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29308         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29309         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29310         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29311         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29312
29313 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29314
29315         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29316         * sunrpc/rpc_main.c: Likewise.
29317         * sunrpc/rpc_svcout.c: Likewise.
29318
29319 2012-03-09  David S. Miller  <davem@davemloft.net>
29320
29321         * include/math_private.h: New file.
29322
29323 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29324
29325         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29326         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29327         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29328         from <bits/socket_type.h>.
29329         (enum __socket_type): Don't define here.
29330         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29332         bits/socket_type.h.
29333
29334         [BZ #13566]
29335         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29336         checking __USE_GNU.
29337
29338         * Makerules ($(inst_includedir)/%.h): New rule.
29339         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29340         (install-others): Remove variable setting.
29341         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29342
29343 2012-03-08  Richard Henderson  <rth@twiddle.net>
29344
29345         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29346         from macro to inline function; merge with the
29347         !__LIBC_INTERNAL_MATH_INLINES version.
29348         (__ieee754_sqrtf): Likewise.
29349
29350         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29351         to inline function.
29352         (__rintf, __floor, __floorf): Likewise.
29353
29354         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29355         macro to inline function.
29356         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29357
29358         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29359         not <math/math_private.h>.
29360
29361 2012-03-08  David S. Miller  <davem@davemloft.net>
29362
29363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29364         copyright year.
29365         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29366
29367 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29368
29369         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29370         normalization.
29371         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29372         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29373
29374 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29375
29376         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29377         be defined individually, they must be defined as a block.  Define
29378         S for printing a string instead of hidint the different by using a
29379         macro for adding the 'l'.
29380         * stdio-common/tst-fphex-wide.c: Adjust.
29381
29382 2012-03-07  Marek Polacek  <polacek@redhat.com>
29383
29384         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29385
29386 2012-03-08  Marek Polacek  <polacek@redhat.com>
29387
29388         [BZ #13806]
29389         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29390         * stdio-common/tst-fphex.c: Define a few macros to make the
29391         test reusable.  Use them.
29392         * stdio-common/tst-fphex-wide.c: New file.
29393
29394 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29395
29396         [BZ #6911]
29397         * manual/macros.texi (gnusystems): New macro.
29398         (nongnusystems): Likewise.
29399         (gnulinuxhurdsystems): Likewise.
29400         (gnuhurdsystems): Likewise..
29401         (gnulinuxsystems): Likewise.
29402         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29403         variants of the GNU system, not "GNU system".
29404         * manual/conf.texi: Likewise.
29405         * manual/errno.texi: Likewise.  Update example of errno macro
29406         expansion.
29407         * manual/filesys.texi: Likewise.
29408         (getumask): Document as specific to GNU/Hurd.
29409         * manual/install.texi: Likewise.  Reword some references to
29410         GNU/Linux.
29411         * manual/intro.texi: Likewise.
29412         * manual/io.texi: Likewise.
29413         (File Name Portability): Detail which constraints are inapplicable
29414         to all GNU systems and which are only inapplicable to GNU/Hurd.
29415         * manual/job.texi: Likewise.
29416         * manual/llio.texi: Likewise.
29417         (O_NOCTTY): Document as present on GNU/Linux.
29418         * manual/maint.texi: Likewise.
29419         * manual/memory.texi: Likewise.
29420         * manual/pattern.texi: Likewise.
29421         * manual/pipe.texi: Likewise.
29422         * manual/process.texi: Likewise.
29423         * manual/resource.texi: Likewise.
29424         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29425         child on GNU/Hurd.
29426         * manual/setjmp.texi: Likewise.
29427         * manual/signal.texi: Likewise.
29428         * manual/startup.texi: Likewise.
29429         * manual/stdio.texi: Likewise.
29430         * manual/terminal.texi: Likewise.
29431         (ONLCR): Document as POSIX.
29432         (OXTABS): Document availability on GNU/Linux as XTABS.
29433         (ONOEOT): Document availability separately from other bits.
29434         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29435         * manual/time.texi: Likewise.
29436         * manual/users.texi: Likewise.
29437         * INSTALL: Regenerated.
29438         * sysdeps/gnu/errlist.c: Regenerated.
29439
29440         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29441         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29442         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29443         puts.
29444         * configure: Regenerated.
29445
29446 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29447
29448         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29449         default includes instead of AC_HEADER_CHECK.
29450         * sysdeps/i386/configure: Regenerated.
29451
29452         [BZ #10716]
29453         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29454         * math/s_cacoshf.c (__cacoshf): Likewise.
29455         * math/s_cacoshl.c (__cacoshl): Likewise.
29456         * math/s_casinh.c (__casinh): Set signs of result from argument.
29457         * math/s_casinhf.c (__casinhf): Likewise.
29458         * math/s_casinhl.c (__casinhl): Likewise.
29459         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29460         (casinh_test): Add more tests.
29461         * sysdeps/i386/fpu/libm-test-ulps: Update.
29462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29463
29464 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29465
29466         * po/zh_TW.po: Update from translation team.
29467
29468         * login/Makefile (distribute): Remove variable.
29469         * catgets/Makefile: Likewise.
29470         * mach/Makefile: Likewise.
29471         * malloc/Makefile: Likewise.
29472         * misc/Makefile: Likewise.
29473         * iconv/Makefile: Likewise.
29474         * nscd/Makefile: Likewise.
29475         * hurd/Makefile: Likewise.
29476         * manual/Makefile: Likewise.
29477         * locale/Makefile: Likewise.
29478         * intl/Makefile: Likewise.
29479         * conform/Makefile: Likewise.
29480         * nss/Makefile: Likewise.
29481         * time/Makefile: Likewise.
29482         * soft-fp/Makefile: Likewise.
29483         * dirent/Makefile: Likewise.
29484         * gmon/Makefile: Likewise.
29485         * po/Makefile: Likewise.
29486         * rt/Makefile: Likewise.
29487         * socket/Makefile: Likewise.
29488         * math/Makefile: Likewise.
29489         * signal/Makefile: Likewise.
29490         * debug/Makefile: Likewise.
29491         * elf/Makefile: Likewise.
29492         * timezone/Makefile: Likewise.
29493         * stdlib/Makefile: Likewise.
29494         * iconvdata/Makefile: Likewise.
29495         * sunrpc/Makefile: Likewise.
29496         * io/Makefile: Likewise.
29497         * argp/Makefile: Likewise.
29498         * inet/Makefile: Likewise.
29499         * hesiod/Makefile: Likewise.
29500         * grp/Makefile: Likewise.
29501         * csu/Makefile: Likewise.
29502         * wctype/Makefile: Likewise.
29503         * crypt/Makefile: Likewise.
29504         * libio/Makefile: Likewise.
29505         * string/Makefile: Likewise.
29506         * nis/Makefile: Likewise.
29507         * resolv/Makefile: Likewise.
29508         * stdio-common/Makefile: Likewise.
29509         * wcsmbs/Makefile: Likewise.
29510         * dlfcn/Makefile: Likewise.
29511         * posix/Makefile: Likewise.
29512
29513         [BZ #6959]
29514         * timezone/Makefile: Don't install timezone files, just the programs
29515         and scripts.
29516
29517 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29518
29519         * nss/databases.def: Add missing gshadow entry.
29520
29521         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29522
29523 2012-03-06  Marek Polacek  <polacek@redhat.com>
29524
29525         [BZ #13726]
29526         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29527         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29528         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29529         * stdio-common/tst-long-dbl-fphex.c: New file.
29530
29531 2012-03-06  David S. Miller  <davem@davemloft.net>
29532
29533         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29534         (set_obp_int): New function.
29535         (get_obp_int): New function.
29536         (__get_clockfreq_via_dev_openprom): Likewise.
29537         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29538         Avoid unused variable warnings on 'val' and use builtin_expect.
29539         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29540         __builtin_expect.
29541         (INLINE_CLONE_SYSCALL): Likewise.
29542
29543 2012-03-05  David S. Miller  <davem@davemloft.net>
29544
29545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29546
29547 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29548
29549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29550
29551         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29552         only for |x| >= 40.
29553         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29554
29555 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29556
29557         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29558         Replace gettimeofday with __vdso_gettimeofday.
29559
29560         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29561         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29562         __vdso_clock_gettime and __vdso_getcpu.
29563
29564         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29565         time with __vdso_time.
29566
29567 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29568
29569         * manual/lang.texi (size_t): Note types to which size_t may be
29570         equivalent with the GNU C Library, but do not describe when
29571         differences between them are significant.
29572
29573 2012-03-05  Andreas Jaeger  <aj@suse.de>
29574
29575         * sysdeps/i386/fpu/libm-test-ulps: Update.
29576
29577 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29578
29579         [BZ #3976]
29580         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29581         (__ieee754_pow): Save and restore rounding mode and use
29582         round-to-nearest for main computations.
29583         * math/libm-test.inc (pow_test_tonearest): New function.
29584         (pow_test_towardzero): Likewise.
29585         (pow_test_downward): Likewise.
29586         (pow_test_upward): Likewise.
29587         (main): Call the new functions.
29588         * sysdeps/i386/fpu/libm-test-ulps: Update.
29589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29590
29591         [BZ #3976]
29592         * math/libm-test.inc (cosh_test_tonearest): New function.
29593         (cosh_test_towardzero): Likewise.
29594         (cosh_test_downward): Likewise.
29595         (cosh_test_upward): Likewise.
29596         (sinh_test_tonearest): Likewise.
29597         (sinh_test_towardzero): Likewise.
29598         (sinh_test_downward): Likewise.
29599         (sinh_test_upward): Likewise.
29600         (main): Call the new functions.
29601         * sysdeps/i386/fpu/libm-test-ulps: Update.
29602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29603
29604 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29605
29606         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29607         default stack guard is set in last bytes.
29608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29609
29610 2012-03-05  Kees Cook  <keescook@chromium.org>
29611
29612         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29613
29614         [BZ #13656]
29615         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29616         possibly allocate from heap instead of stack.
29617         * stdio-common/bug-vfprintf-nargs.c: New file.
29618         * stdio-common/Makefile (tests): Add nargs overflow test.
29619
29620 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29621
29622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29623
29624 2012-03-03  Marek Polacek  <polacek@redhat.com>
29625
29626         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29627         * math/math_private.h: Likewise.
29628         * stdlib/tst-strtod.c: Likewise.
29629         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29630         * sysdeps/x86_64/bits/atomic.h: Likewise.
29631
29632 2012-03-02  David S. Miller  <davem@davemloft.net>
29633
29634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29638         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29639         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29640         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29641         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29642
29643 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29644
29645         [BZ #13792]
29646         * manual/examples/README: New file, says the example source files
29647         can be used under GPL>=2.
29648         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29649         line containing just "*/".
29650         * manual/examples/add.c: Add copyright header (GPL>=2).
29651         * manual/examples/argp-ex1.c: Likewise.
29652         * manual/examples/argp-ex2.c: Likewise.
29653         * manual/examples/argp-ex3.c: Likewise.
29654         * manual/examples/argp-ex4.c: Likewise.
29655         * manual/examples/atexit.c: Likewise.
29656         * manual/examples/db.c: Likewise.
29657         * manual/examples/dir.c: Likewise.
29658         * manual/examples/dir2.c: Likewise.
29659         * manual/examples/execinfo.c: Likewise.
29660         * manual/examples/filecli.c: Likewise.
29661         * manual/examples/filesrv.c: Likewise.
29662         * manual/examples/fmtmsgexpl.c: Likewise.
29663         * manual/examples/genpass.c: Likewise.
29664         * manual/examples/inetcli.c: Likewise.
29665         * manual/examples/inetsrv.c: Likewise.
29666         * manual/examples/isockad.c: Likewise.
29667         * manual/examples/longopt.c: Likewise.
29668         * manual/examples/memopen.c: Likewise.
29669         * manual/examples/memstrm.c: Likewise.
29670         * manual/examples/mkfsock.c: Likewise.
29671         * manual/examples/mkisock.c: Likewise.
29672         * manual/examples/mygetpass.c: Likewise.
29673         * manual/examples/pipe.c: Likewise.
29674         * manual/examples/popen.c: Likewise.
29675         * manual/examples/rprintf.c: Likewise.
29676         * manual/examples/search.c: Likewise.
29677         * manual/examples/select.c: Likewise.
29678         * manual/examples/setjmp.c: Likewise.
29679         * manual/examples/sigh1.c: Likewise.
29680         * manual/examples/sigusr.c: Likewise.
29681         * manual/examples/stpcpy.c: Likewise.
29682         * manual/examples/strdupa.c: Likewise.
29683         * manual/examples/strftim.c: Likewise.
29684         * manual/examples/strncat.c: Likewise.
29685         * manual/examples/subopt.c: Likewise.
29686         * manual/examples/swapcontext.c: Likewise.
29687         * manual/examples/termios.c: Likewise.
29688         * manual/examples/testopt.c: Likewise.
29689         * manual/examples/testpass.c: Likewise.
29690         * manual/examples/timeval_subtract.c: Likewise.
29691
29692         [BZ #13792]
29693         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29694         function to ...
29695         * manual/timeval_subtract.c.texi: ... here, new file.
29696
29697 2012-03-02  David S. Miller  <davem@davemloft.net>
29698
29699         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29700
29701 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29702
29703         [BZ #3976]
29704         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29705         (__sin): Save and restore rounding mode and use round-to-nearest
29706         for all computations.
29707         (__cos): Save and restore rounding mode and use round-to-nearest
29708         for all computations.
29709         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29710         <fenv.h>.
29711         (tan): Save and restore rounding mode and use round-to-nearest for
29712         all computations.
29713         * math/libm-test.inc (cos_test_tonearest): New function.
29714         (cos_test_towardzero): Likewise.
29715         (cos_test_downward): Likewise.
29716         (cos_test_upward): Likewise.
29717         (sin_test_tonearest): Likewise.
29718         (sin_test_towardzero): Likewise.
29719         (sin_test_downward): Likewise.
29720         (sin_test_upward): Likewise.
29721         (tan_test_tonearest): Likewise.
29722         (tan_test_towardzero): Likewise.
29723         (tan_test_downward): Likewise.
29724         (tan_test_upward): Likewise.
29725         (main): Call the new functions.
29726         * sysdeps/i386/fpu/libm-test-ulps: Update.
29727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29728
29729         [BZ #10135]
29730         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29731         small n, then large n, before computing and testing k+n.
29732         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29733         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29734         Likewise.
29735         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29736         Likewise.
29737         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29738         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29741         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29742         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29743         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29744         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29745         * math/libm-test.inc (scalbn_test): Add more tests.
29746         (scalbln_test): Likewise.
29747
29748         * manual/filesys.texi (mode_t): Describe constraints on size and
29749         signedness, not exact equivalence to a particular type.
29750         (ino_t): Likewise.
29751         (ino64_t): Likewise.
29752         (dev_t): Likewise.
29753         (nlink_t): Likewise.
29754         (blkcnt_t): Likewise.
29755         (blkcnt64_t): Likewise.
29756         * manual/llio.texi (off_t): Likewise.
29757
29758         [BZ #3976]
29759         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29760         (__ieee754_exp): Save and restore rounding mode and use
29761         round-to-nearest for all computations.
29762         * math/libm-test.inc (exp_test_tonearest): New function.
29763         (exp_test_towardzero): Likewise.
29764         (exp_test_downward): Likewise.
29765         (exp_test_upward): Likewise.
29766         (main): Call the new functions.
29767         * sysdeps/i386/fpu/libm-test-ulps: Update.
29768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29769
29770 2012-03-01  Chris Demetriou  <cgd@google.com>
29771
29772         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29773         have predictable order.
29774
29775 2012-03-01  David S. Miller  <davem@davemloft.net>
29776
29777         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29778
29779         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29780         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29781         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29782         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29783
29784         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29785         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29786         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29788         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29789         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29790         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29791         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29792         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29793
29794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29795
29796         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29797         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29798         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29799
29800         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29801         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29802         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29803         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29804         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29805         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29806         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29807         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29808         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29809         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29810         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29811         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29812         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29813         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29814         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29815         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29816         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29817         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29818         * sysdeps/sparc/elf/configure: Regenerated.
29819
29820 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29821
29822         * configure.in (AS, LD): Require binutils 2.20 or later.
29823         * configure: Regenerated.
29824         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29825         as required minimum version.
29826         * INSTALL: Regenerated.
29827
29828         [BZ #2541]
29829         [BZ #4108]
29830         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29831         before squaring exponent.
29832         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29833         bottom long double and 27 bits of top long double before squaring
29834         exponent.
29835         * math/libm-test.inc (erfc_test): Add more tests.
29836         * sysdeps/i386/fpu/libm-test-ulps: Update.
29837         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29839
29840 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29841
29842         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29843         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29844         containing bit-fields.
29845         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29846         * soft-fp/single.h (_FP_UNION_S): Likewise.
29847         * soft-fp/double.h (_FP_UNION_D): Likewise.
29848
29849 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29850
29851         [BZ #13786]
29852         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29853         not include ../strcmp.S.
29854         [USE_AS_STRNCASECMP_L]: Likewise.
29855         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29856         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29857         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29858         (__strncasecmp_l_ia32): Define as alias to
29859         __strncasecmp_l_nonascii.
29860
29861         [BZ #5794]
29862         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29863         * sysdeps/i386/fpu/libm-test-ulps: Update.
29864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29865
29866         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29868
29869 2012-02-29  Jeff Law  <law@redhat.com>
29870
29871         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29872         out of bounds read.
29873
29874 2012-02-29  Marek Polacek  <polacek@redhat.com>
29875
29876         [BZ #13706]
29877         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29878         * elf/Makefile: Add rules to run tst-unused-dep.out.
29879
29880 2012-02-28  David S. Miller  <davem@davemloft.net>
29881
29882         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29883         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29884         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29885         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29886         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29887         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29888
29889 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29890
29891         * math/libm-test.inc (llround_test): Move one test from
29892         lround_test.  Use TEST_f_L in moved test.
29893         (lround_test): Move misplaced test to llround_test.  Add testcase
29894         from bug 2561.
29895
29896 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29897
29898         * sysdeps/x86_64/fpu/e_expf.S: New file.
29899         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29900
29901 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29902
29903         [BZ #13637]
29904         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29905         of remain_len that may cause incomplete multi-byte character and
29906         false match.
29907         * posix/bug-regex33.c: New file.
29908         * posix/Makefile (tests): Add bug-regex33.
29909
29910 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29911
29912         * manual/macros.texi: New file.
29913         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29914         * manual/libc.texinfo: Include macros.texi.
29915         * manual/creatute.texi: Likewise.
29916         * manual/install.texi: Likewise.
29917         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29918         @glibcadj{} in references to the GNU C Library.
29919         * manual/charset.texi: Likewise.
29920         * manual/conf.texi: Likewise.
29921         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29922         when not using those macros.
29923         * manual/creature.texi: Likewise.
29924         * manual/crypt.texi: Likewise.
29925         * manual/errno.texi: Likewise.
29926         * manual/filesys.texi: Likewise.
29927         * manual/header.texi: Likewise.
29928         * manual/install.texi: Likewise.
29929         * manual/intro.texi: Likewise.
29930         * manual/io.texi: Likewise.
29931         * manual/job.texi: Likewise.
29932         * manual/lang.texi: Likewise.
29933         * manual/libc.texiinfo: Likewise.
29934         * manual/llio.texi: Likewise.
29935         * manual/locale.texi: Likewise.
29936         * manual/maint.texi: Likewise.
29937         * manual/math.texi: Likewise.
29938         * manual/memory.texi: Likewise.
29939         * manual/message.texi: Likewise.
29940         * manual/nss.texi: Likewise.
29941         * manual/pattern.texi: Likewise.
29942         * manual/process.texi: Likewise.
29943         * manual/resource.texi: Likewise.
29944         * manual/search.texi: Likewise.
29945         * manual/setjmp.texi: Likewise.
29946         * manual/signal.texi: Likewise.
29947         * manual/socket.texi: Likewise.
29948         * manual/startup.texi: Likewise.
29949         * manual/stdio.texi: Likewise.
29950         * manual/string.texi: Likewise.
29951         * manual/sysinfo.texi: Likewise.
29952         * manual/syslog.texi: Likewise.
29953         * manual/terminal.texi: Likewise.
29954         * manual/time.texi: Likewise.
29955         * manual/users.texi: Likewise.
29956         * INSTALL: Regenerated.
29957         * NOTES: Regenerated.
29958         * sysdeps/gnu/errlist.c: Regenerated.
29959
29960 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29961
29962         * include/dirent.h: Include <dirstream.h> before
29963         <dirent/dirent.h>.
29964
29965 2012-02-28  David S. Miller  <davem@davemloft.net>
29966
29967         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29968         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29969         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29970         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29971
29972 2012-02-27  David S. Miller  <davem@davemloft.net>
29973
29974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29976         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29977         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29978
29979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29980         frame pointer instead of stack pointer relative arg slot.
29981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29982         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29983         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29984
29985 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29986
29987         [BZ #3992]
29988         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29989
29990 2012-02-27  David S. Miller  <davem@davemloft.net>
29991
29992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29996         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29997         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29998         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29999         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30000
30001 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30002
30003         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30004         later.  Allow versions 5-9.
30005         * configure: Regenerated.
30006         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30007         required minimum version and 4.6 as recommended version.  Do not
30008         mention bugs in GCC 2.7 and 2.8.
30009         * INSTALL: Regenerated.
30010
30011 2012-02-27  David S. Miller  <davem@davemloft.net>
30012
30013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30017         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30018         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30019         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30020         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30021
30022         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30023         manipulate bits before adding and subtracting TWO112[sx].
30024         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30025
30026 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30027
30028         [BZ #13775]
30029         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30030         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30031         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30032         being in POSIX, because they are in 1003.1-2008.
30033
30034         * rt/tst-aio.c: Include <fcntl.h>.
30035         * rt/tst-aio7.c: Likewise.
30036         * rt/tst-aio64.c: Likewise.
30037
30038         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30039
30040 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30041
30042         * manual/install.texi (--with-headers): Describe headers as
30043         interface headers, not private headers.
30044         (Specific advice for GNU/Linux systems): Describe use of headers
30045         from "make headers_install", not private headers from older
30046         kernels.
30047         * INSTALL: Regenerated.
30048         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30049         Change to 2.6.19.
30050         * sysdeps/unix/sysv/linux/configure: Regenerated.
30051
30052         * manual/llio.texi (fclean): Remove documentation.
30053
30054         * manual/Makefile (libc-texi-generated): New variable.  Include
30055         version.texi.
30056         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30057         $(libc-texi-generated), not duplicated list of files.
30058         (version.texi, stamp-version): New rules.
30059         (realclean): Remove $(libc-texi-generated), not individual files
30060         from that list.  Do not remove dir-add.texinfo.
30061         * manual/libc.texinfo: Comment out uses of edition numbers and
30062         references to printed manual.  Remove last-updated dates.
30063         (EDITION): Comment out.
30064         (ISBN): Likewise.
30065         (VERSION, UPDATED): Remove.
30066         (version.texi): Include.
30067
30068 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30069
30070         * sysdeps/posix/spawni.c: Include <signal.h>.
30071         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30072         * sysdeps/pthread/aio_fsync.c: Likewise.
30073
30074 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30075
30076         * conform/Makefile (tests): Run only when not cross-compiling and
30077         when fast-check is not defined.
30078
30079         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30080         * conform/data/limits.h-data: Fixes for POSIX2008.
30081         * conform/run-conformtest.sh: Run all tests.
30082         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30083         headers.
30084         * include/bits/dlfcn.h: Likewise.
30085         * include/langinfo.h: Likewise.
30086         * include/monetary.h: Likewise.
30087         * include/sys/poll.h: Likewise.
30088
30089         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30090         for __USE_GNU.
30091         * posix/spawn.h: Define __need_sigset_t.
30092         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30093         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30094         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30095         to get sigevent_t only.
30096         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30097         only for __USE_GNU.
30098         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30099         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30100         process_vm_writev only for __USE_GNU.
30101         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30102
30103         * conform/Makefile: For now ignore errors from run-conformtest.
30104         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30105         POSIX to avoid namespace pollution.  Don't prepend headers.
30106         * conform/data/aio.h-data: Fixes for POSIX testing.
30107         * conform/data/fcntl.h-data: Likewise.
30108         * conform/data/glob.h-data: Likewise.
30109         * conform/data/grp.h-data: Likewise.
30110         * conform/data/pthread.h-data: Likewise.
30111         * conform/data/pwd.h-data: Likewise.
30112         * conform/data/signal.h-data: Likewise.
30113         * conform/data/spawn.h-data: Likewise.
30114         * conform/data/stdio.h-data: Likewise.
30115         * conform/data/stdlib.h-data: Likewise.
30116         * conform/data/stropts.h-data: Likewise.
30117         * conform/data/sys/mman.h-data: Likewise.
30118         * conform/data/sys/stat.h-data: Likewise.
30119         * conform/data/sys/types.h-data: Likewise.
30120         * conform/data/sys/wait.h-data: Likewise.
30121         * conform/data/time.h-data: Likewise.
30122         * conform/data/unistd.h-data: Likewise.
30123         * conform/data/utime.h-data: Likewise.
30124
30125         * io/sys/stat.h: fchmod was always in POSIX.
30126         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30127         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30128         * rt/aio.h: Define __need_timespec before including <time.h>.
30129         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30130         struct.  Add forward declaration of pthread_attr_t and use it in
30131         sigevent.
30132         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30133         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30134         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30135         always remove CLK_TCK definition.
30136
30137 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30138
30139         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30140
30141 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30142
30143         * conform/run-conformtest.sh: New file.
30144         * conform/Makefile: Run run-conformtest for tests.
30145         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30146         support.
30147
30148         * conform/data/uchar.h-data: New file.
30149         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30150         * conform/data/arpa/inet.h-data: Likewise.
30151         * conform/data/assert.h-data: Likewise.
30152         * conform/data/complex.h-data: Likewise.
30153         * conform/data/cpio.h-data: Likewise.
30154         * conform/data/ctype.h-data: Likewise.
30155         * conform/data/dirent.h-data: Likewise.
30156         * conform/data/dlfcn.h-data: Likewise.
30157         * conform/data/errno.h-data: Likewise.
30158         * conform/data/fcntl.h-data: Likewise.
30159         * conform/data/float.h-data: Likewise.
30160         * conform/data/fmtmsg.h-data: Likewise.
30161         * conform/data/fnmatch.h-data: Likewise.
30162         * conform/data/ftw.h-data: Likewise.
30163         * conform/data/glob.h-data: Likewise.
30164         * conform/data/grp.h-data: Likewise.
30165         * conform/data/iconv.h-data: Likewise.
30166         * conform/data/inttypes.h-data: Likewise.
30167         * conform/data/langinfo.h-data: Likewise.
30168         * conform/data/libgen.h-data: Likewise.
30169         * conform/data/limits.h-data: Likewise.
30170         * conform/data/locale.h-data: Likewise.
30171         * conform/data/math.h-data: Likewise.
30172         * conform/data/monetary.h-data: Likewise.
30173         * conform/data/mqueue.h-data: Likewise.
30174         * conform/data/ndbm.h-data: Likewise.
30175         * conform/data/net/if.h-data: Likewise.
30176         * conform/data/netdb.h-data: Likewise.
30177         * conform/data/netinet/in.h-data: Likewise.
30178         * conform/data/nl_types.h-data: Likewise.
30179         * conform/data/poll.h-data: Likewise.
30180         * conform/data/pthread.h-data: Likewise.
30181         * conform/data/pwd.h-data: Likewise.
30182         * conform/data/regex.h-data: Likewise.
30183         * conform/data/sched.h-data: Likewise.
30184         * conform/data/search.h-data: Likewise.
30185         * conform/data/semaphore.h-data: Likewise.
30186         * conform/data/setjmp.h-data: Likewise.
30187         * conform/data/signal.h-data: Likewise.
30188         * conform/data/spawn.h-data: Likewise.
30189         * conform/data/stdarg.h-data: Likewise.
30190         * conform/data/stdio.h-data: Likewise.
30191         * conform/data/stdlib.h-data: Likewise.
30192         * conform/data/string.h-data: Likewise.
30193         * conform/data/strings.h-data: Likewise.
30194         * conform/data/stropts.h-data: Likewise.
30195         * conform/data/sys/ipc.h-data: Likewise.
30196         * conform/data/sys/mman.h-data: Likewise.
30197         * conform/data/sys/msg.h-data: Likewise.
30198         * conform/data/sys/resource.h-data: Likewise.
30199         * conform/data/sys/select.h-data: Likewise.
30200         * conform/data/sys/sem.h-data: Likewise.
30201         * conform/data/sys/shm.h-data: Likewise.
30202         * conform/data/sys/socket.h-data: Likewise.
30203         * conform/data/sys/stat.h-data: Likewise.
30204         * conform/data/sys/statvfs.h-data: Likewise.
30205         * conform/data/sys/time.h-data: Likewise.
30206         * conform/data/sys/timeb.h-data: Likewise.
30207         * conform/data/sys/times.h-data: Likewise.
30208         * conform/data/sys/types.h-data: Likewise.
30209         * conform/data/sys/uio.h-data: Likewise.
30210         * conform/data/sys/un.h-data: Likewise.
30211         * conform/data/sys/utsname.h-data: Likewise.
30212         * conform/data/sys/wait.h-data: Likewise.
30213         * conform/data/syslog.h-data: Likewise.
30214         * conform/data/tar.h-data: Likewise.
30215         * conform/data/termios.h-data: Likewise.
30216         * conform/data/utime.h-data: Likewise.
30217         * conform/data/utmpx.h-data: Likewise.
30218         * conform/data/varargs.h-data: Likewise.
30219         * conform/data/wchar.h-data: Likewise.
30220         * conform/data/wctype.h-data: Likewise.
30221         * conform/data/wordexp.h-data: Likewise.
30222
30223         * include/stropts.h: New file.
30224         * include/uchar.h: New file.
30225         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30226         * include/assert.h: Likewise.
30227         * include/ctype.h: Likewise.
30228         * include/dirent.h: Likewise.
30229         * include/dlfcn.h: Likewise.
30230         * include/fcntl.h: Likewise.
30231         * include/fnmatch.h: Likewise.
30232         * include/glob.h: Likewise.
30233         * include/grp.h: Likewise.
30234         * include/libio.h: Likewise.
30235         * include/locale.h: Likewise.
30236         * include/math.h: Likewise.
30237         * include/net/if.h: Likewise.
30238         * include/netdb.h: Likewise.
30239         * include/netinet/in.h: Likewise.
30240         * include/pthread.h: Likewise.
30241         * include/pwd.h: Likewise.
30242         * include/regex.h: Likewise.
30243         * include/sched.h: Likewise.
30244         * include/search.h: Likewise.
30245         * include/setjmp.h: Likewise.
30246         * include/signal.h: Likewise.
30247         * include/stdio.h: Likewise.
30248         * include/stdlib.h: Likewise.
30249         * include/string.h: Likewise.
30250         * include/sys/cdefs.h: Likewise.
30251         * include/sys/mman.h: Likewise.
30252         * include/sys/msg.h: Likewise.
30253         * include/sys/resource.h: Likewise.
30254         * include/sys/select.h: Likewise.
30255         * include/sys/socket.h: Likewise.
30256         * include/sys/stat.h: Likewise.
30257         * include/sys/statvfs.h: Likewise.
30258         * include/sys/time.h: Likewise.
30259         * include/sys/times.h: Likewise.
30260         * include/sys/uio.h: Likewise.
30261         * include/sys/utsname.h: Likewise.
30262         * include/sys/wait.h: Likewise.
30263         * include/termios.h: Likewise.
30264         * include/time.h: Likewise.
30265         * include/ulimit.h: Likewise.
30266         * include/unistd.h: Likewise.
30267         * include/utime.h: Likewise.
30268         * include/wchar.h: Likewise.
30269         * include/wctype.h: Likewise.
30270         * include/wordexp.h: Likewise.
30271
30272         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30273
30274         * time/time.h: TIME_UTC must be a macro.
30275         Make timespec_get available for ISO C11 only as well.
30276
30277 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30278
30279         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30280         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30281
30282 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30283
30284         * configure.in: Use -o not -a in test for unsupported multi-arch.
30285
30286 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30287
30288         * manual/texinfo.tex: Update to version 2012-01-19.16.
30289
30290 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30291
30292         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30293
30294 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30295
30296         [BZ #13738]
30297         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30298         * manual/fdl-1.3.texi: New file.
30299         * manual/fdl-1.1.texi: File removed.
30300
30301         [BZ #13738]
30302         * manual/libc.texinfo (FDL_VERSION): New @set.
30303         Use it for mention of FDL in cover text.
30304         (Documentation License): Use it in @include file name.
30305
30306 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30307             Roland McGrath  <roland@hack.frob.com>
30308
30309         [BZ #5461]
30310         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30311         not LONG_LONG_MAX and LONG_LONG_MIN.
30312         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30313         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30314         name.
30315         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30316
30317 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30318
30319         [BZ #2547]
30320         [BZ #11365]
30321         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30322         manipulate bits before adding and subtracting TWO23[sx].
30323         * math/libm-test.inc (nearbyint_test): Add more tests.
30324
30325 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30326
30327         [BZ #2548]
30328         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30329         bits before adding and subtracting TWO23[sx].
30330         * math/libm-test.inc (rint_test): Add more tests.
30331         (rint_test_tonearest): Likewise.
30332         (rint_test_towardzero): Likewise.
30333         (rint_test_downward): Likewise.
30334         (rint_test_upward: Likewise.
30335
30336 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30337
30338         [BZ #10110]
30339         * include/stdc-predef.h: New file.  Extracted from features.h.
30340         * include/features.h: Include stdc-predef.h.
30341         * Makefile (headers): Add stdc-predef.h.
30342         * CONFORMANCE (Compiler limitations): Update.
30343
30344 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30345
30346         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30347
30348 2012-02-21  David S. Miller  <davem@davemloft.net>
30349
30350         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30351         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30352
30353 2012-02-20  David S. Miller  <davem@davemloft.net>
30354
30355         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30356         using a normal save/restore sequence, rather than allocating a
30357         dummy stack frame just to store a frame pointer and restore.
30358         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30359
30360 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30361
30362         * manual/install.texi: Fix stray word in line-wrapped comment.
30363
30364 2012-02-20  David S. Miller  <davem@davemloft.net>
30365
30366         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30367         both binutils and gcc support GOTDATA.
30368
30369         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30370         "rd %pc" in the PIC register setup sequences.
30371
30372         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30373         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30374         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30375         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30376         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30378         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30379         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30380         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30381         (SYSCALL_ERROR_HANDLER): Likewise.
30382         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30383         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30384         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30385         (SYSCALL_ERROR_HANDLER): Likewise.
30386
30387         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30388         (HAVE_GCC_GOTDATA): New.
30389         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30390         relocation support in both binutils and gcc.
30391         * sysdeps/sparc/elf/configure: Regenerate.
30392
30393         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30394         * sysdeps/sparc/sparc32/elf/configure: Delete.
30395         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30396         * sysdeps/sparc/sparc64/elf/configure: Delete.
30397         * sysdeps/sparc/elf/configure.in: New file.
30398         * sysdeps/sparc/elf/configure: Generate.
30399
30400         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30401         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30402         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30403         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30404         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30405
30406 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30407
30408         * manual/install.texi: Do not mention specific glibc version
30409         numbers.
30410         * manual/libc.texinfo (VERSION, UPDATED): Update.
30411         (@copying): Use @copyright{} and range of years.
30412
30413 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30414
30415         [BZ #13695]
30416         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30417         [crti.S not in sysdirs] (generated): Do not append.
30418         [crti.S not in sysdirs] (omit-deps): Likewise.
30419         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30420         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30421         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30422         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30423         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30424         Likewise.
30425         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30426         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30427         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30428         * csu/defs.awk: Remove file.
30429         * sysdeps/generic/initfini.c: Likewise.
30430         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30431         variable.
30432         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30433         Likewise.
30434
30435 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30436
30437         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30438         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30439         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30440         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30441         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30442         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30443         <bits/epoll.h>.
30444         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30445         (__EPOLL_PACKED): Define to empty if not defined by
30446         <bits/epoll.h>.
30447         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30448         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30449         bits/epoll.h.
30450
30451 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30452
30453         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30454         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30455         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30456         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30457         <bits/timerfd.h>.
30458         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30459         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30460         bits/timerfd.h.
30461
30462 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30463
30464         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30465         in C locale.
30466         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30467         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30468         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30470
30471 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30472
30473         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30474         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30475
30476 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30477
30478         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30479         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30480         defined.
30481         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30482         Likewise.
30483         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30484         entry for 2.16.
30485
30486 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30487
30488         * math/w_acos.c: Use non-signaling floating-point comparisons.
30489         * math/w_acosf.c: Likewise.
30490         * math/w_acosh.c: Likewise.
30491         * math/w_acoshf.c: Likewise.
30492         * math/w_acoshl.c: Likewise.
30493         * math/w_acosl.c: Likewise.
30494         * math/w_asin.c: Likewise.
30495         * math/w_asinf.c: Likewise.
30496         * math/w_asinl.c: Likewise.
30497         * math/w_atanh.c: Likewise.
30498         * math/w_atanhf.c: Likewise.
30499         * math/w_atanhl.c: Likewise.
30500         * math/w_exp2.c: Likewise.
30501         * math/w_exp2f.c: Likewise.
30502         * math/w_exp2l.c: Likewise.
30503         * math/w_j0.c: Likewise.
30504         * math/w_j0f.c: Likewise.
30505         * math/w_j0l.c: Likewise.
30506         * math/w_j1.c: Likewise.
30507         * math/w_j1f.c: Likewise.
30508         * math/w_j1l.c: Likewise.
30509         * math/w_jn.c: Likewise.
30510         * math/w_jnf.c: Likewise.
30511         * math/w_log.c: Likewise.
30512         * math/w_log10.c: Likewise.
30513         * math/w_log10f.c: Likewise.
30514         * math/w_log10l.c: Likewise.
30515         * math/w_log2.c: Likewise.
30516         * math/w_log2f.c: Likewise.
30517         * math/w_log2l.c: Likewise.
30518         * math/w_logf.c: Likewise.
30519         * math/w_logl.c: Likewise.
30520         * math/w_sqrt.c: Likewise.
30521         * math/w_sqrtf.c: Likewise.
30522         * math/w_sqrtl.c: Likewise.
30523         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30524         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30525         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30526         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30527         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30528
30529 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30530
30531         [BZ #9739]
30532         * manual/string.texi (strnlen): Use correct parameter name in
30533         equivalent expression.
30534
30535 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30536
30537         [BZ #11174]
30538         * manual/users.texi (seteuid): Consistently use neweuid for
30539         argument name.
30540
30541 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30542
30543         [BZ #13704]
30544         * manual/nss.texi (Services in the NSS configuration): Correct
30545         list of services in example configuration file.
30546
30547 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30548
30549         [BZ #11322]
30550         * manual/arith.texi: Remove statements about negative zero
30551         behaving identically to zero.
30552
30553 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30554
30555         [BZ #5993]
30556         * manual/install.texi: Do not document upgrading from libc5.
30557
30558 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30559
30560         [BZ #4596]
30561         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30562
30563 2012-02-18  David S. Miller  <davem@davemloft.net>
30564
30565         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30566         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30567         %o7 across the call.
30568         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30569         instead.
30570         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30571         SETUP_PIC_REG_LEAF.
30572         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30573         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30574         * sysdeps/sparc/crtn.S: Likewise.
30575
30576 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30577
30578         * aout/Makefile: Remove.
30579
30580 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30581
30582         [BZ #13058]
30583         * manual/examples/argp-ex1.c (main): Format definition in GNU
30584         style.
30585         * manual/examples/argp-ex2.c (main): Likewise.
30586         * manual/examples/argp-ex3.c (main): Likewise.
30587         * manual/examples/argp-ex4.c (main): Likewise.
30588         * manual/examples/longopt.c (main): Use new-style prototype
30589         definition.
30590         * manual/examples/strncat.c (main): Specify return type and use
30591         (void) for arguments.
30592         * manual/examples/subopt.c (main): Use char **argv argument.
30593
30594 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30595
30596         [BZ #5077]
30597         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30598         rounding modes.
30599
30600 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30601
30602         [BZ #6907]
30603         * manual/string.texi (strchr): Change when strchrnul is
30604         recommended.
30605
30606 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30607
30608         [BZ #174]
30609         * manual/locale.texi (setlocale): Document LOCPATH.
30610
30611 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30612
30613         [BZ #10210]
30614         * manual/process.texi (execle): Move @dots{} before last argument.
30615
30616 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30617
30618         [BZ #12047]
30619         * manual/charset.texi (Generic Charset Conversion): Fix typo
30620         (LC_TYPE -> LC_CTYPE).
30621
30622 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30623
30624         [BZ #5805]
30625         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30626         (scalbnf): Likewise.
30627         (scalbnl): Likewise.
30628         (scalbln): Likewise.
30629         (scalblnf): Likewise.
30630         (scalblnl): Likewise.
30631         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30632         (vwarnx): Likewise.
30633         (verr): Likewise.
30634         (verrx): Likewise.
30635         * manual/filesys.texi (telldir): Use braces around return type.
30636         * manual/llio.texi (mmap): Add space after comma.
30637         (mmap64): Likewise.
30638         * manual/math.texi (jn): Use @var{} on parameter names.
30639         (jnf): Likewise.
30640         (jnl): Likewise.
30641         (yn): Likewise.
30642         (ynf): Likewise.
30643         (ynl): Likewise.
30644         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30645         line.
30646         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30647         "...".
30648         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30649         (sched_get_priority_max): Likewise.
30650         * manual/signal.texi (sigvec): Add space after comma.
30651         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30652         names.
30653         (if_indextoname): Likewise.
30654         (if_freenameindex): Likewise.
30655         (sendto): Use ',' instead of '.' in prototype.
30656         * manual/startup.texi (syscall): Use @dots{} instead of literal
30657         "...".
30658         * manual/stdio.texi (__fpending): Separate initial words of
30659         paragraph from @deftypefun line.
30660         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30661         "...".
30662         (vsyslog): Use @var{} on parameter names.
30663         * manual/terminal.texi (stty): Use @var{} on parameter names.
30664         * manual/users.texi (getutmp): Use @var{} on parameter names.
30665         (getutmpx): Likewise.
30666
30667 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30668
30669         [BZ #6884]
30670         * manual/stdio.texi (fopen): Fix typos in description of
30671         ",ccs=STRING".
30672
30673 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30674
30675         [BZ #4026]
30676         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30677         get clock_id definition.
30678
30679 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30680
30681         [BZ #4822]
30682         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30683         (madvise): Cast every argument to void on its own.
30684
30685 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30686
30687         [BZ #9902]
30688         * manual/startup.texi (Exit Status): Fix typo.
30689
30690 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30691
30692         [BZ #10140]
30693         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30694         * manual/examples/argp-ex2.c: Likewise.
30695         * manual/examples/argp-ex3.c: Likewise.
30696
30697 2012-02-16  Richard Henderson  <rth@redhat.com>
30698
30699         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30700         * sysdeps/s390/s390-32/initfini.c: Remove.
30701         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30702         * sysdeps/s390/s390-64/initfini.c: Remove.
30703
30704 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30705
30706         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30707         compiler output for sysdeps/generic/initfini.c.
30708         * sysdeps/sh/elf/initfini.c: Remove file.
30709
30710 2012-02-16  David S. Miller  <davem@davemloft.net>
30711
30712         [BZ #11494]
30713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30714
30715         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30716         * sysdeps/sparc/crti.S: New file.
30717         * sysdeps/sparc/crtn.S: New file.
30718         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30719         * sysdeps/sparc/sparc64/Makefile: Likewise.
30720
30721 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30722
30723         [BZ #3335]
30724         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30725
30726 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30727
30728         [BZ #4822]
30729         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30730
30731         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30732         (write, read, close): Likewise.
30733         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30734
30735 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30736
30737         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30738         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30739         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30740         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30741         <bits/signalfd.h>.
30742         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30743         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30744         bits/signalfd.h.
30745
30746 2012-02-14  Marek Polacek  <polacek@redhat.com>
30747
30748         * sysdeps/x86_64/crti.S: New file.
30749         * sysdeps/x86_64/crtn.S: New file.
30750         * sysdeps/x86_64/elf/initfini.c: Remove file.
30751
30752 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30753
30754         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30755         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30756         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30757         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30758         <bits/inotify.h>.
30759         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30761         bits/inotify.h.
30762
30763 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30764
30765         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30766         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30767         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30768         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30769         <bits/eventfd.h>.
30770         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30771         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30772         bits/eventfd.h.
30773
30774 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30775
30776         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30777         __feraiseexcept instead of feraiseexcept.
30778
30779         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30780         nanosleep invocations.
30781         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30782         strings, and add error checking for a nanosleep invocations.
30783
30784 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30785
30786         Replace FSF snail mail address with URLs, as per GNU coding standards.
30787         Most of the snail mail addresses were wrong anyway, and omitting
30788         them makes the source code easier to maintain.  Almost all of the
30789         changes are to license notices and to locale LC_IDENTIFICATION
30790         addresses, except for this one:
30791         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30792         not its snail mail address.
30793
30794 2012-02-09  Richard Henderson  <rth@twiddle.net>
30795
30796         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30797         of kernel-features.h.
30798
30799         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30800
30801 2012-02-08  Marek Polacek  <polacek@redhat.com>
30802
30803         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30804         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30805         * sysdeps/gnu/_G_config.h: Likewise.
30806         * sysdeps/generic/_G_config.h: Likewise.
30807
30808 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30809
30810         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30811         tests.
30812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30813
30814         * sysdeps/powerpc/powerpc32/crti.S: New file.
30815         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30816         * sysdeps/powerpc/powerpc64/crti.S: New file.
30817         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30818
30819         * Makeconfig (have-initfini): Don't set.
30820         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30821         * configure.in (nopic_initfini): Don't substitute.
30822         * config.h.in (HAVE_INITFINI): Don't #undef.
30823         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30824         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30825
30826 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30827
30828         Support crti.S and crtn.S provided directly by architectures.
30829         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30830         [crti.S in sysdirs] (omit-deps): Likewise.
30831         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30832         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30833         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30834         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30835         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30836         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30837         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30838         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30839         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30840         compiler output for sysdeps/generic/initfini.c.
30841         * sysdeps/i386/elf/Makefile: Remove file.
30842         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30843
30844 2012-02-07  Marek Polacek  <polacek@redhat.com>
30845
30846         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30847         * sysdeps/gnu/_G_config.h: Likewise.
30848         * sysdeps/mach/hurd/_G_config.h: Likewise.
30849
30850 2012-02-07  Marek Polacek  <polacek@redhat.com>
30851
30852         * math/Makefile (tests): Add tst-CMPLX2.
30853         * math/tst-CMPLX2.c: New file.
30854
30855 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30856
30857         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30858
30859         * math/libm-test.inc (jn_test): Add missing L suffix.
30860
30861 2012-02-06  Marek Polacek  <polacek@redhat.com>
30862
30863         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30864         * sysdeps/i386/fpu/e_powf.S: Likewise.
30865         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30866         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30867         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30868         * sysdeps/i386/fpu/e_pow.S: Likewise.
30869         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30870         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30871         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30872         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30873         * sysdeps/i386/fpu/e_log2.S: Likewise.
30874         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30875         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30876         * sysdeps/i386/fpu/e_powl.S: Likewise.
30877         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30878         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30879         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30880         * sysdeps/i386/fpu/e_logl.S: Likewise.
30881         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30882         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30883         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30884         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30885         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30886         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30887         * sysdeps/i386/fpu/e_log.S: Likewise.
30888         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30889         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30890         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30891         * sysdeps/i386/fpu/e_logf.S: Likewise.
30892         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30893         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30894         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30895         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30896         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30897         * sysdeps/i386/fpu/e_log10.S: Likewise.
30898         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30899         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30900         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30901         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30902         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30903         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30904         * sysdeps/i386/asm-syntax.h: Likewise.
30905         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30906         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30907         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30908         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30909         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30910         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30911         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30912         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30913         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30914         * sysdeps/powerpc/sysdep.h: Likewise.
30915         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30916         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30917
30918 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30919
30920         [BZ #411]
30921         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30922
30923 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30924
30925         * sysdeps/i386/sysdep.h: Include <features.h>.
30926         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30927         version.
30928
30929 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30930
30931         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30932         Define.
30933         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30934         LOAD_PIC_REG_STR.
30935
30936 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30937
30938         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30939         (SETUP_PIC_REG): Use GET_PC_THUNK.
30940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30941         macro.
30942
30943 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30944
30945         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30946         for non-PIC compilation.
30947         (SETUP_PIC_REG): Add .p2align directive.
30948         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30949         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30950         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30951         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30952         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30953         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30954         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30955         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30956         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30957         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30958         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30959         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30960         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30961         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30962         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30963         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30964         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30965         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30966         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30967         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30968         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30969         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30970         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30971         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30973         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30974         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30975         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30976         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30977         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30978         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30979         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30980         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30981         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30982         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30983         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30984         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30985         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30986         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30987         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30988         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30989
30990 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30991
30992         * math/tst-CMPLX.c: Include <stdio.h>.
30993
30994 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30995
30996         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30997         float.
30998         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30999         * sysdeps/sparc/bits/mathdef.h: Likewise.
31000
31001 2012-01-31  Marek Polacek  <polacek@redhat.com>
31002
31003         * libio/libio.h: Don't define _PARAMS.
31004         * locale/programs/config.h: Don't define PARAMS.
31005         * stdlib/strtol_l.c: Likewise.
31006         (__strtol_l): Remove PARAMS from the prototype.
31007
31008 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31009
31010         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31011         names.  Just use the correct names.  Remove unnecessary wrapper
31012         functions.
31013         * malloc/arena.c: Likewise.
31014         * malloc/hooks.c: Likewise.
31015
31016         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31017         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31018         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31019
31020 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31021
31022         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31023         into tail calls.
31024         (update_get_addr): New function.
31025         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31026         GET_ADDR_MODULE parameter.
31027
31028 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31029
31030         * crypt/cert.c: Remove __STDC__ conditionals.
31031         * crypt/crypt-entry.c: Likewise.
31032         * crypt/crypt_util.c: Likewise.
31033         * libio/filedoalloc.c: Likewise.
31034         * libio/fileops.c: Likewise.
31035         * libio/genops.c: Likewise.
31036         * libio/iofclose.c: Likewise.
31037         * libio/iofdopen.c: Likewise.
31038         * libio/iofopen.c: Likewise.
31039         * libio/iofopen64.c: Likewise.
31040         * libio/iogetdelim.c: Likewise.
31041         * libio/iopopen.c: Likewise.
31042         * libio/obprintf.c: Likewise.
31043         * libio/oldfileops.c: Likewise.
31044         * libio/oldiofclose.c: Likewise.
31045         * libio/oldiofdopen.c: Likewise.
31046         * libio/oldiofopen.c: Likewise.
31047         * libio/oldiopopen.c: Likewise.
31048         * libio/wfiledoalloc.c: Likewise.
31049         * libio/wgenops.c: Likewise.
31050         * locale/programs/xmalloc.c: Likewise.
31051         * misc/syslog.c: Likewise.
31052         * stdio-common/xbug.c: Likewise.
31053         * string/memchr.c: Likewise.
31054         * string/memcmp.c: Likewise.
31055         * string/memrchr.c: Likewise.
31056         * string/rawmemchr.c: Likewise.
31057         * sysdeps/posix/getcwd.c: Likewise.
31058         * time/strftime_l.c: Likewise.
31059
31060 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31061
31062         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31063         * config.make.in (config-cflags-sse2avx): Define.
31064         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31065         Fix typo.
31066
31067 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31068
31069         * scripts/config.guess: Update from upstream config git repository.
31070         * scripts/config.sub: Likewise.
31071
31072 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31073
31074         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31075         (EM_NUM): Update.
31076         (R_TILEPRO_*, R_TILEGX_*): New macros.
31077
31078         * scripts/firstversions.awk: Fix bug in version range handling.
31079
31080         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31081
31082         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31083
31084         * include/sys/epoll.h: New file.
31085         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31086         libc_hidden_def.
31087
31088 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31089
31090         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31091         Avoid unnecessary __WORDSIZE == 64 test.
31092         (fmaxf): Use VEX format if possible.
31093         (fmax): Likewise.
31094         (fminf): Likewise.
31095         (fmin): Likewise.
31096
31097         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31098         * math/math_private.h: Remove libc_fegetround* and
31099         libc_fesetround*.
31100         * sysdeps/i386/configure.in: Check for -msse2avx.
31101         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31102         also if SSE2AVX is defined.
31103         Remove libc_fegetround* and libc_fesetround*.
31104         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31105         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31106         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31107         of HAS_YMM_USABLE.
31108         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31109         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31110         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31111         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31112         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31113
31114         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31115
31116 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31117
31118         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31119         size is not set.
31120         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31121
31122 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31123
31124         [BZ #13618]
31125         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31126         relocation.
31127         * Makeconfig (libm): Define.
31128         * elf/Makefile: Add rules to build and run tst-relsort1.
31129         * elf/tst-relsort1.c: New file.
31130         * elf/tst-relsort1mod1.c: New file.
31131         * elf/tst-relsort1mod2.c: New file.
31132
31133 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31134
31135         * math/s_ldexp.c: Remove __STDC__ conditionals.
31136         * math/s_ldexpf.c: Likewise.
31137         * math/s_ldexpl.c: Likewise.
31138         * math/s_nextafter.c: Likewise.
31139         * math/s_nexttowardf.c: Likewise.
31140         * math/s_significand.c: Likewise.
31141         * math/s_significandf.c: Likewise.
31142         * math/s_significandl.c: Likewise.
31143         * math/w_jnl.c: Likewise.
31144         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31145         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31146         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31147         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31148         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31149         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31150         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31151         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31152         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31153         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31154         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31155         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31156         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31157         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31158         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31159         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31160         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31161         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31162         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31163         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31164         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31165         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31166         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31167         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31168         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31169         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31170         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31171         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31172         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31173         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31174         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31175         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31176         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31177         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31178         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31179         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31180         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31181         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31182         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31183         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31184         * sysdeps/ieee754/k_standard.c: Likewise.
31185         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31186         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31187         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31188         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31189         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31190         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31191         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31192         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31193         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31194         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31195         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31196         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31197         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31198         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31199         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31200         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31201         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31202         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31203         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31204         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31205         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31206         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31207         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31208         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31209         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31210         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31211         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31212         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31213         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31214         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31215         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31216         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31217         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31218         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31219         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31220         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31221         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31222         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31223         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31224         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31225         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31226         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31227         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31228         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31229         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31230         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31231         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31232         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31233         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31234         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31235         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31236         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31237         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31238         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31239         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31240         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31241         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31242         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31243         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31244         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31245         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31246         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31247         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31248         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31249         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31250         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31251         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31252         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31253         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31254         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31255         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31256         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31257         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31259         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31260         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31261         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31262         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31263         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31264         * sysdeps/ieee754/s_matherr.c: Likewise.
31265         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31266         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31267         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31269
31270 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31271
31272         * crypt/md5.h: Remove __STDC__ conditionals.
31273         * libio/libioP.h: Likewise.
31274         * locale/programs/config.h: Likewise.
31275         * sysdeps/generic/sysdep.h: Likewise.
31276         * sysdeps/i386/asm-syntax.h: Likewise.
31277         * sysdeps/s390/asm-syntax.h: Likewise.
31278         * sysdeps/unix/sysdep.h: Likewise.
31279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31281
31282 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31283
31284         * libio/libio.h: Remove __STDC__ conditionals.
31285         * malloc/obstack.h: Likewise.
31286         * math/complex.h: Likewise.
31287         * math/math.h: Likewise.
31288         * sysdeps/generic/_G_config.h: Likewise.
31289         * sysdeps/gnu/_G_config.h: Likewise.
31290         * sysdeps/mach/hurd/_G_config.h: Likewise.
31291         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31292         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31293         * sysdeps/sparc/bits/mathdef.h: Likewise.
31294
31295 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31296
31297         [BZ #13583]
31298         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31299         Clean up HAS_* macros.
31300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31301         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31302         possible.
31303         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31304         HAS_AVX.
31305         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31306         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31307         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31308         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31309         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31310
31311 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31312
31313         * elf/tst-unique3.cc (gets): Remove declaration.
31314         * elf/tst-unique3lib.cc (gets): Likewise.
31315         * elf/tst-unique3lib2.cc (gets): Likewise.
31316         * elf/tst-unique4.cc (gets): Likewise.
31317
31318 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31319
31320         * include/stdio.h: Add C++ protection.  Add gets declarations and
31321         definitions.
31322         * debug/tst-chk1.c: Don't declare gets here.
31323         * stdio-common/tst-gets.c: Likewise.
31324
31325 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31326
31327         * posix/glob: Remove directory.
31328
31329 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31330
31331         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31332
31333 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31334
31335         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31336         of the non-standard EPFNOSUPPORT.
31337
31338 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31339
31340         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31341         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31342         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31343
31344 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31345
31346         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31347
31348 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31349
31350         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31351         transient errors.
31352         * nscd/grpcache.c (cache_addgr): Likewise.
31353         * nscd/hstcache.c (cache_addhst): Likewise.
31354         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31355         * nscd/pwdcache.c (cache_addpw): Likewise.
31356         * nscd/servicescache.c (cache_addserv): Likewise.
31357
31358 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31359
31360         * malloc/malloc.c: Various cleanups.
31361         * malloc/hooks.c: Likewise.
31362
31363         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31364         * stdlib/bug-fmtmsg1.c: New file.
31365
31366         * stdlib/fmtmsg.c (init): Add missing unlock.
31367         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31368
31369 2012-01-12  Marek Polacek  <polacek@redhat.com>
31370
31371         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31372         and _GNU_SOURCE.
31373
31374 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31375
31376         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31377         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31378         macro to ensure uniqueness of label name.
31379         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31380         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31381
31382 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31383
31384         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31385
31386         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31387         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31388         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31389         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31390
31391 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31392
31393         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31394
31395         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31396         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31397         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31398
31399         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31400
31401         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31402         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31403         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31404         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31405
31406         * math/bits/math-finite.h: Add ldexp support.
31407
31408 2012-01-10  Marek Polacek  <polacek@redhat.com>
31409
31410         * locale/programs/localedef.h (show_archive_content): Add noreturn
31411         attribute.
31412
31413 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31414
31415         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31416
31417 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31418
31419         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31420
31421         * io/Makefile (headers): Add bits/poll2.h.
31422
31423 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31424
31425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31426         typo #include statement.
31427
31428 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31429
31430         * include/sys/cdefs.h: Define __attribute_alloc_size.
31431         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31432         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31433         * elf/pldd.c: Likewise.
31434         * iconv/iconv_charmap.c: Likewise.
31435         * iconv/iconvconfig.c: Likewise.
31436         * iconv/strtab.c: Likewise.
31437         * locale/programs/locale.c: Likewise.
31438         * locale/programs/localedef.h: Likewise.
31439         * locale/programs/simple-hash.c: Likewise.
31440         * nscd/nscd.h: Likewise.
31441         * nss/makedb.c: Likewise.
31442         * sysdeps/generic/ldconfig.h: Likewise.
31443         * locale/programs/localedef.c: Remove xmalloc prototype.
31444         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31445
31446 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31447
31448         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31449         appropriate.
31450
31451 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31452
31453         * math/Makefile (tests): Add tst-CMPLX.
31454         * math/tst-CMPLX.c: New file.
31455
31456         * math/complex.h (CMPLXL): Fix typo.
31457
31458         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31459         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31460         GLIBC_2.16.
31461         * debug/tst-chk1.c: Add poll and ppoll tests.
31462         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31463         * include/sys/poll.h: Add hidden proto for ppoll.
31464         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31465         * sysdeps/mach/hurd/ppoll.c: Likewise.
31466         * io/ppoll.c: Likewise.
31467         * debug/poll_chk.c: New file.
31468         * debug/ppoll_chk.c: New file.
31469         * include/bits/poll2.h: New file.
31470         * io/bits/poll2.h: New file.
31471
31472         [BZ #1350]
31473         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31474
31475         * configure.in: static is always set to yes.  Remove.
31476         * config.make.in: Don't set build-static.
31477         * Makeconfig: Remove use of build-static.
31478         * dlfcn/Makefile: Likewise.
31479         * elf/Makefile: Likewise.
31480         * math/Makefile: Likewise.
31481         * misc/Makefile: Likewise.
31482         * nptl/Makefile: Likewise.
31483         * sysdeps/mach/hurd/Makefile: Likewise.
31484
31485         * configure.in: PWD_P is not used anymore.
31486         * config.make.in: Remove PWD_P entry.
31487
31488         * configure.in: Remove last remnants of RANLIB.
31489         No need to check for signed size_t anymore.
31490         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31491         and IA-64.
31492         Remove __builtin_expect test because we require at least gcc 3.4.
31493         * aclocal.m4: Likewise.
31494
31495         * wcsmbs/mbrtoc16.c: Implement using towc function.
31496         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31497         * wcsmbs/wcsmbsload.c: Likewise.
31498         * iconv/gconv_simple.c: Likewise.
31499         * iconv/gconv_int.h: Likewise.
31500         * iconv/gconv_builtin.h: Likewise.
31501         * iconv/iconv_prog.c: Remove CHAR16 handling.
31502
31503         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31504
31505         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31506
31507         * configure.in: Remove --with-elf and --enable-bounded options.
31508         Dont set base_machine for ia64.  More non-ELF conditions removed.
31509         Remove testing and setting of leading underscore information.
31510         * config.make.in (build-bounded): Set to no.
31511         * config.h.in: Remove NO_UNDERSCORES entry.
31512         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31513         them.
31514         * csu/start.c: Remove !NO_UNDERSCORE code.
31515         * locale/localeinfo.h: Likewise.
31516         * sysdeps/generic/machine-gmon.h: Likewise.
31517         * sysdeps/generic/sysdep.h: Likewise.
31518         * sysdeps/i386/sysdep.h: Likewise.
31519         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31520         * sysdeps/mach/sysdep.h: Likewise.
31521         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31522         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31523         * sysdeps/sh/sysdep.h: Likewise.
31524         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31525         * sysdeps/unix/i386/sysdep.S: Likewise.
31526         * sysdeps/unix/sparc/start.c: Likewise.
31527         * sysdeps/unix/sparc/sysdep.S: Likewise.
31528         * sysdeps/unix/sparc/sysdep.h: Likewise.
31529         * sysdeps/unix/start.c: Likewise.
31530         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31531         * sysdeps/x86_64/sysdep.h: Likewise.
31532
31533 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31534
31535         [BZ #13553]
31536         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31537         for non-gcc.
31538         * argp/argp-fmtstream.h: Use const instead __const.
31539         * argp/argp.h: Likewise.
31540         * assert/assert.h: Likewise.
31541         * bits/fenv.h: Likewise.
31542         * bits/sched.h: Likewise.
31543         * bits/sigset.h: Likewise.
31544         * bits/sigthread.h: Likewise.
31545         * catgets/nl_types.h: Likewise.
31546         * conform/data/pthread.h-data: Likewise.
31547         * crypt/crypt-private.h: Likewise.
31548         * crypt/crypt.h: Likewise.
31549         * crypt/crypt_util.c: Likewise.
31550         * ctype/ctype.h: Likewise.
31551         * debug/execinfo.h: Likewise.
31552         * debug/mbsnrtowcs_chk.c: Likewise.
31553         * debug/mbsrtowcs_chk.c: Likewise.
31554         * debug/wcsnrtombs_chk.c: Likewise.
31555         * debug/wcsrtombs_chk.c: Likewise.
31556         * debug/wcstombs_chk.c: Likewise.
31557         * dirent/dirent.h: Likewise.
31558         * dlfcn/dlfcn.h: Likewise.
31559         * elf/neededtest4.c: Likewise.
31560         * grp/grp.h: Likewise.
31561         * gshadow/gshadow.h: Likewise.
31562         * iconv/gconv.h: Likewise.
31563         * iconv/gconv_int.h: Likewise.
31564         * iconv/gconv_simple.c: Likewise.
31565         * iconv/iconv.h: Likewise.
31566         * iconv/loop.c: Likewise.
31567         * iconv/skeleton.c: Likewise.
31568         * include/aio.h: Likewise.
31569         * include/aliases.h: Likewise.
31570         * include/argz.h: Likewise.
31571         * include/arpa/inet.h: Likewise.
31572         * include/assert.h: Likewise.
31573         * include/dirent.h: Likewise.
31574         * include/dlfcn.h: Likewise.
31575         * include/execinfo.h: Likewise.
31576         * include/fcntl.h: Likewise.
31577         * include/fenv.h: Likewise.
31578         * include/glob.h: Likewise.
31579         * include/grp.h: Likewise.
31580         * include/libintl.h: Likewise.
31581         * include/mntent.h: Likewise.
31582         * include/netdb.h: Likewise.
31583         * include/pwd.h: Likewise.
31584         * include/rpc/netdb.h: Likewise.
31585         * include/sched.h: Likewise.
31586         * include/search.h: Likewise.
31587         * include/shadow.h: Likewise.
31588         * include/signal.h: Likewise.
31589         * include/stdio.h: Likewise.
31590         * include/stdlib.h: Likewise.
31591         * include/string.h: Likewise.
31592         * include/sys/socket.h: Likewise.
31593         * include/sys/stat.h: Likewise.
31594         * include/sys/statfs.h: Likewise.
31595         * include/sys/statvfs.h: Likewise.
31596         * include/sys/syslog.h: Likewise.
31597         * include/sys/time.h: Likewise.
31598         * include/sys/uio.h: Likewise.
31599         * include/time.h: Likewise.
31600         * include/unistd.h: Likewise.
31601         * include/utmp.h: Likewise.
31602         * include/wchar.h: Likewise.
31603         * include/wctype.h: Likewise.
31604         * inet/aliases.h: Likewise.
31605         * inet/arpa/inet.h: Likewise.
31606         * inet/netinet/ether.h: Likewise.
31607         * inet/netinet/in.h: Likewise.
31608         * intl/libintl.h: Likewise.
31609         * io/bits/fcntl2.h: Likewise.
31610         * io/fcntl.h: Likewise.
31611         * io/ftw.h: Likewise.
31612         * io/sys/poll.h: Likewise.
31613         * io/sys/stat.h: Likewise.
31614         * io/sys/statfs.h: Likewise.
31615         * io/sys/statvfs.h: Likewise.
31616         * io/utime.h: Likewise.
31617         * libio/bits/stdio.h: Likewise.
31618         * libio/bits/stdio2.h: Likewise.
31619         * libio/libio.h: Likewise.
31620         * libio/libioP.h: Likewise.
31621         * libio/stdio.h: Likewise.
31622         * locale/lc-ctype.c: Likewise.
31623         * locale/locale.h: Likewise.
31624         * login/utmp.h: Likewise.
31625         * malloc/arena.c: Likewise.
31626         * malloc/malloc.c: Likewise.
31627         * malloc/malloc.h: Likewise.
31628         * malloc/mcheck.c: Likewise.
31629         * malloc/mtrace.c: Likewise.
31630         * math/bits/mathcalls.h: Likewise.
31631         * math/fenv.h: Likewise.
31632         * math/math_private.h: Likewise.
31633         * misc/bits/error.h: Likewise.
31634         * misc/bits/syslog.h: Likewise.
31635         * misc/err.h: Likewise.
31636         * misc/error.h: Likewise.
31637         * misc/fstab.h: Likewise.
31638         * misc/mntent.h: Likewise.
31639         * misc/regexp.h: Likewise.
31640         * misc/search.h: Likewise.
31641         * misc/sgtty.h: Likewise.
31642         * misc/sys/mman.h: Likewise.
31643         * misc/sys/syslog.h: Likewise.
31644         * misc/sys/uio.h: Likewise.
31645         * misc/sys/xattr.h: Likewise.
31646         * misc/ttyent.h: Likewise.
31647         * nis/rpcsvc/ypclnt.h: Likewise.
31648         * nss/nss.h: Likewise.
31649         * posix/bits/unistd.h: Likewise.
31650         * posix/fnmatch.h: Likewise.
31651         * posix/glob.h: Likewise.
31652         * posix/sched.h: Likewise.
31653         * posix/spawn.h: Likewise.
31654         * posix/sys/wait.h: Likewise.
31655         * posix/unistd.h: Likewise.
31656         * posix/wordexp.h: Likewise.
31657         * pwd/pwd.h: Likewise.
31658         * resolv/netdb.h: Likewise.
31659         * resource/sys/resource.h: Likewise.
31660         * rt/aio.h: Likewise.
31661         * rt/bits/mqueue2.h: Likewise.
31662         * rt/mqueue.h: Likewise.
31663         * shadow/shadow.h: Likewise.
31664         * signal/signal.h: Likewise.
31665         * socket/send.c: Likewise.
31666         * socket/sendto.c: Likewise.
31667         * socket/sys/socket.h: Likewise.
31668         * stdio-common/printf.h: Likewise.
31669         * stdlib/bits/stdlib.h: Likewise.
31670         * stdlib/fmtmsg.h: Likewise.
31671         * stdlib/monetary.h: Likewise.
31672         * stdlib/stdlib.h: Likewise.
31673         * stdlib/ucontext.h: Likewise.
31674         * streams/stropts.h: Likewise.
31675         * string/argz.h: Likewise.
31676         * string/bits/string2.h: Likewise.
31677         * string/string.h: Likewise.
31678         * string/strings.h: Likewise.
31679         * sunrpc/rpc/auth.h: Likewise.
31680         * sunrpc/rpc/auth_des.h: Likewise.
31681         * sunrpc/rpc/clnt.h: Likewise.
31682         * sunrpc/rpc/netdb.h: Likewise.
31683         * sunrpc/rpc/pmap_clnt.h: Likewise.
31684         * sunrpc/rpc/xdr.h: Likewise.
31685         * sysdeps/generic/inttypes.h: Likewise.
31686         * sysdeps/generic/net/if.h: Likewise.
31687         * sysdeps/generic/sys/swap.h: Likewise.
31688         * sysdeps/gnu/net/if.h: Likewise.
31689         * sysdeps/gnu/utmpx.h: Likewise.
31690         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31691         * sysdeps/i386/i486/bits/string.h: Likewise.
31692         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31693         * sysdeps/s390/bits/string.h: Likewise.
31694         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31695         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31696         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31697         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31698         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31699         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31700         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31701         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31702         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31703         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31704         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31705         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31706         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31707         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31708         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31709         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31710         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31711         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31712         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31713         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31714         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31715         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31716         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31717         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31718         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31719         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31720         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31721         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31722         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31723         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31724         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31725         * sysvipc/sys/ipc.h: Likewise.
31726         * sysvipc/sys/msg.h: Likewise.
31727         * sysvipc/sys/sem.h: Likewise.
31728         * sysvipc/sys/shm.h: Likewise.
31729         * termios/termios.h: Likewise.
31730         * time/sys/time.h: Likewise.
31731         * time/time.h: Likewise.
31732         * wcsmbs/bits/wchar2.h: Likewise.
31733         * wcsmbs/uchar.h: Likewise.
31734         * wcsmbs/wchar.h: Likewise.
31735         * wctype/wctype.h: Likewise.
31736
31737         [BZ #13551]
31738         * Makeconfig: Remove all but ELF support including AIX support.
31739         * Makerules: Likewise.
31740         * config.h.in: Likewise.
31741         * config.make.in: Likewise.
31742         * configure: Likewise.
31743         * configure.in: Likewise.
31744         * csu/Makefile: Likewise.
31745         * csu/version.c: Likewise.
31746         * debug/Makefile: Likewise.
31747         * dlfcn/Makefile: Likewise.
31748         * elf/Makefile: Likewise.
31749         * extra-lib.mk: Likewise.
31750         * iconv/Makefile: Likewise.
31751         * include/libc-symbols.h: Likewise.
31752         * include/shlib-compat.h: Likewise.
31753         * resolv/Makefile: Likewise.
31754         * resolv/res_libc.c: Likewise.
31755         * rt/Makefile: Likewise.
31756         * sysdeps/i386/asm-syntax.h: Likewise.
31757         * sysdeps/i386/sysdep.h: Likewise.
31758         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31759         * sysdeps/mach/sysdep.h: Likewise.
31760         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31761         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31762         * sysdeps/s390/asm-syntax.h: Likewise.
31763         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31764         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31765         * sysdeps/sh/sysdep.h: Likewise.
31766         * sysdeps/unix/sparc/sysdep.h: Likewise.
31767         * sysdeps/wordsize-32/divdi3.c: Likewise.
31768         * sysdeps/x86_64/sysdep.h: Likewise.
31769
31770         * argp/Versions: Remove _argp_unlock_xxx.
31771
31772         [BZ #13559]
31773         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31774         * abilist/libBrokenLocale.abilist: Likewise.
31775         * abilist/libanl.abilist: Likewise.
31776         * abilist/libc.abilist: Likewise.
31777         * abilist/libcrypt.abilist: Likewise.
31778         * abilist/libdl.abilist: Likewise.
31779         * abilist/libm.abilist: Likewise.
31780         * abilist/libnsl.abilist: Likewise.
31781         * abilist/libpthread.abilist: Likewise.
31782         * abilist/libresolv.abilist: Likewise.
31783         * abilist/librt.abilist: Likewise.
31784         * abilist/libthread_db.abilist: Likewise.
31785         * abilist/libutil.abilist: Likewise.
31786         * abilist/libnss_db.abilist: New file.
31787
31788         * scripts/abilist.awk: Add support for indirect functions.
31789
31790         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31791
31792         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31793
31794         * shlib-versions: Remove entries for ports architectures.
31795
31796         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31797         files in ports.
31798         * elf/stackguard-macros.h: Remove support for IA-64.
31799         * elf/tst-auditmod1.c: Likewise.
31800         * sysdeps/generic/ldsodefs.h: Likewise.
31801
31802         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31803         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31804         configure files.
31805
31806         [BZ #13552]
31807         * configure.in: Remove --enable-omitfp support.
31808         * FAQ.in: Adjust.
31809         * config.make.in: Likewise.
31810         * Makeconfig: Likewise.
31811         * manual/install.texi: Likewise.
31812
31813         In case anyone cares, the IA-64 architecture could move to ports.
31814         * sysdeps/ia64/*: Removed.
31815         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31816         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31817
31818         [BZ #13555]
31819         * configure.in: Remove entries for unsupported architectures.
31820
31821         [BZ #13533]
31822         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31823         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31824         routines.
31825         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31826         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31827         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31828         fall back to using wcrtomb.
31829         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31830         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31831         renaming.
31832         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31833         * wcsmbs/tst-c16c32-1.c: New file.
31834
31835         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31836         local variable.
31837
31838         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31839
31840         * elf/tst-unique3.cc: Add explicit declaration of gets.
31841         * elf/tst-unique3lib.cc: Likewise.
31842         * elf/tst-unique3lib2.cc: Likewise.
31843         * elf/tst-unique4.cc: Likewise.
31844
31845         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31846
31847 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31848
31849         [BZ #13566]
31850         * assert/assert.h (static_assert): Don't define for C++.
31851         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31852         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31853
31854 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31855
31856         * iconv/loop.c (single loop): Fix assertion in storing of
31857         remaining bytes.
31858
31859         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31860
31861 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31862
31863         * posix/getconf.c: Update copyright year.
31864         * nss/getent.c: Likewise.
31865         * nss/makedb.c: Likewise.
31866         * iconv/iconvconfig.c: Likewise.
31867         * iconv/iconv_prog.c: Likewise.
31868         * elf/ldconfig.c: Likewise.
31869         * elf/pldd.c: Likewise.
31870         * elf/sotruss.ksh: Likewise.
31871         * catgets/gencat.c: Likewise.
31872         * csu/version.c: Likewise.
31873         * elf/ldd.bash.in: Likewise.
31874         * elf/sprof.c (print_version): Likewise.
31875         * locale/programs/locale.c: Likewise.
31876         * locale/programs/localedef.c: Likewise.
31877         * login/programs/pt_chown.c: Likewise.
31878         * nscd/nscd.c (print_version): Likewise.
31879         * debug/xtrace.sh: Likewise.
31880         * malloc/memusage.sh: Likewise.
31881         * malloc/mtrace.pl: Likewise.
31882         * debug/catchsegv.sh: Likewise.
31883
31884 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31885
31886         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31887         pure attribute.
31888
31889 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31890
31891         [BZ #13533]
31892         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31893         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31894         transformations.
31895         * iconv/gconv_int.h: Likewise.
31896         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31897         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31898         from libc for GLIBC_2.16.
31899         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31900         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31901         * wcsmbs/uchar.h: Really define mbstate_t.
31902         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31903         * wcsmbs/c16rtomb.c: New file.
31904         * wcsmbs/mbrtoc16.c: New file.
31905         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31906         for C/POSIX locale.
31907         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31908         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31909
31910         * wcsmbs/wchar.h: Add missing __restrict.
31911
31912 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31913
31914         [BZ #13532]
31915         * time/Makefile (routines): Add timespec_get.
31916         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31917         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31918         timespec for ISO C11.
31919         * time/timespec_get.c: New file.
31920         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31921         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31922
31923         [BZ #13531]
31924         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31925         * stdlib/stdlib.h: Declare aligned_alloc.
31926         * Versions.def: Add GLIBC_2.16 for libc.
31927         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31928
31929         [BZ 13527]
31930         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31931         ISO C11.
31932
31933         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31934         code.
31935
31936         [BZ #13528]
31937         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31938
31939         [BZ #13529]
31940         * assert/assert.h (static_assert): Define.
31941
31942         * version.h: Update for 2.16 development version.
31943
31944         [BZ #13526]
31945         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31946         _ISOC11_SOURCE.
31947
31948         * version.h (RELEASE): Bump for 2.15 release.
31949         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31950
31951         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31952         Patch by Marek Polacek <mpolacek@redhat.com>.
31953
31954         * bits/byteswap.h: Protect long long constants with __extension__.
31955         * sysdeps/i386/bits/byteswap.h: Likewise.
31956         * sysdeps/ia64/bits/byteswap.h: Likewise.
31957         * sysdeps/s390/bits/byteswap.h: Likewise.
31958         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31959
31960 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31961
31962         [BZ #13540]
31963         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31964         destination buffer.
31965         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31966
31967 2011-12-23  Marek Polacek  <polacek@redhat.com>
31968
31969         * elf/dl-addr.c (determine_info): Add inline keyword.
31970         * elf/tst-auditmod4b.c (check_avx): Likewise.
31971         * elf/tst-auditmod6b.c (check_avx): Likewise.
31972         * elf/tst-auditmod6c.c (check_avx): Likewise.
31973         * elf/tst-auditmod7b.c (check_avx): Likewise.
31974
31975 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31976
31977         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31978         !__SSE_MATH__.
31979
31980 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31981
31982         [BZ #13540]
31983         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31984         processing for last bytes.
31985
31986 2011-08-06  Bruno Haible  <bruno@clisp.org>
31987
31988         [BZ #13061]
31989         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31990         U+0385, not to U+1FEE.
31991
31992         [BZ #13062]
31993         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31994         entry for U+00A5 U+0301.
31995
31996 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31997
31998         [BZ #13166]
31999         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32000         buffer for the output is too small.
32001
32002         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32003         optimization.
32004
32005         [BZ #13185]
32006         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32007         SSE flags if possible.
32008
32009 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32010
32011         [BZ #13540]
32012         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32013         processing for last bytes.
32014
32015 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32016
32017         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32018         (syscall-list-default-options, syscall-list-default-condition)
32019         (syscall-list-includes): Define.
32020         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32021         list of ABIs and options and #if conditions for each ABI.  Do not
32022         handle common syscalls between ABIs specially.
32023         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32024         Remove.
32025         (syscall-list-variants, syscall-list-32bit-options)
32026         (syscall-list-32bit-condition, syscall-list-64bit-options)
32027         (syscall-list-64bit-condition): Define.
32028         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32029         (syscall-list-variants, syscall-list-32bit-options)
32030         (syscall-list-32bit-condition, syscall-list-64bit-options)
32031         (syscall-list-64bit-condition): Define.
32032         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32033         Remove.
32034         (syscall-list-variants, syscall-list-32bit-options)
32035         (syscall-list-32bit-condition, syscall-list-64bit-options)
32036         (syscall-list-64bit-condition): Define.
32037         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32038         Remove.
32039         (syscall-list-variants, syscall-list-32bit-options)
32040         (syscall-list-32bit-condition, syscall-list-64bit-options)
32041         (syscall-list-64bit-condition): Define.
32042
32043 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32044
32045         * locale/iso-639.def: Add brx entry.
32046
32047         [BZ #13328]
32048         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32049         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32050
32051         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32052         __feraiseexcept_renamed.
32053
32054 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32055
32056         [BZ #13538]
32057         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32058         EPOLLET with unsigned values.
32059         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32060         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32061
32062         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32063         to large cancellation.
32064         * math/s_cacoshf.c: Likewise.
32065         * math/s_cacoshl.c: Likewise.
32066
32067 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32068
32069         [BZ #13305]
32070         [BZ #12786]
32071         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32072         * math/s_cacoshf.c: Likewise.
32073         * math/s_cacoshl.c: Likewise.
32074
32075 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32076
32077         [BZ #13439]
32078         * iconv/gconv.h: Define __GCONV_SWAP.
32079         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32080         * iconvdata/utf-16.c: Likewise.
32081         * iconvdata/utf-32.c: Likewise.
32082
32083 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32084
32085         [BZ #13524]
32086         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32087         numerator after shifting it by one limb.
32088
32089 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32090
32091         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32092         under [__USE_EXTERN_INLINES].
32093
32094 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32095
32096         [BZ #13446]
32097         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32098
32099 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32100
32101         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32102         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32103         optimized code.
32104         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32105         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32106         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32107         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32108         for strncasecmp/strncasecmp_l compilation.
32109         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32110         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32111
32112 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32113
32114         [BZ #13484]
32115         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32116         of __asm__.
32117
32118 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32119
32120         [BZ #13506]
32121         * time/tzfile.c (__tzfile_read): Check values from file header.
32122
32123 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32124
32125         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32126         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32127         * powerpc/powerpc32/dl-start.S: Likewise.
32128         * powerpc/powerpc32/elf/start.S: Likewise.
32129         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32130         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32131         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32132         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32133         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32134         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32135         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32136         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32137         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32138         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32139         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32140         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32141         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32142         * powerpc/powerpc32/memset.S: Likewise.
32143         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32144         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32145         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32146         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32147         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32148         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32149         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32150         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32151         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32152         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32153         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32154         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32155         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32156
32157 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32158
32159         * math/libm-test.inc: Added more nearbyint tests.
32160         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32161         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32162         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32163         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32164
32165 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32166
32167         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32168         FD_CLOEXEC.
32169
32170 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32171
32172         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32173         Add wcscpy-ssse3 wcscpy-c.
32174         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32175         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32176         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32177         * sysdeps/x86_64/wcschr.S: New file.
32178         * sysdeps/x86_64/wcsrchr.S: New file.
32179         * string/test-strcmp.c: Remove checking of wcscmp function for
32180         wrong alignments.
32181         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32182         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32183         wcsrchr-sse2 wcsrchr-c.
32184         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32185         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32186         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32187         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32188         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32189         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32190         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32191         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32192         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32193         * wcsmbc/wcschr.c (WCSCHR): New macro.
32194
32195 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32196
32197         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32198         * wcsmbs/test-wcsrchr.c: New file.
32199         * string/test-strrchr.c: Add wcsrchr support.
32200         (WIDE): New macro.
32201         * wcsmbs/test-wcscpy.c: New file.
32202         * string/test-strcpy.c: Add wcscpy support.
32203         (WIDE): New macro.
32204
32205 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32206
32207         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32208         the inner loop.
32209
32210 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32211
32212         [BZ #13472]
32213         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32214
32215 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32216
32217         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32218         Minor optimizations.
32219
32220         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32221         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32222         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32223
32224 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32225
32226         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32227         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32228         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32229         for gcc to avoid warnings.
32230         * inet/Makefile (tests): Add tst-checks.
32231         * inet/tst-checks.c: New file.
32232
32233         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32234         warning.
32235
32236         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32237         __wmemcmp_sse2.
32238
32239         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32240         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32241
32242         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32243
32244 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32245
32246         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32247         problem.
32248
32249         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32250
32251 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32252
32253         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32254         conditional on GCC version.
32255         (__arch_compare_and_exchange_val_8_acq)
32256         (__arch_compare_and_exchange_val_16_acq)
32257         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32258         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32259         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32260
32261 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32262
32263         * sysdeps/sh/backtrace.c: New file.
32264
32265 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32266
32267         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32268         parenthesis.
32269
32270 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32271
32272         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32273         falling back to utime.
32274
32275 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32276
32277         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32278         expectations for float.
32279
32280 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32281
32282         * locale/weight.h (findidx): Add parameter len.
32283         * locale/weightwc.h (findidx): Likewise.
32284         * posix/fnmatch_loop.c (FCT): Adjust caller.
32285         * posix/regcomp.c (build_equiv_class): Likewise.
32286         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32287         * posix/regexec.c (check_node_accept_bytes): Likewise.
32288         * string/strcoll_l.c (STRCOLL): Likewise.
32289         * string/strxfrm_l.c (STRXFRM): Likewise.
32290
32291 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32292
32293         * Makefile.in: Remove CVSOPT handling.
32294         * configure.in: Remove use of AC_REVISION.
32295         * iconvdata/Makefile (distribute): No need to filter out CVS.
32296         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32297         handling.
32298
32299 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32300
32301         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32302         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32303         [USE_AS_STRNCASECMP_L]: Likewise.
32304         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32305         NO_TLS_DIRECT_SEG_REFS.
32306         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32307         Fix argument offsets for non-PIC.
32308         [USE_AS_STRNCASECMP_L]: Likewise.
32309         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32310         NO_TLS_DIRECT_SEG_REFS.
32311
32312 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32313
32314         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32315         O_CLOEXEC.
32316         * locale/loadlocale.c (_nl_load_locale): Likewise.
32317
32318 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32319
32320         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32321         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32322         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32323         (SYSCALL_GETTIME): Set errno on error.
32324
32325         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32326         count references to noai6ai_cached.
32327
32328 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32329
32330         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32331
32332         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32333         FD_CLOEXEC for /proc/self/maps.
32334
32335         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32336         FD_CLOEXEC for /proc/meminfo.
32337
32338         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32339         gai.conf.
32340
32341         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32342         FD_CLOEXEC for given file.
32343
32344         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32345
32346         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32347         FD_CLOEXEC for /etc/hosts.
32348         (_gethtent): Likewise.
32349
32350         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32351
32352         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32353         cancellation and set FD_CLOEXEC for /etc/netgroup.
32354
32355         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32356         reading /etc/publickey.
32357
32358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32359         allow cancellation when reading /etc/group.
32360
32361         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32362         cancellation.
32363         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32364
32365         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32366         when using data file.
32367
32368         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32369
32370         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32371         (write_nis_obj): Use "c" and "e" in fopen.
32372
32373         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32374
32375         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32376
32377         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32378
32379         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32380
32381         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32382         locale.alias.
32383
32384         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32385
32386         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32387
32388         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32389
32390         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32391         file parsing and set FD_CLOEXEC.
32392
32393 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32394
32395         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32396
32397 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32398
32399         * malloc/arena.c (arena_get2): Don't call reused_arena when
32400         _int_new_arena failed.
32401
32402 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32403
32404         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32405         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32406         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32407         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32408         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32409         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32410         to compile strcasecmp and strncasecmp.
32411         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32412         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32413
32414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32415
32416 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32417
32418         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32419         locale-defines.sym to gen-as-const-headers.
32420         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32421         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32422         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32423         to compile strcasecmp and strncasecmp.
32424         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32425         strcasecmp_l and strncasecmp_l.
32426         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32427         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32428         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32429         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32430         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32431         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32432         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32433         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32434         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32435         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32436         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32437
32438 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32439
32440         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32441         result of SYSDEP_GETTIME_CPU to retval.
32442         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32443         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32444
32445         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32446         variable.
32447
32448         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32449         mantissa words.
32450         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32451
32452         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32453         from unused variable.
32454
32455         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32456         DWARF definitions.
32457         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32458         for assembling.
32459
32460         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32461         over namespaces.
32462
32463         * sunrpc/rpc_prot.c (rejected): Fix case value.
32464
32465         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32466         unsigned long long int to avoid warnings in shift.
32467
32468         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32469         of use of trans.
32470         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32471         variable tmp.
32472
32473         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32474         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32475         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32476
32477         * nis/nis_table.c (nis_list): Use variable of correct type for
32478         result of __follow_path call.
32479
32480 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32481
32482         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32483         of math functions ceil, trunc, floor, round, and sqrt, when
32484         avaliable on the platform.
32485         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32486         name clash.
32487         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32488         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32489         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32490
32491 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32492
32493         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32494         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32495
32496 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32497
32498         * include/unistd.h: Fix __readlink return type.
32499         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32500
32501 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32502
32503         * stdlib/ucontext.h: Undo last change for makecontext.
32504
32505 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32506
32507         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32508
32509         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32510         * setjmp/setjmp.h: Mark functions as non-leaf.
32511         * setjmp/bits/setjmp2.h: Likewise.
32512         * stdlib/ucontext.h: Likewise.
32513
32514 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32515
32516         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32517         (reused_arena): Don't check arena limit.
32518         (arena_get2): Atomically check arena limit.
32519
32520 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32521
32522         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32523         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32524
32525         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32526         instructions.
32527
32528 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32529
32530         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32531         handler when locking.
32532
32533         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32534         Fix size of allocated buffer.
32535
32536 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32537
32538         [BZ #10103]
32539         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32540         declarations for long double functions.
32541         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32542
32543         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32544
32545 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32546
32547         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32548         installed.
32549
32550         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32551         is disabled.
32552
32553 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32554
32555         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32556
32557 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32558
32559         * include/alloca.h (stackinfo_alloca_round): Define.
32560         (extend_alloca): Use it.
32561         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32562         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32563         here.
32564
32565         * scripts/check-local-headers.sh: Ignore libaudit.h.
32566
32567         * nscd/Makefile (extra-objs): Make recursively expanded.
32568
32569 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32570
32571         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32572         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32573
32574         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32575         * posix/tst-rfc3484-2.c: Likewise.
32576         * posix/tst-rfc3484-3.c: Likewise.
32577
32578         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32579         process_vm_writev.
32580         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32581         process_vm_writev.
32582         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32583         process_vm_writev from libc using GLIBC_2.15 version.
32584
32585         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32586
32587 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32588
32589         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32590         stack usage.
32591
32592 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32593
32594         [BZ #13367]
32595         * nss/getent.c (initgroups_keys): Show error message in case no group
32596         names are given.
32597
32598         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32599         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32600         __bump_nl_timestamp.
32601         * nscd/connections (nscd_init): When host database is served open
32602         netlink socket and request notification about configuration changes.
32603         (main_loop_poll): Track netlink file descriptor and bump timestamp
32604         in case data becomes available.
32605         (main_loop_epoll): Likewise.
32606         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32607         (database_pers_head): Add extra_data fileds.
32608         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32609         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32610         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32611         Adjust caller.
32612         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32613         in6ai data, call __free_in6ai.
32614         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32615         Add -DHAVE_NETLINK.
32616         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32617         interface information.  Reuse previous data if netlink timestamp
32618         is not changed.
32619         (__bump_nl_timestamp): New function.
32620         (__free_in6ai): New function.
32621
32622 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32623
32624         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32625         close_not_cancel_no_status here.
32626         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32627
32628 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32629
32630         [BZ #13276]
32631         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32632         return value.
32633
32634         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32635         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32636         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32637
32638 2011-07-03  Andreas Jaeger  <aj@suse.de>
32639
32640         [BZ #10709]
32641         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32642         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32643         * math/libm-test.inc (sin_test): Add test case.
32644
32645 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32646
32647         [BZ #13337]
32648         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32649         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32650
32651         * elf/chroot_canon.c (chroot_canon): Cleanups.
32652
32653         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32654
32655         [BZ #13335]
32656         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32657         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32658
32659         * string/test-strchr.c: Make usable for strchrnul testing.
32660         * string/test-strchrnul.c: New file.
32661         * string/Makefile (strop-tests): Add strchrnul.
32662
32663         * po/it.po: Update from translation team.
32664         * po/es.po: Likewise.
32665
32666 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32667
32668         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32669         the three constants needed as parameters.  Drop the others.
32670         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32671         __m128i_strloadu_tolower.
32672         Create and initialize variable zero and use it in all the places
32673         where _mm_setzero_si128 was used.
32674
32675         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32676         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32677         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32678         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32679         anymore.
32680         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32681         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32682         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32683         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32684         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32685         __mpranred, __mptan.
32686         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32687         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32688         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32689         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32690         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32691         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32692         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32693         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32694         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32695
32696 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32697
32698         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32699         redefine if SHARED.
32700         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32701
32702         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32703         wide char related routines to wcsmbs subdir.
32704
32705 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32706
32707         [BZ #13344]
32708         * misc/sys/cdefs.h (__THROWNL): Define.
32709         * posix/unistd.h: Use __THREADNL instead of __THREAD
32710         for memory synchronization functions.
32711
32712 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32713
32714         [BZ #13349]
32715         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32716         doesn't exist.
32717         * manual/stdio.texi (Obstack Streams): Node removed.
32718
32719 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32720
32721         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32722         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32723         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32724
32725         * math/math_private.h (math_force_eval): Allow non-addressable
32726         arguments.
32727         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32728
32729 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32730
32731         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32732         file is not needed.
32733
32734         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32735         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32736         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32737         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32738         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32739         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32740         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32741         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32742         Add AVX variants.
32743         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32744         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32745         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32746         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32747         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32748         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32749         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32750         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32751         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32752         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32753         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32754         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32755         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32756         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32757         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32758         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32759         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32760         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32761         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32762
32763         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32764         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32765
32766         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32767         place.  Use VEX encoding when compiling for AVX.
32768
32769 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32770
32771         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32772         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32773
32774         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32775
32776 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32777
32778         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32779         useless if() expression.
32780         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32781         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32782         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32783         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32784         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32785         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32786         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32787         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32788         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32789         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32790         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32791         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32792         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32793         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32794         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32795         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32796         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32797         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32798         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32799
32800         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32801
32802 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32803
32804         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32805         condition.
32806         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32807
32808 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32809
32810         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32811         .text section.  Avoid duplicate constants.
32812         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32814         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32815         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32816         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32817         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32818         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32819         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32820         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32821         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32822         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32823         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32824         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32825         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32826         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32827         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32828         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32829         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32830         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32831         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32832         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32833         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32834         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32835         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32836         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32837         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32838         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32839         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32840         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32841         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32842         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32843         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32844         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32845         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32846         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32847         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32848         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32849         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32850         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32851         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32852         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32853         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32854         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32855         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32856         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32857
32858 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32859
32860         * sysdeps/x86_64/dla.h: Move to ...
32861         * sysdeps/x86_64/fpu/dla.h: ...here.
32862         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32863         situations.  Use __builtin_fma only for gcc 4.6 and up.
32864
32865         * config.make.in: Add have-mfma4 entry.
32866         * configure.in: Substitute libc_cv_cc_fma4.
32867         * math/Makefile (dbl-only-routines): Add sincostab.
32868         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32869         Use __sincostab not sincos.
32870         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32871         name is a macro.
32872         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32873         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32874         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32876         using __copysign.
32877         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32878         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32879         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32880         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32881         and __inv.
32882         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32883         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32884         __copysign.
32885         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32886         define aliases when function name is a macro.
32887         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32888         sysdeps/ieee754/dbl-64/sincos.tbl.
32889         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32890         fma4-enabled routines.
32891         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32892         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32893         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32894         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32895         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32896         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32897         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32898         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32899         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32900         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32901         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32902         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32903         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32904         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32905         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32906         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32907         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32908         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32909         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32910         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32911         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32912         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32913         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32914         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32915         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32916         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32917         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32918         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32919         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32920         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32921
32922         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32923         rename.
32924         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32929         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32930         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32931         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32932
32933 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32934
32935         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32936
32937 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32938
32939         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32940
32941         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32942         prediction.
32943         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32944
32945         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32946         Remove unused variable magic_bits.
32947         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32948
32949         * string/strnlen.c: Define and use STRNLEN macro.
32950         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32951         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32952         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32953         * wcsmbs/wcslen.c: Define and use WCSLEN.
32954         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32955         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32956         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32957         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32958         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32959         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32960         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32961
32962 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32963
32964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32965         strnlen-sse2-no-bsf.
32966         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32967         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32968         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32969         Add strnlen support.
32970         (USE_AS_STRNLEN): New macro.
32971         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32972         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32973         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32974         * sysdeps/x86_64/wcslen.S: New file.
32975
32976 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32977
32978         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32979         XMM-moves are used for copying on small sizes.
32980
32981 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32982
32983         * wcsmbs/Makefile (strop-tests): Add wcschr.
32984         * wcsmbs/test-wcschr.c: New file.
32985         * string/test-strchr.c: Update.
32986         Add wcschr support.
32987         (WIDE): New macro.
32988
32989 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32990
32991         * wcsmbs/Makefile (strop-tests): Add wcslen.
32992         * wcsmbs/test-wcslen.c: New file.
32993         * string/test-strlen.c: Update.
32994         Add wcslen support.
32995         (WIDE): New macro.
32996
32997 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32998
32999         * po/it.po: Update from translation team.
33000
33001 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33002
33003         * sysdeps/x86_64/wcscmp.S: Update.
33004         Fix wrong comparison semantics.
33005         wcscmp shall use signed comparison not unsigned.
33006         Don't use substraction to avoid overflow bug.
33007         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33008         * wcsmbc/wcscmp.c: Likewise.
33009         * string/test-strcmp.c: Likewise.
33010         Add new tests to check cases with negative values.
33011
33012 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33013
33014         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33015         * sysdeps/x86_64/dla.h: ...here.  New file.
33016         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33017         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33018         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33019         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33020         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33021         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33022         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33023         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33024         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33025
33026 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33027
33028         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33029         __ynl_finite aliases.
33030
33031 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33032
33033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33034
33035         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33036         define DLA_FMA.
33037         [DLA_FMA] (EMULV): Use DLA_FMA.
33038         [DLA_FMA] (MUL12): Use EMULV.
33039         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33040         that are not needed.
33041         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33043         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33044         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33045         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33046         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33047         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33048
33049 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33050
33051         * math/s_nan.c: Undef __nan.
33052         * math/s_nanf.c: Undef __nanf.
33053         * math/s_nanl.c: Undef __nanl.
33054         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33055         "math_private.h".
33056
33057 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33058
33059         * math/s_catan.c: Add branch predictions.
33060         * math/s_catanf.c: Likewise.
33061         * math/s_catanh.c: Likewise.
33062         * math/s_catanhf.c: Likewise.
33063         * math/s_catanhl.c: Likewise.
33064         * math/s_catanl.c: Likewise.
33065         * math/s_cexp.c: Likewise.
33066         * math/s_cexpf.c: Likewise.
33067         * math/s_cexpl.c: Likewise.
33068         * math/s_clog.c: Likewise.
33069         * math/s_clog10.c: Likewise.
33070         * math/s_clog10f.c: Likewise.
33071         * math/s_clog10l.c: Likewise.
33072         * math/s_clogf.c: Likewise.
33073         * math/s_clogl.c: Likewise.
33074         * math/s_csqrt.c: Likewise.
33075         * math/s_csqrtf.c: Likewise.
33076         * math/s_csqrtl.c: Likewise.
33077         * math/s_ctanf.c: Likewise.
33078         * math/s_ctanh.c: Likewise.
33079         * math/s_ctanhf.c: Likewise.
33080         * math/s_ctanhl.c: Likewise.
33081         * math/s_ctanl.c: Likewise.
33082
33083         * math/math_private.h: Define __nan, __nanf, __nanl.
33084         * math/s_cacosh.c: Include <math_private.h>.
33085         * math/s_cacoshl.c: Likewise.
33086         * math/s_casinh.c: Likewise.
33087         * math/s_casinhf.c: Likewise.
33088         * math/s_casinhl.c: Likewise.
33089         * math/s_ccos.c: Rely entire on ccosh.
33090         * math/s_ccosf.c: Rely entire on ccoshf.
33091         * math/s_ccosl.c: Rely entirely on ccoshl.
33092         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33093         Remove tests for FE_INVALID.
33094         * math/s_ccoshf.c: Likewise.
33095         * math/s_ccoshl.c: Likewise.
33096         * math/s_csin.c: Likewise.
33097         * math/s_csinf.c: Likewise.
33098         * math/s_csinh.c Likewise.
33099         * math/s_csinhf.c: Likewise.
33100         * math/s_csinhl.c: Likewise.
33101         * math/s_csinl.c: Likewise.
33102         * math/s_ctan.c: Likewise.
33103         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33104         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33105         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33106
33107 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33108
33109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33110         compilation problems.
33111
33112         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33113         __builtin_expect.
33114
33115 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33116
33117         * sysdeps/i386/configure.in: Test for -mfma4 option.
33118         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33119         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33120         COMMON_CPUID_INDEX_80000001.
33121         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33122         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33123         use it if FMA3 is not supported.
33124         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33125
33126         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33127         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33128
33129 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33130
33131         [BZ #12892]
33132         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33133         it would create a cycle with a link time dependency.
33134
33135 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33136
33137         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33138         instruction.
33139         * string/Makefile (strop-tests): Add rawmemchr.
33140         * string/test-rawmemchr.c: New file.
33141
33142         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33143         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33144         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33145         when compiling str{,n}casecmp and when AVX is available.  Hook up
33146         new optimized code in initializers.
33147
33148 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33149
33150         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33151         __feraiseexcept instead of feraiseexcept.
33152
33153 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33154
33155         * math/math_private.h: Define defaults for libc_fetestexcept and
33156         libc_feupdateenv.
33157         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33158         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33159         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33160         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33161         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33162         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33163         libc_fetestexcept and libc_feupdateenv.
33164
33165         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33166         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33167         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33168         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33169         libc_feholdexcept_setround.
33170
33171         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33172         Add s_nearbyint-c and s_nearbyintf-c.
33173         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33174         nearbyintf inlines.
33175         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33176         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33177         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33178         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33179
33180         * math/math_private.h: Define defaults for libc_fegetround,
33181         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33182         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33183         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33184         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33185         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33186         standard functions.
33187         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33188         Remove comments and hacks for old compiler versions.
33189         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33190         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33191         libc_feholdexceptl.
33192
33193 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33194
33195         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33196         (__feraiseexcept_renamed): Add __NTH.
33197         (feraiseexcept): Add __NTH.  Rename local variables to fix
33198         namespace violations.
33199
33200 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33201
33202         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33203
33204         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33205
33206         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33207         recently added interfaces.
33208         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33209
33210         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33211         about macro parameter expansion.
33212
33213         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33214         __NO_MATH_INLINES is defined.  Cleanups.
33215
33216         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33217         and __floorf is target has SSE4.1.
33218         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33219         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33220         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33221         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33222
33223         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33224         name.
33225         (floorf): Likewise.
33226
33227         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33228
33229 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33230
33231         * misc/sys/cdefs.h: Fix last change.
33232
33233         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33234         database lookup.
33235
33236 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33237
33238         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33239
33240         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33241         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33242         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33243         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33245         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33246         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33247         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33248         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33249         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33250         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33251         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33252         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33253         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33254         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33255         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33256         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33257         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33258         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33259         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33260         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33261         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33262
33263         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33264         ceil, ceilf, floor, floorf.
33265
33266         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33267         Perform IRELATIVE relocations last.
33268
33269         * elf/do-rel.h: Add another parameter nrelative, replacing the
33270         local variable with the same name.  Change name of the function
33271         to end in Rel or Rela (uppercase).
33272         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33273         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33274         elf_dynamic_do_##reloc function.
33275
33276 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33277
33278         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33279         is sufficient, at least on modern CPUs.
33280
33281         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33282
33283         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33284         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33285
33286         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33287         __expl_finite.
33288         * math/bits/math-finite.h: Add entries for exp.
33289         * math/e_expl.c: Add __*_finite alias.
33290         * sysdeps/i386/fpu/e_exp.S: Likewise.
33291         * sysdeps/i386/fpu/e_expf.S: Likewise.
33292         * sysdeps/i386/fpu/e_expl.c: Likewise.
33293         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33294         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33295         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33297         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33298         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33299         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33300
33301         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33302         is sufficient, at least on modern CPUs.
33303
33304         * ctype/ctype-info.c (__ctype_init): Define.
33305         * include/ctype.h (__ctype_init): Declare.
33306         (__ctype_b_loc): The variable is always initialized.
33307         (__ctype_toupper_loc): Likewise.
33308         (__ctype_tolower_loc): Likewise.
33309         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33310         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33311
33312 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33313
33314         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33315
33316         * configure.in: Also look in $cxxmachine/include for C++ system
33317         headers.
33318
33319 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33320
33321         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33322         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33323         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33324         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33325         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33326         (USE_AS_WMEMCMP): New macro.
33327         Fixing indents.
33328         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33329         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33330         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33331         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33332         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33333         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33334         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33335         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33336         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33337         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33338         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33339         (USE_AS_WMEMCMP): New macro.
33340         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33341         * sysdeps/string/test-memcmp.c: Update.
33342         Fix simple_wmemcmp.
33343         Add new tests.
33344         * wcsmbs/wmemcmp.c: Update.
33345         (WMEMCMP): New macro.
33346         Fix overflow bug.
33347
33348 2011-10-12  Andreas Jaeger  <aj@suse.de>
33349
33350         [BZ #13268]
33351         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33352
33353 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33354
33355         * libio/iofwide.c (do_length): Avoid warning.
33356
33357         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33358
33359 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33360
33361         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33362
33363         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33364         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33365         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33366         * sysdeps/i386/i686/fpu/e_log.S: New file.
33367         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33368         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33369
33370         * ctype/ctype.h: Add support for inlined isXXX functions when
33371         compiling C++ code.
33372
33373 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33374
33375         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33376
33377         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33378
33379 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33380
33381         [BZ #13291]
33382         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33383
33384 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33385
33386         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33387         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33388         feraiseexcept.
33389
33390         * sysdeps/x86_64/memrchr.S: Check for zero size.
33391
33392         * string/stratcliff.c: Add memrchr tests.
33393
33394 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33395
33396         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33397         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33398         rawmemchr-sse2 rawmemchr-sse2-bsf.
33399         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33400         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33401         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33402         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33403         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33404         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33405         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33406         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33407         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33408         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33409         * string/memrchr.c (MEMRCHR): New macro.
33410
33411 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33412
33413         Add integration with gcc's -ffinite-math-only and optimize wrapper
33414         functions in libm.
33415         * Versions.def: Define GLIBC_2.15 version for libm.
33416         * math/Makefile (headers): Add bits/math-finite.h.
33417         * math/bits/math-finite.h: New file.
33418         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33419         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33420         * math/e_acoshl.c: Add __*_finite alias.
33421         * math/e_acosl.c: Likewise.
33422         * math/e_asinl.c: Likewise.
33423         * math/e_atan2l.c: Likewise.
33424         * math/e_atanhl.c: Likewise.
33425         * math/e_coshl.c: Likewise.
33426         * math/e_exp10.c: Likewise.
33427         * math/e_exp10f.c: Likewise.
33428         * math/e_exp10l.c: Likewise.
33429         * math/e_exp2l.c: Likewise.
33430         * math/e_fmodl.c: Likewise.
33431         * math/e_gammal_r.c: Likewise.
33432         * math/e_hypotl.c: Likewise.
33433         * math/e_j0l.c: Likewise.
33434         * math/e_j1l.c: Likewise.
33435         * math/e_jnl.c: Likewise.
33436         * math/e_lgammal_r.c: Likewise.
33437         * math/e_log10l.c: Likewise.
33438         * math/e_log2l.c: Likewise.
33439         * math/e_logl.c: Likewise.
33440         * math/e_powl.c: Likewise.
33441         * math/e_sinhl.c: Likewise.
33442         * math/e_sqrtl.c: Likewise.
33443         * math/e_scalb.c: Completely rewritten and optimized.
33444         * math/e_scalbf.c: Likewise.
33445         * math/e_scalbl.c: Likewise.
33446         * math/w_acos.c: Likewise.
33447         * math/w_acosf.c: Likewise.
33448         * math/w_acosl.c: Likewise.
33449         * math/w_acosh.c: Likewise.
33450         * math/w_acoshf.c: Likewise.
33451         * math/w_acoshl.c: Likewise.
33452         * math/w_asin.c: Likewise.
33453         * math/w_asinf.c: Likewise.
33454         * math/w_asinl.c: Likewise.
33455         * math/w_atan2.c: Likewise.
33456         * math/w_atan2f.c: Likewise.
33457         * math/w_atan2l.c: Likewise.
33458         * math/w_atanh.c: Likewise.
33459         * math/w_atanhf.c: Likewise.
33460         * math/w_atanhl.c: Likewise.
33461         * math/w_exp10.c: Likewise.
33462         * math/w_exp10f.c: Likewise.
33463         * math/w_exp10l.c: Likewise.
33464         * math/w_fmod.c: Likewise.
33465         * math/w_fmodf.c: Likewise.
33466         * math/w_fmodl.c: Likewise.
33467         * math/w_j0.c: Likewise.
33468         * math/w_j0f.c: Likewise.
33469         * math/w_j0l.c: Likewise.
33470         * math/w_j1.c: Likewise.
33471         * math/w_j1f.c: Likewise.
33472         * math/w_j1l.c: Likewise.
33473         * math/w_jn.c: Likewise.
33474         * math/w_jnf.c: Likewise.
33475         * math/w_log.c: Likewise.
33476         * math/w_logf.c: Likewise.
33477         * math/w_logl.c: Likewise.
33478         * math/w_log10.c: Likewise.
33479         * math/w_log10f.c: Likewise.
33480         * math/w_log10l.c: Likewise.
33481         * math/w_log2.c: Likewise.
33482         * math/w_log2f.c: Likewise.
33483         * math/w_log2l.c: Likewise.
33484         * math/w_pow.c: Likewise.
33485         * math/w_powf.c: Likewise.
33486         * math/w_powl.c: Likewise.
33487         * math/w_remainder.c: Likewise.
33488         * math/w_remainderf.c: Likewise.
33489         * math/w_remainderl.c: Likewise.
33490         * math/w_scalb.c: Likewise.
33491         * math/w_scalbf.c: Likewise.
33492         * math/w_scalbl.c: Likewise.
33493         * math/w_sqrt.c: Likewise.
33494         * math/w_sqrtf.c: Likewise.
33495         * math/w_sqrtl.c: Likewise.
33496         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33497         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33498         used.
33499         * math/math_private.h: Declare __kernel_standard_f.
33500         * math/w_cosh.c: Remove cruft and optimize a bit.
33501         * math/w_coshf.c: Likewise.
33502         * math/w_coshl.c: Likewise.
33503         * math/w_exp2.c: Likewise.
33504         * math/w_exp2f.c: Likewise.
33505         * math/w_exp2l.c: Likewise.
33506         * math/w_hypot.c: Likewise.
33507         * math/w_hypotf.c: Likewise.
33508         * math/w_hypotl.c: Likewise.
33509         * math/w_lgamma.c: Likewise.
33510         * math/w_lgamma_r.c: Likewise.
33511         * math/w_lgammaf.c: Likewise.
33512         * math/w_lgammaf_r.c: Likewise.
33513         * math/w_lgammal.c: Likewise.
33514         * math/w_lgammal_r.c: Likewise.
33515         * math/w_sinh.c: Likewise.
33516         * math/w_sinhf.c: Likewise.
33517         * math/w_sinhl.c: Likewise.
33518         * math/w_tgamma.c: Likewise.
33519         * math/w_tgammaf.c: Likewise.
33520         * math/w_tgammal.c: Likewise.
33521         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33522         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33523         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33524         Minor optimizations.  Pretty printing.  Remove cruft.
33525         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33526         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33527         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33528         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33529         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33530         * sysdeps/i386/fpu/e_asin.S: Likewise.
33531         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33532         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33533         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33534         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33535         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33536         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33537         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33538         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33539         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33540         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33541         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33542         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33543         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33544         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33545         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33546         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33547         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33548         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33549         * sysdeps/i386/fpu/e_log.S: Likewise.
33550         * sysdeps/i386/fpu/e_log10.S: Likewise.
33551         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33552         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33553         * sysdeps/i386/fpu/e_log2.S: Likewise.
33554         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33555         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33556         * sysdeps/i386/fpu/e_logf.S: Likewise.
33557         * sysdeps/i386/fpu/e_logl.S: Likewise.
33558         * sysdeps/i386/fpu/e_pow.S: Likewise.
33559         * sysdeps/i386/fpu/e_powf.S: Likewise.
33560         * sysdeps/i386/fpu/e_powl.S: Likewise.
33561         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33562         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33563         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33564         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33565         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33566         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33567         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33568         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33569         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33570         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33571         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33572         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33573         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33574         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33575         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33576         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33577         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33578         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33579         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33580         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33581         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33583         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33584         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33585         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33586         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33587         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33588         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33589         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33590         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33591         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33592         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33593         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33594         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33595         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33596         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33597         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33598         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33599         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33600         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33601         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33602         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33603         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33604         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33605         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33606         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33607         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33608         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33609         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33610         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33611         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33612         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33613         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33614         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33615         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33616         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33617         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33618         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33619         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33620         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33621         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33622         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33623         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33625         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33626         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33627         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33628         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33629         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33630         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33631         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33632         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33633         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33634         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33635         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33636         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33637         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33638         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33639         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33640         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33641         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33642         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33643         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33644         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33645         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33646         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33647         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33648         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33649         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33650         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33651         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33652         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33653         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33654         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33655         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33656         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33657         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33658         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33659         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33660         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33661         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33662         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33663         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33664         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33665         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33666         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33667         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33668         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33669         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33670         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33671         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33672         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33673         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33674         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33675         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33676         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33677         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33678         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33679         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33680         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33681         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33682         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33683         (__isnanf): Likewise.
33684         (__isinf_ns): Likewise.
33685         (__isinf_nsf): Likewise.
33686         (__finite): Likewise.
33687         (__finitef): Likewise.
33688         (__ieee754_sqrt): Define as macro.
33689         (__ieee754_sqrtf): Define as macro.
33690         (__ieee754_sqrtl): Define as macro.
33691         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33692         inlined copy.
33693         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33694         __FINITE_MATH_ONLY__ consistent.
33695         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33696
33697 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33698
33699         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33700         of rawmemchr.
33701
33702         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33703
33704 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33705
33706         * po/ja.po: Update from translation team.
33707
33708 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33709
33710         * locale/programs/locarchive.c (prepare_address_space): New function.
33711         (create_archive, enlarge_archive, open_archive): Use it.
33712
33713         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33714         inside [SHARED], where it is used.
33715
33716         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33717
33718         * nss/getent.c (netgroup_keys): Remove unused variable.
33719         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33720
33721 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33722
33723         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33724         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33726         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33727         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33728         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33729         * math/Makefile (libm-calls): Add s_isinf_ns.
33730         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33731         * math/multc3.c: Likewise.
33732         * math/s_casin.c: Likewise.
33733         * math/s_casinf.c: Likewise.
33734         * math/s_casinl.c: Likewise.
33735         * math/s_ccos.c: Likewise.
33736         * math/s_ccosf.c: Likewise.
33737         * math/s_ccosl.c: Likewise.
33738         * math/s_ctan.c: Likewise.
33739         * math/s_ctanf.c: Likewise.
33740         * math/s_ctanh.c: Likewise.
33741         * math/s_ctanhf.c: Likewise.
33742         * math/s_ctanhl.c: Likewise.
33743         * math/s_ctanl.c: Likewise.
33744         * math/w_fmod.c: Likewise.
33745         * math/w_fmodf.c: Likewise.
33746         * math/w_fmodl.c: Likewise.
33747         * math/w_remainder.c: Likewise.
33748         * math/w_remainderf.c: Likewise.
33749         * math/w_remainderl.c: Likewise.
33750         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33751         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33752         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33753         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33754         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33755         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33756         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33757         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33758
33759         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33760         of the number.
33761         * stdio-common/printf_fphex.c: Likewise.
33762         * stdio-common/printf_size.c: Likewise.
33763
33764         * math/e_exp10.c: Include math_private.h using <...> not "...".
33765         * math/e_exp10f.c: Likewise.
33766         * math/e_exp10l.c: Likewise.
33767         * math/e_exp2l.c: Likewise.
33768         * math/e_j0l.c: Likewise.
33769         * math/e_j1l.c: Likewise.
33770         * math/e_jnl.c: Likewise.
33771         * math/e_lgammal_r.c: Likewise.
33772         * math/e_rem_pio2l.c: Likewise.
33773         * math/e_scalb.c: Likewise.
33774         * math/e_scalbf.c: Likewise.
33775         * math/e_scalbl.c: Likewise.
33776         * math/k_cosl.c: Likewise.
33777         * math/k_sinl.c: Likewise.
33778         * math/k_tanl.c: Likewise.
33779         * math/s_cacoshf.c: Likewise.
33780         * math/s_catan.c: Likewise.
33781         * math/s_catanf.c: Likewise.
33782         * math/s_catanh.c: Likewise.
33783         * math/s_catanhf.c: Likewise.
33784         * math/s_catanhl.c: Likewise.
33785         * math/s_catanl.c: Likewise.
33786         * math/s_ccosh.c: Likewise.
33787         * math/s_ccoshf.c: Likewise.
33788         * math/s_ccoshl.c: Likewise.
33789         * math/s_cexp.c: Likewise.
33790         * math/s_cexpf.c: Likewise.
33791         * math/s_cexpl.c: Likewise.
33792         * math/s_clog.c: Likewise.
33793         * math/s_clog10.c: Likewise.
33794         * math/s_clog10f.c: Likewise.
33795         * math/s_clog10l.c: Likewise.
33796         * math/s_clogf.c: Likewise.
33797         * math/s_clogl.c: Likewise.
33798         * math/s_csin.c: Likewise.
33799         * math/s_csinf.c: Likewise.
33800         * math/s_csinh.c: Likewise.
33801         * math/s_csinhf.c: Likewise.
33802         * math/s_csinhl.c: Likewise.
33803         * math/s_csinl.c: Likewise.
33804         * math/s_csqrt.c: Likewise.
33805         * math/s_csqrtf.c: Likewise.
33806         * math/s_csqrtl.c: Likewise.
33807         * math/s_ctan.c: Likewise.
33808         * math/s_ctanf.c: Likewise.
33809         * math/s_ctanh.c: Likewise.
33810         * math/s_ctanhf.c: Likewise.
33811         * math/s_ctanhl.c: Likewise.
33812         * math/s_ctanl.c: Likewise.
33813         * math/s_ldexp.c: Likewise.
33814         * math/s_ldexpf.c: Likewise.
33815         * math/s_ldexpl.c: Likewise.
33816         * math/s_significand.c: Likewise.
33817         * math/s_significandf.c: Likewise.
33818         * math/s_significandl.c: Likewise.
33819         * math/w_acos.c: Likewise.
33820         * math/w_acosf.c: Likewise.
33821         * math/w_acosh.c: Likewise.
33822         * math/w_acoshf.c: Likewise.
33823         * math/w_acoshl.c: Likewise.
33824         * math/w_acosl.c: Likewise.
33825         * math/w_asin.c: Likewise.
33826         * math/w_asinf.c: Likewise.
33827         * math/w_asinl.c: Likewise.
33828         * math/w_atan2.c: Likewise.
33829         * math/w_atan2f.c: Likewise.
33830         * math/w_atan2l.c: Likewise.
33831         * math/w_atanh.c: Likewise.
33832         * math/w_atanhf.c: Likewise.
33833         * math/w_atanhl.c: Likewise.
33834         * math/w_cosh.c: Likewise.
33835         * math/w_coshf.c: Likewise.
33836         * math/w_coshl.c: Likewise.
33837         * math/w_dremf.c: Likewise.
33838         * math/w_exp10.c: Likewise.
33839         * math/w_exp10f.c: Likewise.
33840         * math/w_exp10l.c: Likewise.
33841         * math/w_exp2.c: Likewise.
33842         * math/w_exp2f.c: Likewise.
33843         * math/w_fmod.c: Likewise.
33844         * math/w_fmodf.c: Likewise.
33845         * math/w_fmodl.c: Likewise.
33846         * math/w_hypot.c: Likewise.
33847         * math/w_hypotf.c: Likewise.
33848         * math/w_hypotl.c: Likewise.
33849         * math/w_j0.c: Likewise.
33850         * math/w_j0f.c: Likewise.
33851         * math/w_j0l.c: Likewise.
33852         * math/w_j1.c: Likewise.
33853         * math/w_j1f.c: Likewise.
33854         * math/w_j1l.c: Likewise.
33855         * math/w_jn.c: Likewise.
33856         * math/w_jnf.c: Likewise.
33857         * math/w_jnl.c: Likewise.
33858         * math/w_lgamma.c: Likewise.
33859         * math/w_lgamma_r.c: Likewise.
33860         * math/w_lgammaf.c: Likewise.
33861         * math/w_lgammaf_r.c: Likewise.
33862         * math/w_lgammal.c: Likewise.
33863         * math/w_lgammal_r.c: Likewise.
33864         * math/w_log.c: Likewise.
33865         * math/w_log10.c: Likewise.
33866         * math/w_log10f.c: Likewise.
33867         * math/w_log10l.c: Likewise.
33868         * math/w_log2.c: Likewise.
33869         * math/w_log2f.c: Likewise.
33870         * math/w_log2l.c: Likewise.
33871         * math/w_logf.c: Likewise.
33872         * math/w_logl.c: Likewise.
33873         * math/w_pow.c: Likewise.
33874         * math/w_powf.c: Likewise.
33875         * math/w_powl.c: Likewise.
33876         * math/w_remainder.c: Likewise.
33877         * math/w_remainderf.c: Likewise.
33878         * math/w_remainderl.c: Likewise.
33879         * math/w_scalb.c: Likewise.
33880         * math/w_scalbf.c: Likewise.
33881         * math/w_scalbl.c: Likewise.
33882         * math/w_sinh.c: Likewise.
33883         * math/w_sinhf.c: Likewise.
33884         * math/w_sinhl.c: Likewise.
33885         * math/w_sqrt.c: Likewise.
33886         * math/w_sqrtf.c: Likewise.
33887         * math/w_sqrtl.c: Likewise.
33888         * math/w_tgamma.c: Likewise.
33889         * math/w_tgammaf.c: Likewise.
33890         * math/w_tgammal.c: Likewise.
33891
33892         * po/ja.po: Update from translation team.
33893
33894 2011-09-29  Andreas Jaeger  <aj@suse.de>
33895
33896         [BZ #13179]
33897         * sunrpc/netname.c (netname2host): Fix logic.
33898
33899         [BZ #6779]
33900         [BZ #6783]
33901         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33902         correctly.
33903         * math/w_remainder.c (__remainder): Likewise.
33904         * math/w_remainderf.c (__remainderf): Likewise.
33905         * math/libm-test.inc (remainder_test): Add test cases.
33906
33907 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33908
33909         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33910         sdiv_qrnnd.
33911
33912 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33913
33914         * string/test-memcmp.c: Avoid unncessary #defines.
33915         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33916
33917 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33918
33919         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33920         Use new sse2 version for core i3 - i7 as it's faster
33921         than sse42 version.
33922         (bit_Prefer_PMINUB_for_stringop): New.
33923         * sysdeps/x86_64/rawmemchr.S: Update.
33924         Replace with faster SSE2 version.
33925         * sysdeps/x86_64/memrchr.S: New file.
33926         * sysdeps/x86_64/memchr.S: Update.
33927         Replace with faster SSE2 version.
33928
33929 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33930
33931         * elf/dl-load.c (lose): Add cast to avoid warning.
33932
33933 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33934
33935         * po/ca.po: Update from translation team.
33936
33937         * inet/getnetgrent_r.c: Hook up nscd.
33938         * nscd/Makefile (routines): Add nscd_netgroup.
33939         (nscd-modules): Add netgroupcache.
33940         (CFLAGS-netgroupcache.c): Define.
33941         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33942         (cache_search): Add const to second parameter.
33943         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33944         INNETGR.
33945         (dbs): Add netgrdb entry.
33946         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33947         (verify_persistent_db): Handle netgrdb.
33948         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33949         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33950         GETFDNETGR.
33951         (netgroup_response_header): Define.
33952         (innetgroup_response_header): Define.
33953         (datahead): Add netgroup_response_header and innetgroup_response_header
33954         elements.
33955         * nscd/nscd.conf: Add entries for netgroup cache.
33956         * nscd/nscd.h (dbtype): Add netgrdb.
33957         (_PATH_NSCD_NETGROUP_DB): Define.
33958         (netgroup_iov_disabled): Declare.
33959         (xmalloc, xcalloc, xrealloc): Move declarations here.
33960         (cache_search): Adjust prototype.
33961         Add netgroup-related prototypes.
33962         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33963         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33964         (__nscd_innetgr): Declare.
33965         * nscd/selinux.c (perms): Use access_vector_t as element type and
33966         add netgroup-related initializers.
33967         * nscd/netgroupcache.c: New file.
33968         * nscd/nscd_netgroup.c: New file.
33969         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33970         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33971         For four parameters use innetgr.
33972         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33973         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33974         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33975         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33976
33977         * nscd/connections.c (register_traced_file): Don't register file
33978         for disabled databases.
33979
33980 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33981
33982         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33983
33984         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33985         from tree and freeing node.
33986
33987 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33988
33989         * nss/nsswitch.c (__nss_database_lookup): Handle
33990         nss_parse_service_list out of memory case.
33991
33992 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33993
33994         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33995         out of memory case.
33996
33997 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33998
33999         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34000         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34001         pass it down.
34002         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34003         elf_machine_rela, elf_machine_lazy_rel.
34004         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34005         (ELF_DYNAMIC_DO_REL): Likewise.
34006         (ELF_DYNAMIC_DO_RELA): Likewise.
34007         (ELF_DYNAMIC_RELOCATE): Likewise.
34008         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34009         to ELF_DYNAMIC_DO_REL.
34010         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34011         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34012         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34013         elf_machine_rela.
34014         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34015         skip_ifunc, don't call ifunc function if non-zero.
34016         (elf_machine_rela): Likewise.
34017         (elf_machine_lazy_rel): Likewise.
34018         (elf_machine_lazy_rela): Likewise.
34019         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34020         (elf_machine_lazy_rel): Likewise.
34021         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34022         Likewise.
34023         (elf_machine_lazy_rel): Likewise.
34024         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34025         Likewise.
34026         (elf_machine_lazy_rel): Likewise.
34027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34028         (elf_machine_lazy_rel): Likewise.
34029         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34030         (elf_machine_lazy_rel): Likewise.
34031         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34032         (elf_machine_lazy_rel): Likewise.
34033         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34034         (elf_machine_lazy_rel): Likewise.
34035         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34036         (elf_machine_lazy_rel): Likewise.
34037         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34038         (elf_machine_lazy_rel): Likewise.
34039
34040 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34041
34042         * nss/nss_files/files-init.c (_nss_files_init): Use static
34043         initialization for all the *_traced_file variables.
34044
34045 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34046
34047         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34048
34049 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34050
34051         [BZ #13226]
34052         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34053
34054 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34055
34056         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34057         Reread the line before reparsing it.
34058
34059 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34060
34061         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34062
34063 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34064             Maxim Kuvyrkov  <maxim@codesourcery.com>
34065             Joseph Myers  <joseph@codesourcery.com>
34066
34067         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34068         if needed for __stack_chk_guard.
34069
34070 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34071
34072         * sysdeps/posix/spawni.c (script_execute): Always define it.
34073         It will be optimized away if unused.
34074         (maybe_script_execute): New function.
34075         (__spawni): Call it.
34076
34077         * Makerules: Don't include tls.make.
34078         (config-tls): Always set to thread.
34079         * tls.make.c: File removed.
34080
34081 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34082
34083         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34084         * config.make.in (CPPFLAGS-config): New substituted variable.
34085
34086 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34087
34088         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34089
34090         [BZ #13192]
34091         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34092         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34093
34094 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34095
34096         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34097         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34098         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34099         (CALL_FAIL): Likewise.
34100         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34101         (CALL_FAIL): Macro removed.
34102         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34103
34104 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34105
34106         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34107         for __FINITE_MATH_ONLY__ == 1.
34108
34109 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34110
34111         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34112         __ieee754_sqrt instead of sqrt.
34113         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34114         __ieee754_sqrtf instead of sqrtf.
34115         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34116         __floorf instead of floorf.
34117         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34118         __floorf, __truncf instead of floorf, truncf.
34119
34120 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34121
34122         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34123
34124         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34125         __extern_always_inline.
34126         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34127         32-bit.
34128
34129 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34130
34131         * elf/rtld.c (dl_main): Also relocate in dependency order when
34132         doing symbol dependency testing.
34133
34134 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34135
34136         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34137         Always define `refsym'.
34138
34139 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34140
34141         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34142         (__FD_ELT): Renamed from __FDELT.
34143         * misc/bits/select2.h (__FD_ELT): Likewise.
34144         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34145         __FD_MASK instead of __FDELT, __FDMASK.
34146         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34147         Likewise.
34148         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34149         Likewise.
34150
34151         * elf/Makefile (gen-ldd): Fix pattern.
34152
34153         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34154         (init_tls): Likewise.
34155
34156 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34157
34158         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34159
34160 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34161
34162         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34163         `struct cmsghdr *' instead of `void *'.
34164         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34165         Likewise.
34166
34167 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34168
34169         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34170         if non-absolute.
34171         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34172         ldd_rewrite_script.
34173
34174 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34175
34176         * configure.in: Remove --with-tls option.
34177         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34178         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34179         out in case it is missing.
34180         * sysdeps/ia64/elf/configure.in: Likewise.
34181         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34182         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34183         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34184         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34185         * sysdeps/sh/elf/configure.in: Likewise.
34186         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34187         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34188         * sysdeps/x86_64/elf/configure.in: Likewise.
34189         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34190         * sysdeps/mach/hurd/tls.h: Likewise.
34191
34192         [BZ #13067]
34193         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34194
34195         [BZ #13090]
34196         * configure.in: Fix use of AC_INIT.
34197
34198         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34199
34200 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34201
34202         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34203         __set_errno.
34204         * malloc/hooks.c: Likewise.
34205
34206         [BZ #11929]
34207         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34208         variables statically.
34209         (narenas): Initialize.
34210         (list_lock): Initialize.
34211         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34212         initializtion of main_arena and list_lock.  Small cleanups.
34213         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34214         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34215         Add initializers to main_arena and mp_.
34216         (malloc_state): Remove pagesize member.  Change all users to use
34217         GLRO(dl_pagesize).
34218
34219         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34220         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34221         is always initialized.
34222
34223         * malloc/malloc.c: Removed unused configurations and dead code.
34224         * malloc/arena.c: Likewise.
34225         * malloc/hooks.c: Likewise.
34226         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34227
34228         * include/tls.h: Removed.  USE___THREAD must always be defined.
34229         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34230         * elf/dl-libc.c: Likewise.
34231         * elf/dl-tsd.c: Likewise.
34232         * include/errno.h: Likewise.
34233         * include/netdb.h: Likewise.
34234         * include/resolv.h: Likewise.
34235         * inet/herrno-loc.c: Likewise.
34236         * inet/herrno.c: Likewise.
34237         * malloc/arena.c: Likewise.
34238         * malloc/hooks.c: Likewise.
34239         * malloc/malloc.c: Likewise.
34240         * resolv/res-state.c: Likewise.
34241         * resolv/res_libc.c: Likewise.
34242         * sysdeps/i386/dl-machine.h: Likewise.
34243         * sysdeps/ia64/dl-machine.h: Likewise.
34244         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34245         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34246         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34247         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34248         * sysdeps/sh/dl-machine.h: Likewise.
34249         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34250         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34251         * sysdeps/unix/i386/sysdep.S: Likewise.
34252         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34253         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34255         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34256         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34258         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34262         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34263         * sysdeps/x86_64/dl-machine.h: Likewise.
34264         * tls.make.c: Likewise.
34265
34266         * configure.in: Remove --with-__thread option.  Make tests for
34267         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34268         tls_model attribute fail if no support is available.  Remove
34269         USE_IN_LIBIO.
34270         * Makeconfig: Adjust for dropped configure option.  All features are
34271         now mandatory.
34272         * Makerules: Likewise.
34273         * Versions.def: Likewise.
34274         * argp/argp-fmtstream.c: Likewise.
34275         * argp/argp-fmtstream.h: Likewise.
34276         * argp/argp-help.c: Likewise.
34277         * assert/assert.c: Likewise.
34278         * config.h.in: Likewise.
34279         * config.make.in: Likewise.
34280         * configure: Likewise.
34281         * configure.in: Likewise.
34282         * csu/Versions: Likewise.
34283         * csu/init.c: Likewise.
34284         * elf/tst-audit2.c: Likewise.
34285         * elf/tst-tls10.c: Likewise.
34286         * elf/tst-tls10.h: Likewise.
34287         * elf/tst-tls11.c: Likewise.
34288         * elf/tst-tls12.c: Likewise.
34289         * elf/tst-tls14.c: Likewise.
34290         * elf/tst-tlsmod11.c: Likewise.
34291         * elf/tst-tlsmod12.c: Likewise.
34292         * elf/tst-tlsmod13.c: Likewise.
34293         * elf/tst-tlsmod13a.c: Likewise.
34294         * elf/tst-tlsmod14a.c: Likewise.
34295         * elf/tst-tlsmod15b.c: Likewise.
34296         * elf/tst-tlsmod16a.c: Likewise.
34297         * elf/tst-tlsmod16b.c: Likewise.
34298         * elf/tst-tlsmod7.c: Likewise.
34299         * elf/tst-tlsmod8.c: Likewise.
34300         * elf/tst-tlsmod9.c: Likewise.
34301         * gmon/gmon.c: Likewise.
34302         * grp/fgetgrent_r.c: Likewise.
34303         * grp/putgrent.c: Likewise.
34304         * hurd/fopenport.c: Likewise.
34305         * include/libc-symbols.h: Likewise.
34306         * include/tls.h: Likewise.
34307         * intl/gettextP.h: Likewise.
34308         * intl/loadinfo.h: Likewise.
34309         * locale/global-locale.c: Likewise.
34310         * locale/localeinfo.h: Likewise.
34311         * mach/devstream.c: Likewise.
34312         * malloc/arena.c: Likewise.
34313         * malloc/set-freeres.c: Likewise.
34314         * misc/err.c: Likewise.
34315         * misc/getttyent.c: Likewise.
34316         * misc/mntent_r.c: Likewise.
34317         * posix/getopt.c: Likewise.
34318         * posix/wordexp.c: Likewise.
34319         * pwd/fgetpwent_r.c: Likewise.
34320         * resolv/Versions: Likewise.
34321         * resolv/res_hconf.c: Likewise.
34322         * shadow/fgetspent_r.c: Likewise.
34323         * shadow/putspent.c: Likewise.
34324         * stdio-common/printf_fphex.c: Likewise.
34325         * stdio-common/tmpfile.c: Likewise.
34326         * stdlib/abort.c: Likewise.
34327         * stdlib/fmtmsg.c: Likewise.
34328         * sunrpc/auth_unix.c: Likewise.
34329         * sunrpc/clnt_perr.c: Likewise.
34330         * sunrpc/clnt_tcp.c: Likewise.
34331         * sunrpc/clnt_udp.c: Likewise.
34332         * sunrpc/clnt_unix.c: Likewise.
34333         * sunrpc/openchild.c: Likewise.
34334         * sunrpc/svc_simple.c: Likewise.
34335         * sunrpc/svc_tcp.c: Likewise.
34336         * sunrpc/svc_udp.c: Likewise.
34337         * sunrpc/svc_unix.c: Likewise.
34338         * sunrpc/xdr.c: Likewise.
34339         * sunrpc/xdr_array.c: Likewise.
34340         * sunrpc/xdr_rec.c: Likewise.
34341         * sunrpc/xdr_ref.c: Likewise.
34342         * sunrpc/xdr_stdio.c: Likewise.
34343
34344 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34345
34346         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34347
34348 2011-07-03  Andreas Jaeger  <aj@suse.de>
34349
34350         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34351         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34352         regenerate with gen-libm-tests.pl.
34353
34354 2010-05-12  Petr Baudis  <pasky@suse.cz>
34355
34356         [BZ #11589]
34357         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34358         around j0() zero points by switching to j1().
34359         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34360         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34362         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34363
34364 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34365
34366         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34367         instead of 0.
34368         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34369         instead of 0.
34370         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34371         Patch in part by Pavel Roskin <proski@gnu.org>.
34372
34373         [BZ #13138]
34374         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34375         realloc.
34376         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34377         Free memory block if necessary.
34378
34379         [BZ #12847]
34380         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34381         be NULL.  Don't lock in this case.
34382
34383 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34384
34385         * elf/elf.h (ELFOSABI_GNU): New macro.
34386         (ELFOSABI_LINUX): Define to that.
34387
34388 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34389
34390         * string/strncat.c (strncat): Undef the symbol in case it has been
34391         defined in bits/string.h.
34392
34393 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34394
34395         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34396
34397         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34398         link map.
34399
34400 2011-08-17  Andreas Jaeger  <aj@suse.de>
34401
34402         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34403
34404 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34405             Ian Lance Taylor  <iant@google.com>
34406
34407         * math/libm-test.inc (lround_test): New testcase.
34408         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34409
34410 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34411
34412         * Makefile: Remove support for automatic cvs check-ins.
34413         * Makerules: Likewise.
34414         * config.make.in: Likewise.
34415         * configure.in: Likewise.
34416         * intl/Makefile: Likewise.
34417         * locale/Makefile: Likewise.
34418         * po/Makefile: Likewise.
34419         * posix/Makefile: Likewise.
34420         * sysdeps/gnu/Makefile: Likewise.
34421         * sysdeps/mach/hurd/Makefile: Likewise.
34422         * sysdeps/sparc/sparc32/Makefile: Likewise.
34423
34424         [BZ #13118]
34425         * posix/Makefile (bug-regex32-ENV): Define.
34426         Patch by John Stanley <jpsinthemix@verizon.net>.
34427
34428         * misc/Makefile (headers): Add bits/select2.h.
34429         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34430         * misc/bits/select2.h: New file.
34431         * include/bits/select2.h: New file.
34432         * debug/Makefile (routines): Add fdelt_chk.
34433         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34434         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34435         FD_ISSET.
34436         * debug/fdelt_chk.c: New file.
34437
34438         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34439         * wcsmbs/test-wmemcmp.c: Likewise.
34440         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34441         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34442
34443 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34444
34445         * string/Makefile (strop-tests): Add memcmp.
34446         * string/test-wmemcmp.c: New file.
34447         * string/test-memcmp.c: Add wmemcmp support.
34448
34449 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34450
34451         [BZ #13153]
34452         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34453         2011-07-19 change.
34454
34455         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34456         garbage value in a __mach_port_mod_refs call in the cases of the
34457         task-self and thread-self ports.
34458
34459 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34460
34461         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34462
34463 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34464
34465         * elf/dl-load.c (lose): Check for non-null L.
34466
34467 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34468
34469         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34470
34471         * elf/dl-libc.c (dlerror_run): Pass back error code from
34472         dl_catch_error.
34473
34474         [BZ #13123]
34475         * elf/dl-load.c (lose): Free l_origin if it is valid.
34476
34477         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34478         names.
34479         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34480         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34481         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34482         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34483         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34484         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34485
34486 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34487
34488         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34489         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34490         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34491         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34492         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34493         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34494         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34495         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34496         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34497         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34498
34499 2011-08-15  Alan Modra  <amodra@gmail.com>
34500
34501         [BZ #13092]
34502         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34503         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34504         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34505         ppc_mcount to static-only-routines.
34506         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34507         __mcount_internal.
34508         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34509         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34510
34511 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34512
34513         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34514         for finite and infinity parameters.
34515
34516 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34517
34518         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34519         and add nop instructions for throughput optimization.
34520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34521
34522 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34523
34524         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34525         aligned copy for power7 with vector-scalar instructions.
34526         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34527
34528 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34529
34530         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34531         AVX check.
34532
34533 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34534
34535         [BZ #13144]
34536         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34537         last change.
34538
34539 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34540
34541         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34542         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34543         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34544         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34545         clock_gettime.
34546
34547 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34548
34549         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34550         Forgot to demangle the pointer.
34551
34552         * sysdeps/i386/sysdep.h: Define atom_text_section.
34553         * sysdeps/x86_64/sysdep.h: Likewise.
34554         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34555         section with atom_text_section.
34556         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34557         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34558         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34559         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34560         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34561
34562         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34563         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34564         already be defined.  Change to take two parameters and don't assign
34565         result to variable.  Adjust all users.
34566         Define INTERNAL_GETTIME if not already defined.
34567         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34568         call.
34569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34570         HAVE_CLOCK_GETTIME_VSYSCALL.
34571         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34572
34573         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34574         gettimeofday vsyscall, just use time.
34575
34576 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34577
34578         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34579         <errno.h>.
34580
34581 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34582
34583         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34584         syscall on x86-64.
34585         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34586         syscall.
34587         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34588         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34589         syscall if possible.
34590
34591 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34592
34593         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34594         e_ident.  Don't pass to find_mapsXX.
34595         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34596
34597 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34598
34599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34600         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34601         * sysdeps/x86_64/multiarch/strchr.S: Update.
34602         Check bit_slow_BSF bit.
34603         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34604         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34605         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34606
34607 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34608
34609         [BZ #13134]
34610         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34611         before glibc 2.15.
34612         (tryshell): Define.
34613         (__spawni): Change last parameter to be flag.  Test
34614         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34615         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34616         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34617         * posix/spawni.c: Likewise.
34618         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34619         * posix/spawnp.c: Likewise.  Change normal version to use
34620         SPAWN_XFLAGS_USE_PATH.
34621         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34622         SPAWN_XFLAGS_TRY_SHELL.
34623
34624         [BZ #13150]
34625         * posix/glob.h: Remove gcc 1.x support.
34626
34627         [BZ #13068]
34628         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34629
34630 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34631
34632         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34633         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34634         strrchr-sse2-bsf
34635         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34636         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34637         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34638         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34639         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34640         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34641
34642 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34643
34644         * sysdeps/x86_64/wcscmp.S: New file.
34645
34646         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34647         wcscmp-c wcscmp-sse2
34648         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34649         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34650         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34651         * wcsmbs/wcscmp.c: Allow renaming.
34652
34653 2011-09-05  David S. Miller  <davem@davemloft.net>
34654
34655         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34656         stack slot, rather than the struct return pointer slot.
34657         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34658         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34660         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34661
34662 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34663
34664         * po/ja.po: Update from translation team.
34665
34666         [BZ #13144]
34667         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34668         kernel in 64-bit binaries.
34669
34670 2011-09-01  David S. Miller  <davem@davemloft.net>
34671
34672         * elf/elf.h (HWCAP_SPARC_*): Move to..
34673         * sysdeps/sparc/sysdep.h: this new file and add new values.
34674         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34675         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34676         _DL_HWCAP_COUNT to 24.
34677         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34678         entries.
34679         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34680         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34681         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34682         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34683         instead of magic constants.
34684         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34685
34686 2011-08-31  David S. Miller  <davem@davemloft.net>
34687
34688         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34690         Reimplement to do errno handling inline.
34691         (SYSCALL_ERROR_HANDLER): New macro.
34692         (__SYSCALL_STRING): Do not do errno handling in asm.
34693         (__CLONE_SYSCALL_STRING): Delete.
34694         (__INTERNAL_SYSCALL_STRING): Delete.
34695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34696         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34697         (PSEUDO): Reimplement to do errno handling inline.
34698         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34699         (SYSCALL_ERROR_HANDLER): New macro.
34700         (__SYSCALL_STRING): Do not do errno handling in asm.
34701         (__CLONE_SYSCALL_STRING): Delete.
34702         (__INTERNAL_SYSCALL_STRING): Delete.
34703         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34704         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34705         i386.
34706         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34707         (inline_syscall*): Add 'err' argument.
34708         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34709         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34710         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34711         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34712
34713         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34714         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34715
34716 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34717
34718         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34719
34720 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34721
34722         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34723         directive.
34724
34725 2011-08-24  David S. Miller  <davem@davemloft.net>
34726
34727         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34728
34729 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34730
34731         * elf/Makefile: Add rules to build and run unload8 test.
34732         * elf/unload8.c: New file.
34733         * elf/unload8mod1.c: New file.
34734         * elf/unload8mod1x.c: New file.
34735         * elf/unload8mod2.c: New file.
34736         * elf/unload8mod3.c: New file.
34737
34738         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34739         it wasn't used.
34740
34741 2011-08-23  David S. Miller  <davem@davemloft.net>
34742
34743         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34744         subtract stack bias.
34745         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34746         %sp not %fp in calculations.
34747         (_JMPBUF_UNWINDS_ADJ): Likewise.
34748
34749         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34750         (aio_suspend): Call it to force an exception region around the
34751         AIO_MISC_WAIT() invocation.
34752
34753 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34754
34755         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34756         backslash.
34757
34758 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34759
34760         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34761         protection macro.
34762         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34763         and <dl-machine.h>.
34764         (Elf64_FuncDesc): Remove.
34765
34766 2011-08-22  David S. Miller  <davem@davemloft.net>
34767
34768         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34769         sigaltstack check, add missing cfi directives.
34770         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34771         missing cfi directives, and sigaltstack handling.
34772
34773 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34774
34775         [BZ #11724]
34776         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34777         object is seen twice.
34778         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34779
34780         * elf/Makefile (distribute): Add tst-initorder2.c.
34781         (tests): Add tst-initorder2.
34782         (modules-names): Add tst-initorder2a tst-initorder2b
34783         tst-initorder2c tst-initorder2d.  Add rules to build them.
34784         ($(objpfx)tst-initorder2.out): New rule.
34785         * elf/tst-initorder2.c: New file.
34786         * elf/tst-initorder2.exp: New file.
34787
34788 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34789
34790         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34791
34792         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34793         dependencies back to end of function.
34794
34795         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34796         $(elfobjdir)/ld.so.
34797
34798 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34799
34800         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34801         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34802         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34803         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34804         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34805         of __vdso_gettimeofday.
34806         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34807         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34808         attribute_hidden.
34809         (_libc_vdso_platform_setup): Remove initialization of
34810         __vdso_gettimeofday and __vdso_time.
34811
34812 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34813
34814         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34815         and fgetc_unlocked.
34816         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34817         getc_unlocked.
34818
34819         * elf/dl-open.c (add_to_global): Report additions to the global scope
34820         for LD_DEBUG=scopes.
34821         (dl_open_worker): Also print scope of newly loaded dependencies.
34822         (_dl_show_scope): Indicate if there is no scope.
34823
34824         [BZ #13114]
34825         * stdio-common/Makefile (tests): Add bug24.
34826         * stdio-common/bug24.c: New file.
34827
34828 2011-08-19  Andreas Jaeger  <aj@suse.de>
34829
34830         [BZ #13114]
34831         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34832         non-existant file when using close-on-exec mode.
34833
34834 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34835
34836         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34837         the very first instruction.
34838
34839         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34840         the CFI state in the end.
34841         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34842         inclusion of dl-trampoline.h.
34843         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34844
34845 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34846
34847         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34848         expectations for long double.
34849
34850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34851         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34852
34853 2011-08-14  David S. Miller  <davem@davemloft.net>
34854
34855         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34856         artificual limit depends upon the system page size.
34857
34858 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34859
34860         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34861         * resolv/Makefile: Define CFLAGS-libresolv.
34862
34863 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34864
34865         * nss/makedb.c (compute_tables): Make variables used in nested
34866         function static.
34867
34868 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34869
34870         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34871         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34872         if buffer was too small.
34873
34874         * elf/pldd.c (main): Attach to all threads in the process.
34875         Rewrite /proc handling to use *at functions.
34876
34877 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34878
34879         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34880         specifies first scope to show.
34881         (dl_open_worker): Update callers.  Move printing scope of new
34882         object to before the relocation.
34883         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34884         * sysdeps/generic/ldsodefs.h: Update declaration.
34885
34886         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34887         string for the scope number.
34888
34889 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34890
34891         * nscd/servicescache.c (cache_addserv): Make sure written is always
34892         initialized.
34893
34894 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34895
34896         * sysdeps/i386/i486/bits/atomic.h
34897         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34898         statement expression, so as to suppress "set but not used" warning.
34899         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34900
34901         * string/strncat.c (STRNCAT): Use prototype definition.
34902
34903         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34904         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34905         -Iprograms here.
34906         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34907         (localedef-modules): Add localedef.
34908         (locale-modules): Add locale.
34909
34910         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34911         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34912         to avoid a warning.
34913
34914 2011-08-14  David S. Miller  <davem@davemloft.net>
34915
34916         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34917         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34918
34919 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34920
34921         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34922         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34923         * elf/rtld.c (dl_main): Set l_name of vDSO.
34924         Call _dl_show_scope when DL_DEBUG_SCOPES.
34925         (process_dl_debug): Recognize scopes flag and also set it for all.
34926         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34927         Declare _dl_show_scope.
34928
34929         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34930         (do_dlopen): Pass caller_dlopen to dl_open.
34931         (__libc_dlopen_mode): Initialize caller_dlopen.
34932
34933         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34934         of libc.  Make tolower call locale-independent.  Optimize a bit by
34935         using isdigit instead of isalnum.
34936         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34937
34938 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34939
34940         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34941         was a dependency or dynamically loaded.
34942
34943 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34944
34945         * intl/l10nflist.c: Allow architecture-specific pop function.
34946         * sysdeps/x86_64/l10nflist.c: New file.
34947
34948         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34949         classification.
34950
34951 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34952
34953         * include/dirent.h: Add libc_hidden_proto for scandirat and
34954         scandirat64.  Don't declare __scandirat64.
34955         * dirent/scandirat.c: Add libc_hidden_def.
34956         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34957         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34958
34959 2011-08-10  David S. Miller  <davem@davemloft.net>
34960
34961         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34962         enum.
34963         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34964         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34965         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34966
34967 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34968
34969         * Versions.def [libc]: Add GLIBC_2.15.
34970         * dirent/Makefile (routines): Add scandirat and scandirat64.
34971         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34972         GLIBC_2.15.
34973         * dirent/dirent.h: Declare scandirat and scandirat64.
34974         * dirent/scandirat.c: New file.
34975         * dirent/scandirat64.c: New file.
34976         * sysdeps/wordsize-64/scandirat.c: New file.
34977         * sysdeps/wordsize-64/scandirat64.c: New file.
34978         * dirent/opendir.c: Define opendirat.
34979         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34980         using scandirat.
34981         * dirent/scandir64.c: Adjust for scandir.c change.
34982         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34983         __scandirat64, and __scandir_cancel_handler.
34984         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34985         additional parameter and use openat instead of open (outside of ld.so).
34986         Add new __opendir as wrapper around __opendirat.
34987         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34988         here without requiring old scandirat implementation.
34989
34990 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34991
34992         * dirent/scandir.c (cancel_handler): Renamed to
34993         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34994         defined.  Adjust users.
34995         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34996         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34997
34998 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34999
35000         * string/test-string.h (IMPL): Use __STRING to expand name and then
35001         stringify it.
35002
35003         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35004         of cleanups.
35005
35006 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35007
35008         * string/Makefile: Update.
35009         (strop-tests): Append strncat.
35010         * string/test-wcscmp.c: New file.
35011         New comprehensive test for wcscmp.
35012         * string/test-strcmp.c: Update.
35013         (WIDE): New define.
35014
35015 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35016
35017         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35018         line.
35019
35020 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35021
35022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35023         encoding to ACE if AI_IDN.
35024
35025 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35026
35027         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35028         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35029
35030 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35031
35032         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35033         Fix overflow bug in strncat.
35034         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35035
35036         * string/test-strncat.c: Update.
35037         Add new tests for checking overflow bugs.
35038
35039 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35040
35041         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35042         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35043         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35044         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35045         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35046         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35047         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35048         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35049         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35050
35051         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35052         (USE_AS_STRCAT): Define.
35053         Add strcat and strncat support.
35054         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35055
35056 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35057
35058         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35059         __n bigger than INT_MAX+1.
35060         (__strncmp_g): Likewise.
35061
35062 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35063
35064         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35065         * libio/stido.h: Likewise.
35066
35067         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35068         (AF_NFC): Define.
35069         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35070         (AF_NFC): Define.
35071
35072         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35073         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35074         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35075         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35076         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35077
35078         [BZ #13021]
35079         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35080         installed.
35081
35082         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35083         typo.
35084         (_dl_x86_64_save_sse): Likewise.
35085
35086 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35087
35088         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35089         OSXSAVE.
35090         (_dl_x86_64_save_sse): Likewise.
35091
35092         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35093
35094         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35095
35096 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35097
35098         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35099         change.
35100         (_dl_x86_64_save_sse): Use correct AVX check.
35101
35102 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35103
35104         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35105         bug in strncpy/strncat.
35106         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35107
35108 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35109
35110         * string/tester.c (test_strcat): Add tests for different alignments
35111         of source and destination.
35112         (test_strncat): Likewise.
35113
35114 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35115
35116         [BZ #12852]
35117         * posix/glob.c (glob): Check passed in values before using them in
35118         expressions to avoid some overflows.
35119         (glob_in_dir): Likewise.
35120
35121         [BZ #13007]
35122         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35123         check for AVX enablement so that we don't crash with old kernels and
35124         new hardware.
35125         * elf/tst-audit4.c: Add same checks here.
35126         * elf/tst-audit6.c: Likewise.
35127
35128         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35129
35130 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35131
35132         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35133
35134 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35135
35136         * po/cs.po: Update from translation team.
35137         * po/bg.po: Likewise.
35138
35139 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35140
35141         * misc/sys/cdefs.h: Add support for const attribute.
35142         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35143         to gnu_dev_{major,minor,makedev} functions.
35144
35145 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35146
35147         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35148
35149 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35150
35151         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35152         strlen results.
35153
35154 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35155
35156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35157         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35158         register in order to avoid conflicts with the soft frame pointer
35159         being held in r11 when necessary.
35160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35161         (INTERNAL_VSYSCALL_NCS): Likewise.
35162
35163 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35164
35165         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35166         * elf/dl-fini.c (_dl_fini): Adjust caller.
35167         * elf/dl-close.c (_dl_close_worker): Likewise.
35168         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35169
35170 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35171
35172         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35173         "aux_cache->nlibs < 0".
35174
35175         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35176         in the reload-count case.
35177
35178 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35179
35180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35181         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35182         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35183         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35184         * sysdeps/x86_64/multiarch/strcat.S: New file.
35185         * sysdeps/x86_64/multiarch/strncat.S: New file.
35186         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35187         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35188         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35189         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35190         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35191         (USE_AS_STRCAT): Define.
35192         Add strcat and strncat support.
35193         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35194         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35195         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35196         * string/strncat.c: Update.
35197         (USE_AS_STRNCAT): Define.
35198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35199         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35200         and i7.
35201         * sysdeps/x86_64/multiarch/init-arch.h
35202         (bit_Prefer_PMINUB_for_stringop): New.
35203         (index_Prefer_PMINUB_for_stringop): Likewise.
35204         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35205         bit_Prefer_PMINUB_for_stringop.
35206
35207 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35208
35209         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35210         buffer64.
35211         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35212         of casting of buffer.
35213         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35214         buffer32 and buffer64.
35215         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35216         writes instead of casting of buffer.
35217         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35218         buffer32.
35219         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35220         casting of buffer.
35221
35222 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35223
35224         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35225
35226 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35227
35228         * nscd/nscd.c (termination_handler): Don't do anything for a database
35229         if it has not yet been initialized.
35230
35231 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35232
35233         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35234
35235 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35236
35237         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35238
35239 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35240
35241         * po/nl.po: Update from translation team.
35242         * po/sv.po: Likewise.
35243
35244 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35245
35246         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35247         now disallowed by GCC.
35248
35249         * configure.in (use-default-link): Default to yes if a test -shared
35250         link meets our qualifications.
35251         * configure: Regenerated.
35252
35253         * config.make.in (output-format): New variable.
35254         * configure.in: Check for ld --print-output-format support.
35255         * configure: Regenerated.
35256         * Makerules ($(common-objpfx)format.lds)
35257         [$(output-format) != unknown]: Just use $(output-format),
35258         instead of the linker-script munging.
35259
35260 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35261
35262         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35263         of $(common-objpfx)shlib.lds.
35264         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35265
35266         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35267         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35268
35269         * configure.in (-z relro check): Adjust test code to add a large
35270         writable data section after it.
35271         * configure: Regenerated.
35272
35273 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35274
35275         * configure.in (-z relro check): Fix test code to make the variable
35276         truly const.
35277         * configure: Regenerated.
35278
35279 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35280
35281         * nscd/nscd.h (struct traced_file): Define.
35282         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35283         elements.  Add traced_files.
35284         (inotify_fd): Declare.
35285         (register_traced_file): Declare.
35286         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35287         (inotify_fd): Export.
35288         (resolv_conf_descr): Remove.
35289         (nscd_init): Move inotify descriptor creation to main.
35290         Don't register files for notification here.
35291         (register_traced_file): New function.
35292         (invalidate_cache): Don't use reset_res to determine whether to call
35293         res_init, go through the list of registered files.
35294         (main_loop_poll): The inotify descriptors are now stored in the
35295         structures for the traced files.
35296         (main_loop_epoll): Likewise
35297         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35298         to __nss_disable_nscd.
35299         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35300         for a database anymore.  Check the records for all the registered
35301         files instead.
35302         * nss/Makefile (libnss_files-routines): Add files-init.
35303         (libnss_db-routines): Add db-init.
35304         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35305         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35306         * nss/nss_db/db-init.c: New file.
35307         * nss/nss_files/files-init.c: New file.
35308         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35309         __nss_lookup_function.
35310         (__nss_lookup_function): Call nss_load_library.
35311         (nss_load_all_libraries): New function.
35312         (__nss_disable_nscd): Take parameter with callback function for files
35313         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35314         used for the cached services.
35315         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35316         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35317         options for features to all the files in nscd.
35318
35319         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35320
35321 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35322
35323         * csu/elf-init.c (__libc_csu_init): Comment typo.
35324
35325 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35326
35327         * po/pl.po: Update from translation team.
35328         * po/ja.po: Likewise.
35329         * po/ru.po: Likewise.
35330         * po/ko.po: Likewise.
35331         * po/fr.po: Likewise.
35332
35333 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35334
35335         * configure.in (.ctors/.dtors header and trailer check):
35336         Use an empirical test on a built program.
35337         * configure: Regenerated.
35338
35339         * configure.in (-z relro check): Use an empirical test on a built DSO.
35340         Detect, but do not require, on ia64.
35341         * configure: Regenerated.
35342
35343         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35344         Update tests that use readelf to use $READELF instead.
35345         * configure: Regenerated.
35346
35347 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35348
35349         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35350         if the result is not used.
35351
35352 2011-07-05  Andreas Jaeger  <aj@suse.de>
35353
35354         [BZ#9696]
35355         * stdlib/tst-strtod.c: Add testcase.
35356
35357 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35358
35359         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35360         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35361         The latter has a higher limit.  Take additional parameter to pass to
35362         the new function.
35363         (__pathconf): Pass file to __statfs_link_max.
35364         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35365         __statfs_link_max.
35366         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35367         __statfs_link_max.
35368
35369         [BZ #12868]
35370         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35371         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35372         Handle Lustre.
35373         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35374         (__statfs_filesize_max): Likewise.
35375         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35376
35377 2011-07-05  Andreas Jaeger  <aj@suse.de>
35378
35379         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35380
35381 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35382
35383         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35384         `status' variable.
35385         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35386         Likewise.
35387
35388 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35389
35390         * Makefile (strop-tests): Add strncat.
35391         * string/test-strncat.c: New file.
35392
35393 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35394
35395         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35396
35397 2011-06-21  Andreas Jaeger  <aj@suse.de>
35398
35399         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35400         Copy rule from iconvdata/Makefile.
35401
35402 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35403
35404         [BZ #12922]
35405         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35406         but no long options are defined, just return 'W'.
35407
35408 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35409
35410         [BZ #9696]
35411         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35412
35413 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35414
35415         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35416         netgroups to read.
35417         (innetgr): Likewise.
35418
35419 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35420
35421         * config.make.in (install_root): Default to $(DESTDIR).
35422
35423 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35424
35425         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35426
35427 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35428
35429         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35430
35431         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35432         containing directory rather than embedding absolute directory names.
35433
35434         * scripts/check-local-headers.sh: Rewritten using awk.
35435         Match by word, not by line.  Print error messages for matches.
35436         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35437
35438         * Makerules [shlib-lds-flags empty]:
35439         ($(common-objpfx)libc_pic.opts): New target.
35440         ($(common-objpfx)libc_pic.os.clean): New target.
35441         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35442
35443         * config.make.in (OBJCOPY): New variable.
35444         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35445         * configure: Regenerated.
35446
35447         * config.make.in (use-default-link): New variable.
35448         * configure.in (use_default_link): Grok --with-default-link to set it.
35449         * configure: Regenerated.
35450         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35451         (shlib-lds, shlib-lds-flags): Define to empty.
35452
35453         * Makerules (shlib-lds): New variable.
35454         (shlib-lds-flags): New variable.
35455         (build-shlib, build-moduile, build-module-asneeded): Use it.
35456         ($(common-objpfx)libc.so): Use $(shlib-lds).
35457         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35458         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35459
35460         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35461         DT_FLAGS/DT_FLAGS_1 with zero flags.
35462
35463         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35464         linker script munging.
35465
35466 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35467
35468         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35469         as 128-bit value.
35470         * crypt/sha512.c (sha512_process_block): Perform total addition using
35471         128-bit if possible.
35472         (__sha512_finish_ctx): Likewise.
35473         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35474         as 64-bit value.
35475         * crypt/sha256.c (SWAP64): Define.
35476         (sha256_process_block): Perform total addition using 64-bit if
35477         possible.
35478         (__sha256_finish_ctx): Likewise.
35479
35480 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35481
35482         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35483         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35484         * nscd/hstcache.c (cache_addhst): Likewise.
35485         * nscd/grpcache.c (cache_addgr): Likewise.
35486         * nscd/aicache.c (addhstaiX): Likewise
35487         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35488
35489 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35490
35491         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35492         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35493         * nscd/hstcache.c (cache_addhst): Likewise.
35494         * nscd/grpcache.c (cache_addgr): Likewise.
35495         * nscd/aicache.c (addhstaiX): Likewise
35496
35497 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35498
35499         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35500         domain only when needed.
35501
35502 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35503
35504         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35505         is always restored.
35506
35507 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35508
35509         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35510         are re-adding the entry.
35511         * nscd/servicescache.c (cache_addserv): Likewise.
35512
35513 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35514
35515         * sysdeps/generic/dl-irel.h: fix protection against multiple
35516         inclusions.
35517         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35518
35519 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35520
35521         [BZ #12935]
35522         * malloc/memusage.sh: Fix quoting in message.
35523         * debug/xtrace.sh: Likewise.
35524
35525         * configure.in: Remove support for --experimental-malloc option, make
35526         it the default.
35527         * config.make.in: Likewise.
35528         * malloc/Makefile: Likewise.
35529
35530 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35531
35532         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35533         two-byte characters.
35534
35535 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35536
35537         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35538         AC_CACHE_CHECK invocation.
35539         * configure: Regenerated.
35540
35541         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35542
35543 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35544
35545         [BZ #12350]
35546         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35547         bit from old_res_options.
35548
35549         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35550
35551         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35552         value type for setfct.
35553
35554 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35555
35556         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35557         __gettimeofday instead of gettimeofday.
35558
35559 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35560
35561         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35562
35563 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35564
35565         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35566
35567         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35568         info.
35569
35570 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35571
35572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35573         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35574         strcpy-sse2-unaligned strncpy-sse2-unaligned
35575         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35576         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35577         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35578         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35579         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35580         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35581         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35582         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35583         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35584         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35585         (STRCPY): Support SSE2 and SSSE3 versions.
35586
35587 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35588
35589         [BZ #12874]
35590         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35591         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35592         kernels which artificially limit size of requests.
35593
35594 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35595
35596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35597         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35598         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35599         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35600         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35601         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35602         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35603         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35604         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35605         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35606         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35607         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35608         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35609         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35610         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35612         Enable unaligned load optimization for Intel Core i3, i5 and i7
35613         processors.
35614         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35615         Define.
35616         (index_Fast_Unaligned_Load): Define.
35617         (HAS_FAST_UNALIGNED_LOAD): Define.
35618
35619 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35620
35621         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35622
35623 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35624
35625         [BZ #12907]
35626         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35627         until it is clear that the information is realy needed.
35628         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35629
35630 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35631
35632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35633
35634 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35635
35636         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35637         /sys/devices/system/cpu/online if it is usable.
35638
35639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35640         reading the information from the /proc filesystem to once a second.
35641
35642 2011-06-21  Andreas Jaeger  <aj@suse.de>
35643
35644         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35645         NULL after inclusion of kernel headers.
35646
35647 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35648
35649         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35650         calls to internal_setent.
35651
35652         [BZ #12885]
35653         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35654         addresses using gethostbyname4_r ignore IPv4 addresses.
35655
35656         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35657         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35658
35659         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35660
35661 2011-06-20  David S. Miller  <davem@davemloft.net>
35662
35663         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35664         inclusions.
35665         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35666
35667         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35668         (elf_irel): Use it.
35669         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35670         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35671         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35672         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35673         * sysdeps/x86_64/dl-irel.h: Likewise.
35674
35675         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35676         * elf/dl-sym.c: Likewise.
35677
35678 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35679
35680         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35681         need to dereference resplen2.
35682
35683 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35684
35685         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35686
35687 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35688
35689         * Makeconfig: Define vardbdir and inst_vardbdir.
35690         * nss/Makefile: Add rules to install db-Makefile.
35691
35692         * nss/nss_db/db-XXX.c: Cleanup.
35693
35694         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35695         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35696         GLIBC_PRIVATE.
35697         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35698         * nss/makedb.c: Implement -g option to specify that value strings
35699         are generated and should not be added to table iterated over for
35700         get*ent calls.
35701         * nss/nss_db/db-initgroups.c: New file.
35702
35703         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35704         interface.
35705
35706         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35707         (internal_getgrouplist): Adjust to name change.
35708         Update use_initgroups_entry if this is not the first call.
35709         * nss/databases.def: Add initgroups entry.
35710
35711         * nss/makedb.c (compute_tables): Check result of multiple hash table
35712         sizes to minimize maximum chain length.
35713
35714 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35715
35716         * Versions.def: Add entry for libnss_db.
35717         * shlib-versions: Likewise.
35718         * nss/Makefile: Add rules to build libnss_db.
35719         * nss/Versions: Add libnss_db information.  Organize libnss_files
35720         entries better.
35721         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35722         makedb progra.  Some minor improvements to generate smaller files.
35723         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35724         here from...
35725         * nss/makedb.c: ...here.
35726         Improve database format to be smaller and require less memory at
35727         runtime.
35728         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35729         db anymore.
35730         * nss/nss_db/db-netgrp.c: Likewise.
35731         * nss/nss_db/db-open.c: Likewise.
35732         * nss/nss_files/flies-XXX.x: Adjust comments.
35733         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35734         * nss/nss_files/files-grp.c: Likewise.
35735         * nss/nss_files/files-hosts.c: Likewise.
35736         * nss/nss_files/files-network.c: Likewise.
35737         * nss/nss_files/files-proto.c: Likewise.
35738         * nss/nss_files/files-pwd.c: Likewise.
35739         * nss/nss_files/files-rpc.c: Likewise.
35740         * nss/nss_files/files-service.c: Likewise.
35741         * nss/nss_files/files-sgrp.c: Likewise.
35742         * nss/nss_files/files-spwd.c: Likewise.
35743         * nss/nss_db/db-alias.c: Removed.
35744         * nss/nss_db/dummy-db.h: Removed.
35745
35746 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35747
35748         * nss/makedb.c: Rewritten to not use database library.
35749         * nss/Makefile: Update to build new makedb program.
35750
35751 2011-06-14  Andreas Jaeger  <aj@suse.de>
35752
35753         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35754         memset declaration.
35755
35756 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35757
35758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35759         tmpbuf.
35760
35761 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35762
35763         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35764         * elf/Makefile ($(objpfx)ld.so): Likewise.
35765
35766         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35767         Don't list ld.so twice in dependencies.
35768
35769         * posix/bug-regex31.c: Include <stdlib.h>.
35770
35771         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35772
35773         * nis/nss_compat/compat-spwd.c
35774         (getspent_next_nss_netgr): Remove unused variable.
35775         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35776
35777         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35778         nonmembers" output to use the right array.
35779
35780         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35781
35782         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35783
35784         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35785         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35786         * catgets/gencat.c (read_input_file): Likewise.
35787         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35788
35789         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35790         variable definition inside #if's controlling its use.
35791
35792         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35793
35794         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35795
35796         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35797
35798         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35799         unreachable code.
35800
35801         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35802
35803         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35804         * configure: Regenerated.
35805
35806         * Makerules: Revert last change.
35807         * elf/Makefile: Likewise.
35808
35809 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35810
35811         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35812         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35813         (reloc-link): Likewise.
35814
35815 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35816
35817         * elf/Makefile: Add rules to build pldd.
35818         * elf/pldd.c: New file.
35819         * elf/pldd-xx.c: New file.
35820
35821 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35822
35823         * version.h: Update for 2.15 development version.
35824
35825 2011-06-07  David S. Miller  <davem@davemloft.net>
35826
35827         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35828         ifuncs.
35829         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35830         elf_machine_lazy_rel): Likewise.
35831         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35832         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35833         elf_machine_lazy_rel): Likewise.
35834         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35835         dl_hwcap via passed in argument.
35836         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35837         Likewise.
35838
35839 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35840
35841         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35842
35843 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35844
35845         [BZ #12849]
35846         * manual/fdl-1.1.texi: New file, verbatim from:
35847         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35848         * manual/lgpl-2.1.texi: New file, verbatim from:
35849         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35850         * manual/Makefile (licenses): New variable, list those new file names.
35851         (texis): Use it.
35852         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35853
35854         * manual/fdl.texi: File removed.
35855         * manual/lesser.texi: File removed.
35856         * manual/libc.texinfo (Copying, Documentation License):
35857         Use new @include file names, put @appendix directive before @include.
35858
35859 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35860
35861         [BZ #12841]
35862         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35863         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35864         (mq_open): Add __NTH.
35865
35866 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35867
35868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35869         Assume Intel Core i3/i5/i7 processor if AVX is available.
35870
35871 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35872
35873         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35874         typo.
35875
35876 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35877
35878         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35879         memory.  Use alloca_account.  Fix memory leak when retrying.
35880
35881 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35882
35883         * version.h (RELEASE): Bump for 2.14 release.
35884         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35885
35886         * config.make.in (RANLIB): Remove entry.
35887
35888 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35889
35890         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35891         (libc.pot): Work around missing support for .ksh extension in xgettext.
35892
35893         [BZ #12684]
35894         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35895         if both request failed.
35896         (send_dg): In case of server errors clear resplen or *resplen2.
35897
35898         [BZ #12454]
35899         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35900         when there are multiple maps.
35901         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35902         (_dl_fini): Remove test here.
35903
35904         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35905
35906 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35907
35908         [BZ #12350]
35909         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35910         bit from old_res_options.
35911         (gaih_inet): Likewise.
35912
35913         [BZ #11099]
35914         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35915         as signed.
35916
35917         * resolv/res_init.c (res_setoptions): Make the code more compact.
35918
35919         [BZ #11558]
35920         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35921         set RES_USEVC.
35922
35923         [BZ #11634]
35924         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35925
35926         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35927
35928         [BZ #11781]
35929         * malloc/malloc.h: Declare malloc hook variables as volatile.
35930
35931         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35932         in last patch.
35933
35934         [BZ #11799]
35935         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35936         raise in the comment.
35937         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35938         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35939         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35940
35941 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35942
35943         [BZ #12811]
35944         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35945         grow the buffers more if it already has to be sufficient.
35946         (build_wcs_upper_buffer): Likewise.
35947         * posix/regexec.c (check_matching): Likewise.
35948         (clean_state_log_if_needed): Likewise.
35949         (extend_buffers): Don't enlarge buffers beyond size of the input
35950         buffer.
35951         Patches mostly by Emil Wojak <emil@wojak.eu>.
35952         * posix/bug-regex32.c: New file.
35953         * posix/Makefile (tests): Add bug-regex32.
35954
35955         * locale/findlocale.c (_nl_find_locale): Return right away if
35956         _nl_explode_name failed.
35957         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35958
35959         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35960
35961         * debug/xtrace.sh: Unify messages.
35962         * malloc/memusage.sh: Likewise.
35963
35964         [BZ #12813]
35965         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35966         time symbol from vDSO.  Substitute with vsyscall if not available.
35967         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35968         __vdso_time.
35969
35970         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35971         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35972         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35973         Add sendmmsg and internal_sendmmsg.
35974         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35975         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35976         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35977
35978         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35979         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35980         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35981
35982 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35983
35984         [BZ #12813]
35985         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35986         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35987         available.
35988         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35989         __vdso_getcpu.
35990
35991         [BZ #12814]
35992         * iconvdata/Makefile (tests): Add bug-iconv9.
35993         * iconvdata/bug-iconv9.c: New file.
35994
35995 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35996
35997         [BZ #12814]
35998         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35999
36000 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36001
36002         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36003         (struct user_regs_struct): Change intcs field back to cs.
36004
36005 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36006
36007         * po/ja.po: Update from translation team.
36008
36009 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36010
36011         [BZ #12795]
36012         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36013         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36014
36015 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36016
36017         * stdlib/longlong.h: Update from GCC.
36018
36019 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36020
36021         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36022         parameter name.
36023         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36024         Add parameter name.
36025         (__sysconf): Pass it down.
36026
36027 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36028
36029         [BZ #12671]
36030         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36031         some situations.
36032         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36033         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36034         add in in __libc_use_alloca calls.  Adjust callers.
36035         (glob): Use malloc in some situations.
36036
36037         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36038         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36039         pltexit.
36040
36041 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36042
36043         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36044         and CLOCK_BOOTTIME_ALARM.
36045
36046         [BZ #12782]
36047         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36048         is returned.
36049
36050         * string/_strerror.c (__strerror_r): Print negative errors as signed
36051         numbers.
36052
36053         [BZ #12777]
36054         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36055         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36056         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36057
36058         * configure.in: Fix typo in redirection and correct removal of test
36059         files in two cases.
36060
36061         [BZ #12788]
36062         * locale/setlocale.c (new_composite_name): Fix test to check for
36063         identical name of all categories.
36064
36065         [BZ #12792]
36066         * libio/filedoalloc.c (local_isatty): New function.
36067         (_IO_file_doallocate): Use local_isatty.
36068         * stdio-common/perror.c (perror): In case a new stream is used
36069         forward the stream error.
36070         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36071         error flag.
36072
36073 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36074
36075         [BZ #11869]
36076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36077         alloca.
36078         * include/alloca.h (extend_alloca_account): Define.
36079
36080         [BZ #11857]
36081         * posix/regex.h: Fix comments with documentation of user-accessible
36082         fields after compilation and describe correct free'ing of pattern
36083         after re_compile_pattern.
36084         Patch by Reuben Thomas <rrt@sc3d.org>.
36085
36086 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36087
36088         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36089         and -mno-altivec to prevent the compiler from using Altivec and/or
36090         VSX instructions when the corresponding registers are not available.
36091
36092 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36093
36094         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36095
36096 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36097
36098         * libio/freopen.c (freopen): Use __dup2, not dup2.
36099         * libio/freopen64.c (freopen64): Likewise.
36100
36101 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36102
36103         [BZ #12775]
36104         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36105         * math/Makefile (tests): Add test-powl.
36106         (CFLAGS-test-powl.c): Define.
36107         * math/test-powl.c: New file.
36108
36109 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36110
36111         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36112
36113 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36114
36115         [BZ #11837]
36116         * iconvdata/gb18030.c: Update to GB18020-2005.
36117
36118 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36119
36120         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36121         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36122         Patch by Aharon Robbins <arnold@skeeve.com>.
36123
36124         [BZ #11892]
36125         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36126         on the stack.
36127
36128         [BZ #11895]
36129         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36130         through underflows.
36131
36132         [BZ #12766]
36133         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36134         point to strings before performing equality test for error_one_per_line
36135         mode.
36136
36137         [BZ #11697]
36138         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36139
36140         [BZ #11820]
36141         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36142         (struct user_fpregs_struct): Avoid __uint*_t types.
36143
36144         [BZ #6420]
36145         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36146         symbol info.  Use it instead of calling _dl_addr locally.
36147         (lock_and_info): New function.
36148         (tr_freehook): Call lock_and_info and pass symbol info as additional
36149         parameter to tr_where.
36150         (tr_mallochook): Likewise.
36151         (tr_reallochook): Likewise.
36152         (tr_memalignhook): Likewise.
36153
36154         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36155         used and couldn't be at all thread-safe.
36156
36157 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36158
36159         * libio/freopen.c (freopen): Don't close old file descriptor
36160         before the new one is opened.  Instead dup the new file descriptor
36161         to the old one after the new stream is created.
36162         * libio/freopen64.c (freopen64): Likewise.
36163         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36164         * libio/fileops.c (_IO_new_file_close_it): Handle new
36165         _IO_FLAGS2_NOCLOSE flag.
36166         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36167         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36168         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36169         _IO_FLAGS2_NOCLOSE flag.
36170         * include/unistd.h: Add hidden_proto for dup3.
36171         Define __have_dup3.
36172         * io/dup3.c: Define hidden symbol.
36173         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36174
36175         [BZ #7101]
36176         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36177         when an incomplete long option is used.
36178         * posix/tst-getopt_long1.c: New file.
36179         * posix/Makefile (tests): Add tst-getopt_long1.
36180
36181         [BZ #10138]
36182         * scripts/config.guess: Update from autoconf-2.68.
36183         * scripts/config.sub: Likewise.
36184
36185         [BZ #10157]
36186         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36187         tests into ...
36188         (has_cpuclock): ...this.  New function.
36189         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36190         macro here based on has_cpuclock code.
36191
36192         [BZ #10149]
36193         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36194         First byte (not low byte) is now always NUL.
36195         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36196
36197         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36198         Use non-cancelable interfaces.
36199
36200         [BZ #9809]
36201         * locale/iso-639.def: Add entry for Sorani.
36202
36203         [BZ #11901]
36204         * include/stdlib.h: Move include protection to the right place.
36205         Define abort_msg_s.  Declare __abort_msg with it.
36206         * stdlib/abort.c (__abort_msg): Adjust type.
36207         * assert/assert.c (__assert_fail_base): New function.  Majority
36208         of code from __assert_fail.  Allocate memory for __abort_msg with
36209         mmap.
36210         (__assert_fail): Now call __assert_fail_base.
36211         * assert/assert-perr.c: Remove bulk of implementation.  Use
36212         __assert_fail_base.
36213         * include/assert.hL Declare __assert_fail_base.
36214         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36215         mmap.
36216         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36217
36218 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36219
36220         [BZ #11952]
36221         [BZ #12453]
36222         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36223         until all modules are registered in the DTV.
36224         * elf/Makefile: Add rules to build and run tst-tls19.
36225         * elf/tst-tls19.c: New file.
36226         * elf/tst-tls19mod1.c: New file.
36227         * elf/tst-tls19mod2.c: New file.
36228         * elf/tst-tls19mod3.c: New file.
36229         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36230
36231         [BZ #12083]
36232         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36233         correctly.
36234
36235         [BZ #12601]
36236         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36237         two-byte sequence errors.
36238         * iconvdata/Makefile (tests): Add bug-iconv8.
36239         * iconvdata/bug-iconv8.c: New file.
36240
36241         [BZ #12626]
36242         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36243         buf2 definition.
36244
36245         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36246
36247         [BZ #12432]
36248         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36249         (dummy_getcfa): New function.
36250         (init): Get _Unwind_GetCFA address, use dummy if not found.
36251         (backtrace_helper): In recursion check, also check whether CFA changes.
36252         (__backtrace): Completely initialize arg.
36253
36254         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36255         storing incomplete byte sequence in state object.  Avoid testing for
36256         guaranteed too small input if we know there is enough data available.
36257
36258 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36259
36260         * Makeconfig (+link-pie): Indent.
36261         * Rules (binaries-pie): Define if $(have-fpie) and
36262         $(build-shared).
36263         (binaries-shared): Also filter out $(binaries-pie).
36264         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36265         * nscd/Makefile (others-pie): Add nscd.
36266         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36267         ($(objpfx)nscd): Remove command override.
36268         * login/Makefile (others-pie): Add pt_chown.
36269         ($(objpfx)pt_chown): Remove command override.
36270         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36271         remove command overrides.
36272
36273 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36274
36275         * libio/tst_putwc.c: Fix error messages.
36276
36277         [BZ #12724]
36278         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36279         currently writing and seek to current position when not.
36280         * libio/Makefile (tests): Add bug-fclose1.
36281         * libio/bug-fclose1.c: New file.
36282
36283 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36284
36285         [BZ #12511]
36286         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36287         don't set DF_1_NODELETE here.
36288         (do_lookup_x): When entering new entry test for copy relocation
36289         and if necessary set DF_1_NODELETE flag.
36290         * elf/tst-unique4.cc: New file.
36291         * elf/tst-unique4.h: New file.
36292         * elf/tst-unique4lib.cc: New file.
36293         * elf/Makefile: Add rules to build and run tst-unique4.
36294         Patch by Piotr Bury <pbury@goahead.com>.
36295
36296 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36297
36298         [BZ #12052]
36299         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36300
36301         [BZ #12625]
36302         * misc/mntent_r.c (addmntent): Flush the stream after the output
36303
36304         [BZ #12393]
36305         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36306         (is_trusted_path_normalize): Skip initial colon.  Append slash
36307         to empty buffer.  Duplicate is_trusted_path code but allow
36308         constructed patch to be prefix.
36309         (is_dst): Allow $ORIGIN followed by /.
36310         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36311         Correct testing of result of is_trusted_path_normalize
36312         (decompose_rpath): Fix warning.
36313
36314 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36315
36316         [BZ #11257]
36317         * grp/initgroups.c (internal_getgrouplist): When we found the service
36318         list through the initgroups entry in nsswitch.conf do not always
36319         continue on a successful lookup.  Don't always use the
36320         __nss_group_database value if it is set.
36321         * nss/nsswitch.conf (initgroups): Change action for successful db
36322         lookup to continue for compatibility.
36323
36324 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36325
36326         [BZ #11532]
36327         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36328         and CP774 modules.
36329         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36330         and CP774 modules.
36331         * iconvdata/tst-tables.sh: Likewise.
36332         * iconvdata/cp770.c: New file.
36333         * iconvdata/cp771.c: New file.
36334         * iconvdata/cp772.c: New file.
36335         * iconvdata/cp773.c: New file.
36336         * iconvdata/cp774.c: New file.
36337         * iconvdata/testdata/CP770: New file.
36338         * iconvdata/testdata/CP770..UTF8: New file.
36339         * iconvdata/testdata/CP771: New file.
36340         * iconvdata/testdata/CP771..UTF8: New file.
36341         * iconvdata/testdata/CP772: New file.
36342         * iconvdata/testdata/CP772..UTF8: New file.
36343         * iconvdata/testdata/CP773: New file.
36344         * iconvdata/testdata/CP773..UTF8: New file.
36345         * iconvdata/testdata/CP774: New file.
36346         * iconvdata/testdata/CP774..UTF8: New file.
36347
36348         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36349         END CHARMAP line.
36350         * iconvdata/gen-8bit-gap.sh: Likewise.
36351         * iconvdata/gen-8bit.sh: Likewise.
36352
36353         * locale/iso-639.def: Add ary entry.
36354
36355         [BZ #11258]
36356         * locale/C-translit.h.in: Add U20A1 transliteration.
36357
36358         [BZ #12178]
36359         * locale/iso-639.def: Add wae entry.
36360         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36361
36362         [BZ #12545]
36363         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36364         for n.
36365
36366         [BZ #12711]
36367         * locale/C-translit.h.in: Add entry for U20B9.
36368         Patch by pravin.d.s@gmail.com.
36369
36370 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36371
36372         [BZ #12713]
36373         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36374         ENAMETOOLONG use generic getcwd.
36375         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36376         in rtld.  Use *stat64.
36377         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36378         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36379         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36380         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36381         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36382         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36383         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36384         __fstatat64 macros.
36385         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36386         * dirent/rewinddir.c: Add libc_hidden_def.
36387         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36388         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36389
36390         * include/dirent.h (__alloc_dir): Add flags parameter.
36391         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36392         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36393         __alloc_dir.
36394         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36395         from fdopendir if O_CLOEXEC is already set.
36396
36397 2011-03-15  Alan Modra  <amodra@gmail.com>
36398
36399         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36400         l_tls_firstbyte_offset non-zero.  Save padding offset in
36401         l_tls_firstbyte_offset for later use.
36402         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36403         freeing static tls block.
36404
36405 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36406
36407         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36408         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36409         being defined by the kernel headers.
36410
36411 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36412
36413         [BZ #12734]
36414         * resolv/resolv.h: Define RES_NOTLDQUERY.
36415         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36416         no-tld-query and set RES_NOTLDQUERY.
36417         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36418         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36419         modern BIND to search name as TLD unless forbidden.
36420
36421 2011-05-07  Petr Baudis  <pasky@suse.cz>
36422             Ulrich Drepper  <drepper@gmail.com>
36423
36424         [BZ #12393]
36425         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36426         (is_trusted_path): ...to here.
36427         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36428         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36429         using is_trusted_path_normalize() in setuid scripts.
36430
36431 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36432
36433         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36434         __BEGIN/__END_DECLS.
36435
36436 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36437
36438         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36439         NSS_STATUS_NOTFOUND if no record was found.
36440
36441 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36442
36443         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36444         (headers-not-in-tirpc): Remove rpc/netdb.h
36445         * resolv/netdb.h: Revert last change.
36446
36447 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36448
36449         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36450         circular dependency between libgcc.a and libc.a.
36451
36452 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36453
36454         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36455         * nis/Makefile: Don't install rpcsvc/*.
36456         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36457         instead of <rpc/types.h>.
36458         (MAXHOSTNAMELEN): Define.
36459
36460 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36461
36462         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36463
36464 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36465
36466         [BZ #12714]
36467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36468         gethostbyname4_r when IPv6 results are possible.
36469
36470 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36471
36472         [BZ #12723]
36473         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36474         _PC_PIPE_BUF handling.
36475
36476 2011-04-30  Bruno Haible  <bruno@clisp.org>
36477
36478         [BZ #12717]
36479         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36480         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36481         to 'int'.
36482         * inet/getnameinfo.c (getnameinfo): Likewise.
36483
36484 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36485
36486         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36487         to groups setting in database lookup.
36488         * nss/nsswitch.conf: Add initgroups entry.
36489
36490 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36491
36492         [BZ #12685]
36493         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36494         mode string.
36495         Patch by Eric Blake <eblake@redhat.com>.
36496
36497 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36498
36499         * sunrpc/Makefile (need-export-routines): Add svc_run.
36500         (routines): Remove svc_run.
36501         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36502         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36503         * sunrpc/svc_run.c (svc_run): Likewise.
36504         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36505
36506 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36507
36508         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36509         problem in reallocation in last patch.
36510
36511 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36512
36513         * sunrpc/Makefile: Move inclusion of Rules.
36514
36515 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36516
36517         * nss/nss_files/files-initgroups.c: New file.
36518         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36519         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36520         _nss_files_initgroups_dyn.
36521
36522 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36523
36524         * elf/elf.h (R_ARM_IRELATIVE): Define.
36525
36526 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36527
36528         * po/ru.po: Update from translation team.
36529
36530 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36531
36532         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36533         dependencies.
36534
36535 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36536
36537         [BZ #12653]
36538         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36539         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36540         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36541         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36542         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36543
36544 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36545
36546         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36547         differing bytes.
36548         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36549         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36550         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36551
36552 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36553
36554         [BZ #12420]
36555         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36556         storing it.
36557         * stdlib/bug-getcontext.c: New file.
36558         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36559
36560 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36561
36562         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36563         instructions into .machine "z9-109".
36564         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36565         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36566
36567 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36568
36569         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36570         between environment variables and auxiliary vector.
36571
36572 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36573
36574         * Makefile: Add rules to build linkobj/libc.so.
36575         * include/libc-symbols.h: Define libc_hidden_nolink.
36576         * include/rpc/auth.h: Mark functions which are to be hidden.
36577         * include/rpc/auth_des.h: Likewise.
36578         * include/rpc/auth_unix.h: Likewise.
36579         * include/rpc/clnt.h: Likewise.
36580         * include/rpc/des_crypt.h: Likewise.
36581         * include/rpc/key_prot.h: Likewise.
36582         * include/rpc/pmap_clnt.h: Likewise.
36583         * include/rpc/pmap_prot.h: Likewise.
36584         * include/rpc/pmap_rmt.h: Likewise.
36585         * include/rpc/rpc_msg.h: Likewise.
36586         * include/rpc/svc.h: Likewise.
36587         * include/rpc/svc_auth.h: Likewise.
36588         * include/rpc/xdr.h: Likewise.
36589         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36590         * nss/Makefile: Likewise.
36591         * sunrpc/Makefile: Don't install headers.  Build library with normal
36592         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36593         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36594         for the compat linking library.  Remove use of INTDEF/INTUSE.
36595         * sunrpc/auth_none.c: Likewise.
36596         * sunrpc/auth_unix.c: Likewise.
36597         * sunrpc/authdes_prot.c: Likewise.
36598         * sunrpc/authuxprot.c: Likewise.
36599         * sunrpc/clnt_gen.c: Likewise.
36600         * sunrpc/clnt_perr.c: Likewise.
36601         * sunrpc/clnt_raw.c: Likewise.
36602         * sunrpc/clnt_simp.c: Likewise.
36603         * sunrpc/clnt_tcp.c: Likewise.
36604         * sunrpc/clnt_udp.c: Likewise.
36605         * sunrpc/clnt_unix.c: Likewise.
36606         * sunrpc/des_crypt.c: Likewise.
36607         * sunrpc/des_soft.c: Likewise.
36608         * sunrpc/get_myaddr.c: Likewise.
36609         * sunrpc/key_call.c: Likewise.
36610         * sunrpc/key_prot.c: Likewise.
36611         * sunrpc/netname.c: Likewise.
36612         * sunrpc/pm_getmaps.c: Likewise.
36613         * sunrpc/pm_getport.c: Likewise.
36614         * sunrpc/pmap_clnt.c: Likewise.
36615         * sunrpc/pmap_prot.c: Likewise.
36616         * sunrpc/pmap_prot2.c: Likewise.
36617         * sunrpc/pmap_rmt.c: Likewise.
36618         * sunrpc/publickey.c: Likewise.
36619         * sunrpc/rpc_cmsg.c: Likewise.
36620         * sunrpc/rpc_common.c: Likewise.
36621         * sunrpc/rpc_dtable.c: Likewise.
36622         * sunrpc/rpc_prot.c: Likewise.
36623         * sunrpc/rpc_thread.c: Likewise.
36624         * sunrpc/rtime.c: Likewise.
36625         * sunrpc/svc.c: Likewise.
36626         * sunrpc/svc_auth.c: Likewise.
36627         * sunrpc/svc_authux.c: Likewise.
36628         * sunrpc/svc_raw.c: Likewise.
36629         * sunrpc/svc_run.c: Likewise.
36630         * sunrpc/svc_simple.c: Likewise.
36631         * sunrpc/svc_tcp.c: Likewise.
36632         * sunrpc/svc_udp.c: Likewise.
36633         * sunrpc/svc_unix.c: Likewise.
36634         * sunrpc/svcauth_des.c: Likewise.
36635         * sunrpc/xcrypt.c: Likewise.
36636         * sunrpc/xdr.c: Likewise.
36637         * sunrpc/xdr_array.c: Likewise.
36638         * sunrpc/xdr_float.c: Likewise.
36639         * sunrpc/xdr_intXX_t.c: Likewise.
36640         * sunrpc/xdr_mem.c: Likewise.
36641         * sunrpc/xdr_rec.c: Likewise.
36642         * sunrpc/xdr_ref.c: Likewise.
36643         * sunrpc/xdr_sizeof.c: Likewise.
36644         * sunrpc/xdr_stdio.c: Likewise.
36645
36646 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36647
36648         [BZ #12650]
36649         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36650         * sysdeps/ia64/dl-tls.h: Likewise.
36651         * sysdeps/powerpc/dl-tls.h: Likewise.
36652         * sysdeps/s390/dl-tls.h: Likewise.
36653         * sysdeps/sh/dl-tls.h: Likewise.
36654         * sysdeps/sparc/dl-tls.h: Likewise.
36655         * sysdeps/x86_64/dl-tls.h: Likewise.
36656         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36657
36658 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36659
36660         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36661         rpath element also skip the following colon.
36662         (expand_dynamic_string_token): Add is_path parameter and pass
36663         down to DL_DST_REQUIRED and _dl_dst_substitute.
36664         (decompose_rpath): Call expand_dynamic_string_token with
36665         non-zero is_path.  Ignore empty rpaths.
36666         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36667         with zero is_path.
36668
36669 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36670
36671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36672         Make cancelable.
36673
36674 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36675
36676         [BZ #12655]
36677         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36678         Patch by Filipe David Manana <fdmanana@apache.org>.
36679
36680 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36681
36682         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36683         Maintain aligned stack.
36684         (CHECK_RSP): Remove unused macro.
36685
36686 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36687
36688         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36689         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36690
36691 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36692
36693         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36694
36695         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36696
36697 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36698
36699         [BZ #12518]
36700         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36701         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36702         * sysdeps/x86_64/memmove.c: New file.
36703         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36704         (memcpy): Renamed to ...
36705         (__new_memcpy): This.
36706         (memcpy): Provide GLIBC_2_14 memcpy.
36707         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36708         (memcpy): Provide GLIBC_2_2_5 memcpy.
36709
36710 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36711
36712         [BZ #12631]
36713         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36714
36715 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36716
36717         * misc/syncfs.c: New file.
36718         * misc/Makefile (routines): Add syncfs.
36719         * posix/unistd.h: Declare syncfs.
36720         * sysdeps/unix/syscalls.list: Add syncfs.
36721
36722 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36723
36724         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36725         open_by_handle_at.
36726         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36727         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36728         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36729         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36730         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36731         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36732         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36733
36734 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36735
36736         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36737         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36738         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36739         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36740         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36743
36744         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36745         sync_file_range.c with -fexceptions.
36746         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36747         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36748         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36749         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36750         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36751         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36752         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36753         sync_file_range as cancellation point
36754         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36755         now a wrapper around __call_sync_file_range with cancellation handling.
36756         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36757         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36758         function name to __call_sync_file_range.
36759         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36760         Add call_sync_file_range.
36761
36762 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36763
36764         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36765         bits/timex.h.
36766
36767 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36768
36769         * iconv/iconv.h: Fix typo in comment.
36770         * io/fcntl.h: Likewise.
36771         * libio/stdio.h: Likewise.
36772         * posix/spawn.h: Likewise.
36773         * posix/unistd.h: Likewise.
36774         * stdlib/stdlib.h: Likewise.
36775         * time/time.h: Likewise.
36776         * wcsmbs/wchar.h: Likewise.
36777
36778         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36779         open_by_handle): Add.
36780         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36781         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36782         Augment a few comments.
36783         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36784         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36785         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36786         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36787         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36788         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36789         open_by_handle.
36790
36791         * io/fcntl.h (AT_EMPTY_PATH): Define.
36792
36793 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36794
36795         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36796         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36797         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36798         to...
36799         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36800         * Versions.def: Add GLIBC_2.14.
36801         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36802         Export.
36803
36804 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36805
36806         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36807         round counter.
36808         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36809
36810 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36811
36812         [BZ #12597]
36813         * string/test-strncmp.c (do_page_test): New function.
36814         (check2): Likewise.
36815         (test_main): Call check2.
36816         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36817
36818 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36819
36820         [BZ #12587]
36821         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36822         Handle cache information in CPU leaf 4.
36823         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36824
36825 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36826
36827         [BZ #12583]
36828         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36829         character representation.
36830         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36831
36832 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36833
36834         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36835         END(__isnan) to END(__isnanf) to match function entry point/label
36836         EALIGN(__isnanf,...).
36837
36838 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36839
36840         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36841
36842 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36843
36844         [BZ #12510]
36845         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36846         copy from the symbol referenced in the relocation to initialize the
36847         used variable.
36848         Patch by Piotr Bury <pbury@goahead.com>.
36849         * elf/Makefile: Add rules to build and tst-unique3.
36850         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36851         * elf/tst-unique3.cc: New file.
36852         * elf/tst-unique3.h: New file.
36853         * elf/tst-unique3lib.cc: New file.
36854         * elf/tst-unique3lib2.cc: New file.
36855
36856         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36857
36858 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36859
36860         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36861         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36862         to _start.
36863
36864 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36865
36866         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36867         to-be-loaded object along a path to loader is ld.so.
36868
36869 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36870             Ulrich Drepper  <drepper@gmail.com>
36871
36872         * sysdeps/x86_64/memset.S: After aligning destination, code
36873         branches to different locations depending on the value of
36874         misalignment, when multiarch is enabled. Fix this.
36875
36876 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36877
36878         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36879         Set _x86_64_preferred_memory_instruction for AMD processsors.
36880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36881         Set bit_Prefer_SSE_for_memop for AMD processors.
36882
36883 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36884
36885         * libio/fmemopen.c (fmemopen): Optimize a bit.
36886
36887 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36888
36889         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36890
36891 2011-03-03  Roland McGrath  <roland@redhat.com>
36892
36893         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36894
36895 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36896
36897         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36898         __bzero_ultra1 instead of __memset_ultra1.
36899
36900 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36901             Ulrich Drepper  <drepper@gmail.com>
36902
36903         [BZ #12509]
36904         * include/link.h (struct link_map): Add l_orig_initfini.
36905         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36906         returning unsuccessfully.
36907         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36908         close of a file loaded at startup, restore the original l_initfini
36909         list.
36910         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36911         list, store the pointer.
36912         * elf/Makefile ($(objpfx)noload-mem): New rule.
36913         (noload-ENV): Define.
36914         (tests): Add $(objpfx)noload-mem.
36915         * elf/noload.c: Include <memcheck.h>.
36916         (main): Call mtrace.  Close all opened handles.
36917
36918 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36919
36920         [BZ #12454]
36921         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36922         dependencies are missing.
36923
36924 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36925
36926         Fix __if_freereq crash: Unlike the generic version which uses free,
36927         Hurd needs munmap.
36928         * sysdeps/mach/hurd/ifreq.h: New file.
36929
36930 2011-01-27  Petr Baudis  <pasky@suse.cz>
36931             Ulrich Drepper  <drepper@gmail.com>
36932
36933         [BZ 12445]#
36934         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36935         to extend_alloca().
36936         * stdio-common/bug23.c: New file.
36937         * stdio-common/Makefile (tests): Add bug23.
36938
36939 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36940             Ulrich Drepper  <drepper@gmail.com>
36941
36942         [BZ #12489]
36943         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36944         before performing relro protection.  At old place add assertion
36945         to make sure nothing changed.
36946
36947 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36948             Glauber de Oliveira Costa  <glommer@gmail.com>
36949
36950         * elf/elf.h: Add new ARM TLS relocs.
36951
36952 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36953
36954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36955         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36956         cast from r3.
36957         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36958         'tests' variable.
36959         * sysdeps/wordsize-64/tst-writev.c: New file.
36960
36961 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36962
36963         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36964         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36965         insns in _dl_start to prevent a TOC reference before relocs are
36966         resolved.
36967
36968 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36969
36970         [BZ #12469]
36971         * Makeconfig: Remove RANLIB definition.
36972         * Makerules: Don't use RANLIB.
36973         * aclocal.m4: Remove ranlib test.
36974         * configure.in: No need to check for ranlib.
36975         * elf/rtld-Rules: Don't use RANLIB.
36976
36977 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36978
36979         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36980         protection macro.
36981         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36982         inclusion protection macro.
36983
36984         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36985         SIGRTMIN and SIGRTMAX and print information in that case only when
36986         SIGRTMIN is defined.
36987
36988 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36989
36990         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36991         arginfo fn returning -1.
36992
36993         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36994         and thousands string is zero terminated.
36995
36996 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36997
36998         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36999         sysdeps/unix/sysv/linux/bits/socket.h.
37000
37001 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37002
37003         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37004         (__CPU_COUNT): Remove old macros.
37005         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37006         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37007         (__CPU_ALLOC, __CPU_FREE): Add macros.
37008         (__sched_cpualloc, __sched_cpufree): Add declarations.
37009
37010 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37011
37012         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37013         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37014         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37015         (readdhstai): Return value of addhstaiX call.
37016         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37017         (addgrbyX): Return value returned by cache_addgr.
37018         (readdgrbyname): Return value returned by addgrbyX.
37019         (readdgrbygid): Likewise.
37020         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37021         (addpwbyX): Return value returned by cache_addpw.
37022         (readdpwbyname): Return value returned by addhstbyX.
37023         (readdpwbyuid): Likewise.
37024         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37025         (addservbyX): Return value returned by cache_addserv.
37026         (readdservbyname): Return value returned by addservbyX:
37027         (readdservbyport): Likewise.
37028         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37029         (addhstbyX): Return value returned by cache_addhst.
37030         (readdhstbyname): Return value returned by addhstbyX.
37031         (readdhstbyaddr): Likewise.
37032         (readdhstbynamev6): Likewise.
37033         (readdhstbyaddrv6): Likewise.
37034         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37035         (readdinitgroups): Return value returned by addinitgroupsX.
37036         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37037         (prune_cache): Keep track of timeout value of re-added entries.
37038         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37039         * nscd/nscd.h: Adjust prototypes of readd* functions.
37040
37041 2011-02-04  Roland McGrath  <roland@redhat.com>
37042
37043         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37044         (nis_stats): Likewise.
37045         * nis/nis_modify.c (nis_modify): Likewise.
37046         * nis/nis_remove.c (nis_remove): Likewise.
37047         * nis/nis_add.c (nis_add): Likewise.
37048
37049         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37050
37051         * posix/fnmatch_loop.c: Add some consts.
37052
37053         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37054
37055 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37056
37057         [BZ #12460]
37058         * config.make.in (config-cflags-novzeroupper): Define.
37059         * configure.in: Substitute libc_cv_cc_novzeroupper.
37060         * elf/Makefile (AVX-CFLAGS): Define.
37061         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37062         (CFLAGS-tst-auditmod4a.c): Likewise.
37063         (CFLAGS-tst-auditmod4b.c): Likewise.
37064         (CFLAGS-tst-auditmod6b.c): Likewise.
37065         (CFLAGS-tst-auditmod6c.c): Likewise.
37066         (CFLAGS-tst-auditmod7b.c): Likewise.
37067         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37068
37069 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37070
37071         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37072         function to the callback.
37073         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37074
37075 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37076
37077         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37078         of errno.
37079
37080 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37081
37082         [BZ #11724]
37083         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37084         of constructors.
37085         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37086         of destructors.
37087         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37088
37089         [BZ #11724]
37090         * elf/Makefile: Add rules to build and run new test.
37091         * elf/tst-initorder.c: New file.
37092         * elf/tst-initorder.exp: New file.
37093         * elf/tst-initordera1.c: New file.
37094         * elf/tst-initordera2.c: New file.
37095         * elf/tst-initordera3.c: New file.
37096         * elf/tst-initordera4.c: New file.
37097         * elf/tst-initorderb1.c: New file.
37098         * elf/tst-initorderb2.c: New file.
37099         * elf/tst-order-a1.c: New file.
37100         * elf/tst-order-a2.c: New file.
37101         * elf/tst-order-a3.c: New file.
37102         * elf/tst-order-a4.c: New file.
37103         * elf/tst-order-b1.c: New file.
37104         * elf/tst-order-b2.c: New file.
37105         * elf/tst-order-main.c: New file.
37106         New test case by George Gensure <werkt0@gmail.com>.
37107
37108 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37109
37110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37111         decoding ACE if AI_CANONIDN.
37112
37113 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37114
37115         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37116
37117 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37118
37119         * version.h (RELEASE): Bump for 2.13 release.
37120         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37121
37122         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37123
37124         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37125         MADV_NOHUGEPAGE.
37126         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37127         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37128         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37129         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37130         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37132
37133         * posix/getconf.c: Update copyright year.
37134         * catgets/gencat.c: Likewise.
37135         * csu/version.c: Likewise.
37136         * debug/catchsegv.sh: Likewise.
37137         * debug/xtrace.sh: Likewise.
37138         * elf/ldconfig.c: Likewise.
37139         * elf/ldd.bash.in: Likewise.
37140         * elf/sprof.c (print_version): Likewise.
37141         * iconv/iconv_prog.c: Likewise.
37142         * iconv/iconvconfig.c: Likewise.
37143         * locale/programs/locale.c: Likewise.
37144         * locale/programs/localedef.c: Likewise.
37145         * malloc/memusage.sh: Likewise.
37146         * malloc/mtrace.pl: Likewise.
37147         * nscd/nscd.c (print_version): Likewise.
37148         * nss/getent.c: Likewise.
37149
37150         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37151         PF_CAIF, and PF_ALG.
37152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37153
37154 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37155
37156         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37157         (modules-names): Use them.
37158         (ifunc-test-modules, ifunc-pie-tests): Define.
37159         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37160         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37161         (test-extras): Likewise.
37162         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37163         $(compile-command.c).
37164         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37165         (all-built-dso): Define.
37166         (check-textrel.out, check-execstack.out): Depend on it.
37167
37168         * configure.in: Don't override --enable-multi-arch.
37169
37170 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37171
37172         [BZ #6812]
37173         * nscd/hstcache.c (tryagain): Define.
37174         (cache_addhst): Return tryagain not notfound for temporary errors.
37175         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37176         failed.
37177
37178 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37179
37180         [BZ #10563]
37181         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37182         to make the syscall.
37183         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37184
37185         [BZ #12378]
37186         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37187         and fall back to matching as normal character if the string ends before
37188         the matching ']' is found.  This is what POSIX requires.
37189         * posix/testfnm.c: Adjust test result.
37190         * posix/globtest.sh: Adjust test result.  Add new test.
37191         * posix/tst-fnmatch.input: Likewise.
37192         * posix/tst-fnmatch2.c: Add new test.
37193
37194 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37195
37196         * elf/Makefile (check-execstack): Revert last change.  Depend on
37197         check-execstack.h.
37198         (check-execstack.h): New target.
37199         (generated): Add check-execstack.h.
37200         * elf/check-execstack.c: Include "check-execstack.h".
37201         (main): Revert last change.
37202         (handle_file): Return zero if GNU_STACK is absent and
37203         DEFAULT_STACK_PERMS doesn't include PF_X.
37204
37205 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37206
37207         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37208         in child fails because the descriptor is already closed.
37209         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37210         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37211         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37212
37213         [BZ #12397]
37214         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37215         syscall.
37216
37217         [BZ #10484]
37218         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37219         temporary buffer used to handle multi lookups locally.
37220         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37221
37222 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37223
37224         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37225         loader is ld.so.
37226
37227 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37228
37229         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37230         alignment for SSE2.
37231
37232 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37233
37234         [BZ #12394]
37235         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37236         characters.  When rounding increased number of integer digits recompute
37237         number of groups.
37238         * stdio-common/tst-grouping.c: New file.
37239         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37240
37241 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37242
37243         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37244         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37245
37246         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37247         void.
37248         * bits/select.h: Likewise.
37249
37250 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37251
37252         * po/ja.po: Update from translation team.
37253
37254 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37255
37256         [BZ #11155]
37257         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37258         implementation just like for lxstat, fxstatat, et al.
37259
37260 2010-12-27  Jim Meyering  <meyering@redhat.com>
37261
37262         [BZ #12348]
37263         * posix/regexec.c (build_trtable): Return failure indication upon
37264         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37265
37266 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37267
37268         [BZ #12201]
37269         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37270         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37271         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37272         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37273
37274         [BZ #12207]
37275         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37276
37277         [BZ #12204]
37278         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37279         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37280
37281 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37282
37283         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37284         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37285         script has SORT_BY_INIT_PRIORITY.
37286         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37287         NO_CTORS_DTORS_SECTIONS is defined.
37288         * elf/soinit.c: Likewise.
37289         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37290         NO_CTORS_DTORS_SECTIONS is defined.
37291         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37292         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37293         * sysdeps/sh/init-first.c: Likewise.
37294         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37295
37296 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37297
37298         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37299         always use the slow path.
37300
37301 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37302
37303         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37304         similar rule which adds the sysdep directories to the header search in
37305         order to pick up the correct platform stackinfo.h.
37306         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37307         perform test if it is, otherwise return successfully without testing.
37308         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37309         DEFAULT_STACK_PERMS define in stackinfo.h.
37310         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37311         defined in stackinfo.h.
37312         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37313         DEFAULT_STACK_PERMS defined in stackinfo.h.
37314         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37315         * sysdeps/ia64/stackinfo.h: Likewise.
37316         * sysdeps/s390/stackinfo.h: Likewise.
37317         * sysdeps/sh/stackinfo.h: Likewise.
37318         * sysdeps/sparc/stackinfo.h: Likewise.
37319         * sysdeps/x86_64/stackinfo.h: Likewise.
37320         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37321         PF_X for powerpc64.  Retain PF_X for powerpc32.
37322
37323 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37324
37325         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37326         accurately.
37327         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37328         GETDENTS_64BIT_ALIGNED.
37329
37330 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37331
37332         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37333
37334 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37335
37336         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37337         _GNU_SOURCE.
37338
37339         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37340         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37341         Remove __restrict.
37342         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37343         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37344
37345 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37346
37347         [BZ #11655]
37348         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37349         are initialized.
37350
37351 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37352
37353         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37354
37355 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37356
37357         * po/it.po: Update from translation team.
37358
37359 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37360
37361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37362         unused codes.
37363
37364 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37365
37366         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37367
37368 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37369
37370         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37371         specially.
37372         (gaih_getanswer_slice): Likewise.
37373
37374 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37375
37376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37377
37378 2010-05-31  Petr Baudis  <pasky@suse.cz>
37379
37380         [BZ #11149]
37381         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37382         silently even in the chroot mode.
37383
37384 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37385
37386         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37387         last patch a bit.  Pretty printing
37388
37389 2010-05-31  Petr Baudis <pasky@suse.cz>
37390
37391         [BZ #10085]
37392         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37393         initialization of skip_initgroups_dyn.
37394
37395 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37396
37397         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37398         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37399
37400 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37401
37402         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37403
37404 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37405
37406         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37407         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37408         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37409         ($(objpfx)tst-fnmatch-mem): New rule.
37410         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37411         * posix/tst-fnmatch.c (main): Call mtrace.
37412
37413 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37414
37415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37416         Support Intel processor model 6 and model 0x2c.
37417
37418 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37419
37420         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37421           signed comparison.
37422
37423 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37424
37425         [BZ #12205]
37426         * string/test-strncasecmp.c (check_result): New function.
37427         (do_one_test): Use it.
37428         (check1): New function.
37429         (test_main): Use it.
37430         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37431         Support strcasecmp and strncasecmp.
37432
37433 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37434
37435         [BZ #12194]
37436         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37437         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37438
37439 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37440
37441         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37442         IFUNC support.
37443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37444         memset-x86-64.
37445         * sysdeps/x86_64/multiarch/bzero.S: New file.
37446         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37447         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37448         * sysdeps/x86_64/multiarch/memset.S: New file.
37449         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37451         Set bit_Prefer_SSE_for_memop for Intel processors.
37452         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37453         Define.
37454         (index_Prefer_SSE_for_memop): Define.
37455         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37456
37457 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37458
37459         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37460         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37461
37462 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37463
37464         [BZ #12191]
37465         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37466         (__x86_64_raw_data_cache_size_half): Likewise.
37467         (__x86_64_raw_shared_cache_size): Likewise.
37468         (__x86_64_raw_shared_cache_size_half): Likewise.
37469
37470         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37471         (__x86_64_raw_data_cache_size_half): Likewise.
37472         (__x86_64_raw_shared_cache_size): Likewise.
37473         (__x86_64_raw_shared_cache_size_half): Likewise.
37474         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37475         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37476         and __x86_64_raw_shared_cache_size_half.  Round
37477         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37478         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37479         to multiple of 256 bytes.
37480
37481 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37482
37483         [BZ #12167]
37484         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37485         of inacessible symlinks.  Verify result of symlink before returning it.
37486         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37487         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37488
37489 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37490
37491         * math/math.h (isinf): Fix typo in comment.
37492
37493 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37494
37495         * po/da.po: Update from translation team.
37496
37497 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37498
37499         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37500         is added to the list.
37501
37502 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37503             Ulrich Drepper  <drepper@gmail.com>
37504
37505         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37506         the global list here.  Move code to...
37507         (_dl_add_to_namespace_list): ...here.  New function.
37508         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37509         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37510         * elf/dl-load.c (lose): Don't remove the element from the list.
37511         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37512         (_dl_map_object): Likewise.
37513
37514 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37515
37516         [BZ #12159]
37517         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37518         into all bytes of SSE register.
37519         Patch by Richard Li <richardpku@gmail.com>.
37520
37521 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37522
37523         [BZ #12140]
37524         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37525         perturbing.
37526
37527 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37528
37529         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37530         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37531         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37532         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37534         submachine.
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37536
37537 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37538
37539         * include/dlfcn.h (__RTLD_SECURE): Define.
37540         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37541         mode & __RTLD_SECURE instead.
37542         (open_path): Rename preloaded parameter to secure.
37543         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37544         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37545         * elf/dl-deps.c (openaux): Likewise.
37546         * elf/rtld.c (struct map_args): Remove is_preloaded.
37547         (map_doit): Don't use it.
37548         (dl_main): Likewise.
37549         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37550         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37551
37552 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37553
37554         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37555         (sysd-rules-targets): Remove duplicates.
37556         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37557         rtld-%.$o dependency.
37558
37559 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37560
37561         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37562         _dl_map_object do it.
37563
37564 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37565
37566         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37567         fast fma builtins, define the macros in the C99 standard.
37568         (FP_FAST_FMAF): Likewise.
37569         (FP_FAST_FMAL): Likewise.
37570         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37571
37572         * bits/mathdef.h: Update copyright year.
37573         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37574
37575 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37576
37577         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37578         builtins, define the macros in the C99 standard.
37579         (FP_FAST_FMAF): Likewise.
37580         (FP_FAST_FMAL): Likewise.
37581         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37582         multiply/add.
37583         (FP_FAST_FMAF): Likewise.
37584
37585 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37586
37587         [BZ #3268]
37588         * math/libm-test.inc (fma_test): Some new testcases.
37589         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37590         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37591         y and infinite z.  Do multiplication by C already in long double.
37592         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37594         y and infinite z.  Do bitwise or of inexact bit into u.d.
37595         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37596         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37597         * sysdeps/i386/fpu/s_fma.S: Removed.
37598         * sysdeps/i386/fpu/s_fmal.S: Removed.
37599
37600 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37601
37602         [BZ #3268]
37603         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37605         computation is not scheduled after fetestexcept.  Fix value
37606         of minimum denormal long double.
37607
37608 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37609
37610         [BZ #3268]
37611         * math/libm-test.inc (fma_test): Add some more tests.
37612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37613         correctly.
37614
37615 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37616
37617         * scripts/data/localplt-s390-linux-gnu.data: New file.
37618         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37619
37620 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37621
37622         [BZ #3268]
37623         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37624         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37625         instead of dbl-64.
37626         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37627         inlines.
37628         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37630         if one of x and y is very large and the other is subnormal.
37631         * sysdeps/s390/fpu/s_fmaf.c: New file.
37632         * sysdeps/s390/fpu/s_fma.c: New file.
37633         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37634         * sysdeps/powerpc/fpu/s_fma.S: New file.
37635         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37636         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37637         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37638
37639 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37640
37641         [BZ #3268]
37642         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37643         fma tests.
37644         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37645         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37646         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37647         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37648         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37649         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37650         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37651
37652 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37653
37654         [BZ #12078]
37655         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37656         * posix/bug-regex31.input: Add test case.
37657
37658 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37659
37660         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37661         * posix/bug-regex31.input: New file.
37662
37663         [BZ #12078]
37664         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37665         (parse_sub_exp): Fix last change, use postorder.
37666
37667         * posix/bug-regex31.c: New file.
37668         * posix/Makefile: Add rules to build and run bug-regex31.
37669
37670         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37671
37672         [BZ #12078]
37673         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37674
37675         [BZ #12108]
37676         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37677         to have entries in sys_siglist.
37678
37679         [BZ #12093]
37680         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37681         be NULL.
37682
37683 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37684
37685         [BZ #3268]
37686         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37687         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37688         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37689         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37690         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37691         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37692         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37693         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37694         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37695         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37696         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37697         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37698         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37699         * math/ftestexcept.c (fetestexcept): Likewise.
37700         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37701         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37702         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37703         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37704         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37705         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37706         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37707
37708 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37709
37710         [BZ #12107]
37711         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37712         newline.
37713
37714 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37715
37716         * string/bug-strstr1.c: New file.
37717         * string/Makefile: Add rules to build and run bug-strstr1.
37718
37719 2010-10-05  Eric Blake  <eblake@redhat.com>
37720
37721         [BZ #12092]
37722         * string/str-two-way.h (two_way_long_needle): Always clear memory
37723         when skipping input due to the shift table.
37724
37725 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37726
37727         [BZ #12005]
37728         * malloc/mcheck.c: Handle large requests.
37729
37730         [BZ #12077]
37731         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37732         for strncmp and strncasecmp.
37733         * string/stratcliff.c: Add tests for strcmp and strncmp.
37734         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37735
37736 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37737
37738         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37739         __set_fpscr.
37740
37741 2010-09-30  Andreas Jaeger  <aj@suse.de>
37742
37743         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37744         (CGROUP_SUPER_MAGIC): Define.
37745         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37746         Handle btrfs and cgroup file systems.
37747         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37748         Likewise.
37749
37750 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37751
37752         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37753         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37754
37755 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37756
37757         [BZ #12067]
37758         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37759         trying to locate the ELF header.
37760
37761 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37762
37763         [BZ #11611]
37764         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37765         Mask out sign-bit copies when constructing f_fsid.
37766
37767 2010-09-24  Petr Baudis <pasky@suse.cz>
37768
37769         * debug/stack_chk_fail_local.c: Add missing licence exception.
37770         * debug/warning-nop.c: Likewise.
37771
37772 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37773
37774         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37775         implementing getdents64 using getdents syscall, set d_type if
37776         __ASSUME_GETDENTS32_D_TYPE.
37777
37778 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37779
37780         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37781         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37782
37783 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37784
37785         [BZ #12037]
37786         * posix/unistd.h: Undo change of feature selection for ftruncate from
37787         2010-01-11.
37788
37789 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37790
37791         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37792         detection.
37793
37794 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37795
37796         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37797         fanotify_mark.
37798         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37799
37800 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37801
37802         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37803         variables after CHECK_SP call.
37804         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37805
37806 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37807             Ulrich Drepper  <drepper@redhat.com>
37808
37809         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37810         re-relocationg ld.so.
37811         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37812         _dl_init_paths call.
37813         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37814         here anymore.
37815
37816 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37817
37818         * resolv/res_init.c (__res_vinit): Count the default server we added.
37819
37820 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37821             Ulrich Drepper  <drepper@redhat.com>
37822
37823         [BZ #11968]
37824         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37825         (____longjmp_chk): Use %ebx for saving value across system call.
37826         Add unwind info.
37827
37828 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37829
37830         * manual/Makefile: Don't mix pattern rules with normal rules.
37831
37832 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37833
37834         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37835         operation.
37836         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37837         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37838         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37839         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37840         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37841         Likewise.
37842
37843 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37844
37845         [BZ #11979]
37846         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37847         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37848
37849 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37850
37851         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37852         * sysdeps/x86_64/addmul_1.S: Likewise.
37853         * sysdeps/x86_64/lshift.S: Likewise.
37854         * sysdeps/x86_64/mul_1.S: Likewise.
37855         * sysdeps/x86_64/rshift.S: Likewise.
37856         * sysdeps/x86_64/sub_n.S: Likewise.
37857         * sysdeps/x86_64/submul_1.S: Likewise.
37858
37859 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37860
37861         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37862         Define __sched_param instead of SCHED_* and sched_param when
37863         <bits/sched.h> is included with __need_schedparam defined.
37864         * bits/sched.h [__need_schedparam]
37865         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37866         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37867         (__defined_schedparam): Define to 1.
37868         (__sched_param): New structure, identical to sched_param.
37869         (__need_schedparam): Undefine.
37870
37871 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37872
37873         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37874         (epoll_create1): Declare.
37875
37876         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37877
37878 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37879
37880         [BZ #7066]
37881         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37882         shifting retval into place.
37883
37884 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37885
37886         * nis/rpcsvc/nis.h: Update copyright notice.
37887         * nis/rpcsvc/nis.x: Likewise.
37888         * nis/rpcsvc/nis_callback.h: Likewise.
37889         * nis/rpcsvc/nis_callback.x: Likewise.
37890         * nis/rpcsvc/nis_object.x: Likewise.
37891         * nis/rpcsvc/nis_tags.h: Likewise.
37892         * nis/rpcsvc/yp.h: Likewise.
37893         * nis/rpcsvc/yp.x: Likewise.
37894         * nis/rpcsvc/ypupd.h: Likewise.
37895         * nis/yp_xdr.c: Likewise.
37896         * nis/ypupdate_xdr.c: Likewise.
37897
37898         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37899         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37900         (pmap_getport): Use __libc_rpc_getport.
37901         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37902         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37903         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37904
37905 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37906
37907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37908         fanotify_mark.
37909
37910 2010-08-27  Roland McGrath  <roland@redhat.com>
37911
37912         * sysdeps/i386/i686/multiarch/Makefile
37913         (CFLAGS-varshift.c): New variable.
37914
37915 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37916
37917         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37918         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37919
37920         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37921
37922         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37923
37924 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37925
37926         * sysdeps/x86_64/strlen.S: Unroll the loop.
37927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37928         strlen-sse2 strlen-sse2-bsf.
37929         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37930         __strlen_no_bsf if bit_Slow_BSF is set.
37931         (__strlen_sse42): Removed.
37932         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37933         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37934
37935 2010-08-25  Roland McGrath  <roland@redhat.com>
37936
37937         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37938         * sysdeps/x86_64/multiarch/varshift.c: New file.
37939         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37940         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37941         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37942         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37943
37944 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37945
37946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37947         strlen-sse2 strlen-sse2-bsf.
37948         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37949         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37950         (__strlen_sse2): Removed.
37951         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37952         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37954         bit_Slow_BSF for Atom.
37955         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37956         (index_Slow_BSF): Define.
37957         (HAS_SLOW_BSF): Define.
37958
37959 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37960
37961         [BZ #10851]
37962         * resolv/res_init.c (__res_vinit): When no server address at all
37963         is given default to loopback.
37964
37965 2010-08-24  Roland McGrath  <roland@redhat.com>
37966
37967         * configure.in: Remove config-name.h generation.
37968         * configure: Regenerated.
37969         * config-name.in: File removed.
37970         * scripts/config-uname.sh: New file.
37971         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37972         ($(objdir)config-name.h): New target.
37973
37974         * sunrpc/rpc_parse.h: Avoid nested comment.
37975
37976 2010-08-24  Richard Henderson  <rth@redhat.com>
37977             Ulrich Drepper  <drepper@redhat.com>
37978             H.J. Lu  <hongjiu.lu@intel.com>
37979
37980         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37982         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37983         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37984         _mm_alignr_epi8 with _mm_loadu_si128.
37985         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37986         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37987         (__m128i_shift_right): Removed.
37988         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37989         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37990         * sysdeps/x86_64/multiarch/varshift.h: New file.
37991         * sysdeps/x86_64/multiarch/varshift.S: New file.
37992
37993 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37994
37995         * configure.in: Move assembler checks to before sysdep dir checking.
37996
37997 2010-08-20  Petr Baudis  <pasky@suse.cz>
37998
37999         * LICENSES: Sync the sunrpc license.
38000
38001 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38002
38003         * sunrpc/auth_des.c: Update copyright notice once again.
38004         * sunrpc/auth_none.c: Likewise.
38005         * sunrpc/auth_unix.c: Likewise.
38006         * sunrpc/authdes_prot.c: Likewise.
38007         * sunrpc/authuxprot.c: Likewise.
38008         * sunrpc/bindrsvprt.c: Likewise.
38009         * sunrpc/clnt_gen.c: Likewise.
38010         * sunrpc/clnt_perr.c: Likewise.
38011         * sunrpc/clnt_raw.c: Likewise.
38012         * sunrpc/clnt_simp.c: Likewise.
38013         * sunrpc/clnt_tcp.c: Likewise.
38014         * sunrpc/clnt_udp.c: Likewise.
38015         * sunrpc/clnt_unix.c: Likewise.
38016         * sunrpc/des_crypt.c: Likewise.
38017         * sunrpc/des_soft.c: Likewise.
38018         * sunrpc/get_myaddr.c: Likewise.
38019         * sunrpc/getrpcport.c: Likewise.
38020         * sunrpc/key_call.c: Likewise.
38021         * sunrpc/key_prot.c: Likewise.
38022         * sunrpc/openchild.c: Likewise.
38023         * sunrpc/pm_getmaps.c: Likewise.
38024         * sunrpc/pm_getport.c: Likewise.
38025         * sunrpc/pmap_clnt.c: Likewise.
38026         * sunrpc/pmap_prot.c: Likewise.
38027         * sunrpc/pmap_prot2.c: Likewise.
38028         * sunrpc/pmap_rmt.c: Likewise.
38029         * sunrpc/rpc/auth.h: Likewise.
38030         * sunrpc/rpc/auth_unix.h: Likewise.
38031         * sunrpc/rpc/clnt.h: Likewise.
38032         * sunrpc/rpc/des_crypt.h: Likewise.
38033         * sunrpc/rpc/key_prot.h: Likewise.
38034         * sunrpc/rpc/netdb.h: Likewise.
38035         * sunrpc/rpc/pmap_clnt.h: Likewise.
38036         * sunrpc/rpc/pmap_prot.h: Likewise.
38037         * sunrpc/rpc/pmap_rmt.h: Likewise.
38038         * sunrpc/rpc/rpc.h: Likewise.
38039         * sunrpc/rpc/rpc_des.h: Likewise.
38040         * sunrpc/rpc/rpc_msg.h: Likewise.
38041         * sunrpc/rpc/svc.h: Likewise.
38042         * sunrpc/rpc/svc_auth.h: Likewise.
38043         * sunrpc/rpc/types.h: Likewise.
38044         * sunrpc/rpc/xdr.h: Likewise.
38045         * sunrpc/rpc_clntout.c: Likewise.
38046         * sunrpc/rpc_cmsg.c: Likewise.
38047         * sunrpc/rpc_common.c: Likewise.
38048         * sunrpc/rpc_cout.c: Likewise.
38049         * sunrpc/rpc_dtable.c: Likewise.
38050         * sunrpc/rpc_hout.c: Likewise.
38051         * sunrpc/rpc_main.c: Likewise.
38052         * sunrpc/rpc_parse.c: Likewise.
38053         * sunrpc/rpc_parse.h: Likewise.
38054         * sunrpc/rpc_prot.c: Likewise.
38055         * sunrpc/rpc_sample.c: Likewise.
38056         * sunrpc/rpc_scan.c: Likewise.
38057         * sunrpc/rpc_scan.h: Likewise.
38058         * sunrpc/rpc_svcout.c: Likewise.
38059         * sunrpc/rpc_tblout.c: Likewise.
38060         * sunrpc/rpc_util.c: Likewise.
38061         * sunrpc/rpc_util.h: Likewise.
38062         * sunrpc/rpcinfo.c: Likewise.
38063         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38064         * sunrpc/rpcsvc/key_prot.x: Likewise.
38065         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38066         * sunrpc/rpcsvc/mount.x: Likewise.
38067         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38068         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38069         * sunrpc/rpcsvc/rex.x: Likewise.
38070         * sunrpc/rpcsvc/rstat.x: Likewise.
38071         * sunrpc/rpcsvc/rusers.x: Likewise.
38072         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38073         * sunrpc/rpcsvc/spray.x: Likewise.
38074         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38075         * sunrpc/rtime.c: Likewise.
38076         * sunrpc/svc.c: Likewise.
38077         * sunrpc/svc_auth.c: Likewise.
38078         * sunrpc/svc_authux.c: Likewise.
38079         * sunrpc/svc_raw.c: Likewise.
38080         * sunrpc/svc_run.c: Likewise.
38081         * sunrpc/svc_simple.c: Likewise.
38082         * sunrpc/svc_tcp.c: Likewise.
38083         * sunrpc/svc_udp.c: Likewise.
38084         * sunrpc/svc_unix.c: Likewise.
38085         * sunrpc/svcauth_des.c: Likewise.
38086         * sunrpc/xcrypt.c: Likewise.
38087         * sunrpc/xdr.c: Likewise.
38088         * sunrpc/xdr_array.c: Likewise.
38089         * sunrpc/xdr_float.c: Likewise.
38090         * sunrpc/xdr_mem.c: Likewise.
38091         * sunrpc/xdr_rec.c: Likewise.
38092         * sunrpc/xdr_ref.c: Likewise.
38093         * sunrpc/xdr_sizeof.c: Likewise.
38094         * sunrpc/xdr_stdio.c: Likewise.
38095
38096         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38097         handling.
38098
38099 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38100
38101         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38102
38103 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38104
38105         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38106         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38107         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38108         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38109         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38110         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38111         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38112         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38113         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38114         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38115         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38116         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38117         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38118         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38119
38120 2010-07-26  Anton Blanchard  <anton@samba.org>
38121
38122         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38123         * malloc/arena.c (heap_trim): Likewise.
38124
38125 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38126
38127         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38128         here.  Not...
38129         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38130         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38131
38132 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38133
38134         * sysdeps/i386/elf/Makefile: New file.
38135
38136 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38137
38138         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38139         from fanotify_init.
38140         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38142
38143 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38144
38145         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38146         of strncasecmp_l.
38147         * sysdeps/multiarch/strcmp.S: Likewise.
38148
38149 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38150
38151         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38152         strncase_l-nonascii.
38153         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38154         Add strncase_l-ssse3.
38155         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38156         * sysdeps/x86_64/strcmp.S: Likewise.
38157         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38158         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38159         * sysdeps/x86_64/strncase.S: New file.
38160         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38161         * sysdeps/x86_64/strncase_l.S: New file.
38162         * string/Makefile (strop-tests): Add strncasecmp.
38163         * string/test-strncasecmp.c: New file.
38164
38165         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38166         warning.
38167
38168         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38169         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38170
38171 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38172
38173         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38174
38175 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38176
38177         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38178         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38179         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38180
38181 2010-05-01  Alan Modra  <amodra@gmail.com>
38182
38183         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38184         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38185         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38186         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38187         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38188         tidying.  Don't tail-call __sigjmp_save for static lib.
38189         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38190         save location.
38191         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38192         (CALL_MCOUNT): Add eh info, and nop after bl.
38193         (TAIL_CALL_SYSCALL_ERROR): New macro.
38194         (PSEUDO_RET): Use it.
38195         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38196         Correct save location of integer regs and cr.
38197         (_dl_profile_resolve): Correct cr save location.  Delete nops
38198         after bl when SHARED.  Reduce cfi size a little by better
38199         placement of cfi directives.
38200         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38201         make a stack frame.  Instead use parm save area as a temp.
38202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38203         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38205         Don't make a stack frame for parent, use parm save area.
38206         Increase child stack frame to 112 bytes.  Don't save unused reg,
38207         and adjust reg usage.  Set up cfi on error recovery and
38208         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38210         (__makecontext): Add dummy nop after jump to exit.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38212         Use correct parm save area and cr save, reduce stack frame.
38213         Correct cfi for possible PSEUDO_RET frame setup.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38215         Branch to local label emitted by PSEUDO_RET rather than
38216         __syscall_error.
38217
38218 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38219
38220         [BZ #11904]
38221         * locale/programs/locale.c (print_assignment): New function.
38222         (show_locale_vars): Use it.
38223
38224 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38225
38226         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38227         field.
38228         (struct statfs64): Likewise.
38229         (_STATFS_F_FLAGS): Define.
38230         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38231         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38232         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38233         (ST_VALID): Define locally.
38234         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38235         __statvfs_getflags, use the provided value.
38236         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38237         __ASSUME_STATFS_F_FLAGS.
38238
38239         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38240
38241         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38242         Add sys/fanotify.h.
38243         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38244         fanotify_mask for GLIBC_2.13.
38245         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38246         fanotify_init and fanotify_mark.
38247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38248         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38249
38250         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38251         Add prlimit.
38252         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38253         prlimit64 for GLIBC_2.13.
38254         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38255         prlimit64.
38256         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38257         syscall.
38258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38259         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38260         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38261         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38263         add prlimit alias.
38264         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38265
38266         [BZ #11903]
38267         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38268         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38269
38270         * nss/Makefile: Add rules to build and run tst-nss-test1.
38271         * shlib-versions: Add entry for libnss_test1.
38272         * nss/nss_test1.c: New file.
38273         * nss/tst-nss-test1.c: New file.
38274
38275         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38276         (__nss_configure_lookup): Set appropriate entry in
38277         __nss_configure_lookup to true.
38278         * nss/nsswitch.h: Define enum with indeces of databases in
38279         databases and __nss_database_custom arrays.  Declare
38280         __nss_database_custom.
38281         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38282         to avoid using nscd when custom rules are installed.
38283         * nss/getXXbyYY_r.c: Likewise.
38284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38285
38286         * nss/nss_files/files-parse.c: Whitespace fixes.
38287
38288 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38289
38290         [BZ #11883]
38291         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38292         * posix/fnmatch_loop.c: Likewise.
38293
38294 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38295
38296         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38297         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38298         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38299         * Versions.def [GLIBC_2.13]: Add.
38300
38301 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38302
38303         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38304         Also fail if tpwd after pwuid call is NULL.
38305
38306 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38307
38308         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38309         when converting to ms.
38310
38311 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38312
38313         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38314         EOPNOTSUPP errors with ENOTTY.
38315         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38316         EOPNOTSUPP errors with ENOTTY.
38317
38318 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38319
38320         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38321         Add strcasecmp_l-ssse3.
38322         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38323         strcasecmp.
38324         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38325         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38326         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38327
38328 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38329
38330         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38331
38332         * string/Makefile (strop-tests): Add strcasecmp.
38333         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38334         strcasecmp_l-nonascii.
38335         (gen-as-const-headers): Add locale-defines.sym.
38336         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38337         * sysdeps/x86_64/strcasecmp.S: New file.
38338         * sysdeps/x86_64/strcasecmp_l.S: New file.
38339         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38340         * sysdeps/x86_64/locale-defines.sym: New file.
38341         * string/test-strcasecmp.c: New file.
38342
38343         * string/test-strcasestr.c: Test both ends of the range of characters.
38344         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38345
38346 2010-07-29  Roland McGrath  <roland@redhat.com>
38347
38348         [BZ #11856]
38349         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38350
38351 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38352
38353         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38354         for ld.so.
38355
38356 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38357
38358         * manual/memory.texi (Malloc Tunable Parameters): Document
38359         M_PERTURB.
38360
38361 2010-07-26  Roland McGrath  <roland@redhat.com>
38362
38363         [BZ #11840]
38364         * configure.in (-fgnu89-inline check): Set and substitute
38365         gnu89_inline, not libc_cv_gnu89_inline.
38366         * configure: Regenerated.
38367         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38368
38369 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38370
38371         * string/test-strnlen.c: New file.
38372         * string/Makefile (strop-tests): Add strnlen.
38373         * string/tester.c (test_strnlen): Add a few more test cases.
38374         * string/tst-strlen.c: Better error reporting.
38375
38376         * sysdeps/x86_64/strnlen.S: New file.
38377
38378 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38379
38380         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38381         lower-latency instructions.
38382
38383 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38384
38385         * string/test-strcasestr.c: New file.
38386         * string/test-strstr.c: New file.
38387         * string/Makefile (strop-tests): Add strstr and strcasestr.
38388         * string/str-two-way.h: Don't undefine MAX.
38389         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38390
38391 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38392
38393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38394         strcasestr-nonascii.
38395         (CFLAGS-strcasestr-nonascii.c): Define.
38396         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38397         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38398         Remove unused attribute.
38399
38400 2010-07-20  Roland McGrath  <roland@redhat.com>
38401
38402         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38403         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38404         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38405         like LD_HWCAP_MASK can disable hwcaps.
38406
38407 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38408
38409         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38410
38411 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38412
38413         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38414         call in strcasestr.
38415         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38416         __strcasestr_sse42_nonascii.
38417         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38418         strcasestr-nonascii.c.
38419         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38420
38421 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38422
38423         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38424         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38425         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38426         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38427
38428 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38429
38430         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38431         fcntl.
38432
38433 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38434
38435         [BZ #11577]
38436         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38437         dl_signal_cerror.
38438
38439 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38440
38441         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38442         _PC_PIPE_BUF using F_GETPIPE_SZ.
38443
38444 2010-07-05  Roland McGrath  <roland@redhat.com>
38445
38446         * manual/arith.texi (Rounding Functions): Fix rint description
38447         implicit in round description.
38448
38449 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38450
38451         * elf/Makefile: Fix linking for a few tests to make recent linker
38452         happy.
38453
38454 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38455
38456         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38457         $(common-objpfx)libc_nonshared.a.
38458
38459 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38460
38461         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38462         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38463         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38464         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38465         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38466         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38467         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38468         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38483         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38484         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38485         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38486         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38487         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38488         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38489         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38490         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38491         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38492         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38493         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38494         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38509
38510 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38511
38512         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38513         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38514         * string/memmove.c (memmove): Renamed to ...
38515         (MEMMOVE): ...this.  Default to memmove.
38516         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38517         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38518         (END_CHK): Define.
38519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38520         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38521         mempcpy-ssse3-back memmove-ssse3-back.
38522         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38523         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38525         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38526         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38527         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38528         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38529         * sysdeps/x86_64/multiarch/memmove.c: New file.
38530         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38531         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38532         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38533         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38534         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38535         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38536         Define.
38537         (index_Fast_Copy_Backward): Define.
38538         (HAS_ARCH_FEATURE): Define.
38539         (HAS_FAST_REP_STRING): Define.
38540         (HAS_FAST_COPY_BACKWARD): Define.
38541
38542 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38543
38544         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38545         Restore proper fallback handling.
38546
38547 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38548
38549         [BZ #11701]
38550         * posix/group_member.c (__group_member): Correct checking loop.
38551
38552         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38553         OOM in getpwuid_r correctly.  Return error number when the caller
38554         should return, otherwise -1.
38555         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38556         call returning > 0 value.
38557         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38558
38559 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38560
38561         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38562         libc_nonshared.a from targets in modules-names.
38563
38564 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38565
38566         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38567         requires it.
38568
38569 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38570
38571         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38572         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38574         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38575
38576 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38577
38578         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38579
38580 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38581
38582         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38583         and F_GETPIPE_SZ.
38584         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38585         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38588         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38589         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38590
38591 2010-06-14  Roland McGrath  <roland@redhat.com>
38592
38593         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38594
38595 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38596
38597         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38598         __REDIRECT followed by __THROW.
38599         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38600         * posix/getopt.h (getopt): Likewise.
38601
38602 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38603
38604         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38605         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38606         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38607         in AT_FLAGS.
38608         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38609         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38610
38611 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38612
38613         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38614
38615 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38616
38617         [BZ #11640]
38618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38619         Properly check family and model.
38620
38621 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38622
38623         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38624
38625 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38626
38627         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38628
38629 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38630
38631         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38632         symbol reference.
38633
38634 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38635
38636         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38637         symbol reference.
38638
38639 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38640
38641         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38642         and internal_recvmmsg.
38643         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38644         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38645         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38646         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38647
38648         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38649         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38650         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38651
38652 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38653
38654         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38655
38656 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38657
38658         POWER7 optimizations.
38659         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38660         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38661
38662 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38663
38664         * version.h: Update for 2.13 development version.
38665
38666 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38667
38668         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38669         exceptions.  Return 0.
38670
38671 2010-05-07  Roland McGrath  <roland@redhat.com>
38672
38673         * elf/ldconfig.c (main): Add a const.
38674
38675 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38676
38677         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38678         (args_options): Add no-idn option.
38679         (ahosts_keys_int): Add idn_flags to ai_flags.
38680         (parse_option): Handle 'i' option to clear idn_flags.
38681
38682         * malloc/malloc.c (_int_free): Possible race in the most recently
38683         added check.  Only act on the data if no current modification
38684         happened.
38685
38686 See ChangeLog.17 for earlier changes.